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

@media(min-width: 768px) {


}

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header {
    background-color: var(--background-color);
    border-bottom: 2px solid var(--white);
  }

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

  /*------------------- 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;
    /* padding-top: 0; */
  }

  .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;
  }
  /*------------------- GALLERY ---------------------*/
  #galleryHome
  {
    margin-top: -180px;
    margin-bottom: -150px;
    pointer-events: none;
  }
	#galleryHome .gallery {
		display: grid;
		transition: .6s;
		grid-template-columns: repeat(18, 1fr);
		grid-gap: 60px 60px;
		grid-auto-rows: 164px;
		grid-auto-flow: row dense;
		margin-top: 80px;
		margin-bottom: -20px;
		position: relative;
		z-index: 1
	}


	#galleryHome .gallery .gallery-item {
		grid-column: span 4;
	}

  .gallery-icon
  {
    pointer-events: all;
  }

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

	#galleryHome .gallery .gallery-item:nth-child(3),
	#galleryHome .gallery .gallery-item:nth-child(4),
	#galleryHome .gallery .gallery-item:nth-child(5) {
		grid-row: span 2
	}

	#galleryHome .gallery .gallery-item:nth-child(1) .gallery-icon {
		height: 100% !important
	}

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

	#galleryHome .gallery .gallery-item:nth-child(5) {
		width: 70%;
		height: 70%
	}

	#galleryHome .gallery .gallery-item:nth-child(4) .gallery-icon {
		height: 80% !important;
		width: 70%
	}


  /*------------------- PARTENAIRES ---------------------*/
  #partenaires {
    padding: 150px 50px;
  }

  /*-----------------*/
  /* CTA */
  /*-----------------*/
  #cta {
    position: absolute;
    left: 20.4%;
    max-width: 370px;
    top: 0;
    padding: 45px 35px;
    text-align: left;
  }
  .home #cta
  {
    top: -80px;
  }
  
  #cta .sociblock .share-buttons {
    justify-content: flex-start;
  }
  /*-----------------*/
	/* ACTU / NEWS */
	/*-----------------*/
	#news {
		padding: 100px 20px;
		margin-top: -50px;
		margin-bottom: 50px;
	}
  /*------------------- REASSURANCES ---------------------*/
  .picto-container li
  {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
  }
  #reassurances .picto-container li p
  {
    margin: 0;
  }
  .nohome #reassurances
  {
    background: var(--light-color);
  }
  /*-----------------*/
  /* GALLERY FOOTER */
  /*-----------------*/
  .home #galleryFooter
  {
    margin-top: -80px;
  }
  #galleryFooter .gallery .gallery-item:nth-child(11n + 1) {
    grid-column: span 2
  }

  #galleryFooter .gallery .gallery-item:nth-child(11n + 6) {
    grid-row: span 2;
    grid-column: span 2
  }

  #galleryFooter .gallery .gallery-item:nth-child(11n + 8) {
    grid-column: span 2
  }

  #galleryFooter {
    padding-top: 80px;
    padding-bottom: 1px;
  }

}

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

	/*------------------- ACTU / NEWS ---------------------*/
	#news {
	}
}

@media(min-width: 1481px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content .tc_content
  {
    padding-left: 15%;
  }
  .home #content .linkTurn {
    left: 2%;
  }
}

@media(min-width: 1681px) {
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .homeContent-img .wp-block-image {
    padding-left: 100px;
  }

  .home #content .quaternarythumb {
    right: 4%;
    width: 16.5%;
  }
}


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

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

@media(max-width: 1280px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logo {
    justify-items: center;
  }

  #navprimary .navigmenu {
    justify-content: center;
  }
  /*-----------------*/
	/* NEWS / ACTU */
	/*-----------------*/
	#news .text_slider {
		width: 30%;
	}

}

@media(max-width: 1024px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header {
    background-color: var(--background-color);
    border-bottom: 2px solid var(--white);
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    left: 0;
    animation: slide-down 0.7s;
    right: 0;
  }

  #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;
    border-radius: 50%;
    overflow: hidden;
  }
  .ckmenu-nav
  {
    padding-top: 50px;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }

  /*-----------------*/
  /* 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;
  }
  /*------------------- GALLERYHOME ---------------------*/
	#galleryHome .gallery {
		display: grid;
		grid-template-columns: repeat(3,1fr);
		grid-auto-rows: 250px;
	}
	#galleryHome .gallery-item:last-child
	{
		grid-column: span 2!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;
	}

  /*------------------- &&& ---------------------*/
  #reassurances .picto-bloc
  {
    text-align: center;
    justify-items: center;
    justify-content: center;
  }
  /*-----------------*/
  /* CTA */
  /*-----------------*/
  #cta {
    margin-top: -60px;
    font-size: 14px;
  }

  #cta #cta-buttons {
    justify-content: center;
  }

  #cta .rge-qualibat {
    width: 32px;
  }

  /*-----------------*/
  /* GALLERY FOOTER */
  /*-----------------*/
  #galleryFooter .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
  }

  #galleryFooter .gallery .gallery-item.empty-item {
    display: none;
  }

  #galleryFooter .gallery .gallery-item:nth-child(11) {
    grid-column: span 2;
  }

  #galleryFooter:before {
    top: 55px;
    height: calc(100% - 55px);
  }

}

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

  /*-----------------*/
  /* GALLERY FOOTER */
  /*-----------------*/
  #galleryFooter .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px;
  }
  /*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances .picto-container li:not(:last-child){border-right: none;}
	.nohome #reassurances .picto-container li:not(:last-child){border-bottom: none;}
	
}

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

	#news .text_slider {
		display: none;
	}
}