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

@media(min-width: 768px) {

  /*------------------- &&& ---------------------*/
  .nohome.template-parent-page-php #content {
    padding-bottom: 60px;
  }

  /*-----------------*/
  /* GALLERY Second */
  /*-----------------*/
  #gallerySecond {
    pointer-events: none;
  }

  #gallerySecond .gallery {
    grid-gap: 15px;
    grid-template-columns: repeat(32, 1fr);
    grid-template-rows: repeat(11, 52px);
  }

  #gallerySecond .title {
    position: absolute;
    top: 50px;
    left: 28vw;
  }

  #gallerySecond .gallery .gallery-item {
    pointer-events: all;
  }

  #gallerySecond .gallery .gallery-item:first-of-type {
    grid-row: span 3;
    grid-column: span 11;
    padding-left: 24%;
    padding-right: 24%;
  }

  #gallerySecond .gallery .gallery-item:nth-child(2) {
    grid-column: span 8;
    grid-row: span 6;
    padding-top: 152px;
  }

  #gallerySecond .gallery .gallery-item:nth-child(3) {
    grid-column: span 10;
    grid-row: span 6;
  }

  #gallerySecond .gallery .gallery-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 6;
    padding-top: 82px;
  }

  #gallerySecond .gallery .gallery-item:nth-child(5) {
    grid-column: span 6;
    grid-row: span 4;
  }

  #gallerySecond .gallery .gallery-item:nth-child(6) {
    grid-column: span 5;
    grid-row: span 3;
  }

  #gallerySecond .gallery .gallery-item:nth-child(7) {
    grid-column: span 8;
    grid-row: span 4;
  }

  #gallerySecond .gallery .gallery-item:nth-child(8) {
    grid-column: span 11;
    grid-row: span 5;
  }

  #gallerySecond .gallery .gallery-item:nth-child(9) {
    grid-column: span 6;
    grid-row: span 4;
  }

  #gallerySecond .gallery .gallery-item:nth-child(10) {
    grid-column: span 6;
    grid-row: span 4;
  }

  #gallerySecond .gallery .gallery-item:nth-child(11) {
    grid-column: span 8;
    grid-row: span 4;
    position: absolute;
    width: 18.8% !important;
    bottom: 0;
    right: 0;
    height: 190px;
  }

  /*------------------- &&& ---------------------*/
  #news {
    padding-top: 30px;
  }
}

@media(min-width: 1025px) {

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

  #header-coordonnees div br {
    display: none
  }

  #logoCoordonnees {
    grid-row: span 3;
    order: -1;
    margin: 0px 30px;
  }

  #logoCoordonnees img {
    width: 300px;
    max-height: 100px;
  }

  #header-coordonnees {
    margin: 15px 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 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
  }

  #navprimary .navigmenu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .has-child-megamenu .naviglink.lvl-2 span {
    padding-left: 12px;
  }

  .has-child-megamenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 5px;
    width: var(--size);
    height: var(--size);
    position: absolute;
    left: 0;
    border: solid 1px var(--primary-color);
    top: 12px;
    border-radius: 10px;
    transition: 250ms all ease-in-out;
  }

  .has-child-megamenu .naviglink.lvl-2:hover span:before {
    background: var(--primary-color);
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome-accroche {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    justify-items: center;
  }
#headerHome
{
  padding-bottom: 100px;
}
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .nohome:not(.template-prestations-php) #content {
    position: relative;
    padding-top: 150px;
  }

  .home #content::before {
    top: -151px;
  }

  .home #content .blocthumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 65.9%;
    height: 85%;
  }

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

  .home #content .content_txt {
    padding-top: 100px;
  }

  .home #content .content_title .title {
    max-width: 55%;
    margin-bottom: 60px;
  }

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

  .home #content .content_thumb .tertiarythumb {
    height: 80%;
    position: relative;
    top: -15%;
  }

  .home #content .content_thumb .tertiarythumb img {
    object-position: right;
  }

  .home #content .content_thumb {
    padding-left: 30px;
  }

  .home #content {
    padding-top: 180px;
    padding-bottom: 120px;
  }

  /*-------------------- GALLERYHOME -------------------*/
  #galleryHome {
    max-width: 50%;
    margin-top: -150px;
    z-index: 2;
  }

  /*------------------- GALLERYSECOND ---------------------*/
  #gallerySecond .title {
    top: 0;
  }

  #gallerySecond .title h2 {
    font-size: 36px;
  }

  #gallerySecond .gallery {
    grid-gap: 27px;
  }

  #gallerySecond .gallery .gallery-item:nth-child(11) {
    height: 210px;
    width: 20.8% !important;
  }

  /*------------------REASSURANCES----------------------*/

  .nohome #reassurances {
    margin-bottom: 100px;
  }

  #reassurances .title h2 {
    font-size: 3em;
  }

  .reaFull::before {
    left: 50%;
    z-index: -1;
    top: -70px
  }

  .wrapRea {
    margin: 180px 0;
    width: 100%;
  }

  #reassurances::before,
  #reassurances .overlay {
    width: 55%;
    clip-path: polygon(0 0, 55% 0, 63% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  .picto-container {
    margin: 100px 0;
    margin-left: -60px;
    z-index: 1;
  }

  .picto-container {
    flex-direction: column;
  }

  .picto-bloc {
    padding: 40px 40px;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 70px 1fr;
  }

  .picto-container li p {
    margin-top: 8px;
    line-height: 1.6em;
    font-family: var(--font-bold);
    text-align: left;
    padding: 0 40px;
    box-sizing: border-box;
  }

  /*-----------------ACTUS/NEWS-----------------------*/
  .home #news {
    margin-top: -240px;
  }

  #news {
    -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;
    padding-top: 180px;
  }

  .wrapActu {
    padding-top: 150px;
  }

  .home .content_slider {
    display: grid;
    grid-template-columns: 130Px 1fr 1fr 100Px;
    gap: 20px;
    align-items: center;
  }

  .wrapper_slider:not(:last-child) .content_slider {
    border-bottom: 1px solid #ffffff2b;
  }

  .newsdate {
    --size: 130px;
    width: var(--size);
    height: var(--size);
    text-align: center;
    line-height: 1.3;
    border-radius: 50%;
  }

  .newsdate::before,
  .newsdate::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    --size: 6px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    z-index: 1;
    background: var(--primary-color);
  }

  .newsdate::before {
    top: 10Px;
    right: 10px;
    --size: 20px;
  }

  .wrapper_slider:nth-child(even) .content_slider {
    padding-left: 50px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .home #prestations {
    /* padding-top: 330px; */
    /* margin-top: -240px; */
    z-index: 0;
    /* margin-bottom: 150px; */
  }

  .nohome #prestations {
    margin-bottom: 150px;
  }


  #content.parentPresta {
    margin-bottom: -100px;
  }

  #prestations-wrapper {
    padding: 80px 15px;
  }

  #prestations .nthwords {
    margin-left: 10px;
  }

  .nohome #prestations-wrapper {
    padding-top: 100px;
  }

  .prestations-content {
    padding: 0;
    position: relative;
  }

  #prestations .bloc_prestations :is(.prestations-img, .specialthumb, .tertiarythumb) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0s .45s;
    --dist-y: 25%;
  }

  #prestations .bloc_prestations .prestations-img {
    width: 184px;
    height: 243px;
    top: 61%;
    left: 1.5%;
    --dist-y: -20%;
    max-width: 16.7vw;
  }

  #prestations .bloc_prestations .specialthumb {
    left: 5%;
    translate: 0 -50%;
    max-width: 13.6vw;
    width: 195px;
    height: 274px
  }

  #prestations .bloc_prestations .tertiarythumb {
    top: 37%;
    right: 0%;
    translate: 0 -50%;
    --dist-y: 40%;
    max-width: 16.3vw;
    left: auto;
    width: 282px;
    height: 397px
  }

  #prestations .bloc_prestations .image_content {
    line-height: 0;
    display: block;
    height: 100%;
  }

  #prestations .bloc_prestations:first-child .prestations-img,
  #prestations .bloc_prestations:nth-child(4) .prestations-img {
    border-radius: 100px
  }

  #prestations .bloc_prestations:first-child .tertiarythumb,
  #prestations .bloc_prestations:nth-child(4) .tertiarythumb {
    border-radius: 100px 100px 0 0
  }

  #prestations .bloc_prestations:first-child .tertiarythumb img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:first-child .prestations-img img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:nth-child(2) .prestations-img {
    border-bottom-left-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(2) .specialthumb {
    border-radius: 0 100px 100px 100px
  }

  #prestations .bloc_prestations:nth-child(2) .tertiarythumb {
    border-top-right-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(2) .tertiarythumb img {
    object-position: 61%;
  }

  #prestations .bloc_prestations:nth-child(2) .specialthumb img {
    object-position: 88%;
  }

  #prestations .bloc_prestations:nth-child(3) .prestations-img {
    border-top-right-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(3) .specialthumb {
    border-radius: 100px
  }

  #prestations .bloc_prestations:nth-child(3) .tertiarythumb {
    border-radius: 100px 100px 100px 0
  }

  #prestations .bloc_prestations:nth-child(3) .tertiarythumb img {
    object-position: 61%;
  }

  #prestations .bloc_prestations:nth-child(3) .specialthumb img {
    object-position: right;
  }

  #prestations .bloc_prestations.elemActif :is(.prestations-img, .specialthumb, .tertiarythumb) {
    animation: image-show-long .7s cubic-bezier(.25, .46, .35, .93) .1s forwards
  }

  #prestations .bloc_prestations.elemActif .prestations-img {
    animation-delay: .12s
  }

  #prestations .bloc_prestations.elemActif .specialthumb:nth-of-type(1) {
    animation-delay: .12s
  }

  #prestations .bloc_prestations.elemActif .tertiarythumb:nth-of-type(3) {
    animation-delay: .24s
  }

  /*-------------------CTA-----------------------*/
  #cta {
    padding-bottom: 0;
    margin-bottom: -50Px;
    padding-top: 70Px;
  }

  #cta .button {
    --size: 170px;
    width: var(--size);
    height: var(--size);
    border-radius: 50% !important;
    overflow: hidden;
    display: grid;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 0px;
    line-height: 1.5;
    border: 10px solid var(--background-color);
  }

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

  #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(0 0 0 / 10%);
  }

  #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;
    border: solid var(--white) 10px;
  }

  .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----------------------*/
  .home #footer {
    z-index: 0;
  }

  #footer #footerbloc {
    margin-top: 150px;
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_thumb .specialthumb {
    width: 334px;
    height: 350px;
    top: -300px;
  }

  .home #content {
    padding: 100px 0;
  }

  .home #content .wrap-text {
    padding: 50px;
    max-width: 47%;
  }



  /*------------------- PRESTATIONS ---------------------*/
  #prestations .bloc_prestations .tertiarythumb {
    right: 8%;
  }

  #prestations .bloc_prestations .specialthumb {
    left: 17%;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt {
    padding: 80px 50px 80px 0;
  }

  #sections .tertiarythumb {
    width: 39.5%;
  }

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

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


@media(min-width: 1481px) {


  /*---------------CTA--------------------------*/
  #cta .button {
    margin-top: -70Px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .tertiarythumb {
    width: 47.5%;
  }

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

  #sections .section_txt .specialthumb {
    left: 26%;
    --size: 195px;
    width: 275px;
  }
}

@media(min-width: 1681px) {


  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt .specialthumb {
    left: 30%;
    --size: 225px;
  }
}


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

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

@media(max-width: 1280px) {




  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections:before {
    left: 30px;
  }

  #choixSections:after {
    left: 20px;
  }
}

@media(max-width: 1024px) {


  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header {
    /* position: absolute; */
    /* width: 100%; */
  }

  #logoCoordonnees {
    order: -1;
  }

  #header-coordonnees {
    gap: 5px;
  }

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

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

  .ckmenu {
    position: relative;
    z-index: 1000;
  }

  #header #logoCoordonnees {
    display: none;
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu .naviglink {
    font-size: 14px;
  }

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

  .has-child-megamenu .naviglink.lvl-2 {
    text-align: center;
  }

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

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

  /*------------------- HEADERHOME ---------------------*/
  #headerHome {
    padding: 100px 0;
  }


  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content {
    flex-direction: column;
    display: flex;
  }

  .home #content .content_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .home #content .content_thumb>div {
    height: 100%;
  }

  .home #content .content_txt .wrap-text {
    grid-column: span 2;
  }

  .home #content .content_txt .blocthumb {
    height: 400px;
  }

  .home #content .content_title {
    padding: 0;
  }

  .home #content .linkTurn {
    --size: 9rem;
    position: absolute;
    top: -70px;
    margin: 0 auto;
    right: 0;
  }

  .home #content .tertiarythumb {
    filter: drop-shadow(2px 2px #ffffff50);
  }

  .home #content .tertiarythumb::before {
    bottom: 100px;
    left: 30px;
    --size: 200px;
    width: 120px;
  }

  /*-------------------- GALLERYHOME -------------------*/
  #galleryHome {
    margin-top: 20px;
  }
  #gallerySecond .gallery-item:nth-child(8)
  {
    display: none!important;
  }
  /*-------------------REASSURANCES-------------------*/
  #reassurances {
    padding: 80px 20px 30px;
    background: var(--light-color);
  }

  .picto-container {
    justify-items: center;
  }

  .picto-container li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 15px 0;
    flex-direction: column;
    text-align: center;
    flex: 1 1 25%;
  }

  #reassurances .title h2 {
    color: var(--black);
  }

  #reassurances::before,
  #reassurances .overlay {
    display: none;
  }

  #reassurances .title {
    text-shadow: 0px 0px 0px #000;
  }

  /*------------------- &&& ---------------------*/
  #gallerySecond .gallery {
    padding: 2px !important;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-content :is(h2, h3) {
    font-size: 28px;
  }

  #prestations .bloc_prestations :is(.specialthumb, .tertiarythumb) {
    display: none
  }

  #prestations .bloc_prestations {
    padding: 20px 7vw 30px !important;
  }

  /*-----------------NEWS----------------------*/
  #news .title {
    margin-top: 20Px;
  }

  .wrapActu {
    max-width: 600Px;
    margin: 0 auto;
  }

  .content_slider {
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .newsdate {
    font-family: var(--font-title);
    padding: 10px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #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;
    order: 1;
  }

  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 400px;
  }

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

}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .horairesTitle {
    font-size: 24px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/


  .logoheaderHome {
    max-height: 50Px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .bloc_prestations {
    padding: 20px 0 30px !important;
  }

  #prestations .widget_parentpage {
    padding-bottom: 0
  }

  .prestations-content :is(h2, h3) {
    font-size: 20px;
  }

  #prestations .tc_excerpt {
    font-size: 15px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_txt .blocthumb {
    height: 300px;
  }

  #content .eb-feature-list-item {
    margin-bottom: 20px;
  }

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

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

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