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

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

@media(min-width: 1025px) {
  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header-coordonnees::before {
    border: 1px solid rgb(255 255 255 / 40%);
    border-top: none;
    height: calc(100% - 5px);
    box-sizing: border-box;
  }

  .navigmenu .naviglink.lvl-2 span {
    padding: 0 0 0 15px;
    display: block
  }

  .navigmenu .naviglink.lvl-2 {
    text-align: left;
    padding: 10px;
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 6px;
    position: absolute;
    top: 5px;
    left: 0;
    background: var(--primary-color);
    width: var(--size);
    height: var(--size);
    border-radius: 100%
  }

  #navprimary {
    background-color: var(--white);
    position: relative;
  }
  .navigmenu .naviglink{
    color: var(--black);
  }

  #infoadresse br {
    display: none;
  }

  #logoCoordonnees {
    /* order: 0; */
    grid-row: span 2;
  }
  #header-coordonnees{
    background-color: var(--primary-color);
  }
  #header-coordonnees > div{
   text-align: center;
  }
  #header-coordonnees > div > span{
    color: var(--white) !important;
  }
  #header-coordonnees > div > a:hover{
    color: var(--secondary-color) !important;
  }



  #navprimary .navigmenu .naviglink.lvl-0.item-logo span {

    width: 150px;
    height: 110px;

    border-radius: 0;
    margin: 0;
  }





  #infotelportButton {
    padding: 6px 40px 6px 20px;
  }




  #logoCoordonnees>a,
  #logo>a {
    height: 110px;
    padding: 0px;
    margin: 0 auto;
    position: relative;
  }
  #logoCoordonnees
  {
    opacity: 0;
  }
  .siteDE .naviglink.lvl-0
  {
    font-size: 13px;
  }
  .siteDE .navigtoogle:not(.navigtoogleLogo)  .naviglink.lvl-0
  {
    max-width: 120Px;
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    padding-top: 150Px;
  }
  /*----------------CONTENT / INTRO--------------------*/
  .home #content
  {
    margin-top: -150Px;
    z-index: 1;
  }
  .feuille
  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  .feuille::before
  {
    background: url(../images/feuille.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    --size: 850Px;
    width: var(--size);
    height: var(--size);
    transform: rotate(-15deg);
    transform-origin: bottom center;
    animation: 4s rotating infinite ease-in-out;
  }
  .feuille.double::before
  {
    left: 9%;
    top: -50px;
  }
  .feuille.bottom::before
  {

    top:initial;
    bottom: -200px;
    left: -200px;
  }
  .home #content .wp-block-gallery {
      margin-bottom: -350px!important;
      display: grid;
      transition: .6s;
      grid-template-columns: repeat(18,1fr);
      grid-template-rows: 200px;
      grid-gap: 70px 50px;
      grid-auto-rows: 164px;
      grid-auto-flow: row dense;
      margin-top: -80px!important;
  }

  .home #content .wp-block-gallery .gallery-item {
      grid-column: span 4;
      width: 100%!important;
      display: none;
      grid-row: span 2;
      pointer-events: none;
  }

  .home #content .wp-block-gallery .gallery-item *
  {
    pointer-events: all;
    border-radius: 10px;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(-n+5) {
      display: flex;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(1) {
      grid-column: span 4;
      grid-row: span 2;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(1) > a {
      height: 63%!important;
      border-bottom-right-radius: 200px;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(2) {
      grid-column: span 10;
      padding-top: 100px;
      grid-row: span 3;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(3) {
      --size: 250Px;
      width: var(--size)!important;
      height: var(--size)!important;
      border-radius: 50%;
      left: -200Px;
      border: 10px solid var(--background-color);
      z-index: 1;
      animation: 4s floating infinite ease-in-out;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(4) > a {
    border-radius: 50%;
    flex: initial!important;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(4) {
    --size: 250Px;
    width: var(--size)!important;
    height: var(--size)!important;
    grid-column: span 5;
    top: -270px;
    grid-row: span 1;
    left: 15vw;
    animation: 4s floating infinite ease-in-out;
    animation-delay: 2s;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(5) {
      grid-column: span 13;
      top: -350px;
      margin-left: auto!important;
      width: 370Px!important;
  }

  .home #content .wp-block-gallery .gallery-item:nth-child(5) > a {
      height: 91%!important;
      flex: 1 1 100%!important;
      border-bottom-left-radius: 200Px;
  }

  .multipleCol>*
  {
    columns: 2;
    column-gap: 40px;
  }
  .nohome #content
  {
    position: relative;
  }
  .nohome #content::before, .nohome #content::after
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/backgroundMore.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    --size: 50vw;
    --maxsize: 500px;
    width: var(--size);
    height: var(--size);
    max-width: var(--maxsize);
    max-height: var(--maxsize);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
  }
  .nohome #content::before
  {
    top: 0;
    left: 5%;
  }
  .nohome #content::after
  {
    --size: 80vw;
    --maxsize: 800px;
    top: initial;
    left: initial;
    bottom: 0;
    right: 0;
  }
  /*-----------------*/
  /* ACTU / NEWS */
  /*-----------------*/
  #news {
    padding: 120px 20px 80px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .prestations-content .title_content
  {
      transition: all 0.4s;
  }
  .bloc_prestations{
      --size: 300Px;
      width: var(--size);
      height: calc(var(--size)*0.9);
      /* justify-self: flex-end; */
  }
  .prestations-content
  {
      position: absolute;
      top: 0;
      left: 0;
      --size: 100%;
      width: var(--size);
      height: var(--size);
      display: grid;
      align-items: flex-end;
      padding: 30px;
  }
  .bloc_prestations h3
  {
      align-self: flex-start;
  }
  .bloc_prestations:nth-child(1)
  {
      --size: 200Px;
      align-self: flex-end;
  }
  .bloc_prestations:nth-child(1) h3
  {
      font-size: 20px;
  }
  .bloc_prestations:nth-child(2)
  {
      --size: 330Px;
      background: var(--linear);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 110px 100%, 0 calc(100% - 110px));
  }
  .bloc_prestations:nth-child(2) .liresuite a
  {
      background: var(--black);
      margin-left: 70Px;
  }
  .bloc_prestations:nth-child(2) .liresuite a:hover
  {
      background: var(--white);
      color: var(--black);
  }
  .bloc_prestations:not(:nth-child(2)):hover
  {
      background: var(--linear)!important;
  }
  .bloc_prestations:nth-child(2) .prestations-content .title_content
  {
      color: var(--white);
  }
  .bloc_prestations:nth-child(3)
  {
      justify-self: flex-end;
      clip-path: polygon(calc(100% - 80px) 0, 100% 80px, 100% 100%, 0 100%, 0 0);
  }
  .bloc_prestations:nth-child(3)::after {
      position: absolute;
      content: "";
      right: 79px;
      top: 0;
      height: 50%;
      width: 1px;
      background-color: #1b1b1b24;
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transform-origin: top;
      -ms-transform-origin: top;
      transform-origin: top;
  }
  
  /*----------------GALLERY--------------------*/
  #galleryHome
  {
    z-index: 2;
    position: relative;
  }
  .nohome.template-prestations-php #content  .wp-block-gallery
  {
    margin: 40px 0!important;
  }
  #galleryHome{
		height: 38em;
		font-size: 1.25vw;
		/* overflow: hidden; */
		position: relative;
	}

	#galleryHome .gallery {
		transition: 0.6s;
	}
	#galleryHome .gallery .gallery-item{
		margin-bottom: 0;
		position: absolute;
	}
  
	#galleryHome .gallery .gallery-item:first-of-type{
		width: 17.9375em;
		height: 25.25em;
		top: 5em;
		left: 0;
		z-index: 1;
	}
	#galleryHome .gallery .gallery-item:nth-child(2){
		width: 11em;
		height: 16em;
		top: 0em;
		left: 15em;
		z-index: 6;
	}
	#galleryHome .gallery .gallery-item:nth-child(3){
		width: 9.8125em;
		height: 13em;
		top: 25em;
		left: 25em;
		z-index: 4;
	}
	#galleryHome .gallery .gallery-item:nth-child(4){
		width: 24.5625em;
		height: 34.625em;
		top: -100px;
		left: 30em;
		z-index: 2;
	}
	#galleryHome .gallery .gallery-item:nth-child(1) .gallery-icon
	{
		border-bottom-right-radius:300Px;
	}
	#galleryHome .gallery .gallery-item:nth-child(4) .gallery-icon
	{
		border-radius: 300Px;
		border-bottom-left-radius:0 ;
		border-bottom-right-radius:0 ;
	}
	#galleryHome .gallery .gallery-item:nth-child(2) .gallery-icon
	{
		border-radius: 150Px;
		border-bottom-left-radius:0 ;
		border-bottom-right-radius:0 ;
	}
	#galleryHome .gallery .gallery-item:nth-child(3) .gallery-icon
	{
		border-radius: 200Px;
	}
	#galleryHome .gallery .gallery-item:nth-child(6) .gallery-icon
	{
		border-radius: 200Px;
		border-bottom-left-radius:0 ;
		border-bottom-right-radius:0 ;
	}
	#galleryHome .gallery .gallery-item:nth-child(5){
		width: 15.4375em;
		height: 17em;
		top: 12em;
		right: 5em;
		z-index: 1;
	}

	#galleryHome .gallery .gallery-item:last-of-type{
		width: 11.4375em;
		height: 17.5em;
		top: 5.125em;
		right: 0;
		z-index: 3;
	}
  /*-----------------*/
  /* 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: 2px;
    left: auto;
    right: -50px;
    background: rgb(255 255 255 / 10%);
  }

  #sections {
    padding: 100px 0 120px;
  }
  #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%;
  }
  /*------------------- GALLERYHOME ---------------------*/
  #footer #galleryHome .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    height: 100%;
  }
}

@media(min-width: 1281px) {
  /*------------------- NAVPRIMARY ---------------------*/

  .navigmenu .naviglink.lvl-0
  {
    padding: 20px 14px;
    font-size: 15px;
  }
  .siteDE .navigtoogle:not(.navigtoogleLogo)  .naviglink.lvl-0
  {
    max-width: 180Px;
  }
  /*--------------------REASSURANCES---------------------*/
  #reassurances {
    clip-path: polygon(0 100%,50% 100%,53% 90%,80% 90%,83% 100%,100% 100%,100% 0,43% 0,40% 10%,20% 10%,17% 0,0% 0%);
    padding: 150px 20px;
    z-index: 2;
  }
  .picto-container li:not(:last-child)
  {
    border-right: 1Px solid var(--white);
  }
  /*------------------- AIDES ---------------------*/
  #aides
  {
    margin-bottom: -80px;
  }
  /*------------------- ACTU / NEWS ---------------------*/
  #news {
    padding: 150px 20px 100px;
  }
  /*-----------------*/
  /* 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) {
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections::before,#sections::after {
    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: 14%;
    --size: 195px;
    width: 275px;
  }
}

@media(min-width: 1681px) {
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt .specialthumb {
    left: 14%;
    --size: 225px;
  }
}


@media(max-width: 1680px) {

}

@media(max-width: 1480px) {
  #certifications{
    margin-bottom: 50px;
  }

}
@media(max-width: 1280px) {
  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header:before {
    right: 5%;
    left: 5%;
  }

  .navigmenu .navbloctitle {
    font-size: 16px;
    letter-spacing: 1px;
  }
    /*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .text_slider {
	  width: 30%;
	}
  
}

@media(max-width: 1024px) {
  /*---------------HEADER---------------------*/
  #header {
    padding: 0;
  }
  #headerHome-logo{
    display: none;
  }

  #logoCoordonnees img {
    max-width: 200px;
  }

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

  #header-coordonnees>div {
    margin: 10px auto;
  }

  #logo {
    position: relative;
  }

  .navigmenu .naviglink span {
    padding: 5px 0;
  }

  .menuarticle,
  .navigmenu .navbloctitle {
    display: none;
  }

  #header:before {
    bottom: 72px;
    left: 35px;
    right: 35px;
  }

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

  #header-coordonnees {
    pointer-events: none;
    height: 100%;
    align-content: center;
   max-width: 500px;
    margin: auto;
  }

  #header-coordonnees>* {
    pointer-events: all;
  }
  .shape::before, .shape::after
  {
    height: 50px;
  }
  #logoheader
  {
    /* max-height: 120Px; */
    background: var(--background-color);
    padding: 20px;
  }
  .navigmenu .naviglink.lvl-0:hover
  {
    color: var(--black);
  }
  #header :is(.adresse span, .portable span, .horaires span, .fixe span, .mail span, .social:not(.navigtoogle) span, .horaires.nomodal .titlehoraires)
  {
    color: var(--white);
    font-family: var(--font-title);
    font-size: 13px;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    padding-top: 200Px;
    padding-bottom: 50Px;
  }

  /*--------------------INTRO / CONTENT--------------------*/
  .wp-block-gallery
  {
    margin-top: 60Px!important;
  }
  .home #content .wp-block-gallery.has-nested-images figure.wp-block-image img
  {
    max-height: 100Px;
  }
  .textContent
  {
    max-width: 700Px;
    margin: 0px auto;
  }
  .home #content figure.wp-block-gallery.has-nested-images
  {
    margin-bottom: 20px!important;
  }
  /*------------------- AIDES ---------------------*/
  #aides
  {
    padding-bottom: 50px;
    margin-bottom: 0;
  }
  /*------------------- CERTIFICATIONS ---------------------*/
  .widget_certifications li .wrap-element {
    --size: 100px;
    width: var(--size) !important;
    height: var(--size) !important;
  }
  /*-----------------*/
  /* ACTU / NEWS */
  /*-----------------*/
  .thumbnail_slider {
    height: 250px;
  }

  #news .thumbnail_slider {
    margin-bottom: 20px;
  }

  #news .wrapper_inner_slider {
    flex-direction: column;
    border: none !important;
  }

  #news .content_slider {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  #news .text_slider {
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
  }

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

  #news .next_slider {
    margin: 10px 0 0 0;
  }

  #news-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .bloc_prestations
  {
    padding: 30px;
  }
  #prestations .widget_parentpage
  {
    gap: 50px;
  }
  #prestations .points
  {
    opacity: 0.1;
    filter: brightness(0);
  }
  .bloc_prestations:hover
  {
    background: var(--black);
  }

  /*-----------------GALLERYHOME--------------------*/
  #galleryHome .gallery
  {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 200Px;
    gap: 10px;
  }
  /*-----------------*/
  /* 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: 300px;
  }

  #sections .section_title {
    gap: 0;
    padding: 60px 30px 10px;
  }
  .sectionsbloc :is(.specialthumb,.tertiarythumb)
  {
    order: -1;
  }
  /*------------------- PARTENAIRES ---------------------*/
  #partenaires
  {
    border-bottom: 1px solid #00000017;
    background: var(--light-color);
  }
  /*------------------- FOOTER ---------------------*/
  #galleryFooter .gallery
  {
    grid-auto-rows: 150px;
    margin-top: 0!important;
  }

}

@media(max-width: 767px) {
  /*-----------------*/
  /* HEADER */
  /*-----------------*/

  #logoCoordonnees>a {
    width: 140px;
  }

  #header:before {
    bottom: 48px;
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 250px;
  }

  #sections .section_title {
    padding: 50px 20px 0;
  }
  /*-----------------GALLERYHOME--------------------*/
  #galleryHomeBis .gallery .gallery-item:last-child {
    grid-column: span 2;
  }

  #galleryHome .gallery{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
}

@media(max-width: 480px) {
    /*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news-content {
	  grid-template-columns: repeat(1, 1fr);
	  gap: 0;
	}

	#news .text_slider {
	  display: none;
	}
}