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

@media(min-width: 768px) {
   /*------------------- 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
  }
}

@media(min-width: 1025px) {
  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #navprimary
  {
      top: -20px;
      transition: top 0.4s;
      position: relative;
  }
  header:not(.fixed-header) #navprimary::before {
    border: 1px solid #ffffff20;
    border-top: none;
    height: calc(100% - 40px);
    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%);
  }

  .navigtoogle.lang {
    margin-left: auto;
  }

  #header-coordonnees .title h2 {
    font-size: 25px;
  }

  #header-coordonnees {
    gap: 20px;
  }

  #header {
    position: absolute;
    width: 100%;
  }
  #info-toogle {
    --primary-color: var(--white);
    /* background: #fff0; */
    position: absolute;
    grid-area: initial;
    right: 50Px;
    top: 20px;
  }

  #infoouverture
  {
    grid-row: span 3;
  }

  .wrapCoordOnly
  {
      margin-top: 50Px;
      border-top: 1Px solid #ffffff20;
      padding-top: 50px;
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome-accroche {
    max-width: 800px;
    margin: 0 auto;
  }

  #headerHome .imageDiapo {
    -webkit-mask: url(../images/bottomCurveFull.svg);
    mask: url(../images/bottomCurveFull.svg);
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: bottom center;
    -webkit-mask-position: bottom center;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    left: 9%;
    top: 20em;
  }

  .home #content {
    overflow: hidden;
  }

  .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: 340px;
    left: 7%;
    z-index: 1;
  }

  .home #content .quaternarythumb {
    left: auto;
    right: 0;
    width: 9.5%;
    top: 175px;
    height: 400px;
  }

  .home #content .specialthumb {
    width: 23%;
    left: -20%;
    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!important;
  }

  .home #content .wp-block-media-text__content
  {
    margin-top: -200px;
    z-index: 1;
  }
  /*------------------- REASSURANCES ---------------------*/
  .picto-container li{position: relative;margin: 35px 0 15px;}
	.picto-bloc:not(:last-child)::after {
	    content: '';
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    z-index: 0;
	    background: var(--white);
	    width: 1px;
	    left: initial;
	    right: 0;
	    opacity: .3;
	}
  /*------------------- PRESTATIONS ---------------------*/
  #prestations {
    padding: 100Px 0;
  }

  .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-bold);
    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 #00000024;
  }
  .prestations-title h3::after {
    content: "+";
    display: inline-block;
    margin-left: 10px;
    font-family: var(--font-text);
    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: 2em;
    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;
  }
  .bloc_prestations.hiddenChild:hover {
    background: color-mix(in hsl, var(--overlay-color) 10%, #fff0) ;
  }

  .safari .bloc_prestations.hiddenChild:hover {
    background: var(--black) ;
  }
  .prestations-title h3
  {
    left: 43px;
  }
  #prestations
  {
    padding: 100px 0px;
    padding-top: 0;
  }
  /*------------------- NEWS / ACTUS ---------------------*/
   #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: -20px;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #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: 1px;
    left: auto;
    right: -50px;
    background: rgb(255 255 255 / 33%);
  }

  #sections {
    padding: 70px 0;
  }
  #sections::before,#sections::after{
    /* clip-path: polygon(0 0, 0 75%, 15% 75%, 15% 100%, 75% 100%, 75% 90%, 100% 90%, 100% 0); */
    /* top: -1px; */
  }

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

  .sectionsbloc {
    padding: 70px 0 0;
  }

  #sections .section_txt .specialthumb {
    position: absolute;
    --size: 145px;
    bottom: 0;
    left: 5%;
    width: 200px;
    height: var(--size);
    overflow: hidden;
  }

  .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 */
	/*-----------------*/
	#footer:before,
	#footer:after {
		height: 500px;
		top: 100px;
	}

	.wrapperContact {
		width: 90%;
	}
}

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

@media(min-width: 1281px) {
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    left: 7%;
    top: 16em;
  }

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

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

  .home #content .specialthumb {
    width: 35%;
    left: -42%;
    bottom: -320px;
    height: 400px;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt {
    padding: 35px 50px 80px 0;
  }

  #sections .tertiarythumb {
    width: 39.5%;
  }

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

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

@media(min-width: 1481px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content .tc_content
  {
    padding-left: 15%;
  }
  .home #content .linkTurn {
    left: 2%;
  }
  /*------------------- PRESTATIONS ---------------------*/
  #prestations
  {
    padding: 100px;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections .linkSections:not(:last-of-type)
  {
    margin-right: 10px;
  }
  #sections .tertiarythumb {
    width: 47.5%;
  }

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

  #sections .section_txt .specialthumb {
    left: 14%;
    --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: 14%;
    --size: 225px;
  }
}


@media(max-width: 1680px) {

}

@media(max-width: 1480px) {

}
@media(max-width: 1280px) {
  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logo {
    justify-items: center;
  }

  #navprimary .navigmenu {
    justify-content: center;
  }
  
}

@media(max-width: 1024px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header {
    position: fixed;
    top: 0;
    z-index: 99;
    left: 0;
    animation: slide-down 0.7s;
    width: 100%;
  }
  #header.fixed-header #logo
  {
    display: none;
  }
  body:not(.is-toggle-open) #header.fixed-header #info-toogle 
  {
    left: initial;
    right:0;
    background: var(--background-color);
  }
  #headerHome-img {
    height: 400px;
  }

  #headerHome-logo img {
    width: 250px;
  }

  #headerHome-hero {
    grid-gap: 5px;
    grid-template-rows: none;
    grid-auto-rows: 150px;
    grid-template-columns: repeat(3, 1fr);
  }

  #headerHome-logo,
  #headerHome-hero_content {
    display: none;
  }

  #headerHero-hero_img {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  #header-coordonnees
  {
    left: initial;
    top: 0;
    transform: initial;
  }
  .ckmenu
  {
    position: relative;
    z-index: 1000;
    overflow: hidden;
    align-items: flex-start;
  }
  .ckmenu-nav
  {
    padding-top: 60px;
  }
  .navigmenu .naviglink.lvl-0.item-home
  {
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 10px;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    padding-top: 150px;
  }
  #headerHome-button
  {
    margin-top: 40px;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .wp-block-columns {
    flex-wrap: wrap !important;
  }

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

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

  #content .uagb-rm__content {
    padding: 5px 0;
  }

  #content .uagb-rm__title {
    flex-basis: 230px;
  }
  .home #content .linkTurn
  {
    bottom: -200px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .bloc_prestations h3 {
    margin-top: 0;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections:before {
    left: 30px;
  }

  #choixSections:after {
    left: 20px;
  }
  #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;
  }
  .sectionsbloc :is(.specialthumb,.tertiarythumb)
  {
    order: -1;
  }
  /*------------------- 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;
  }
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer:before,
	#footer:after {
		content: none;
	}

	.imgContact {
		height: auto;
	}

	#logoCoordonneesFooter {
		margin-bottom: 15px;
		width: 220px;
	}

	#footerLinks {
		padding: 20px 10px;
		font-size: 13px;
	}

}

@media(max-width: 767px) {
  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header-coordonnees {
    /* right: -230px; */
    /* width: 230px; */
    /* padding: 70px 20px 65px; */
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    --size: 10rem;
  }

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

  #sections .section_title {
    padding: 50px 20px 0;
  }
  /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#wrapperForm {
		max-width: 600px;
		padding: 40px 20px;
	}

	.imgContact_content img {
		width: 230px;
	}
}

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