/* Basic bootstrap */
@media (min-width: 1440px) {.container { max-width: 1440px; } }
@media (min-width: 992px)  {.container { max-width: 100%; } }
@media (min-width: 768px)  {.container { max-width: 100%; } }
@media (min-width: 576px)  {.container { max-width: 100%; } }
@media (min-width: 1200px) {.container { max-width:1140px; } }
.container{
  width:100%;
  padding-right:15px;
  padding-left:15px;
  margin-right:auto;
  margin-left:auto;
}
.row{
  display:flex;
  flex-wrap:wrap;
  margin-right:-15px;
  margin-left:-15px; 
}
.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,
.col-lg,.col-lg-1,.col-lg-2,.col-lg-2-5,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,
.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto,
.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto,
.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto{
  position:relative;
  width:100%;
  min-height:1px;
  padding-right:15px;
  padding-left:15px; }
.col-1{
  flex:0 0 8.33333%;
  max-width:8.33333%; }
.col-2{
  flex:0 0 16.66667%;
  max-width:16.66667%; }
.col-3{
  flex:0 0 25%;
  max-width:25%; }
.col-4{
  flex:0 0 33.33333%;
  max-width:33.33333%; }
.col-5{
  flex:0 0 41.66667%;
  max-width:41.66667%; }
.col-6{
  flex:0 0 50%;
  max-width:50%; }
.col-7{
  flex:0 0 58.33333%;
  max-width:58.33333%; }
.col-8{
  flex:0 0 66.66667%;
  max-width:66.66667%; }
.col-9{
  flex:0 0 75%;
  max-width:75%; }
.col-10{
  flex:0 0 83.33333%;
  max-width:83.33333%; }
.col-11{
  flex:0 0 91.66667%;
  max-width:91.66667%; }
.col-12{
  flex:0 0 100%;
  max-width:100%; }
@media (min-width: 1200px){
    .col-xl{
      flex-basis:0;
      flex-grow:1;
      max-width:100%; }
    .col-xl-auto{
      flex:0 0 auto;
      width:auto;
      max-width:none; }
    .col-xl-1{
      flex:0 0 8.33333%;
      max-width:8.33333%; }
    .col-xl-2{
      flex:0 0 16.66667%;
      max-width:16.66667%; }
    .col-xl-3{
      flex:0 0 25%;
      max-width:25%; }
    .col-xl-4{
      flex:0 0 33.33333%;
      max-width:33.33333%; }
    .col-xl-5{
      flex:0 0 41.66667%;
      max-width:41.66667%; }
    .col-xl-6{
      flex:0 0 50%;
      max-width:50%; }
    .col-xl-7{
      flex:0 0 58.33333%;
      max-width:58.33333%; }
    .col-xl-8{
      flex:0 0 66.66667%;
      max-width:66.66667%; }
    .col-xl-9{
      flex:0 0 75%;
      max-width:75%; }
    .col-xl-10{
      flex:0 0 83.33333%;
      max-width:83.33333%; }
    .col-xl-11{
      flex:0 0 91.66667%;
      max-width:91.66667%; }
    .col-xl-12{
      flex:0 0 100%;
      max-width:100%; }
    
}
@media (min-width: 992px){
  .col-lg{
    flex-basis:0;
    flex-grow:1;
    max-width:100%; }
  .col-lg-auto{
    flex:0 0 auto;
    width:auto;
    max-width:none; }
  .col-lg-1{
    flex:0 0 8.33333%;
    max-width:8.33333%; }
  .col-lg-2{
    flex:0 0 16.66667%;
    max-width:16.66667%; }
  .col-lg-3{
    flex:0 0 25%;
    max-width:25%; }
  .col-lg-4{
    flex:0 0 33.33333%;
    max-width:33.33333%; }
  .col-lg-5{
    flex:0 0 41.66667%;
    max-width:41.66667%; }
  .col-lg-6{
    flex:0 0 50%;
    max-width:50%; }
  .col-lg-7{
    flex:0 0 58.33333%;
    max-width:58.33333%; }
  .col-lg-8{
    flex:0 0 66.66667%;
    max-width:66.66667%; }
  .col-lg-9{
    flex:0 0 75%;
    max-width:75%; }
  .col-lg-10{
    flex:0 0 83.33333%;
    max-width:83.33333%; }
  .col-lg-11{
    flex:0 0 91.66667%;
    max-width:91.66667%; }
  .col-lg-12{
    flex:0 0 100%;
    max-width:100%; } 
}
@media (min-width: 768px){
  .col-md{
    flex-basis:0;
    flex-grow:1;
    max-width:100%; }
  .col-md-auto{
    flex:0 0 auto;
    width:auto;
    max-width:none; }
  .col-md-1{
    flex:0 0 8.33333%;
    max-width:8.33333%; }
  .col-md-2{
    flex:0 0 16.66667%;
    max-width:16.66667%; }
  .col-md-3{
    flex:0 0 25%;
    max-width:25%; }
  .col-md-4{
    flex:0 0 33.33333%;
    max-width:33.33333%; }
  .col-md-5{
    flex:0 0 41.66667%;
    max-width:41.66667%; }
  .col-md-6{
    flex:0 0 50%;
    max-width:50%; }
  .col-md-7{
    flex:0 0 58.33333%;
    max-width:58.33333%; }
  .col-md-8{
    flex:0 0 66.66667%;
    max-width:66.66667%; }
  .col-md-9{
    flex:0 0 75%;
    max-width:75%; }
  .col-md-10{
    flex:0 0 83.33333%;
    max-width:83.33333%; }
  .col-md-11{
    flex:0 0 91.66667%;
    max-width:91.66667%; }
  .col-md-12{
    flex:0 0 100%;
    max-width:100%; }
}
@media (min-width: 576px){
  .col-sm{
    flex-basis:0;
    flex-grow:1;
    max-width:100%; }
  .col-sm-auto{
    flex:0 0 auto;
    width:auto;
    max-width:none; }
  .col-sm-1{
    flex:0 0 8.33333%;
    max-width:8.33333%; }
  .col-sm-2{
    flex:0 0 16.66667%;
    max-width:16.66667%; }
  .col-sm-3{
    flex:0 0 25%;
    max-width:25%; }
  .col-sm-4{
    flex:0 0 33.33333%;
    max-width:33.33333%; }
  .col-sm-5{
    flex:0 0 41.66667%;
    max-width:41.66667%; }
  .col-sm-6{
    flex:0 0 50%;
    max-width:50%; }
  .col-sm-7{
    flex:0 0 58.33333%;
    max-width:58.33333%; }
  .col-sm-8{
    flex:0 0 66.66667%;
    max-width:66.66667%; }
  .col-sm-9{
    flex:0 0 75%;
    max-width:75%; }
  .col-sm-10{
    flex:0 0 83.33333%;
    max-width:83.33333%; }
  .col-sm-11{
    flex:0 0 91.66667%;
    max-width:91.66667%; }
  .col-sm-12{
    flex:0 0 100%;
     max-width:100%; }
}

/* Css */
.main-phototheque ul{ padding-left: 0; }
.main-phototheque li{ list-style-type: none;}

.back-to-home {
  padding-bottom: 30px;
}
.back-to-home a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 10px 15px;
  color: #fff;
  font-weight: bold;
  background: #282523;
  width: max-content;
  border: 1px solid transparent;
  transition: all .5s;
}
.back-to-home a:hover{
  background: #fff;
  border: 1px solid #282523;
  color: #282523;
  transition: all .5s;
}
.back-to-home a::before {
  display: block;
  content : url("data:image/svg+xml,%3Csvg version='1.1' id='fi_109611' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 31.479 31.479' style='enable-background:new 0 0 31.479 31.479;' xml:space='preserve'%3E%3Cpath style='fill:%23ffffff;' d='M26.485,21.206c0.429-0.444,0.429-1.143,0-1.587c-0.444-0.429-1.159-0.429-1.587,0l-8.047,8.047 V1.111C16.851,0.492,16.359,0,15.74,0c-0.619,0-1.127,0.492-1.127,1.111v26.555l-8.031-8.047c-0.444-0.429-1.143-0.429-1.587,0 c-0.429,0.444-0.429,1.143,0,1.587l9.952,9.952c0.429,0.429,1.143,0.429,1.587,0L26.485,21.206z'%3E%3C/path%3E%3C/svg%3E");
  transform: rotate(90deg);
  width: 20px;
  height: auto;
}
.back-to-home a:hover::before {
  content : url("data:image/svg+xml,%3Csvg version='1.1' id='fi_109611' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 31.479 31.479' style='enable-background:new 0 0 31.479 31.479;' xml:space='preserve'%3E%3Cpath style='fill:%23282523;' d='M26.485,21.206c0.429-0.444,0.429-1.143,0-1.587c-0.444-0.429-1.159-0.429-1.587,0l-8.047,8.047 V1.111C16.851,0.492,16.359,0,15.74,0c-0.619,0-1.127,0.492-1.127,1.111v26.555l-8.031-8.047c-0.444-0.429-1.143-0.429-1.587,0 c-0.429,0.444-0.429,1.143,0,1.587l9.952,9.952c0.429,0.429,1.143,0.429,1.587,0L26.485,21.206z'%3E%3C/path%3E%3C/svg%3E");
}

/* Side bar */
.left-colunm li a{
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
}

.left-colunm h2{
  margin-top: 0;
  margin-bottom: 2rem;
}

.left-colunm li a.active{ color: #fd0; }

.row-item{row-gap: 10px;}
.left-colunm li ul.children{ padding-left: 1rem;}

/* Easy Way collapse dropdown menu cat */
.phototheque_category .cat-item > .children{  display: none;}
.phototheque_category .cat-item > .children.open-menu{  display: flex; flex-direction: column; flex-wrap: wrap;}
.phototheque_category .cat-item.has-a-child{
  display: grid;
  grid-template-areas: 'link btn' 'menu menu';
}

.phototheque_category .cat-item.has-a-child > a{grid-area: link; }
.phototheque_category .cat-item.has-a-child > .children{ grid-area: menu;}
.phototheque_category .cat-item.has-a-child > .fa-chevron-down{grid-area:  btn;}
.phototheque_category .cat-item.has-a-child > .fa-chevron-down::before{
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.2rem;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin: 0;
  padding: 5px;
  align-items: center;
  display: flex;
  justify-content: end;
}

.phototheque_category > ul > li{
  border-bottom: 1px solid;
  margin-bottom: 1rem;
}
@media (min-width: 992px){
  .cat-container .col-lg-2-5{
    flex:0 0 20%;
    max-width:20%; }
}

  /** Card Content */ 
.a3web-phototheque__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.a3web-phototheque__item-thumbnail::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100% ;
  height: 100%;
  opacity: 0;
  background-color:#fd0 ;
  transition: all 0.3s ease-in-out;
}

.a3web-phototheque__item-thumbnail{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.a3web-phototheque__item-content{
  position: absolute;
  opacity: 0;
  visibility: 0;
  transition: all 0.3s ease-in-out;
}

.a3web-phototheque__item:hover > .a3web-phototheque__item-content{
  opacity: 1;
  visibility: 1;
  transition: all 0.3s ease-in-out;
}

.a3web-phototheque__item:hover > .a3web-phototheque__item-thumbnail::after{
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

.a3web-phototheque__item-content ul{
  display: flex;
  flex-direction: column;}
.a3web-phototheque__item-content li{ 
  display:inline; 
  margin-bottom: 7px;
  width: 100%;
}
.a3web-phototheque__item-content .link-item a{
  display: flex;
  justify-content: center;
  width: 100%;
  font-weight: 500;
  font-size: 18px;
}
.a3web-phototheque__item-content .link-item a:hover{  color: white;}
.a3web-phototheque__item-content .link-item .inner-icon{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  font-style: normal;
  text-align: center;
}
.a3web-phototheque__item-content .link-item .inner-icon span{
  font-family: "Open Sans";
  font-weight: 500;
  font-size: 18px;
  opacity: 0;
}
.a3web-phototheque__item-content .link-item .inner-icon:hover span{opacity: 1;}
.a3web-phototheque__item-content .title-item  *{ text-align: center;}
.a3web-phototheque__item-content li .term-item{  display:inline; }
.a3web-phototheque__item-content strong{
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 7px;
  display: flex;
  justify-content: center;
}

.attachment-post-thumbnail{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

/**/
.right-colunm .navigation{  margin-top: 2rem;}

.right-colunm .nav-links{
  display: flex;
  gap: 15px;
  margin-left: auto;
  margin-right: auto;
}

.right-colunm .nav-links > * {
  font-weight: 500;
  font-size: 18px;
}

.right-colunm .nav-links .current{color: #fd0;}

/* li-su des temps*/
.eltdf-content .main-phototheque {
  max-width: 1100px;
  margin: 0 auto; 
}

/* PrettyPhoto - Style épuré comme demandé par le client */
body .pp_pic_holder .pp_content_container .pp_left, 
body .pp_pic_holder .pp_content_container .pp_right {
    background: unset;
    padding: 10px !important;
    background: #fff !important;
}

/* Masquer la galerie de vignettes en bas */
body .pp_pic_holder .pp_details .pp_gallery,
body .pp_gallery {
    display: none !important;
}

/* Masquer le compteur d'images */
body .pp_pic_holder .pp_details .pp_nav .currentTextHolder {
    display: none !important;
}

/* Masquer le titre si affiché */
body .pp_pic_holder .pp_details .pp_description {
    display: none !important;
}

/* Repositionner et styliser le bouton de fermeture */
body .pp_pic_holder .pp_details{
  display: flex !important;
  position: absolute;
  top: -50px;
  justify-content: end;
  right: -50px;
}

body .pp_pic_holder .pp_details .pp_social{
    display: none !important;
}

body .pp_pic_holder .pp_details .pp_close{
  color: white;
  display: flex !important;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

body .pp_pic_holder .pp_details .pp_close:hover {
    background: rgba(0,0,0,0.9);
}

/* Simplifier les flèches de navigation */
body .pp_pic_holder .pp_details .pp_nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

body .pp_pic_holder .pp_details .pp_nav .pp_arrow_previous,
body .pp_pic_holder .pp_details .pp_nav .pp_arrow_next {
    pointer-events: auto;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

body .pp_pic_holder .pp_details .pp_nav .pp_arrow_previous:hover,
body .pp_pic_holder .pp_details .pp_nav .pp_arrow_next:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

/* Lightbox personnalisée ultra-simple */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    z-index: 10001;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.lightbox-loading {
    text-align: center;
    color: white;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lightbox-loading p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: -100px;
}

.lightbox-next {
    right: -100px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transform: translateY(-50%) scale(1.1);
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-counter {
        top: 10px;
        left: 10px;
        transform: none;
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .lightbox-prev {
        left: 10px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-next {
        right: 10px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
}

/* Anciens styles prettyPhoto - Conservés pour compatibilité mais inutilisés */

body.post-type-archive-a3web_phototheque div.pp_default .pp_close {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 56.326 56.326' xmlns='http://www.w3.org/2000/svg' fill='%23000000'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath id='Path_14' data-name='Path 14' d='M477.613,422.087l25.6-25.6a1.5,1.5,0,0,0-2.122-2.121l-25.6,25.6-25.6-25.6a1.5,1.5,0,1,0-2.121,2.121l25.6,25.6-25.6,25.6a1.5,1.5,0,0,0,2.121,2.122l25.6-25.6,25.6,25.6a1.5,1.5,0,0,0,2.122-2.122Z' transform='translate(-447.328 -393.924)' fill='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  height: 20px;
  margin: 4px;
  width: 20px;
}

body.post-type-archive-a3web_phototheque div.pp_default .pp_expand,
body.post-type-archive-a3web_phototheque div.pp_default .pp_contract {
  display: none !important;
}

body.post-type-archive-a3web_phototheque div.pp_default .pp_nav .pp_pause, 
body.post-type-archive-a3web_phototheque div.pp_default .pp_nav .pp_play {
  display: none !important;
}
div.pp_default .pp_bottom, div.pp_default .pp_bottom .pp_left, div.pp_default .pp_bottom .pp_middle, div.pp_default .pp_bottom .pp_right, div.pp_default .pp_top, div.pp_default .pp_top .pp_left, div.pp_default .pp_top .pp_middle, div.pp_default .pp_top .pp_right {
  background: unset !important;
}

body.post-type-archive-a3web_phototheque div.pp_default .pp_nav .currentTextHolder {
    font-style: normal;
    color: #000;
}

/* Correction */
.eltdf-content .row-item{
  width: 100%;
}
.eltdf-content .a3web-phototheque__item-thumbnail::after{ background-color: #260715;}
.eltdf-content .a3web-phototheque__item-content .link-item a{ color: white;}
.eltdf-content .a3web-phototheque__item-content .link-item .inner-icon{
  font-family: 'FontAwesome';
  font-weight: normal;
  font: 1.5rem;
}
.phototheque_category .cat-item.has-a-child > .fa-chevron-down::before{
  font-family: 'FontAwesome';
  font-weight: normal;
}
.eltdf-content .left-colunm{ max-width: 20%;}
.eltdf-content .right-colunm.main-container .a3web-phototheque__item{ 
  /* max-width: 30%; */
  max-width: 21.9%;
  padding-right: 5px;
  padding-left: 5px;
}
.eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item{   max-width: 17%;}

@media only screen and (max-width: 1367px) {
  .eltdf-content .right-colunm.main-container{ max-width: 74%;}
  .eltdf-content .right-colunm.col-12.cat-container{ max-width: 100%;}
  .eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item, 
  .eltdf-content .right-colunm.col-12 .a3web-phototheque__item, 
  .eltdf-content .a3web-phototheque__item{ max-width: 29%;}
  .eltdf-content .main-phototheque {   margin-top: 200px; }
}
@media only screen and (max-width: 1200px) {
  .eltdf-content .main-phototheque { 
    margin-top: 200px;
    width:950px  }
  .eltdf-content .right-colunm.main-container{ max-width: 72%;}
  .eltdf-content .right-colunm.col-12.cat-container{ max-width: 100%;}
}
@media only screen and (max-width: 1024px) {
  .eltdf-content .main-phototheque { 
    width:768px; 
    margin-top: 0;
  }
  .eltdf-content .left-colunm{max-width: 100%;}
  .eltdf-content .right-colunm.main-container{ max-width: 93%;width: 100%;}
  .eltdf-content .right-colunm.col-12.cat-container{ max-width: 100%;}
  .eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item, 
  .eltdf-content .right-colunm.col-12 .a3web-phototheque__item, 
  .eltdf-content .a3web-phototheque__item{max-width: 43%;}
}
@media only screen and (max-width: 768px) {
  .eltdf-content .main-phototheque { width:600px  }
  .eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item, 
  .eltdf-content .right-colunm.col-12 .a3web-phototheque__item, 
  .eltdf-content .a3web-phototheque__item{max-width: 43%;}
  .eltdf-content .main-phototheque {   margin-top: 0; }

  .eltdf-content .right-colunm.main-container{
    max-width: 100%;
    margin-left: -15px;
    margin-right: -15px; }
}
@media only screen and (max-width: 680px) {
  .eltdf-content .main-phototheque {width:420px  }
  .eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item, 
  .eltdf-content .right-colunm.col-12 .a3web-phototheque__item, 
  .eltdf-content .a3web-phototheque__item{
    flex: 0 0 40%;
    max-width: 41%;}
  .eltdf-content .main-phototheque {   margin-top: 0; }
}
@media only screen and (max-width: 480px) {
  .eltdf-content .main-phototheque {  width:300px  }
  .eltdf-content .main-phototheque, 
  .eltdf-content .main-phototheque .container{padding: 0;}
}
@media only screen and (max-width: 320px) {
  .eltdf-content .main-phototheque { width:90%  }
  .eltdf-content .right-colunm.col-12.cat-container .a3web-phototheque__item, 
  .eltdf-content .right-colunm.col-12 .a3web-phototheque__item, 
  .eltdf-content .a3web-phototheque__item{max-width: 100%;}
}
@media only screen and (min-width: 1367px) {
  .eltdf-content .main-phototheque { 
    margin-top: 200px;
    max-width:1100px  }
}
@media only screen and (min-width: 1400px) {
  .eltdf-content .right-colunm.main-container{ max-width: 74%;}
  .eltdf-content .right-colunm.col-12.cat-container{ max-width: 100%;}
  .eltdf-content .main-phototheque { 
    margin-top: 200px;
    max-width:1300px }
}

@media (min-width: 1440px) {.eltdf-content .right-colunm.col-12.cat-container .container {  max-width: 100%; } }
@media (min-width: 992px) {.eltdf-content .right-colunm.col-12.cat-container .container {  max-width: 100%; } }
@media (min-width: 768px) {.eltdf-content .right-colunm.col-12.cat-container .container { max-width: 100%; } }
@media (min-width: 576px) {.eltdf-content .right-colunm.col-12.cat-container .container {  max-width: 100%; } }
@media (min-width: 1200px){.eltdf-content .right-colunm.col-12.cat-container .container{ max-width:100%; } }


.navigation.pagination{
  margin-bottom: 2rem
}