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

@media(min-width: 768px) {

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome .imageDiapo {
    position: relative
  }

  #headerHome-accroche {
    min-width: 490px;
    position: relative;
  }

  #headerHome-content .wrappercontent {
    width: 380px;
    padding: 50px 30px 50px 40px;
  }

  #headerHome-content {
    margin: 0 auto;
    max-width: 1700px;
    padding: 0;
  }

  #headerHome:before {
    content: "";
    position: absolute;
    width: 96%;
    height: 86%;
    border: solid 1px var(--title-color);
    top: 8%;
    left: 2%;
  }

  #headerHome-accroche span {
    background: var(--white);
    box-shadow: 10px 0 0 var(--white), -10px 0 0 var(--white);
    color: var(--title-color);
    display: inline;
  }

  #headerHome .imageDiapo {
    width: calc(100% - 380px);
  }

  #headerHome-text {
    font-size: 16px;
  }
}

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #headerGrid {
    grid-template-areas:
      "logo          navprimary         infoToogle";
    grid-template-columns: 140px 1fr 55px;
    grid-column-gap: 10px;
  }

  #header-coordonnees>div {
    margin: 15px 0;
  }

  #info-toogle {
    display: flex;
    z-index: 99999;
    justify-self: flex-end;
  }

  #logo
  {
    margin-bottom: -100px;
  }
  #logoheader
  {
    background: var(--background-color);
    padding: 20px;
  }
  /*-----------------*/
  /* HEADER HOME */
  /*-----------------*/
  #headerHome-content .wrappercontent {
    width: 500px;
    padding: 50px 100px 50px 60px;
  }

  #headerHome-accroche {
    min-width: 670px;
  }

  #headerHome .imageDiapo {
    width: calc(100% - 500px);
  }

  #headerHome-text {
    font-size: 18px;
  }
  /*------------------- CERTIFICATIONS ---------------------*/
  #certifications
  {
    margin-top: -60px;
    z-index: 1;
    max-width: 300Px;
    width: 100%;
    margin-left: auto;
    margin-right: 10%;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    left: 9%;
    top: 20em;
  }
  .home #content .title
  {
    max-width: 80%;
    margin: 30px auto;
  }

  .home #content .blocthumb {
    height: 460px;
  }

  .home #content .homeContent-img .wp-block-image {
    padding-left: 30px;
    height: 100%;
  }

  .home #content .homeContent-img .wp-block-image a {
    height: 100%;
  }

  .home #content .homeContent-img .wp-block-image img {
    height: 100%;
    object-fit: cover;
  }

  .home #content .tc_content {
    padding-left: 22%;
    width: 120%;
    padding-top: 90px;
  }

  .home #content :is(.specialthumb, .tertiarythumb, .quaternarythumb) {
    position: absolute;
    left: 0;
  }

  .home #content .has-medium-font-size {
    font-size: 25px !important;
  }

  .home #content .tertiarythumb {
    width: 8.7%;
    height: 240px;
    top: 290px;
    z-index: 1;
  }

  .home #content .quaternarythumb {
    left: auto;
    right: 0;
    width: 9.5%;
    top: 35px;
    height: 400px;
    z-index: 1;
  }

  .home #content .specialthumb {
    width: 23%;
    left: -10%;
    bottom: -370px;
    top: auto;
    z-index: 1;
    height: 320px;
  }
  .home #content .wp-block-media-text.has-media-on-the-right
  {
    grid-template-columns: auto 65%!important;
    margin-bottom: 0;
  }
  .home #content .wp-block-media-text
  {
    overflow: visible;
  }
  .home #content .wp-block-media-text__content>p:first-child
  {
    padding: 30px;
    background: var(--secondary-color);
    background: color-mix(in srgb, var(--secondary-color) 70%, #00000066);
    position: relative;
    color: var(--white);
    margin-top: -300px;
  }

  .home #content .wp-block-media-text__content>p:first-child::after
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
    height: var(--size);
    background-image: url(../images/backgroundFond.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
  }
  
  /*------------------- NEWS / ACTUS ---------------------*/
  .home #wrappersite:not(.safari) #news {
    margin-bottom: -250px;
    margin-top: 100Px;
  }

  .wrapActu {
    gap: 100px;
    counter-reset: news;
  }
  .home .wrapper_inner_slider::before
  {
    counter-increment: news;
    content: "0" counter(news);
    position: absolute;
    --place:-100px;
    top: var(--place);
    right: 10Px;
    font-size: 8em;
    font-family: var(--font-alt);
    z-index: 2;
    color: var(--primary-color);
  }

  .home .thumbnail_slider {
    height: 600px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  #prestations {
    padding: 100Px;
    z-index: 2;
  }

  .widget_parentpage {
    gap: 0 !important;
  }

  #prestations .prestations-wrapper>*:not(.prestations-title) {
    transition: all 1s;
  }

  #prestations .hiddenChild .prestations-wrapper>*:not(.prestations-title) {
    opacity: 0;
  }

  .bloc_prestations .prestations-wrapper {
    display: grid;
    grid-template-columns: 140Px 2fr 2fr;
    align-items: stretch;
    height: 100%;
  }

  .widget_parentpage {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto; 
    counter-reset: prestations;
  }
  .prestations-img
  {
    position: relative;
  }
  .prestations-img::before
  {
    counter-increment: prestations;
    content: "0" counter(prestations);
    position: absolute;
    top: 0Px;
    right: -70px;
    font-size: 8em;
    font-family: var(--font-alt);
    z-index: 2;
    color: var(--primary-color);
    border-bottom: 2Px solid var(--primary-color);
    line-height: 1;
  }

  .bloc_prestations {
    width: 60%;
    transition: all 1s, background 0.4s;
    display: block;
    overflow: hidden;
  }

  .bloc_prestations:not(:first-child)
  {
    border-left: 1Px solid #ffffff24;
  }
  .prestations-title h3::after {
    content: "+";
    display: inline-block;
    margin-left: 10px;
    font-family: var(--font-alt);
    color: var(--primary-color);
    transform: scale(0);
    transition: all 0.4s;
  }

  .bloc_prestations.hiddenChild .prestations-title h3::after {
    transform: scale(1);
  }

  .prestations-content {
    padding: 30px;
    margin-bottom: 50px;
  }

  .bloc_prestations.hiddenChild {
    width: 10%;
  }

  .prestations-title {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100px;
  }

  .prestations-img {
    width: 100%;
    display: block;
    height: 100%;
    min-height: 600Px;
  }

  .prestations-title h3 {
    font-size: 2.5em;
    display: flex;
    transform: rotate(270deg);
    transform-origin: 0 5%;
    white-space: nowrap;
    align-items: center;
    position: relative;
    left: 23px;
    bottom: -49px;
  }

  .prestations-content {
    display: grid;
    align-content: end;
    min-width: 350px;
  }
  /*------------------REASSURANCES----------------------*/

  .nohome #reassurances {
    margin-bottom: 100px;
  }

  #reassurances .title h2 {
    font-size: 3em;
  }

  .reaFull::before {
    left: 50%;
    z-index: -1;
    top: -70px
  }

  .wrapRea {
    margin: 180px 0;
    width: 100%;
  }

  #reassurances::before,
  #reassurances .overlay {
    width: 55%;
    clip-path: polygon(0 0, 55% 0, 63% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  .picto-container {
    margin: 100px 0;
    margin-left: -60px;
    z-index: 1;
  }

  .picto-container {
    flex-direction: column;
  }

  .picto-bloc {
    padding: 40px 40px;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 70px 1fr;
  }

  .picto-container li p {
    margin-top: 8px;
    line-height: 1.6em;
    font-family: var(--font-bold);
    text-align: left;
    padding: 0 40px;
    box-sizing: border-box;
  }
  /*------------------- SECTIONS ---------------------*/
  #sections
  {
    padding-top: 100px;
  }

  #sections::before {
    clip-path: polygon(0 0, 0 75%, 15% 75%, 15% 100%, 75% 100%, 75% 90%, 100% 90%, 100% 0);
    --dist:250px;
    top: calc(var(--dist)*-1);
    height: calc(100% + var(--dist));
  }

  #sections .section_title {
    margin-bottom: 80px;
    padding: 0 60px;
  }

  #sections .section_title .title {
    padding: 0;
    margin: 0;
  }

  .sectionsbloc .section_thumb .blocthumb {
    height: 80%;
    top: 10%;
  }

  #sections .section_title p {
    margin: 0;
  }

  #sections .section_title .title:after {
    height: 100%;
    width: 2px;
    left: auto;
    right: -50px;
    background: rgb(0 0 0 / 10%);
  }

  #sections .section_txt {
    padding: 40px 40px 40px 0;
  }

  .sectionsbloc {
    padding: 70px 0 0;
  }

  #sections .section_txt .specialthumb {
    position: absolute;
    --size: 145px;
    bottom: 50px;
    left: 5%;
    width: 200px;
    height: var(--size);
    overflow: hidden;
    /* border: solid var(--black) 10px; */
  }

  .sectionsbloc .wrap-text {
    padding: 0;
    max-width: 62%;
    margin-left: auto;
  }

  #sections .tertiarythumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 26.5%;
    height: 85%;
  }
  /*-------------------FOOTER---------------------*/
	body:not(.template-contact-php) #footer::before {
		background: url(../images/home-bg1.jpg);
		background-attachment: fixed;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	body:not(.template-contact-php) #footer::before,
	body:not(.template-contact-php) #footer .overlay {
		height: 470Px;
		top: 100px;
	}

	.template-contact-php #footer .overlay {
		display: none;
	}

	#footerForm {
		z-index: 1;
		position: relative;
	}

	.wrapperContact {
		padding: 0;
		background: var(--white);
		box-shadow: 0px 0px 30px #1a1a2612;
	}

	#wrapperForm {
		padding: 50Px;
	}

	#footer h2 {
		color: var(--black);
	}

	#footerForm .privacyform_lab,
	#footerForm .wrapperForm .title h2,
	#footerForm .mention {
		color: var(--black);
	}
  .fixed-header :is(#footer,#contactForm)
  {
      z-index: 10;
  }
}

@media(min-width: 1025px) and (max-width:1281px) {
  .prestations-img
  {
    opacity: 0;
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #headerGrid {
    grid-template-columns: 190px 1fr 55px;
    grid-column-gap: 20px;
  }

  /*-----------------*/
  /* HEADER HOME */
  /*-----------------*/
  #headerHome-content .wrappercontent {
    padding: 50px 70px;
  }
  #banner
  {
    width: calc(100% - 60px);
    margin:0 auto;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content
  {
    overflow: hidden;
  }
  .home #content .tc_content
  {
    padding-left: 15%;
  }
  .home #content .title h1
  {
      max-width: 90%;
      margin: 0 auto;
  }
  .home #content .title
  {
    padding: 60px 50px;
    margin-top: 0;
    padding-top: 0;
  }
  .home #content .linkTurn {
    left: 0%;
    top: 12em;
  }

  .home #content .homeContent-img .wp-block-image {
    padding-left: 50px;
  }

  .home #content .quaternarythumb {
    width: 12.5%;
  }

  .home #content .specialthumb {
    width: 38%;
    left: -48%;
    bottom: -320px;
    height: 400px;
  }
  .home #content .tertiarythumb
  {
    top: 190px;
    left: 20px;
  }
  .home #content .blocthumb::before,.imageRea::after
  {
    content: "";
    position: absolute;
    --pos:20px;
    top: var(--pos);
    left: var(--pos);
    --size: 100%;
    width: var(--size);
    height: var(--size);
    border: 1px solid var(--tertiary-color);
    border-radius: 0px;
  }
  .imageRea::after
  {
    --pos:10px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .prestations-title h3
  {
    left: 43px;
  }
   /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt {
    padding: 80px 50px 80px 0;
  }

  #sections .tertiarythumb {
    width: 39.5%;
  }

  .sectionsbloc .wrap-text {
    max-width: 50%;
  }

  #sections .section_txt .specialthumb {
    left: 19%;
    --size: 175px;
    width: 230px;
  }

}

@media(min-width: 1481px) {

  /*-----------------*/
  /* HEADER HOME */
  /*-----------------*/
  #headerHome .imageDiapo {
    width: calc(95% - 500px);
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .title
  {
    max-width: 1200px;
  }
  /*------------------- NEWS / ACTUS ---------------------*/
  .home .wrapper_inner_slider::before
  {
    right: calc(var(--place) / 1.5);
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections::before {
    clip-path: polygon(0 0, 0 75%, 30% 75%, 30% 100%, 75% 100%, 75% 90%, 100% 90%, 100% 0);
  }
  #sections .tertiarythumb {
    width: 47.5%;
  }

  .sectionsbloc .wrap-text {
    max-width: 40%;
  }

  #sections .section_txt .specialthumb {
    left: 26%;
    --size: 195px;
    width: 275px;
  }
}

@media(min-width: 1681px) {
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .homeContent-img .wp-block-image{ padding-left: 100px;}
  .home #content .quaternarythumb{
    right: 4%;
    width: 16.5%;
	}
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt .specialthumb {
    left: 30%;
    --size: 225px;
  }
}

@media(min-width: 2001px) {

  /*-----------------*/
  /* HEADER HOME */
  /*-----------------*/
  #headerHome .imageDiapo {
    width: calc(85% - 500px);
  }
}

@media(min-width: 2401px) {

  /*-----------------*/
  /* HEADER HOME */
  /*-----------------*/
  #headerHome .imageDiapo {
    width: calc(80% - 500px);
  }
}

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

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

@media(max-width: 1280px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header {
    padding: 10px;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections:before {
    left: 30px;
  }

  #choixSections:after {
    left: 20px;
  }
}

@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%);
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .title
  {
    margin: 30px auto;
  }
  .home #content .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .home #content .wp-block-columns.certifications {
    flex-wrap: nowrap !important;
  }
  .home #content
  {
    padding-top: 30px;
  }

  .home #content .wp-block-columns>div {
    flex-basis: 100% !important;
  }

  .home #content,
  .home #content>.wrappercontent {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
  }

  .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
    width: 50%;
    height: 350px;
    margin-bottom: 5px;
    padding: 0 2px;
  }

  .home #content :is(.tertiarythumb, .quaternarythumb) {
    margin: 0;
  }

  .home #content
  {
    padding-top: 0px;
  }
  /*-------------------REASSURANCES-------------------*/
  #reassurances {
    padding: 80px 20px 30px;
    background: var(--light-color);
  }

  .picto-container {
    justify-items: center;
  }

  .picto-container li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 15px 0;
    flex-direction: column;
    text-align: center;
    flex: 1 1 25%;
  }

  #reassurances .title h2 {
    color: var(--black);
  }

  #reassurances::before,
  #reassurances .overlay {
    display: none;
  }

  #reassurances .title {
    text-shadow: 0px 0px 0px #000;
  }

  /*------------------- PRESTATIONS ---------------------*/
  .bloc_prestations h3 {
    margin-top: 0;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections {
    display: none;
  }

  #sections .sectionsbloc {
    flex-direction: column;
    display: flex;
  }
  #sections .sectionsbloc>*:not(.section_thumb)
  {
    max-width: 700Px;
    margin: 0 auto;
    width: 100%;
  }
  #sections .section_txt {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px!important;
  }

  #sections .section_txt .wrap-text {
    grid-column: span 2;
  }

  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 400px;
  }

  #sections .section_title {
    gap: 0;
    padding: 60px 30px 10px;
  }

}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header-coordonnees {
    right: -250px;
    width: 250px;
    padding: 70px 18px 65px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome {
    flex-direction: column;
    align-items: center;
  }

  #headerHome-content {
    text-align: center;
    color: var(--white);
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .linkTurn {
    --size: 10rem;
  }
  .home #content .linkTurn
  {
    bottom:-200px;
  }

  .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
    height: 250px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .widget_parentpage {
      gap: 0 !important;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 300px;
  }

  #sections .section_title {
    padding: 50px 20px 0;
  }
}

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