/* ALED */
:root {
    font-size: 1rem;

    font-family: "Nunito", Arial, sans-serif;

    --blue: #6F899A;
    --lightblue: #C7E3EE;
    --darkblue: #295A7A;
    --gold: #cdb98d;
    --lightgold: #FEFCF9;
    --grey: #D9D9D9;
    --lightgrey: #EFEFEF;
    --lightcolor: #FAFBFD;
    --disabled: #DFDFDF;
}

.bloc_texte p{
    color: #31607f;
}

.TitreModule{
    display: none;
}

.contenu_principal{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* margin-top:120px; */
    margin-bottom: 350px;
}

.flex_container{
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
}

.LS_ODS{
    background-color: #fafbfd;

    /*border: solid black 1px;*/
}


.LS_Filieres{
    background-color: white;
}

.LS_Filieres h3{
    font-size: xx-large;
}

.LS_Filieres ul li{
    color: #31607f;
}

.LS_Services{
    background-color: #fafbfd;
}

.fil_ariane_text{
    color: #31607f;
    display: inline;
	margin-top: 2px;
}

.fil_Ariane{
    color:#b3b3b4;
}

.fil_Ariane a{
    color:#b3b3b4;
}

h2{
    font-size: 1.5rem;
    color: var(--darkblue);
    font-weight: bold;
    text-transform: none;
}

.description_portail{
    color: #31607f;
}

.bloc_texte{
    background-color: #fafafa;
    width: 75%;
    padding: 2%;
}

.bloc_texte h4{
    /* color: var(--gold); */
    font-size: 1.4em;
}

.desc{
    display: flex;
    flex-direction: row;

}

.desc::before{
    content: "";
    display: list-item;
    width: 2px;
    max-height: max-content;
    height: 100%;
    background-color: #d4e9f1;
    color: #fafafa;
}

.desc p{
    margin-left: 1%;
    font-weight: 100;
}

.circle{
    border-radius: 100%;
    background-color: #efefef;
    width: fit-content;
    height: 34px;
    padding: 5px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.titre_texte{
    display: flex;
    flex-direction: row;    
    justify-content: space-between;
}

.closed{
    display: none;
}

.service_card{
    margin: 15px;
    margin-left: 0px !important;
    border-radius: 15px;
    background-color: #000;
    text-decoration: none;
    overflow: hidden;
    display: block;
    width: 225px;
    height: 350px;
    max-height: 350px;
    position: relative;
    transition: width 0.2s ease;
	/*background: url(/images/Accueil/Maternite.jpg);*/
}

.fa-arrow-right{
    position: absolute;
}

.service_card:hover .arrow_div{
    width:100%;
    border-radius: 15px;
    background-color: var(--gold);
    transition: width 0.5s ease;
    position: relative;
}

.service_card:hover{
    transition : all 1 ease;
    transform: scale(1.05);
}
.service_card:hover .fa-arrow-right{
    position: relative;
}

.savoir_plus{
    opacity: 0;
}

.service_card:hover .savoir_plus{
    width: 80%;
    color:white;
    transition: opacity 0.5s ease;
    transition-delay: 0.25s; /* Delay matches the width transition duration */
    white-space: nowrap;
    opacity : 100;
}

.service_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(#000 60%, transparent);
    border-radius: 15px;
}

.service_card h3{
    margin: 0;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem;
}

.arrow_div{
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.service_card_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 10px;
    box-sizing: border-box;
    z-index: 1;
	gap: 10px;
}

#RecruitmentPicture
{
	/* margin-top: 120px; */
    display: block;
    height: auto;
}

@media only screen and (max-width:768px){
    .service_card{
        width:30%;
    }
}

@media only screen and (max-width:425px){
    .service_card{
        width:45%;
    }
}

@media only screen and (max-width:430px){
    .service_card{
        width:45%;
    }
}