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

@media(min-width: 768px) {

  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  .picto-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .home #reassurances {
    padding-top: 0;
    margin-top: -110px;
    padding-left: 30px;
    padding-right: 30px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-img {
    position: absolute;
    left: 0;
    top: 5%;
    bottom: 0;
    height: 90%;
    width: 0;
    -webkit-transition: width 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: width 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .bloc_prestations:hover .prestations-img {
    width: 15.22vw;
  }

  .bloc_prestations:hover .prestations-title {
    transform: translateX(16.5vw);
  }

  .bloc_prestations:hover .tc_excerpt {
    opacity: 0;
    transform: translateX(15%);
  }
}

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #infoadresse {
    order: -1
  }

  #header-coordonnees div br {
    display: none
  }

  #logoCoordonnees {
    grid-row: span 2;
    order: -1;
    margin: 0 60px;
  }

  #logoCoordonnees a {
    width: 260px;
    margin: 0 auto;
  }

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

  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4) {
    padding: 0 24px 0 0;
    text-align: right
  }

  #header-coordonnees>:nth-child(1) span,
  #header-coordonnees>:nth-child(4) span {
    text-align: right
  }

  #headerSocial .sociblock .share-buttons {
    justify-content: flex-start
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before {
    right: 0;
    left: auto
  }




  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  #navprimary {
    background: var(--primary-color);
    border-radius: 3px;
    padding: 0 20px;
    z-index: 2;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    width: 96%;
    margin: 0 auto -30px;
  }

  .navigmenu .navigBloc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .navigtoogle.social .naviglink.lvl-0 {
    padding: 14px 10px;
  }

  .navigmenu .naviglink.lvl-3 span {
    padding: 0 0 0 14px;
    display: inline-block;
  }

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

  /*----------------CONTENT / INTRO--------------------*/
  .home #content {
    margin-top: -150Px;
    z-index: 1;
  }

  .home #content .wp-block-gallery {
    margin-bottom: -350px !important;
    display: grid;
    transition: .6s;
    grid-template-columns: repeat(18, 1fr);
    grid-gap: 60px 20px;
    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: -230px;
    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: 400Px !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;
  }

  .home #content .title {
    padding-top: 50px;
    position: relative;
  }

  .home #content .title::before {
    background: var(--background-color);
    box-shadow: 0px -30px 20px #00000024;
    height: 70%;
  }

  /*----------------GALLERY--------------------*/
  .nohome.template-prestations-php .wp-block-gallery {
    margin: 40px 0 !important;
  }

  #galleryHome {
    height: 38em;
    font-size: 1.25vw;
    overflow: hidden;
    position: relative;
    margin-bottom: 100Px;
  }

  #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: 0;
    left: 30em;
    z-index: 2;
  }

  #galleryHome .gallery .gallery-item:nth-child(5) {
    width: 15.4375em;
    height: 17em;
    top: 12em;
    left: 57em;
    z-index: 1;
  }

  #galleryHome .gallery .gallery-item:last-of-type {
    width: 11.4375em;
    height: 17.5em;
    top: 5.125em;
    left: 69.4375em;
    z-index: 3;
  }

  /*------------------- NEWS / ACTUS ---------------------*/
  #news {
    padding-bottom: 340px;
    padding-left: 30px;
    padding-right: 30px;
  }


  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  .home #reassurances {
    margin-top: -220px;
  }

  #reassurances-img {
    height: 500px;
  }

  .picto-container {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }

  .picto-container::before {
    content: '';
    position: absolute;
    top: calc(100% + 40px);
    left: 0;
    width: 100%;
    height: 1px;
    z-index: -1;
    border-bottom: 1Px solid var(--primary-color);
  }

  .picto-container li {
    padding: 30Px;
    margin-top: -50Px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: -10px -10px 20px #0000000f;
    position: relative;
    z-index: 1;
  }

  .picto-container li::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 57px;
    z-index: -1;
    border-right: 1Px solid var(--primary-color);
  }

  .picto-container li::after {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 50.25%;
    transform: translateX(-50%);
    --size: 10px;
    width: var(--size);
    height: var(--size);
    z-index: -1;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  }

  .nohome #reassurances {
    padding-bottom: 0;
    padding-top: 200px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections {
    padding: 80px 30px 70px;
    padding-bottom: 0;
  }

  #sections .blocthumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 65.9%;
    height: 100%;
  }

  .sectionsbloc .wrap-text {
    padding: 0;
    max-width: 57%;
    margin-left: auto;
    background: var(--background-color);
    position: relative;
    z-index: 1;
    padding: 30px;
  }

  .section_txt {
    padding-top: 100px;
  }

  .section_title .title {
    max-width: 50%;
    margin-bottom: 60px;
  }

  .section_thumb .specialthumb {
    position: absolute;
    width: 284px;
    height: 284px;
    z-index: 1;
    top: -285px;
    left: -100px;
  }

  .section_thumb .tertiarythumb {
    height: 80%;
    position: relative;
    top: -15%;
  }

  .section_thumb .tertiarythumb img {
    object-position: center;
  }

  .section_thumb {
    padding-left: 30px;
  }

  .sectionsbloc {
    padding-top: 160px;
    padding-bottom: 120px;
  }
  /*-------------------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;
	}

	body:not(.template-contact-php) #footerLinks {
		margin: 50px auto;
	}

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

	#footerForm .privacyform_lab,
	#footerForm .wrapperForm .title h2,
	#footerForm .mention {
		color: var(--black);
	}


}

@media(min-width: 1281px) {

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  .section_thumb .specialthumb {
    width: 334px;
    height: 334px;
    top: -305px;
  }

  #sections {
    padding: 100px 0 70px;
    padding-bottom: 0;
  }

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

@media(min-width: 1481px) {
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .home #prestations {
    padding: 100px 15px;
    width: calc(100% - 100px);
    overflow: hidden;
  }
  .home #prestations::after {
    background-image: linear-gradient(to right, #ececec 1px, transparent 1px), linear-gradient(to bottom, #ececec 1px, transparent 1px);
    background-position: 0 0;
    background-size: calc(100vw / 16) calc(100vw / 16);
    transform: rotate(15deg);
    opacity: 0.05;
  }
  /*------------------- NEWS / ACTUS ---------------------*/
  #news
  {
    width: calc(100% - 60px);
    margin: 0 auto;
  }
}

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


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

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

@media(max-width: 1280px) {



  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-title h2 {
    font-size: 30px;
  }

}

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

  #logoCoordonnees {
    order: -1
  }

  #logoCoordonnees img {
    /* width: 150px; */
  }

  #header-coordonnees>div {
    max-width: 190px;
    width: 100%;
    margin: 15px auto
  }

  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

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

  /*------------------- CERTIFICATIONS ---------------------*/
  #certifications {
    left: 50%;
    transform:translateX(-50%);
    bottom: -50px;
  }
  #certifications .linkTurn::before
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
    height: var(--size);
    background-color: var(--black);
    border-radius: 50%;
    z-index: -1;
  }
  /*--------------------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 .wp-block-image
  {
    width: 100Px;
    margin: 0 auto;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-title h2 {
    font-size: 25px;
  }

  .bloc_prestations .tc_excerpt {
    font-size: 15px;
  }

  .prestations-title {
    width: 44%;
    padding-right: 15px;
  }

  /*-----------------GALLERYHOME--------------------*/
  #galleryHome
  {
    padding: 10px;
  }
  #galleryHome .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200Px;
    gap: 10px;
  }

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news {
    padding: 60px 30px 160px;
  }

  #news .next_slider {
    width: 140px;
  }

  .title_slider {
    font-size: 22px
  }

  .newsdate .day {
    font-size: 30px
  }

  .newsdate .month {
    font-size: 17px
  }

  .newsdate {
    padding: 20px 20px;
    height: calc(100% - 140px);
    top: 50px;
    left: -60px;
    min-height: 150px
  }

  #news .content_slider {
    padding: 50px 0 50px 80px;
  }

  .thumbnail_slider {
    height: 300px;
  }

  #news-title {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: none;
    padding-bottom: 0;
    margin-bottom: 30px;
  }

  #news-title .title {
    margin-bottom: 10px
  }

  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  #reassurances-img {
    min-height: 230px;
    border-radius: 20Px;
  }

  .nohome #reassurances::before,
  .nohome #reassurances::after {
    height: 250px;
  }

  .nohome #reassurances {
    padding-top: 120px;
    background: var(--light-color);
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections {
    display: none;
  }

  #sections .sectionsbloc {
    flex-direction: column;
    display: flex;
  }

  #sections .section_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
  }

  #sections .section_thumb>div {
    height: 100%;
  }

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

  #sections .section_txt .blocthumb {
    height: 400px;
  }

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

  #sections .title small {
    /* font-size: 60px; */
  }
  .bloc_prestations .liresuite
  {
    margin-top: 20px;
  }
  .more-links.bigLink:after
  {
    margin-left: 0;
  }
  .more-links.bigLink .more-links_icon
  {
    margin-left: 20px;
  }

}

@media(max-width: 767px) {


  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .prestations-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  #prestations .prestations-wrapper>div {
    width: 100%;
    height: auto;
  }

  #prestations .prestations-wrapper .prestations-img {
    height: 200px;
    margin-bottom: 20px;
  }

  .prestations-title h2 {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .bloc_prestations .liresuite {
    text-align: right;
  }

  /*-----------------*/
  /* NEWS / ACTU */
  /*-----------------*/
  .thumbnail_slider {
    height: 250px;
  }

  #news {
    padding: 50px 15px
  }

  #news .content_slider {
    padding: 40px 0 20px
  }

  .text_slider,
  .text_slider a {
    font-size: 14px;
  }

  .newsdate {
    left: 20px;
    top: -40px;
    height: auto;
    padding: 10px 15px;
    min-height: auto
  }

  .newsdate .month {
    font-size: 14px;
  }

  .newsdate .day {
    font-size: 20px;
  }

  .title_slider {
    font-size: 20px
  }

  #news .next_slider {
    justify-content: flex-start;
    width: auto;
  }

  /*-----------------GALLERYHOME--------------------*/
  #galleryHomeBis .gallery .gallery-item:last-child {
    grid-column: span 2;
  }

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

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections {
    padding-bottom: 0;
  }

  #sections .section_txt .blocthumb {
    height: 300px;
  }

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

  #sections .title small {
    font-size: 30px;
    margin-bottom: 0px;
  }
}

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