@media not all and (min-resolution:.001dpcm) { 
	@media {
    /*
      MEDIA QUERIES POUR CIBLER SAFARI UNIQUEMENT
     */   
    
  }
}
@media(min-width: 481px){}

@media(min-width: 768px){
  .picto-container{
    position: relative;  
  }
  .picto-container:before{
    content: '';
    position: absolute;
    z-index: -1;
    top: 80px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--tertiary-color);
  }
  .picto-container:after{
    content: '';
    position: absolute;
    z-index: -1;
    top: 84px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
  }
}

@media(min-width: 1025px){
  .sectionsbloc .wrap-text {
    margin: 50px;
    background-color: rgba(0,0,0,.80);
  }

  .section_thumb_back{
      position: absolute;
      top: 50%;
      bottom: 0;
      z-index: -1;
      left: 15%;
      right: 15%;
  }

  .section_thumb_back:after{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #fff;
      opacity: 0.25;
  }

  .sectionsbloc .section_thumb .blocthumb img{
      height: auto;
      max-height: 90%;
      top: 25%;
      transform: translateY(-25%);
  }
  .sectionsbloc .section_thumb_back img{
    object-position: center;
  }

  .home .wp-block-gallery.wp-block-gallery-1{
    padding: 75px 0 !important;
    gap:0 !important;
  }
  .home .wp-block-gallery.wp-block-gallery-1 > figure:nth-of-type(1){
    margin-top: -50px !important;
  }
  .home .wp-block-gallery.wp-block-gallery-1 > figure:nth-of-type(2){
    margin-left: -50px !important;
    margin-right: -50px !important;
    margin-top: 30px !important;
  }
  .home .wp-block-gallery.wp-block-gallery-1 > figure:nth-of-type(3){
    margin-top:-15px !important;
    margin-right: -50px !important;
  }
  .home .wp-block-gallery.wp-block-gallery-1 > figure:nth-of-type(4){
    margin-top: 15px !important;
  }
  #sections{
    z-index: 10;
    margin-bottom: 200px;
    position: relative;
  }

}

@media(min-width: 1281px){}

@media(min-width: 1481px){}

@media(min-width: 1681px){}

@media(max-width: 1680px){}

@media(max-width: 1480px){}

@media(max-width: 1280px){
  
}

@media(max-width: 1024px){
  .ckmenu-toogle .ckmenu-line{
    background-color: var(--black);
  }
  .ckmenu-nav{
    background-color: var(--background-color);
  }
  #info-toogle:before{
    background-image: url(../images/icons/mail.svg);
  }
  .is-toggle-open #header #info-toogle {
    box-shadow: 0 0 0 100vw var(--background-color), 0 0 0 100vh var(--background-color);
    background-color: var(--background-color);
    border-radius: 0;
    transition: .5s ease-in-out;
  }
  .is-toggle-open #header #info-toogle:before{
    background-image: url(../images/icons/close-white.svg);
  }
  #headerGrid{
    min-height: 72px;
  }
  #news .thumbnail_slider{
    height: 400px;
  }
  .section_thumb_back{
    display: none;
  }
  .home .wp-block-gallery.wp-block-gallery-1{
    flex-wrap: wrap;
  }
  
  
}

@media(max-width: 767px){
  #headerGrid{
    min-height: 57px;
  }

  .home #prestations{
    margin-top: 0;
  }

  .picto-container li {
    flex: 1 1 50%;
  }


}

@media(max-width: 480px){
  .picto-container li {
    flex: 1 1 100%;
  }

}