

/* ------------------------------------------------ */
/*                    FONTS                         */                
/* ------------------------------------------------ */

@font-face {
    font-family: 'Roboto';
    src: url(/wp-content/themes/inedits/fonts/roboto/Roboto-Regular.eot) format("eot"),
    url(/wp-content/themes/inedits/fonts/roboto/Roboto-Regular.woff) format("woff"),
    url(/wp-content/themes/inedits/fonts/roboto/Roboto-Regular.ttf) format("truetype"),
    url(/wp-content/themes/inedits/fonts/roboto/Roboto-Regular.svg#Roboto-Regular) format("svg");
    font-weight: normal;
    font-style: normal
}

/*@font-face {
    font-family: 'Oswald Light';
    src: url(/wp-content/themes/inedits/fonts/oswald-light.otf)
}*/


@font-face {
    font-family: 'Oswald';
    src: url(/wp-content/themes/inedits/fonts/oswald-light.otf)
}


/* ------------------------------------------------ */
/*                    STRUCTURE                     */                
/* ------------------------------------------------ */
body{
    color: #474747;
    font: 12px / 25px Oswald, Arial, Helvetica, sans-serif;
    letter-spacing: 0.3px;
}

.wrapper{
    width: 1024px;
    margin: auto;
    position: relative;
    min-height: 100%;
}




/* ------------------------------------------------ */
/*                    HEADER                        */                
/* ------------------------------------------------ */


header{
    height: 110px;
    display: flex;
    justify-content: space-between;
}

header .logo img{
    width: 166px;
    height: 72px;
    object-fit: none;
    margin: 17px 0;
}


/* ------------------------------------------------ */
/*                    LANG SWITCH                   */                
/* ------------------------------------------------ */

.wpml-ls-legacy-list-horizontal .wpml-ls-flag{
    vertical-align: initial !important;
    display: block !important;
}
.wpml-ls-legacy-list-horizontal a {
    padding: 0.4em !important;
}

.wpml-ls-current-language{
    border: 1px solid black;   
}



/* ------------------------------------------------ */
/*                    MENU/NAV                      */                
/* ------------------------------------------------ */
header{
    margin-bottom: 1em;
}

header .nav{
    display: flex;
    flex-direction:column;
    font-weight: bold;

}

header .nav .premenu{
    display: flex;
    flex-direction:row;
    position: relative;
    /*height: 2.5em;*/
}

header .nav #langSel, header .nav .adherer, header .nav #searchBar{
    /*flex: 1 auto;*/
}
header .nav .adherer{
    margin-top: 0.35em;
}

header .nav ul{
    list-style: none;
    gap: 0.5em;
}


nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 20;
}

nav ul li {   
    float: left;  
    border: 1px solid transparent;
    z-index: 30;
}

nav ul li a{
    position: relative;     
   
}

nav ul li:has(ul):hover {
    background: #f2f2f2;  
    border-bottom: 1px solid #f2f2f2;
    border-right: 1px solid grey;
    border-left: 1px solid grey;
    border-top: 1px solid grey; 
}


nav ul:not(.sub-menu) > li a{
    border-bottom: 1px solid transparent;
    z-index: 100;
}

nav ul li:has(.sub-menu):hover a{
    border-bottom: 1px solid #f2f2f2;
}

nav ul li ul li a{
    border: 0px !important;
}

nav ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 15px;
}

nav .ul li:hover > a {
    background: #666;
    color: #fff;
}



nav ul ul {
    display: none;
    position: absolute;
    top: 96%;
    left: 0;
    background: #f2f2f2;
    z-index: 10;
    width:100%;
    border: 1px solid grey; 
}


nav ul ul li {
    float: none;
    width: 100%;
}

nav ul ul a {
    padding: 10px;
    color: #333;
    font-size: 13px;
}

nav ul ul a:hover {
    text-decoration: underline;
}

nav ul li:hover > ul {
    display: block; /* Afficher les sous-menus uniquement au survol */
}

nav ul li:last-child ul {
    right: 0;
    left: unset;
    min-width: 230px;;
}

nav > ul > li:hover > a {
    text-decoration: underline;
}

nav hr{
    border: 1px solid black;
    width: 100%;
    display: block;
}

.menu-item.current-menu-item, .menu-item.current-page-ancestor{

    text-decoration: underline;
}


/* ------------------------------------------------ */
/*                    SEARCH                        */                
/* ------------------------------------------------ */
#searchBar{
    position: absolute;
    right: 0;
    padding-left: 24px;margin-top: 0.8em;
    background: url(/wp-content/themes/inedits/img/pictos/loupe.png) 0 5px no-repeat;
}
 

#searchBar .search-input{
    background: #ddd;
    font-size: 15px;
    width: 150px;
    font: 12px / 20px Oswald, Arial, Helvetica, sans-serif;
    border: none;
}

#searchBar .search-input{
    border: none;
}
*:focus {
    outline: none;
}

#searchBar .search-submit{
    background: #fff;
    width: 25px;
    height: 25px;
    font: 12px / 20px Oswald, Arial, Helvetica, sans-serif;
    cursor: pointer;
    border: none;
    font-weight: 800;
}


/* ------------------------------------------------ */
/*                    FOOTER                        */                
/* ------------------------------------------------ */

#prefooter{   
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

#prefooter #prefooter_txt{
    border-top: 1px solid black;   
    height: 160px; 
    height: 124px;
    font-size: 22px;
    border-top: 1px solid;
    padding: 12px;
    color: #808080;
    font-weight: 600;
}

.heateor_sss_sharing_container{
    float: right;
}

.heateor_sss_sharing_container .heateor_sss_svg{
    filter: grayscale(100%);
}

footer{
    display: grid; 
    color: white;
    grid-template-rows: 1fr 1fr ;
    grid-template-columns: 1fr 1fr ;
    
    gap: 0px;
    height: 100%;
}   


footer .footerMention{
    grid-row-start: 2;
    grid-column-start: 1; 
    grid-row-end: 3;
    grid-column-end: 3;
}

footer .footerRs{
    grid-row-start: 1;
    grid-column-start: 1; 
    grid-row-end: 2;
    grid-column-end: 2;
    margin-left: 2em;

}

footer .footerRs ul{
    padding: 0;    
}
footer .footerRs ul li{
    list-style: none;   
}
footer .footerRs h3{
    font-size: 18px;
    font-weight: 300; 
}
footer .footerRs ul li img{
    width: 30px;
}


footer .footerContact{
    grid-row-start: 1;
    grid-column-start: 2; 
    grid-row-end: 2;
    grid-column-end: 3;    
}

.footerContact #adresse{
    font-family: Oswald;
    font-size: 16px;
    font-weight: 300;
}

.footerContact #adresse em{ 
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}


.footerLink{
    float:right;
    margin-right: 2em;
}
.footerLink li{
    list-style: none;
}

.contactFormLink:before{
    content: "♦";
    margin-right: 0.5em;
}
.contactFormLink{
    text-decoration: none;
    color:white;
    text-transform: uppercase;
    font-size: 18px;
    
}

.footerLink li a{
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}
.footerLink a:hover{
    text-decoration: underline;
}

#prefooter #map{   
    margin-bottom: 0;
    height: 160px; 
    
}
footer{
    background-color: black;
    min-height: 250px;
    margin-top:3em;
}

.custom-cluster-icon {
    background-color: black;
    color: #ffffff;
    border-radius: 25%;
    text-align: center;
    line-height: 20px;
    max-width: 20px;
    max-height: 20px;
}



.customBloc{
width: 100%;

}


.greyBackground{
    background-color: #EDEDED;
}









#map {
    margin-bottom: 2em;
    z-index: 10;
}

/* Style pour les contours des zones de triangulation */
/*.leaflet-pane .leaflet-overlay-pane path {
    stroke: #c75f5c !important; 
    fill: #c75f5c !important; 
  }*/

  .leaflet-pane .leaflet-overlay-pane path {
    stroke: none !important; /* Couleur des contours */
    fill: none !important; /* Couleur de remplissage */
  }

.listPageContener {
    display: flex;    
    justify-content: flex-start;   
    height: auto;
    gap: 5px;
  }

  .listPageContener > div{
    /*border: 1px solid black;*/   
  }


  .listPageContener .sideBar { 
    flex-grow:01;
    min-width:25%
  }

  .listPageContener .sideBar h1{
    text-transform: uppercase;
    font-size: 1.6em;
    color: black;
    margin-top: 0;
  }
			
  .listPageContener .content { 
    flex-grow:4;
  }



  .listItem{
    list-style: none;
    padding: unset;
    margin: unset;
  }
  .listItemHead{
  padding-bottom: 1em;

  }

  .listItemHead .cellLeft{
    background-repeat: none;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 154px;
    max-height: 154px;
  }

.Item, .listItemHead {
    display: flex;
    flex-flow: row;
    gap: 0.5em;   
}
.listItemHead .cellRight{
    color: #c75f5c;
    font-family: 'Oswald';
    font-size: 20px;
    font-weight: 600;
}

.Item.actu .cellLeft{
    max-height: 180px;
    overflow: hidden;
}

.Item .cellLeft, .listItemHead .cellLeft{
    width: 30%;
}
.Item .cellRight, .listItemHead .cellRight{
    width: 70%;
}



#mozaic-grid > div h3{
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 34px;
}


#mozaic-grid {
	display: grid;
	grid-template-rows: repeat(4, 1fr);
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5em;
	width: 100%;
	min-height: 650px;
}


.random_img{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}



#mozaic-grid #div1 {
	grid-area: 1/1/2/2;	
}

#mozaic-grid #div2 {
	grid-area: 2/1/3/2;
}

#mozaic-grid #div3 {
	grid-area: 1 / 2 / 3 / 3;
}

#mozaic-grid #div4 {
	grid-area: 1/3/2/4;
}

#mozaic-grid #div5 {
	grid-area: 2/3/3/4;
}

#mozaic-grid #div6 {
	grid-area: 1 / 4 / 3 / 5;
    position: relative;
}

#mozaic-grid #div7 {
	grid-area: 3/1/4/2;
}

#mozaic-grid #div8 {
	grid-area: 4/1/5/2;
}

#mozaic-grid #div9 {
	grid-area: 3 / 2 / 5 / 3;
}

#mozaic-grid #div10 {
	grid-area: 3 / 3 / 5 / 5;
}




.link{
position: relative;
}
/*
#mozaic-grid a{
    text-decoration: none;
}*/

#mozaic-grid {
   /*padding: 16px 16px;*/
}

#mozaic-grid .mozrow, #ressources-grid .mozrow{    
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease-in-out;
}


#mozaic-grid .mozrow:hover, #ressources-grid .mozrow:hover{
    background-color: black;
}



#mozaic-grid .mozrow, #ressources-grid .mozrow{    
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}


.img .random_img {
    width: 100%; /* Taille par défaut de l'image */
    height: 300px; /* Hauteur par défaut de l'image */
    background-size: contain;
    background-position-x: center;
    background-position-y: unset;
    transition: transform 0.3s ease; /* Ajoute une transition douce pour transform */
}
.img .random_img_overlay{
    display:none;
}

.mozrow.img:hover .random_img {
    transform: scale(1.04); /* Agrandit l'image de 10% au survol */
}
.mozrow.img{
    position: relative; /* Positionnement relatif pour contenir les éléments enfants */
    overflow: hidden;
}
/*
#div10 .swiper_slide{
    background-size: contain;
    background-position-x: center;
    background-position-y: unset;
    transition: transform 0.3s ease; 
}
#div10 .swiper-slide:hover {
    transform: scale(1.07);
}

#div10 .swiper{
    position: relative; 
    overflow: hidden;     
}
*/




.split_part_container{
   
    display: flex!important;
    flex-direction: column;
    height: -webkit-fill-available;
}

.split_part_container a, .split_part_container .item_link{
    height: 50%;
}


.split_part_container .item_link{
    margin:0 2em 2em 2em;
    position: absolute;
    top: 50%;
    width: calc(100% - 4em);
    border-top: 1px solid white;
    padding: 1em 0;
    line-height: 20px;
    color: white;
}

.split_part_container .item_link p{
    margin: unset;
    color: white;
    margin-top: 0.5em;
}


.mozrow.img{
    position: relative;
}

.random_img{
    position: absolute;
    top: 0;
    left: 0; 
}
.random_img_overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparent initialement */
    transition: background-color 0.5s ease; /* Animation de transition */
}

.mozrow:hover .random_img_overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Ajustez l'opacité selon vos besoins */
}


#mozaic-grid .link span.more, #ressources-grid .link span.more{
    width: 3em;
    height: 3em;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
}

#mozaic-grid span.read_more{
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 1em;
    font-weight: 900;
}

#mozaic-grid .mozrow .mozrowcontent, #ressources-grid .mozrow .mozrowcontent{  
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 21px;
        line-height: 29px;    
}


#mozaic-grid .link .more:after, #ressources-grid .link .more:after{
    content: " ";
    width: 0em;
    border-bottom: 2.8em solid white;
    border-left: 2.8em solid transparent;
    position: absolute;
    bottom: 0;
    right: 0px;
    border-right: 0px solid transparent;
}

#mozaic-grid .link .more:before, #ressources-grid .link .more:before{
    content: "+";
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    font-size: 3.8em;
    z-index: 10;
    margin: auto;
    height: 100%;
    left: 0.2em;
    top: 0.4em;
    transition: all 0.4s ease-in-out;
}
#mozaic-grid .mozrow:hover .more:before, #ressources-grid .mozrow:hover .more:before{
    color: black;
    transform: rotate(90deg);
    transform-origin: center center;
}


#mozaic-grid a:link, #mozaic-grid a:visited, #mozaic-grid a:hover, #mozaic-grid a:active,
#ressources-grid a:link, #ressources-grid a:visited, #ressources-grid a:hover, #ressources-grid a:active{
    text-decoration: none;
    color: white;
}

.mozrowcontent h3, .mozrowcontent p{
    margin: 0;
}
.mozrowcontent p{
    font-family: 'Roboto';
    line-height: 1.2em;
    font-size: 15px;
    margin-top: 1em;
}

.mozrowcontent{
    margin: 1em;
}








.actu_color{
    background-color: #808080;
}



/* Pages liste */
.listPageContener .listItem{


}

.listPageContener .listItem .Item{
    padding-bottom: 3em;    
}
.listItem .Item.disabled{
    display: none;  
}

.listPageContener .listItem .Item .cellLeft{
    max-width: 260px;
}

.listPageContener .listItem .Item .cellLeft .itemHeader{
    margin-bottom: 1em;
    font-size: 14px;
    font-weight: normal;  
    height: 2em; 
}
.listPageContener .listItem .Item .cellLeft .itemHeader span{
    color: #fff;
    margin-left: 5px;
    text-transform: uppercase;
    line-height: 2em;

}
.listPageContener .listItem .Item .cellLeft img{
    width:100%;
}

.listPageContener .listItem .Item .cellRight{

}
.listPageContener .listItem .Item .cellRight img{
    max-height: 250px;
    max-width: 250px;
    
}


.cellRight a{
    text-decoration: none;
    color: initial;
}

span.greyCategory{
    font-family: Oswald;
    font-weight: 300;
    float: left;
    color: #808080;
    font-size: 18px;
    margin-right: 0.2em;
}



.listPageContener .listItem .Item .cellRight .readMore{
    position: absolute;
    bottom: -1em;
    font-family: Roboto;
    font-size: 14px;
    text-align: right;
    width: 100%;
    color:  #666;
    border-bottom: 1px solid #666;
    
}

.cellRight h1{
    color: black;
}

.listPageContener .listItem .Item .cellRight h1{
    margin: 0;
    /*margin-left: 2%;  */
    border-bottom: 2px solid black; 
}

.listPageContener .listItem .Item .cellRight .short_text, .listPageContener .listItem .Item .cellRight .text, .listPageContener .listItem .Item .cellRight .subtitle{
    /*margin-left: 2%;*/
    margin-top: 1em;
    margin-bottom: 2.5em;
}

.listPageContener .listItem .Item .cellRight .subtitle{
    font-family: Oswald;
    font-weight: 300;
    margin-bottom: 12px;
    font-size: 18px;
    margin-top: 12px;
    display: block;
}

.listPageContener .listItem .Item .cellRight p{
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: #000;
    line-height: 1.4em;
}

.Item .cellRight{
    position:relative;
    padding-bottom: 2em;
}
.Item .cellRight p{
    max-width: 100%;
    font-size: 1.2em;
    color: #222222;
}


.Item .cellRight p.contact_email, .Item .cellRight p.contact_name{
    margin: 0;
    
}
.Item .cellRight p.contact_email a{
    color: black;
}
.Item .cellRight iframe{
    max-width: 100%;
    max-height: 350px;
}


.sharingBar{
    float: right;
    list-style-type: none;
    display: inline-flex;
    flex-direction: row-reverse;
    width: 100%;
    border-bottom: 1px solid #666;
    color:  #666;
    margin-top: 3em;
    gap: 0.5em;
}


.sharingBar #fb{
      background: url(/wp-content/themes/inedits/img/share/fb.png) 0 -4px no-repeat;
}
.sharingBar #fb {
    background: url(/wp-content/themes/inedits/img//share/fb.png) 0 -4px no-repeat
}

.sharingBar #fb:hover {
    background: url(/wp-content/themes/inedits/img/share/fb_hover.png) 0 -4px no-repeat
}

.sharingBar #tw {
    background: url(/wp-content/themes/inedits/img/share/tw.png) 0 -4px no-repeat
}

.sharingBar #tw:hover {
    background: url(/wp-content/themes/inedits/img/share/tw_hover.png) 0 -4px no-repeat
}

.sharingBar #mail {
    background: url(/wp-content/themes/inedits/img/share/mail.png) 0 -4px no-repeat
}

.sharingBar #mail:hover {
    background: url(/wp-content/themes/inedits/img/mail_hover.png) 0 -4px no-repeat
}

.sharingBar #print {
    background: url(/wp-content/themes/inedits/img/share/print.png) 0 -4px no-repeat
}

.sharingBar #print:hover {
    background: url(/wp-content/themes/inedits/img/share/print_hover.png) 0 -4px no-repeat
}





.contentBlock a, .cellRight p a{
    color: #808080;
    transition: all 0.5s ease-out;
}
.contentBlock a:hover, .cellRight p a:hover{
    color: #202020;
    text-decoration: underline;
}

.contentBlock ul li, .content-text-xml ul li{
    list-style: square;    
    font-family: Roboto, Arial, Helvetica, sans-serif;
}
.contentBlock ul, .content-text-xml ul{
    padding-left: 1em;
    font-size: 16px;
}


.filmo_real, .filmo_prod,.biblio_infos{
    font-family: Oswald;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 15px;
}

.filmo_content_link:before{
    content : " > ";
}
.filmo_content_link{
    color: black!important;
    font-size: 14px;
    font-family: 'Roboto';
}




.heateor_sss_svg svg{
    transition: all 0.5s ease-out;

}


ul.download_files  {
    list-style-type: none; /* Remove default bullets */
    padding-left: 2em;
}

ul.download_files li a{
    text-decoration: none;
    color: black;
    font-weight: 600;
}

ul.download_files li::before {
    content: "♦";
    color: black;
    display: inline-block;
    width: 0.5em;
    margin-left: -1em;
    padding-right: 0.2em;
    font-size: 1.5em;
}



.sharingBar li{
    width: 25px;
    height: 25px;
}

.sharingBar li.txt{
    text-transform: uppercase;
    width: auto;
    padding-top: 0.3em;
    padding-right: 1.5em;
}
.swiper-pagination-bullet{
    background-color: #888!important; 
    transition: all 0.3s ease-out;
    border: 1px solid white;
    mix-blend-mode: difference;
}
.swiper-pagination-bullet-active{
    background-color: #444!important; 
    font-size: 16px!important; 
    border: 1px solid #444!important; 
}
#div10 .swiper-pagination-bullet{
    background-color: #666!important;
    border: 1px solid black!important; 
}
#div10 .swiper-pagination-bullet-active{
    background-color: white!important;
    border: 1px solid white!important; 
}


.swiper-pagination{
    text-align: right!important; 
    width: calc(100% - 1em)!important;  
}

#div8 .swiper-wrapper{
    padding: 2em;
}

#div10 .swiper{
    height:100%; 
}

#div10 .swiper .swiper-slide{    
    background-size: cover;
    background-repeat: no-repeat;
}
#div10 .swiper .swiper-slide .slide_infos{
    width: calc(100% - 4em);
    height: calc(50% - 4em);
    position: absolute;
    bottom: 0;  
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 2em
}

#div10 .slide_infos .title{
    font-size: 22px;
    color: white;
    font-weight: 100;
    margin-top:0;
    margin-bottom:0.5em;
    font-weight:600;
}

#div10 .slide_infos .date {
    font-size: 1.5em;
    color: white;
    margin-top: 4px;    
}
span.date{
    font-size: 1.5em;
    padding-top: 0.5em;
    display: block;
}
#div10 .slide_infos .type {
font-size: 14px;
color: white;
margin-top: 8px;
font-family: Roboto, Arial, Helvetica, sans-serif;
font-weight: 300;
}


#div10 .swiper .swiper-slide a{
    width: 100%;
    height: 100%;
    display: block;
}

#div8 .swiper{
    color: black;
    height:100%;
    background:#EDEDED;
}
#div8 .swiper .type{
    color: #4D4D4D;
    font-size: 20px;
    font-family: Oswald;
    font-weight: 800;
}
#div8 .swiper .title{
    color: #000;
    font-size: 12px;
    font-family: Roboto;
    line-height: 18px;
    font-weight: 800;
    margin-top:0.5em;
    margin-bottom:0.5em;
}
#div8 .swiper .text{
    color: #000;
    font-size: 12px;
    font-family: Roboto;
    line-height: 18px;    
}.swiper-pagination

#div8 .itemRess{
    padding: 2em;
}


#div8{
    overflow: hidden;
}

.sep{
    border-top: 1px solid;
    width: 50%;
    margin-bottom: 3em;
}



.activites{
    position: relative;
    width: 100%;
    height: 50px;
    display: block;

    margin-right: 10px;
    font-family: Oswald;
    color: #8C8C8C;
    font-weight: 300;
    font-size: 14px;
    text-transform: capitalize;
}


.activites span{
    Float: left;
    margin-right: 10px; 
}


.activites ul {
    /*Float: left;*/
    list-style-type: none;  /* Supprime les puces de la liste */
    padding: 0;             /* Supprime le padding par défaut */
    margin: 0;              /* Supprime la marge par défaut */
    display: flex;          /* Affiche les éléments de la liste sur une seule ligne */
}

.activites li {
    margin-right: 10px;     /* Espace entre les éléments de la liste */
}

.activites li::after {
    content: '|';           /* Ajoute le séparateur '|' après chaque élément */
    margin-left: 10px;      /* Espace après le séparateur */
}

.activites li:last-child::after {
    content: '';            /* Supprime le séparateur après le dernier élément */
}


p.adresse{
font-family: roboto;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
}

p.website a{
    font-family: roboto;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    color: black;
    text-decoration: none;
}
p.website a:hover{   
    text-decoration: underline;
}


#ressources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 4em;
}
#ressources-grid .mozrow {
    
}


#ressources-grid .mozrow:nth-child(-n+3) {
    height: 162.5px; /* Contraindre la hauteur des divs de la première ligne */
}

#ressources-grid .mozrow:nth-child(n+4):nth-child(-n+6)  {
    height: 325px; /* Contraindre la hauteur des divs de la première ligne */
}

.moreInfoButton{
    float: right;
    cursor: pointer;
    width: 100%;
    text-align: right;
    border-bottom: 1px solid #474747;;
    color: #474747;
    position: absolute; 
    bottom: 0;
}
.moreInfo{
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease-out;
}

.moreInfo.expanding,
.moreInfo.collapsing {
    height: auto;
}



.logo_membre{
    text-align: center;
    margin: 4em 0;
}

#filters_section select{
    width: 70%;
}
#filters_section a{
    text-decoration: unset;
}

#filters_section{
    display: grid;
}
#filters_section span{
    color: black;
    margin-top: 16px;
    font-size: 17px;   
    text-transform: uppercase;    
    display: inline-block;
    padding-right: 22px;
    margin-right: 44px;
    font-weight: 900;
}
#filters_section ul {
    list-style: none;
    margin: unset;
    padding: unset;
}

#filters_section span::before {
    content: "\25C6"; /* Code Unicode pour le losange noir */
    display: inline-block;
    margin-right: 5px; /* Ajoute un espacement entre le losange et le texte */
    color: black; /* Couleur du losange */
    margin-bottom: 5px;
    font-size: 16px;
}
#filters_section ul li{
    transition: all 0.3s ease;

}
#filters_section ul li.disabled{
    opacity: 0.4;
    cursor: default;
}

#filters_section ul li::before{
    content: "\2610";
    margin-right: 0.5em;
    color: #474747;
}

#filters_section ul li.active::before{
    content: "\2611";
}

#filters_section ul li.active{
    color: #000;
}

#filters_section ul li{
    font: 14px / 25px Oswald, Arial, Helvetica, sans-serif;
    color: #474747;
    text-transform: capitalize; 
    cursor:pointer;
    font-weight: 600;
}



p.lieu{
    font-family: Oswald !important;
    font-weight: 300;
    margin-bottom: 12px;
    font-size: 18px !important;
}








ul#alphabet_list {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 24px;
    height: 30px;
}
#alphabet_list li {
    color: #808080;
    list-style: none;
    display: inline-block;
    width: 3.10%;
    text-align: center;
    font-size: 16px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}
#alphabet_list li.active {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor:pointer;
}
#alphabet_list li.active.selected {
    text-decoration: underline;
}











.marker-cluster:hover {
    border: 2px solid red!important; /* Exemple de style que vous voudriez retirer */
}



ul#connexion_register {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
}

ul#connexion_register li {
    flex: 1 0 calc(50% - 1.5em); /* Calcul de la taille des colonnes */
}

/* Pour éviter l'espacement après le dernier élément */
ul#connexion_register li:last-child {
    margin-right: 0;
}

/* Pour éviter les marges excessives si moins de 2 éléments */
ul#connexion_register li:nth-last-child(n+3):nth-last-child(-n+4) {
    margin-right: auto;
}

ul#connexion_register .um-login{
    margin: 0 !important;
}




#userBanner{
    display:flex;
    background: #ddd;
    margin-bottom: 2em;
    position: relative;
}


#userBanner i{
    font-size: 25px;
    line-height: 24px;
}
#userBanner i:before{
    font-size: 25px;
}



.um-icon-person:before{
    font-size: 25px; 
}

#userBanner .welcome{
    font-weight: 700;
    font-size: 16px;
    padding-left: 0.5em;
}

#userBanner .logout{
    position: absolute;
    bottom: 0;
    right: 25px;
    font-weight: 700;
}

#userBanner .logout i{
    font-size: 25px;
    line-height: 17px;
    position: absolute;
    top: 0;
}
#userBanner .logout i:before{    
    font-size: 17px;
    padding: 0.2em;
}
#userBanner a{
    text-decoration: none;
    color: unset;
}





.um-center{
    text-align: left!important;
}


form .um-center .um-button, form input[type=submit]{
   background: #808080!important;
   color: white;
   padding: 10px 10px !important;
   border: none !important;
   display: block;
   line-height: 1em !important;
   padding: 16px 20px !important;
   text-decoration: none !important;
   text-align: center;
   text-transform: none !important;
   font-weight: 400 !important;
   overflow: hidden;
   position: relative;
   transition: .25s;
   box-sizing: border-box;
   vertical-align: middle !important;
   border-radius: 2px!important;
    height: auto !important;
    font-size: 15px;
    cursor: pointer !important;
    box-shadow: none;
    text-shadow: none;
    font-family: inherit;
    outline: 0 !important;
    margin: 0;
    opacity: 1;
    font-family: Oswald;
    font-weight: 700 !important;
    
}

form .um-center .um-button:hover, form input[type=submit]:hover{
    background: black!important;
    color: white;
 }




form input[type=number], form input[type=password], form input[type=email], form input[type=text], form textarea{
    border: 1px solid #ddd !important;
    padding: 0 12px !important;
    border-radius: 2px;
    outline: 0 !important;
    cursor: text !important;
    font-size: 15px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    margin: 0 !important;
    position: static;
    
}

form textarea{
    height: 180px !important;

}




















#photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;    
}

.grid-item-photo {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    overflow: hidden;
    text-align: justify;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    min-height: 224px;
}

.grid-item-photo .photo_infos{
    opacity: 0;
    padding: 1em;
    transition: opacity 0.3s ease;
    background-color : #000000BB;
    color: white;
    height: 100%;
}

.grid-item-photo:hover .photo_infos {
    opacity: 1;
}

.grid-item-photo .photo_infos div{
    width: 100%;
}
.grid-item-photo .photo_infos .collection, .grid-item-photo .photo_infos .auteur{
    font-weight: 800;
}

.photo_infos h2{
    margin-bottom: 0.5em;
    margin-top: 0;
}
.photo_infos p{
    margin-bottom: 0;
    margin-top: 0.5em;
    line-height: 18px;
    font-size: 13px;
}

.photo_infos div{
    line-height: 18px;
}

#mobile_nav{
    display: none;
}




@media (max-width: 1050px) {
    .wrapper{
        width:auto;
    }
    
    #mozaic-grid {   
        display: grid;     
        grid-template-columns: 1fr 1fr;
    }



    #div10{
        /*display: none;*/
    }
    #div1 {
        grid-area: unset!important;
    }
    #div2 {
        grid-area: 1 / 1 / 3 / 2!important;
    }
    #div3{
        grid-area: 2 / 2 / 2 / 3!important;
    }
    #div4{
        grid-area: 5 / 3 / 3 / 2!important;
    }
    #div5{
        grid-area: unset !important;
    }
    #div6{
        grid-area: unset!important;
    }
    #div7{
        grid-area: unset!important;
    }
    #div8{
        grid-area: unset!important;
    }
    #div9{
        grid-area: 10 / 1 / 6 / 3 !important;
    }
    #div10{
        grid-area: 70 / 1 / 10 / 3 !important;
    }
   
}


#mobile_nav .mobile_menu { 
    transition: left 0.5s ease;
    position: absolute;
    background: white;
    border-top: 1px solid black;
    left:100vw;
    z-index: 20; 
    display: block;
    width: 100%;        
    height: 100%
}


#mobile_nav .mobile_menu ul {
    color: black;    
    text-transform: uppercase;
    text-align: left;
    margin: 0;
}
#mobile_nav .mobile_menu ul li a{
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 14px;
}
#mobile_nav .headerMobileMenu{
    display: flex;
    margin: 1em 0;
}

.wrapper{
    overflow: hidden;
}

section{
    width: 100%;
    position: relative;
}
.listPageContener .content{
    width: 100%;
    position: relative;
}


.mobile_image,.mobile_info{
    display: none;
}

@media (max-width: 920px) {
    .listPageContener .sideBar{
        /*display:none;*/
    }
    #map{
        max-width: 100%;;
    }

    #alphabet_list{
        padding: 0;
    }
}


@media (max-width: 890px) {
    nav{
        display: none!important;
    }
    #mobile_nav{
        display: block;
    }
    #mobile_nav i.burger{
        cursor: pointer;
        display: block;
        margin: 2em;   
    }
    #mobile_nav i.burger:before{
        font-size: 3em;
    }
    #mobile_nav i.burger{
        display: block;
        margin: 3em;   
    }
    
    .mobile_menu.open {          
        left: 0!important;
    }
    
    body{
        overflow-x: hidden;
    }
}
@media (max-width: 640px) {
    form.wpcf7-form input,  form.wpcf7-form textarea{
        width: 60vw;
    }
}

@media (max-width: 590px) {
    .wrapper{
        overflow: hidden;
    }
    
    #mozaic-grid{
        grid-template-rows: unset;
        grid-template-columns: 1fr !important;
    }
    #mozaic-grid > div{
        grid-area:unset !important;
        grid-template-rows: unset;
        grid-template-columns: unset;
        max-width: 100%;
        box-sizing: border-box;
    }
    #mozaic-grid #div10{
        max-width: 94vw!important;
    }

    #prefooter {
        display: block;
    }

    .listItemHead {
        flex-flow: column;
    }

    .listItemHead .cellLeft{
        width: 100%;
    }

    .listPageContener{
        display: grid;
    }
    .listItem .cellLeft{
        display: none;
    }
    .cellRight{
        width:100%!important;
    }
    #filters_section ul{
        column-count: 3;
        column-gap: 2em;
    }
    .listItem{
        /*margin-top: 8em;*/
        width: calc(100vw - 2em);
    }

    .listPageContener .listItem .Item {
        /*padding-bottom: 8em;*/
    }

    .mobile_info, .mobile_image{
        display: block;
    }

    .mobile_info span{
        margin-left: 5px;
        color: white;
    }

    .mobile_image img{
        width: 100%;
        max-width: 100%!important;
        height: auto;
        max-height: auto!important;
        margin-top: 0.5em;
    }

    .listItem.singleContent{
        margin-top: 0em;
    }
    .sideBar{
        margin-bottom: 5em;
    }
    .mobile_download .ressource_origine{
        font-family: Oswald;
        font-weight: 300;
        margin-bottom: 10px;
        font-size: 15px;
    }
    #alphabet_list{
        margin-bottom: 2em
    }

    .mobile_download{
        margin-top: 1em;
    }
}