@media(min-width: 481px) {
  /*------------------- REASSURANCES ---------------------*/
  .picto-container
  {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }
}

@media(min-width: 768px) {
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .titleWrap
  {
    padding: 30px 0;
    margin-top: -30px;
    --left:40px;
    padding-left: var(--left);
  }
  /*---------------PRESTATIONS---------------------*/
	.template-parent-page-php #content
	{
		padding-bottom: 0;
	}
  /*-----------------*/
  /* ACTU / NEWS */
  /*-----------------*/
  #news {
    padding-bottom: 120px;
  }
}

@media(min-width: 1025px) {
  /*------------------- NAVPRIMARY ---------------------*/
  #navprimary
  {
    margin-bottom: -50px;
    border-bottom: 1Px solid color-mix(in srgb, var(--white), #fff0 80%) ;
  }
  .navigtoogle
  {
    position: relative;
  }
  .navigtoogle:not(:last-child)::before
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
    height: 20px;
    top: 50%;
    transform:translateY(-50%);
    border-right: 1Px solid var(--white);
    opacity: 0.3;
  }
  /*------------------- HEADER ---------------------*/
  #header-coordonnees
  {
    padding: 40px 10px;
  }
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content::after {
    top: 50%;
    transform:translateY(-50%) rotate(-10deg);
    left: 10%;
  }
  /*------------------- GALLERYHOME ---------------------*/
  #galleryHome::before
  {
    height: 30%;
    background: var(--background-color);
  }
  /*-------------------PRESTATIONS-----------------*/
	#prestations :is(.prestations-wrapper,.side-a,.side-b)
	{
		height: 100%;
	}
  /*-----------------*/
  /* NEWS / ACTU */
  /*-----------------*/
  #news {
    padding: 100px 30px 150px;
  }
  .home #news
  {
    padding-top: 0;
    padding-bottom: 200px;
  }
  /*------------------- REASSURANCES ---------------------*/
  .home #reassurances
  {
    position: absolute;
    top: -250px;
    right: 2%;
    z-index: 1;
    max-width: 400px;
  }
  .nohome #reassurances
  {
    padding: 0;
  }
  .nohome #reassurances .picto-container 
  {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
  }
  .nohome #reassurances .picto-bloc:nth-child(even) 
  {
    margin-top: 50px;
  }
  .nohome #reassurances .picto-bloc:nth-child(odd) 
  {
    margin-bottom: 50px;
  }
  /*------------------- SECTIONS ---------------------*/
  .sectionsbloc {
      padding: 70px 0Px;
  }
  .tertiary_thumb
  {
    position: absolute;
    bottom: 0Px;
    left: 50%;
    transform: translateX(-50%);
  }
  .secondary_thumb
  {
    position: relative;
    left: -200px;
    width: calc(100% + 100Px);
    margin-bottom: 90Px;
    height: 220px;
  }
  .sectionsbloc.even .secondary_thumb
  {
    left: 200px;
  }

  .sectionsbloc.even::before
  {
    width: 70%;
  }
  .sectionsbloc.odd::before
  {
    width: 5%;
    background: var(--background-color);
  }

  .secondary_thumb *
  {
    height: 100%;
  }
  .section_txt
  {
    z-index: 2;
  }
  .sectionsbloc.even::before
  {
    top: 300px;
  }

  .sectionsbloc.even.section_num2::before{
    height: calc(100% + 50px);
    top: -50px;
  }

  .sectionsbloc .specialthumb::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20Px;
    --size: 100%;
    width: var(--size);
    height: calc(var(--size) + 40Px);
    border: 1px solid var(--primary-color);
  }

  .sectionsbloc.even .specialthumb::before {
    left: initial;
    right: 20Px;
  }
  .sectionsbloc.even.section_num0::before
  {
    top: -100px;
    height: calc(100% + 100px);
  }
  /*------------------- GALLERY ---------------------*/
	#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-bottom: -20px;
		position: relative;
		z-index: 1
	}


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

	#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%
	}
  /*------------------- FOOTER ---------------------*/
  #footer::before
  {
    height: 45%;
    top: initial;
    bottom: 0;
  }
  .template-contact-php #footer::before
  {
    height: 100%;
  }
  #contactMore::before
  {
    background-image: url(../images/home-bg2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #contactMore .overlay
  {
    z-index: 1;
  }
  #contactMore::before,#contactMore .overlay
  {
    height: 68%;
    top: 50%;
    transform:translateY(-50%);
    width: 50%;
  } 
  #contactMore
  {
      margin-bottom: 20px;
      z-index: 16;
  }
}

@media(min-width: 1281px) {
  /*-----------------*/
	/* INTRO / CONTENT */
	/*-----------------*/
  .home #content::before
  {
    height: calc(100% + 0px);
    top: initial;
    bottom: 0;
    clip-path: polygon(0 0, 0 85%, 25% 85%, 25% 100%, 75% 100%, 75% 90%, 100% 90%, 100% 0);
    margin-bottom: -1Px;
  }
  #content-wrapper .content-body .title {
    left: -25%;
    width: 120%;
    margin-bottom: 90px;
  }
  #content-img .specialthumb
  {
    right: 50Px;
    width: 350px;
  }
  .home #reassurances
  {
    max-width: 500Px;
  }
  /*--------------------PRESTATIONS--------------------*/
	.template-parent-page-php #prestations
	{
		width: calc(100% - 40Px);
		margin: 0 auto;
		margin-bottom: 100px;
	}
	#prestations
	{
		/* margin-top: -100px; */
		z-index: 2;
	}
  /*------------------- SECTIONS ---------------------*/
  .secondary_thumb
  {
    height: 250px;
  }
}

@media(min-width: 1481px) {
   /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .title {
    margin-left: -30Px;
  }
}

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


@media(max-width: 1680px) {

}

@media(max-width: 1480px) {

}
@media(max-width: 1280px) {
  /*------------INTRO / CONTENT--------------------------*/
  .home #content {
    padding: 100px 20px
  }

  #content-wrapper {
    padding: 0 0px 0 0;
    display: flex;
    flex-wrap: wrap
  }

  #content-wrapper .content-body {
    max-width: none;
    order: -1;
    padding: 0 25px 30px;
  }

  #content-wrapper .tertiarythumb,
  #content-wrapper .quaternarythumb {
    position: relative;
    height: 250px;
    width: 50%;
    top: 0 !important;
    left: 0 !important
  }

  #content-wrapper .quaternarythumb {
    padding-right: 1px
  }

  #content-wrapper .tertiarythumb {
    padding-left: 1px
  }
  #content-wrapper .content-body .title
  {
    padding-right: 100px;
  }

  /*------------------- SECTION ---------------------*/
  .sectionsbloc:not(.section_num1) .wp-block-columns
  {
    display: block;
  }

  /*------------------- NEWS / ACTUS ---------------------*/
  #news .title_slider {
    font-size: 20px;
  }

  /*-----------------CTAFOOTER------------------------*/
  #ctaFooter .title small
  {
    font-size: 10vw;
  }
  
}

@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;
  }
  .item-home
  {
    justify-self: center;
    padding: 0!important;
    padding-bottom: 20px!important;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content
  {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  #content-wrapper .content-body .title {
    padding-right: 0px;
  }
  .home #content #reassurances
  {
    grid-column: span 2;
    padding-top: 0;
  }
  #content-wrapper,#content-img
  {
    width: 100%;
  }
   /*------------------- SECTIONS ---------------------*/
  .section_num1 .wp-block-columns {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
  }
  .wrap-text
  {
    max-width: 700Px;
    margin: 0px auto;
  }
  .sectionsbloc .first_thumb,.sectionsbloc .tertiary_thumb,.secondary_thumb,.sectionsbloc .section_thumb img,.sectionsbloc .specialthumb img
  {
    height: 350px;
  }
  .sectionsbloc .specialthumb
  {
    margin-top: -150px;
  }
  .sectionsbloc .section_thumb img
  {
    transform: initial!important;
  }
  .wrap-text .title
  {
    margin-top: 30Px;
  }
  .section_thumb 
  {
    display: grid;
    align-items: stretch;
  }
  .section_txt
  {
    z-index: 2;
    position: relative;
  }
  /*-----------------*/
  /* NEWS / ACTU */
  /*-----------------*/
  #news .title_slider {
    font-size: 18px;
  }

  #news .content_slider {
    flex-direction: column;
    padding-top: 20px !important;
    align-items: flex-start;
  }

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

  #news-img {
    --size: 320px;
    margin: 0 auto;
  }

  #news-title {
    margin-bottom: 40px;
  }
  /*------------------- 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;
	}
  /*------------------- &&& ---------------------*/
  #reassurances
  {
    padding: 0;
  }
  /*------------------- FOOTER ---------------------*/
  #footer figure.wp-block-gallery.has-nested-images
  {
    gap: 0;
  }

}

@media(max-width: 767px) {

  /*------------------- &&& ---------------------*/
  #content-img .specialthumb {
    bottom: -80px;
  }
  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news-title {
    flex-direction: column;
    gap: 10px;
    border-bottom: none;
    padding: 0;
    margin-bottom: 30px;
  }

  .thumbnail_slider {
    height: 250px;
  }
}

@media(max-width: 480px) {
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content
  {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home #content #reassurances
  {
    grid-column: span 1;
  }
  #content-img>.blocthumb
  {
    width: 100%;
    margin-top: 2px;
  }
}