@charset "utf-8";

@media screen and (max-width: calc(1200px + 100px)){
    .header .panel {
        width: calc(100vw - 2*var(--width-padding));
    }
    .widthContainer{
        max-width: 100vw;
        padding: 0 var(--width-padding);
        margin: 0 auto;
    }
    .actualitesContainer .widthContainer{
        padding: 0;
    }
    .header .panel{
        margin-left: var(--width-padding);
    }
}

@media screen and (min-width: 1401px){
}
@media screen and (max-width: 1400px){
}
@media screen and (max-width: 1200px){
    .autorites .profils{
        grid-template-columns: repeat(2, 1fr);
    }
    .header .panel{
        margin-left: var(--width-padding);
        width: calc(100vw -  2*var(--width-padding));
    }
    .accesdirects{
        padding: 42px 0px;
    }

    .accesdirects>ul>li a{
        width: 100px;
    }
    .informations{
        padding: 50px 0px;
    }
}
@media screen and (max-width: 1024px){
    .autorites .profils{
        grid-template-columns: repeat(2, 1fr);
    }
    .informations{
        display: block;
        grid-template-columns: none;
        padding: 50px 0px;
    }
    .informations.col2>div:last-child{
        margin-top: 30px;
    }
    .informations .slideshowContainer{
        margin-top: 30px;
        width: 100%;
    }
    .galerie_photos{
        padding: 60px 20px;
    }
    .menu{
        width: min(75vw, 812px);
    }
    .salles .split{
        display: block;
    }
    .salles .split>div:nth-child(2){
        margin-top: 40px;
    }
    .salles .split table.list tr>th:nth-child(2){
        display: none;
    }
    .salles .split table.list tr>td:nth-child(3){
        display: none;
    }
    .salle_popup{
        grid-template-columns: 300px 1fr;
    }
    .salle_popup .slideshow ul>li div{
        width: 300px;
    }
    .salle_popup .desc{
        max-height: 300px;
    }
}
@media screen and (max-width: 860px){
    #cnil .infos{
        grid-template-columns: none;
    }
    #cnil .baccept{
        margin-left: 12px;
    }
    #cnil .txt{
        text-align: justify;
    }
    #cnil .btns{
        gap: 10px;
        margin:0 auto;
        justify-content: center;
    }
    .autorites .profils{
        grid-template-columns: repeat(1, 1fr);
    }
    .calendarBody{
        grid-template-columns: 100%;
    }
    .agendaContainer .calendar{
        margin-top: 30px;
        justify-self: center;
    }
    .salle_popup{
        grid-template-columns: 250px 1fr;
    }
    .salle_popup .slideshow ul>li div{
        width: 250px;
    }
    .salle_popup .desc{
        max-height: 250px;
    }
}
@media screen and (max-width: 768px){
    .videosContainer .videos{
        display: block;
    }
    .videosContainer .videoContainer {
        margin-bottom: 30px;
    }
    .Panel {
        padding: 30px;
    }
    .salle_popup{
        display: inline-block;
    }
    .salle_popup .slideshowContainer{
        display: none;
    }
    .salle_popup .desc{
        max-height: 50vh;
    }

    .footer{
        padding: 0px;
    }
    .footer>div>div:nth-child(1) img{
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
    }
    .footer>div>div:nth-child(1){
        grid-area: a;
        height: 100px;
    }
    .footer>div>div:nth-child(2){
        grid-area: b;
    }
    .footer>div>div:nth-child(3){
        grid-area: c;
    }
    .footer>div>div:nth-child(4){
        grid-area: d;
    }
    /*
    .footer>div>div:nth-child(5){
        grid-area: e;
    }
     */
    .footer>div{
        width: 100%;
        grid-template-areas: "a a a d" "b b c c";
        grid-template-columns: 18vw 1fr 1fr;
        grid-template-rows: 110px 1fr;
    }
    .profilsCMS .profil{
        flex: 0 1 calc(100% - 12px);
    }

}
@media screen and (max-width: 640px){
    /*
    .header .panel .searchContainerMobile{
        display: block;
    }
    .header .panel>div>input[name="__search"]{
        display: none;
    }*/
    :root {
        --width-padding: 20px;
    }
    .slideshowContainer .BPrevious {
        left: -16px;
    }
    .slideshowContainer .BNext {
        right: -19px;
    }
    .titlepictoBG .picto{
        margin-right: 10px;
    }
    .titlepicto {
        font-size: 20px;
        line-height: 20px;
        padding: 30px 0 5px 0;
    }
    .informations{
        display: block;
        grid-template-columns: none;
        padding: 15px 0 40px 0;
    }
    /*------------*/

    .titlepictoBG .picto{
        margin-right: 15px;
    }
    .titlepicto{
        font-size: 30px;
        line-height: 30px;
        padding: 40px 0 10px 0;
    }
    .menu{
        width: calc(100vw - 10px);
    }
    .header .panel{
        margin-left: 5px;
        width: calc(100% - 10px);
    }
    .galerie_photos{
        padding: 60px 0px;
    }
}
@media screen and (max-width: 560px){

    .telechargements ul>li{
        margin-bottom: 10px;
    }
    .actualitesContainer{
        padding: 40px 15px;
    }
    .actualitesContainer .actualites ul>li>div:hover{
        -webkit-box-shadow: 0px 4px 10px 3px rgba(0,0,0,0.4);
        box-shadow: 0px 4px 10px 3px rgba(0,0,0,0.4);
    }
}
@media screen and (max-width: 480px){
    .menuaccess{
        margin-bottom: 22px;
    }
    .menuaccess>ul>li a{
        width: 120px;
    }
    :root {
        --width-padding: 15px;
    }
    .slideshowContainer .BPrevious {
        left: -13px;
    }
    .slideshowContainer .BNext {
        right: -16px;
    }
    .titlepictoBG .picto{
        margin-right: 10px;
    }
    .titlepicto {
        font-size: 20px;
        line-height: 20px;
        padding: 30px 0 5px 0;
    }
    .informations{
        padding: 15px 0 40px 0;
    }
    /*------------*/
    .formulaire .title{
        word-break: break-word;
    }
    .header .panel>div:nth-child(2){
        align-self: center;
        font-size: 18px;
    }
    .header .panel>div>a{
        font-size: 16px;
    }
    .header .panel{
        padding-left: 10px;
    }
    .menu{
        width: calc(100vw - 10px);
    }
    .bmenu>i.fa{
        font-size: 19px;
    }
    .bmenu>.txt{
        font-size: 10px;
        line-height: 12px;
        margin-top: -4px;
    }
    .header .panel>div:first-child>a{
        display: flex;
        height: 69px;
        align-items: center;
    }
    .header .panel>div>a>img{
        margin-top: 0px;
        max-height: 69px;
    }
    .autorites .profil.withavatar{
        display: flex;
        gap: 30px;
        flex-direction: column;
    }

}
@media screen and (max-width: 400px){
    .actualitesContainer .actualites>ul>li>div>div{
        width: calc(100vw - 20px);
    }
}
@media screen and (max-width: 375px){

}
