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

@media(min-width: 768px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content .gallery-item
  {
    position: absolute;
  }
  .home #content .gallery
  {
    position: relative;
    height: 100%;
    width: 100%;
  }
  .home #content .gallery-item:nth-child(1)
  {
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 80%;
    height: 60%;
    z-index: 1;
  }
  .home #content .gallery-item:nth-child(2)
  {
    bottom: 0;
    right: 0;
    width: 25%;
    height: 25%;
    z-index: 2;
  }
  .home #content .gallery-item:nth-child(3)
  {
    left: 60%;
    transform:translateX(-50%);
    height: 15%;
    width: 20%;
  }
  .home #content .gallery-item:nth-child(4)
  {
    bottom: 0;
    height: 15%;
    width: 20%;
  }
  .home #content .gallery-item:nth-child(5)
  {
    left: 0;
    top: 10%;
    height: 20%;
    width: 30%;
    z-index: 0;
  }
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations::before {
    z-index: -1;
    background-image: url(../images/home-bg1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #prestations::before,#prestations .overlay
  {
    left: 0;
    width: 100%;
    height: 160%;
    bottom: 0;
    top: inherit;
    clip-path: polygon(0% 100%, 0 25%, 10% 25%, 15% 40%, 25% 40%, 30% 55%, 45% 55%, 50% 70%, 66% 70%, 70% 85%, 95% 85%, 100% 100%);
  }
  #prestations .overlay
  {
    background: linear-gradient(to bottom, var(--black) 60%, var(--overlay-color));
  }
  #prestations .widget_parentpage
  {
      min-height: 440Px;
  }
  #prestations .bloc_prestations {
    padding: 20px;
    display: grid;
    align-items: center;
    overflow: hidden;
  }

  #prestations .bloc_prestations.activeInfo .prestations-wrapper {
    height: 400px;
  }

  #prestations .prestations-content {
    padding: 50px 20px;
  }

  #prestations .prestations-txt .liresuite {
    margin-top: 50px;
  }
  /*------------------- NEWS / ACTU ---------------------*/
  #news
  {
    /* padding-bottom: 350px; */
  }
  #news .wrapper_slider:first-of-type {
      grid-column:span 2;
      grid-row: span 3
  }
  #news .wrapper_slider:first-of-type .content_slider .title {
      min-width: 600px;
      position: relative;
      z-index: 2
  }
  #news .wrapper_slider:first-of-type .title_slider {
      font-size: 2em;
      text-shadow: 0 0 8px #00000054;
      line-height: 1.1;
      margin-bottom: 15px!important;
  }
  #news .wrapper_slider:first-of-type .wrapper_inner_slider { display: flex   }
  #news .wrapper_slider:first-of-type .thumbnail_slider {
      order: 2;
      height: 550px;
      width: 90%;
  }
  #news .wrapper_slider:first-of-type .content_slider {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
      max-width: 80%;
      line-height: 1.7;
      font-size: 16px
  }
    #news .wrapper_slider:first-of-type .content_slider {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  #news .wrapper_slider:first-of-type .wrapper_inner_slider { display: flex   }
  #news .wrapper_slider:first-of-type .thumbnail_slider {
      order: 2;
      height: 550px;
      width: 50%;
  }
  #news .thumbnail_slider .button
  {
    /* bottom: -70px; */
  }
  /*---------------------------------*/
	/* SECTIONS */
	/*---------------------------------*/
	#sections .sectionsbloc.section_num2 .wp-block-columns,
	#sections .sectionsbloc.section_num3 .wp-block-columns {
		flex-wrap: nowrap !important;
	}
}

@media(min-width: 1025px) {
  /*------------------- HEADER ---------------------*/
  #infos
  {
    margin-top: -120px;
    padding: 70px 100px;
  }
  #infos::before
  {
    clip-path: polygon(1% 5%, 99% 0%, 96% 100%, 3% 96%);
  }
  #infos::after
  {
    position: absolute;
    background-color: var(--primary-color);
    --size: 30px;
    width: var(--size);
    height: var(--size);
    display: block;
    top: initial;
    bottom: -4px;
    left: 20%;
    border-radius: 4px;
    transform: skewY(35deg);
    z-index: -1;
  }

  #header-coordonnees {
    padding: 20Px;
    gap: 10px;
  }

  #header .vide {
    grid-row: span 2;
  }

  #header-coordonnees>*:nth-child(3),
  #header-coordonnees>*:nth-child(5) {
    text-align: right;
    padding-left: initial;
    padding-right: 25Px;
  }

  #header-coordonnees>*:nth-child(3)::before,
  #header-coordonnees>*:nth-child(5)::before {
    left: initial;
    right: 0;
  }

  #navprimary .navigmenu .naviglink.lvl-0.item-logo span {
    height: 100px;
    background-size: 90%;
  }
  /*------------------- NAVPRIMARY ---------------------*/
  .navigmenu .naviglink.lvl-2
  {
    text-align: left;
  }
  .navigmenu .naviglink.lvl-2:not(:last-child)
  {
    border-bottom: 1px solid #00000020;
  }
  .navigmenu .navdown
  {
    min-width: 900px;
  }
  .navdownwrapper
  {
    display: grid!important;
    grid-template-columns: 1fr 2fr;
  }
  .navigtoogle.has-child
  {
    position: static;
  }
  .navigBloc .article_content:first-of-type
  {
    grid-column: span 2;
  }

  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content
  {
    padding-top: 200px;
  }
  
  /*-----------------*/
	/* SECTIONS */
	/*-----------------*/

	#sections .sectionsbloc .section_thumb>div {
		height: 74%;
	}

	#sections .sectionsbloc .section_thumb .blocthumb {
		position: relative;
		top: 100px;
		overflow: hidden;
	}

	#sections .sectionsbloc .section_txt .wrap-text {
		max-width: 900px;
	}

	#sections .sectionsbloc.even .section_txt .wrap-text {
		margin-left: auto;
	}

	.sectionsbloc.section_num1 {
		padding-top: 0;
	}

	#sections .sectionsbloc.even:not(:first-child) {
		margin-top: -60Px;
	}

	#sections .sectionsbloc.even .specialthumb {
		animation: 4s floating infinite ease-in-out;
	}

	@keyframes floating {
		0% {
			-webkit-transform: translateY(0);
			transform: translateY(0);
		}

		50% {
			-webkit-transform: translateY(16px);
			transform: translateY(16px);
		}

		100% {
			-webkit-transform: translateY(0);
			transform: translateY(0);
		}
	}

	#sections .sectionsbloc.even.section_num2 .specialthumb {
		right: 10%;
		left: initial;
		z-index: 1;
		bottom: -100Px;
	}

	.sectionsbloc.sectionsbloc.even {
		z-index: 2;
	}

	#sections .sectionsbloc.even>* {
		pointer-events: all;
	}

	#sections .sectionsbloc.even .section_txt {
		width: 60%;
	}

	#sections .sectionsbloc.even .section_txt .wrap-text {
		padding: 100px 40px 100px 120px;
		max-width: 1000px;
		margin-left: auto;
	}

	#sections .sectionsbloc.even .section_thumb {
		width: 39%;
		display: initial;
		position: static;
	}

	#sections .sectionsbloc.even .specialthumb {
		position: absolute;
		height: 700px;
		z-index: 1;
		top: auto;
		--size: 200Px;
		width: var(--size);
		height: var(--size);
		left: 72%;
		position: absolute;
		bottom: -140px;
		border-radius: 50%;
	}

	#sections .sectionsbloc.even .section_thumb .blocthumb {
		height: calc(100% + 120px);
		z-index: 1;
		/* box-shadow: 0 0 20px rgb(0 0 0 / 20%); */
		top: initial;
		bottom: -20px;
	}

	#sections .sectionsbloc.odd .section_txt {
		padding-top: 280px;
		padding-bottom: 80px;
	}

	#sections .sectionsbloc.odd .section_txt:before,
	#sections .sectionsbloc.odd .section_txt:after {
		content: "";
		position: absolute;
		right: 0;
		top: 180px;
		width: 120%;
		height: calc(100% - 180px);
		background-color: var(--black);
		z-index: -1;
	}

	#sections .sectionsbloc.odd .section_txt .title h2,
	#sections .sectionsbloc.odd .section_txt,
	#sections .sectionsbloc.odd .has-medium-font-size,
	#sections .sectionsbloc.odd blockquote p {
		color: var(--white);
	}

	#sections .sectionsbloc.odd a:not([class*="button"]),
	#sections .sectionsbloc.odd a:not([class*="button"]) strong {
		background-image: linear-gradient(to bottom, transparent 20%, var(--white) 21%);
	}


	#sections .sectionsbloc.odd .section_thumb .blocthumb {
		top: 200px;
	}

	#sections .sectionsbloc.odd .section_thumb .specialthumb {
		top: 0
	}

	.sectionsbloc.section_num3 {
		margin-bottom: 40Px;
	}

	.sectionsbloc {
		padding: 50px 0Px;
	}

	.section_txt {
		position: relative;
		z-index: 2;
	}

	.sectionsbloc .wrap-text {
		padding: 70px;
	}

	.sectionsbloc.even .wrap-text h2 {
		max-width: 600px;
	}

	.sectionsbloc.odd .specialthumb {
		border-right: 0;
	}
 
  /*-----------------GALLERYFOOTER-----------------------*/
   #galleryFooter {
    margin-top: -220Px;
    background: var(--black);
    padding: 20Px;
    padding-bottom: 0;
  }

  #galleryFooter .gallery {
    grid-auto-rows: 200Px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  #galleryFooter .gallery-item {
    width: 100% !important;
  }
  /*---------------FOOTER----------------*/
  .home #footer {
    margin-top: -100px;
  }

  #menu-footer .menu-item {
    padding: 5Px;
  }

  #footerbloc::before {
    clip-path: polygon(0 0, 23% 0, 25% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  #footer {
    margin-top: -50px;
  }

  #footer #footerbloc {
    padding-top: 60px;
  }
  .nohome #footer #footerbloc {
    margin-top: 60px;
  }
  .nohome.template-contact-php #footer #footerbloc {
    margin-top: -60px;
  }

  #footer #infoadresse {
    order: 1;
    grid-column: span 2;
  }
  #menu-footer .menu-item{margin-right: 0px;}
}

@media(min-width: 1281px) {
  /*------------------- HEADER ---------------------*/
  .navigmenu .naviglink.lvl-0 {
    padding: 20px 11px;
    font-size: 15px;
  }
  /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .sectionsbloc.even .section_txt .wrap-text {
		padding: 100px 220px 100px 120px;
	}

	.sectionsbloc.section_num0 .wrap-text {
		padding-top: 200Px;
	}

	#sections .sectionsbloc.even .specialthumb {
		bottom: 50px;
		left: 53%;
		--size: 300Px;
	}

	.sectionsbloc.section_num0::before {
		top: 51%;
		height: calc(100% - 400px);
	}
  #sections .sectionsbloc.even:last-child .section_thumb .blocthumb
  {
    bottom: 100px;
  }
  /*------------------- NEWS / ACTU ---------------------*/
  #news
  {
    padding-bottom:250px;
  }
}

@media (min-width: 1320px) {
  #header::before {
    width: calc(100% - 100px);
    max-width: 1260px;
    height: calc(100% - 48px);
    border: 1px solid var(--white);
    border-top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: .5;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    clip-path: polygon(0% 0%, 0% 100%, 8% 100%, 8% 5%, 92% 5%, 92% 100%, 22% 100%, 25% 100%, 100% 100%, 100% 0%);
  }
  html[lang="de"] #header::before
  {
    clip-path: polygon(0% 0%, 0% 100%, 5% 100%, 5% 5%, 95% 5%, 95% 100%, 22% 100%, 25% 100%, 100% 100%, 100% 0%);
  }
}

@media(min-width: 1481px) {
  /*------------------- HEADER ---------------------*/
  .navigmenu .naviglink.lvl-0 {
    padding: 20px 14px;
  }
  /*------------------- SECTIONS ---------------------*/
	#sections .sectionsbloc.odd .section_txt:before,
	#sections .sectionsbloc.odd .section_txt:after {
		height: calc(100% - 90px);
	}

	#sections .sectionsbloc.odd .section_txt:after,.home #content::before {
		top: 65%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(15deg);
		--size: 30vw;
		width: var(--size);
		height: var(--size);
		background-image: linear-gradient(to right, #ececec 1px, transparent 1px), linear-gradient(to bottom, #ececec 1px, transparent 1px);
		background-position: 0 0;
		background-size: calc(100vw / 16) calc(100vw / 16);
		opacity: .1;
		pointer-events: none;
	}
}

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


@media(max-width: 1680px) {
  

}

@media(max-width: 1480px) {
  /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .wrap-text {
		padding: 80px 60px;
	}
}
@media(max-width: 1280px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content .gallery-item:nth-child(1)
  {
    max-height: 300Px;
  }
}

@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;
  }

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

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome .shapeWrap
  {
    max-height: 250px;
  }
  #headerHome
  {
    padding-top: 100Px;
  }

  /*------------------SECTIONS-----------------*/
	.wrap-text {
		max-width: 700Px;
		margin: 0px auto;
	}

	#sections .section_thumb {
		grid-gap: 0;
	}

	#sections .section_thumb img {
		transform: none !important;
	}

	.certifications {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.sectionsbloc .wrap-text {
		padding: 80px 25px;
	}

	.circleDegrade::after {
		display: none;
	}
  
  /*------------------FOOTER---------------------*/
  .wrapBas {
    padding: 20Px;
    padding-top: 30px;
  }

  .coordWrap .title,
  #footerLogo {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 40px
  }

  .sociblock .share-buttons {
    justify-items: center;
    justify-content: center;
  }

}

@media(max-width: 767px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content .gallery
  {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .home #content .gallery-item:last-child
  {
    grid-column: span 2;
  }
  /*------------------- NEWS / ACTU ---------------------*/
  #news .content-news {
    grid-gap: 0 30px;
  }

  #news:after {
    content: none;
  }

  #news {
    padding: 80px 15px;
    margin: 0;
  }

  #news .title_slider {
    font-size: 24px
  }
  #news .wrapper_slider:first-of-type img
  {
    filter: brightness(0.8);
  } 
  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
    font-size: 14px
  }

  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: 170%
  }

  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 35px;
  }
  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex;
    flex-direction: column-reverse
  }

  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: auto
  }

  #news .title_slider,
  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 22px;
  }

  #news .next_slider {
    margin-top: -10px
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    height: 250px;
    margin-top: 30px
  }

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

  #news {
    padding: 70px 15px 60px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  #prestations .overlay
  {
    display: none;
  }
  /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .wrap-text {
		padding: 50px 25px;
	}
}

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