@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Ubuntu", sans-serif;
    background-color: white;
    line-height: 1.6;
}


.eq-breadcrumbs {
    font-size: 14px;
    border-top: 5px solid rgb(219, 219, 219);
    border-bottom: 5px solid rgb(219, 219, 219);
    padding: 0px 50px;
    background-color: white;
    
    
}

.eq-breadcrumbs a {
    text-decoration: none;
    color: #555;
    font-family: "Ubuntu", sans-serif;
}


.eq-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding-top: 20px;
}

.eq-sidebar {
    width: 250px;
    background-color: white;
    padding: 20px;
    /*border-right: 1px solid #ddd;*/
}

.eq-sidebar ul {
    list-style: none;
}

.eq-sidebar ul li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.eq-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-family: "Raleway", sans-serif;
}

.eq-sidebar ul li a.eq-active {
    font-weight: bold;
    color: rgb(6, 125, 223);
    border-left: 4px solid rgb(6, 125, 223);
    padding-left: 10px;
}





/* Container principal */
.fromp-container {
    width: 80%;
    margin: 0 auto;
    font-family: "Ubuntu", sans-serif;
    color: #333;
}

/* Titre du diplôme */
.fromp-title {
    color: rgb(6, 125, 223);
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Détails du diplôme */
.fromp-diplome-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    margin-bottom: 1.5rem;
    color: black;

}

.fromp-diplome-logo img {
    max-width: 100px;
}


.fromp-diplome-info-table{
    display: table;
    width: 100%;
    font-size: 14px;
}
.fromp-diplome-info p {
    margin: 0.5rem 0;
}

/* Informations supplémentaires */
.fromp-additional-info {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.fromp-additional-info a {
    color: rgb(6, 125, 223);
    text-decoration: none;
}

.fromp-additional-info a:hover {
    text-decoration: underline;
}

/* Onglets de navigation */
.fromp-tabs ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 1.5rem;
}

.fromp-tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    /*font-weight: bold;*/
    color: rgb(6, 125, 223);
    font-family: "Ubuntu", sans-serif;
    font-size: 11.9px;
    border: 1px solid black;
    margin: 0px;
    margin-left: -1px;
}

.fromp-tab.active {
    /*border-bottom: 2px solid rgb(6, 125, 223);*/
    background-color: rgb(6, 125, 223);
    color: white;
}

.fromp-tab:hover {
    color: rgb(178, 179, 180);
}

.dev-tab{
    display: none;
}

#dev-tab-presentation{
    display: block;
}
/* Présentation générale */
.fromp-presentation, .fromp-specifications {
    margin-bottom: 2rem;
    text-align: justify;
    margin-right: 20px;
}
.fromp-presentation p, .fromp-specifications ul{
    font-size: 14px;
}

.fondu-effet ul li{
    list-style-type: disc;
    margin-left: 40px;
}

.fromp-read-more{
    color: rgb(6, 125, 223);
    text-decoration: none;
    font-weight: bold;
}

.fromp-read-more:hover {
    text-decoration: underline;
}

/* Certification RNCP */
.fromp-certification {
    background-color: #f5f5f5;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
}

.fromp-certification h3 {
    margin-bottom: 1rem;
}

.fromp-certification a {
    color: rgb(6, 125, 223);
    text-decoration: none;
}

.fromp-certification a:hover {
    text-decoration: underline;
}



.fromp-section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    font-family: "Ubuntu", sans-serif;
}

.fromp-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: rgb(6, 125, 223);
    margin-top: 5px;
}
.fromp-section-title::before {
    display: none;
    
}

.fondu-effet{
    position: relative;
    max-height: 200px; /* Définir une hauteur maximale */
    overflow: hidden; /* Cacher l'excès de texte */
    font-size: 14px;
}

.fondu-effet::after{

    display: var(--my-after-display, "block");;
    content: ""; 
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px; /* Taille du fondu */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);

}


#dev-tab-contact, #dev-tab-contact .fromp-presentation p{
    font-size: 12px;
    color: black;
    font-weight: normal;
}

.footer-info-item{
    font-size: 12px;
}



@media screen and (max-width: 640px) {
    .eq-sidebar{
      display: none; /* Hide links on small screens */
    }
  }
  

@media screen and (max-width: 550px) {
    .fromp-tabs ul {
        flex-direction: column;
    }
    .fromp-tabs ul li{
        margin: 5px 0px;
    }
    .fromp-diplome-info table tr{
        display: grid;
    }
    .fromp-diplome-info table tr td{
        width: 100%;
        margin: 5px 0px;
    }
    .fromp-title{
        font-size: 1.5rem;
    }
}