@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;
        border-radius: 50px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 59% 100%, 57% 90%, 43% 90%, 41% 100%, 0 100%);
    }

    .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 {
        border-bottom: 1px solid rgb(255 255 255 / 40%);
        position: relative;
    }

    #infoadresse br {
        display: none;
    }

    #logoCoordonnees {
        order: 0;
        /* grid-row: span 2; */
    }

    #header-coordonnees>:nth-child(1) {
        order: -1;
        align-items: flex-end
    }

    #header-coordonnees .right {
        order: 2
    }

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

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

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

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


    #header-coordonnees #infotelportButton:before {
        right: 15px;
    }

    #logoCoordonnees>a,
    #logo>a {
        /* height: 190px; */
        padding: 10px;
        margin: 0 auto;
        position: relative;
        /* margin: -40px auto; */
        margin-top: -10px;
    }

    /*------------------- HEADERHOME ---------------------*/
    #headerHome {
        padding-top: 150px;
    }

    /*------------------- PRESTATIONS ---------------------*/
  #prestations {
    padding: 200px 100Px;
  }

  .widget_parentpage {
    gap: 0 !important;
  }


  .home #prestations {
    padding-top: 200px;
    margin-top: -200px;
  }

  #prestations .prestations-wrapper>*:not(.prestations-title) {
    transition: all 1s;
  }

  #prestations .hiddenChild .prestations-wrapper>*:not(.prestations-title) {
    opacity: 0;
  }

  .bloc_prestations .prestations-wrapper {
    display: grid;
    grid-template-columns: 140Px 2fr 2fr;
    align-items: stretch;
    height: 100%;
  }

  .widget_parentpage {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto; 
    counter-reset: prestations;
  }
  .prestations-img
  {
    position: relative;
  }
  .prestations-img::before
  {
    counter-increment: prestations;
    content: "0" counter(prestations);
    position: absolute;
    top: 0Px;
    right: -70px;
    font-size: 8em;
    font-family: var(--font-alt);
    z-index: 2;
    color: var(--primary-color);
    border-bottom: 2Px solid var(--primary-color);
    line-height: 1;
  }

  .bloc_prestations {
    width: 60%;
    transition: all 1s, background 0.4s;
    display: block;
    overflow: hidden;
    border-left: 1Px solid #00000024;
  }

  .prestations-title h3::after {
    content: "+";
    display: inline-block;
    margin-left: 10px;
    font-family: var(--font-text);
    color: var(--primary-color);
    transform: scale(0);
    transition: all 0.4s;
  }

  .bloc_prestations.hiddenChild .prestations-title h3::after {
    transform: scale(1);
  }

  .prestations-content {
    padding: 30px;
    margin-bottom: 50px;
  }

  .bloc_prestations.hiddenChild {
    width: 10%;
  }

  .prestations-title {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100px;
  }

  .prestations-img {
    width: 100%;
    display: block;
    height: 100%;
    min-height: 600Px;
  }

  .prestations-title h3 {
    font-size: 2em;
    display: flex;
    transform: rotate(270deg);
    transform-origin: 0 5%;
    white-space: nowrap;
    align-items: center;
    position: relative;
    left: 23px;
    bottom: -49px;
  }

  .prestations-content {
    display: grid;
    align-content: end;
    min-width: 350px;
  }

    /*------------------- INTRO / CONTENT ---------------------*/
    .home #content {
        padding-top: 0;
        margin-top: -110px;
    }

    #content-wrapper {
        padding-top: 175Px;
    }

    #contentPage
    {
        padding-bottom: 50px;
    }

    /*--------------------REASSURANCES--------------------*/
    #reassurances {
        padding: clamp(200Px, 20vw, 400px) 30px;
        margin: -200px auto;
        margin-bottom: -100px;
        width: 100%;
        max-width: 1900px;
        /* overflow: hidden; */
    }

    .picto-bloc {
        display: grid;
        grid-template-columns: 60px 1fr !important;
        align-items: center;
    }

    .nohome #reassurances {
        margin-top: -300Px;
        z-index: 0;
    }

    #contentPage {
        position: relative;
        z-index: 1;
    }

    /*-----------------*/
    /* 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(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%;
    }

    /*---------------------NEWS--------------------*/
    #news {
        padding-top: 0;
    }

    .formeBefore::before {
        clip-path: polygon(0 0, 50% 0, 60% 55%, 100% 55%, 100% 100%, 0 100%);
    }

    #news .thumbnail_slider {
        height: 700Px;
    }

    #news .content_slider {
        padding: 40Px;
    }

    #news :is(.prev, .next) {
        top: 48%;
        transform: translateY(-50%);
        padding: 40px 70px;
    }

    .wrapper_slider {
        padding: 0 50Px;
    }

    #news::before,
    #news::after {
        background: url(../images/home-bg1.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 30%;
        height: 40%;
        top: 50%;
        transform: translateY(-50%);
        left: 0%;
        filter: brightness(0.5);
    }

    #news::after {
        left: initial;
        right: 0;
        background-image: url(../images/home-bg2.jpg);
    }

    #news .content_slider {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
        background: var(--background-color);
    }

    /*---------------FOOTER----------------*/
    .wrapBas::before {
        width: 1Px;
        border-right: 1px solid #ffffff26;
        left: 50%;
        transform: translateX(-50%);
    }

    #menu-footer .menu-item {
        padding: 5Px;
    }

    #footerMap {
        margin-bottom: -80px;
    }

    .wrapBas {
        gap: 0 100px;
    }

    .topImgFooter {
        border-radius: 100px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        margin-bottom: -70Px;
    }

    #footer #footerMap {
        margin-bottom: 0;
    }

    #footer #footerMap>a {
        width: 100%;
    }

    #footer #footerMap .maps_canvas {
        min-height: 230px;
    }

    #footer .footerTitle {
        margin-top: 0;
    }

    #footer #share .icones {
        min-width: 130px;
    }

    .home #footer {
        margin-top: 100px;
    }
}

@media(min-width: 1281px) {

    /*------------------- NAVPRIMARY ---------------------*/
    .navigmenu .naviglink.lvl-0 {
        padding: 20px 14px;
        font-size: 15px;
    }

    /*-----------------*/
    /* INTRO CONTENT */
    /*-----------------*/
    #content-wrapper .content-body .title {
        left: -25%;
        width: 120%;
        margin-bottom: 50px;
    }

    #content-img .specialthumb {
        right: 50Px;
        width: 450px;
        bottom: 200px;
    }
     /*------------------- PRESTATIONS ---------------------*/
    .prestations-title h3
    {
        left: 43px;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt {
        padding: 110px 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: 1025px) and (max-width:1281px) {
  .prestations-img
  {
    opacity: 0;
  }
}

@media(min-width: 1320px) {
    #header::before {
        width: calc(100% - 100px);
        max-width: 1300px;
        height: calc(100% - 45px);
        border: 1px solid var(--white);
        border-top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.5;
        clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
    }
}

@media(min-width: 1481px) {

    /*----------------HEADER--------------------*/
    #header::before {
        clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
    }

    /*------------------- INTRO ---------------------*/
    #content-img .specialthumb {
        bottom: 50px;
    }

    /*-----------------*/
    /* 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(min-width: 1900px) {
    #reassurances {
        overflow: hidden;
    }

    #reassurances::before,
    #reassurances .overlay {
        width: 98%;
        left: 1%;
    }
}

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

@media(max-width: 1480px) {

    /*------------------- REASSURANCES ---------------------*/
    #reassurances {
        margin-bottom: 0Px;
    }
}

@media(max-width: 1280px) {

    /*-----------------*/
    /* HEADER + NAVPRIMARY */
    /*-----------------*/
    #header:before {
        right: 5%;
        left: 5%;
    }

    .navigmenu .navbloctitle {
        font-size: 16px;
        letter-spacing: 1px;
    }

    /*------------INTRO / CONTENT--------------------------*/
    .home #content {
        padding: 100px 20px
    }

    #content-wrapper {
        padding: 0 30px 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: 100%;
        top: 0 !important;
        left: 0 !important
    }

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

    #content-wrapper .tertiarythumb {
        padding-left: 1px
    }

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

    #choixSections:after {
        left: 20px;
    }

}

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

    #header-coordonnees>* {
        text-align: center;
    }

    .typewrite {
        height: 41px;
        display: grid;
        align-items: center;
        justify-items: center;
    }

    #header {
        padding: 0;
    }

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

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

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

    #logoCoordonnees>a,
    #logo>a {
        padding-top: 10Px;
    }

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

    #header-coordonnees>* {
        pointer-events: all;
    }

    #header :is(#header-coordonnees>*, #header-coordonnees>*>span, .horaires.nomodal .titlehoraires) {
        text-align: center;
    }

    #infoadresseBis {
        order: -2;
    }

    #infoadresse {
        order: -1;
    }

    #logoCoordonnees {
        order: -3;
    }

    #logoheader {
        filter: drop-shadow(2Px 1Px #ffffff80);
    }

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

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

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

    /*------------------- INTRO / CONTENT ---------------------*/
    #content-img img {
        transform: initial !important;
    }
    /*------------------- PRESTATIONS ---------------------*/
    .bloc_prestations h3 {
        margin-top: 0;
    }
    /*-----------------*/
    /* 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;
    }

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

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

    /*------------------FOOTER---------------------*/

    .wrapBas {
        padding-top: 30px;
        margin-top: 30Px;
    }

    .coordWrap .title,
    #footerLogo {
        max-width: 400px;
        margin: 0 auto;
        margin-bottom: 40px
    }

    .sociblock .share-buttons {
        justify-items: center;
        justify-content: center;
    }

    .maps_canvas,
    #footerMap>a {
        min-height: 300px;
        width: 100%;
    }
}

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

    #logoCoordonnees>a {
        width: 140px;
    }

    #header:before {
        bottom: 48px;
    }

    /*-------------------INTRO / CONTENT-------------------*/
    .home #content,
    .buttons-wrap {
        padding: 0;
        flex-direction: column;
    }

    #content-wrapper {
        width: 100%;
        padding: 40px 0 0
    }

    #content-img {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2px;
        padding-top: 2px;
        grid-template-rows: 250px auto;
    }

    #content-img .specialthumb,
    #content-img .blocthumb {
        position: relative;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 100%
    }
    /*------------------- PRESTATIONS ---------------------*/
    .widget_parentpage {
        gap: 0 !important;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt :is(.tertiarythumb, .specialthumb) {
        height: 300px;
    }

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

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