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

@media(min-width: 768px) {
   /*-----------------*/
	/* NEWS */
	/*-----------------*/
	#news {
	  padding: 0 20px 60px 50px;
	}

	#news .wrapper_slider:first-child .thumbnail_slider {
	  height: 600px;
	}

	#news .wrapper_slider:first-child .content_slider {
	  top: 0;
	  position: absolute;
	  z-index: 3;
	  padding: 40px 30px;
	  max-width: 450px;
	  left: -50px;
	}

	#news .wrapper_slider:first-child .title_slider {
	  font-size: 30px;
	}
}

@media(min-width: 1025px) {
   /*-----------------*/
   /* NAVPRIMARY */
   /*-----------------*/
   .navigmenu .has-child-megamenu .has-child .navigBloc {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
   }

   .navigmenu .navbloctitle {
     grid-column: span 2;
   }

   .has-child-megamenu .naviglink.lvl-2 span {
     padding-left: 12px;
   }

   .has-child-megamenu .naviglink.lvl-2 span:before {
     content: "";
     --size: 5px;
     width: var(--size);
     height: var(--size);
     position: absolute;
     left: 0;
     border: solid 1px var(--primary-color);
     top: 12px;
     border-radius: 10px;
     transition: 250ms all ease-in-out;
   }

   .has-child-megamenu .naviglink.lvl-2:hover span:before {
     background: var(--primary-color);
   }

   .menuarticle .menuarticle-img {
     height: 230px;
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;
   }

   .menuarticle .menuarticle-img-1 {
     background-image: url('../images/home-bg1.jpg');
   }

   .menuarticle .menuarticle-img-2 {
     background-image: url('../images/home-bg2.jpg');
   }

   .menuarticle .menuarticle-img-3 {
     background-image: url('../images/home-bg3.jpg');
   }

   /* #navprimary {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      background: var(--overlay-color);
      max-width: 1400px;
      width: 100%;
      transform: translateX(-50%);
      left: 50%;
      background: var(--title-color);
      position: relative;
      margin-bottom: -30px;
   } */

   #navprimary .navigmenu {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
   }

   #navprimary.fixed-header .navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
     bottom: -11px;
   }

    #header-coordonnees::before {
      border: 1px solid rgb(0 0 0 / 40%);
      border-top: none;
      height: 100%;
      box-sizing: border-box;
      border-radius: 50px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 59% 100%, 57% 90%, 43% 90%, 41% 100%, 0 100%);
    }
   /*-----------------*/
   /* HEADER */
   /*-----------------*/
   #infoadresse {
     order: -1
   }

   #header-coordonnees div br {
     display: none
   }

   #logoCoordonnees {
     grid-row: span 2;
     order: -1;
     margin: 0 30px;
   }

   #header-coordonnees {
     padding: 15px 20px;
   }

   #header-coordonnees>:nth-child(1),
   #header-coordonnees>:nth-child(4) {
     padding: 0 24px 0 0;
     text-align: right
   }

   #header-coordonnees>:nth-child(1) span,
   #header-coordonnees>:nth-child(4) span {
     text-align: right
   }

   #headerSocial .sociblock .share-buttons {
     justify-content: flex-start
   }

   #header-coordonnees>:nth-child(1):before,
   #header-coordonnees>:nth-child(4):before {
     right: 0;
     left: auto
  }
  /*------------------- HEADERHOME ---------------------*/

  #headerHome::before,#headerHome::after
  {
    background-image: url(../images/home-bg5.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
  }
  #headerHome::after
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    height: var(--size);
    background: var(--overlay-color);
  }
  #headerHome::after,  #headerHome .overlay
  {
    opacity: 0.75;
  }
  body .vegas-container.imageDiapo
  {
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0 100%);
    width: 63%;
    left: initial;
    right: 0;
  }
  #headerHome-content_wrapper
  {
    margin-top: -250px;
  }
  /*-----------------*/
	/* CONTENT  */
  /*-----------------*/
	#content .gridContentHome_left{
		grid-column: span 5;
	}
	#content .gridContentHome_right{grid-column: span 4;}

	#content .textContent {
	    padding: 50px;
	    margin: 0;
	}
	#content .textContent .wp-block-column > *:first-child {
	    margin-top: -130Px !important;
	    left: -100px;
	    background: var(--background-color);
	    z-index: 1;
	    position: relative;
	    max-width: 340Px;
	    padding: 40px 30px;
	}
	#content .gridContentHome_right > .wp-block-columns:first-child{margin-left: 10%;}
	#content .textContent blockquote:after, 
	#content .textContent .wp-block-quote:after {
	    top: 52%;
	    transform: translateY(-50%);
	    height: 80%;
	}
	#content .textContent blockquote::before {
	    top: 20Px;
	}
  /*----------------GALLERY----------------------*/
  #galleryHome {
    position: relative;
    z-index: 2;
    height: 34.625em;
    font-size: 1.25vw;
    overflow: hidden;
    z-index: 2;
    margin-top: -17em;
  }

  #galleryHome .gallery {
    transition: .6s;
  }

  #galleryHome .gallery dl.gallery-item {
    margin-bottom: 0;
    position: absolute
  }

  #galleryHome .gallery dl.gallery-item:first-of-type {
    width: 18em;
    height: 20em;
    top: 5em;
    left: 0;
    z-index: 1
  }

  #galleryHome .gallery dl.gallery-item:nth-child(2) {
    width: 12em;
    height: 14em;
    top: 9em;
    left: 16em;
    z-index: 6
  }

  #galleryHome .gallery dl.gallery-item:nth-child(3) {
    width: 10em;
    height: 14em;
    top: 14em;
    left: 26em;
    z-index: 7
  }

  #galleryHome .gallery dl.gallery-item:nth-child(4) {
    width: 14em;
    height: 19em;
    top: 11em;
    left: 34em;
    z-index: 5
  }

  #galleryHome .gallery dl.gallery-item:nth-child(5) {
    width: 22em;
    height: 28em;
    top: 6em;
    left: 45em;
    z-index: 2
  }

  #galleryHome .gallery dl.gallery-item:last-of-type {
    width: 14em;
    height: 18em;
    top: 12em;
    right: 0em;
    z-index: 3
  }
  /*------------------- PRESTATIONS ---------------------*/
  .template-parent-page-php #prestations
  {
    max-width: calc(100% - 60Px);
    margin: 0 auto;
    margin-bottom: 100px;
    width: 100%;
  }
  /*------------------- SECTIONS ---------------------*/
  .section_num0::before
  {
    background: var(--black);
    width: 40%;
  }
  /*-------------------NEWS-------------------*/
	#news {
	  padding: 0 0 60px 100px;
	}

	#news .content-news {
	  padding-right: 30px;
	  grid-gap: 30px 0;
	}

	#news .wrapper_slider:first-child {
	  grid-column: span 3;
	  width: calc(100% + 30px);
	}

	#news .wrapper_slider:first-child .thumbnail_slider {
	  height: 800px;
	  margin-top: 80px;
	}

	#news .wrapper_slider:first-child .title_slider {
	  font-size: 35px;
	}
  /*------------------- LINES ---------------------*/
  .lines::after {
    border: 40px solid var(--primary-color);
    border-top: none;
    border-bottom: none;
    box-sizing: border-box;
    width: 120px;
    right: initial;
    left: 25%;
    top: 0;
    z-index: -2;
  }

}

@media(min-width: 1281px) {
  /*-----------------*/
  /* CONTENT  */
  /*-----------------*/
	#content .gridContentHome_left{padding-left: 30px;}
  /*-----------------*/
  /* NEWS */
  /*-----------------*/
  #news .wrapper_slider:first-child .content_slider {
	  top: -100px;
	  max-width: 670px;
	  left: -110Px;
	  padding: 90px 50px;
	  padding-top: 400px;
	  margin-top: -350px;
	  clip-path: polygon(25% 20%, 25% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
	}
  #news {
    padding: 0 100px 60px;
  }
  #news .content-news {
    padding-right: 200px;
    grid-gap: 30px 60px;
  }

  #news .wrapper_slider:first-child {
    width: calc(100% + 200px);
  }

  #news:after {
    top: auto;
    left: auto;
    right: 0;
    width: 260px;
    height: 50%;
    background: var(--black);
    bottom: -100px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .home #prestations::after {
    left: 15vh;
  }

}

@media(min-width: 1481px) {
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    width: 100%;
    max-width: calc(100% - 100px);
    margin: 0 auto;
  }
  #headerHome::before, #headerHome::after
  {
    clip-path: polygon(0 0%, 100% 0, 95% 100%, 4% 100%);
  }
  body .vegas-container.imageDiapo
  {
    clip-path: polygon(20% 0%, 100% 0, 95% 100%, 0% 100%);
  }
  /*-----------------*/
  /* CONTENT  */
  /*-----------------*/
	#content .gridContentHome_left{padding-left: 100px;	}
}

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

@media(min-width: 2000Px) {
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    /* margin-bottom: 20vw; */
  }
}

@media(max-width: 1680px) {

}

@media(max-width: 1480px) {

}
@media(max-width: 1280px) {
  /*-----------------*/
	/* CONTENT */
	/*-----------------*/
	#content .gridContentHome{gap: 80px;}
	.home #content{padding: 150px 30px 100px;}
  /*------------------- LINKTURN ---------------------*/
  .home #content .linkTurn
  {
    bottom: 30vw;
  }
	
}

@media(max-width: 1024px) {

  /*---------------HEADER---------------------*/
  body:not(.is-toggle-open) #header .ckmenu {
    position: relative;
    z-index: 1000
  }

  .logoParent {
    display: none;
  }

  #header .ckmenu-nav {
    top: 0;
    padding-top: 50px
  }

  #headerGrid {
    /* align-items: start; */
  }
	#logoCoordonnees {
	  order: -1;
	}

	#header-coordonnees>div {
	  max-width: 200px;
	  width: 100%;
	  margin: 15px auto;
	}

	#headerSocial .sociblock .share-buttons {
	  justify-content: flex-start;
	}

	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	.navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
	  bottom: 0px;
	}

	.has-child-megamenu .naviglink.lvl-2 {
	  text-align: center;
	}

	.navigmenu .navdown {
    background: var(--light-color);
    box-shadow: initial;
	}


  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome-content_wrapper
  {
    background: #fff0;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
	.home #content .linkTurn{--size: 9rem;left: 37%;bottom: 52vw;}
	#content .gridContentHome{
	    grid-template-columns: repeat(2, 1fr);
	    gap: 50px;
	}
	.home #content{padding: 50px 20px;}
	#content .imgContent,
	#content .gridContentHome_right > .wp-block-columns:first-child{flex-wrap: nowrap!important;}
  /*------------------- GALLERYHOME ---------------------*/
  #galleryHome .gallery
  {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 150px;
  }
  /*-----------------NEWS------------------------*/
	#news .wrapper_slider {
	  padding: 0;
	}

	.thumbnail_slider {
	  height: 250px;
	}

	.wrapper_slider:not(:first-child, :last-child) .wrapper_inner_slider {
	  border-bottom: solid 1px rgb(255 255 255 / 10%);
	}

	#news .title_slider {
	  font-size: 22px;
	}
  #news .wrapper_slider:first-child .content_slider
  {
    padding-top: 60px;
  }

}

@media(max-width: 767px) {
  /*-----------------*/
	/* NEWS */
	/*-----------------*/
	#news {
	  padding: 0 0 30px;
	}

	#news .content_slider {
	  padding: 20px 15px;
	}

	#news .title_slider {
	  font-size: 18px;
	}

	#news .wrapper_slider:first-child .title_slider {
	  font-size: 24px;
	}

	#news .wrapper_slider:not(:first-child) .text_slider {
	  display: none;
	}

	.listedarticle .thumbnail_slider {
	  height: 300px;
	}

	.listedarticle .content_slider {
	  padding: 20px 15px;
	}

	#listarticles .listedarticle .tc_excerpt {
	  display: none;
	}

	#listarticles .wrapper_inner_slider:hover .title_slider {
	  transform: translateY(-30px);
	}

	#listarticles .wrapper_inner_slider:hover .wrap_slider {
	  transform: translateY(-40px);
	}
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
	.home #content{padding: 50px 15px 60px;}
	#content .gridContentHome{
		grid-template-columns: repeat(1, 1fr);
		gap: 0;
	}
	.home #content .linkTurn{
		bottom: 50px;
		--size: 9rem;
		left: 50%;
	}
	#content .tertiaryImgContent .wp-block-image,
	#content .secondImgContent .wp-block-image{height: 220px;}
	#content .firstImgContent .wp-block-image,
	#content .quaternaryImgContent .wp-block-image{height: 150px;}
	#content .gridContentHome_right{
		display: flex;
		flex-direction: column-reverse;
	}
}

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