/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

    .home-page-events-listing-item {
        margin-left: 5rem;
    }

    .hc-post-excerpt {
        position: absolute;
    }

}

@media (min-width: 981px) and (max-width: 1080px) {

    ul.et_pb_social_media_follow_0_tb_header:before {
        display: none !important;
    }

    ul.et_pb_social_media_follow_0_tb_header {
        margin-left: 1rem !important;
    }

}

@media all and (min-width: 980px) {

    #home-title h1 {
        font-size: 50px;
    }

    #home-title h1 span {
        font-size: 40px;
    }

    /* Menu */
    .et_pb_section_0_tb_header .et_pb_row_0_tb_header .et_pb_column_0_tb_header,
    .et_pb_section_0_tb_header .et_pb_row_0_tb_header .et_pb_column_2_tb_header {
        width: 45%;
    }

    .et_pb_section_0_tb_header .et_pb_row_0_tb_header .et_pb_column_1_tb_header {
        width: auto;
    }

    .et_pb_image_2_tb_header {
        margin-left: 2rem !important;
        margin-bottom: .5rem !important;
    }

    .et_pb_image_2_tb_header:after {
        display: none !important;
    }


    .home-page-news-listing-container .col-12.mb-4:not(.col-md-6) .home-article-data-category {
        margin: -3rem 0 2rem;
    }

    .home-page-news-listing-container .col-12.mb-4:not(.col-md-6) .home-article-data {
        position: relative;
        margin-top: -15%;
        margin-left: 30%;
        width: 60%;
        background-color: white;
        padding: 2rem;
        margin-bottom: 3rem;
        display: block;
    }

    /** Floating Menu **/
    #hc-floating-menu {
        position: absolute;
        left: 0;
        top: 24vh;
        z-index: 2;
        border-radius: 0 50px 50px 0;
        max-width: 110px;
        transition: all 500ms ease;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }


    #hc-floating-menu > div {
        align-items: center;
        max-width: 80px;
    }

    #hc-floating-menu img {
        width: 42px;
        height: auto;

        transition: all 500ms ease;
    }

    .toggle-floating-menu {
        transform: translateX(-100%);
        -webkit-transition:200ms;
        -moz-transition:200ms;
        -ms-transition:200ms;
        -o-transition:200ms;
        transition:200ms;
    }

    #hc-floating-menu > div span {
        font-family: 'Avenir Next', sans-serif;
    }

    #hc-floating-menu > div img {
        max-width: 35px;
    }

    /** sINGLE POST **/
    .hc-post-excerpt {
        /*position: absolute;*/
        font-size: 22px;
        line-height: 30px;
    }


}

@media (min-width: 992px) and (max-width: 1200px) {

    .home-page-events-listing-item {
        flex-direction: column;
    }

    .home-page-events-listing-item-thumb {
        max-width: unset;
        width: 100%;
        margin-bottom: 1rem;
    }

    .home-page-events-listing-item-thumb img {
        width: 100%;
        max-height: 220px;
    }

    .home-page-events-listing-item-data {
        width: 100%;
    }

    .home-page-events-listing-item-thumb img {
        width: 100%;
    }

}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {

    #home-title h1 {
        font-size: 40px;
        line-height: 3.5rem;
    }

    #home-title h1 span {
        font-size: 28px;
    }

    /* News */
    #hc-home-news-2 {
        margin-top: 10%;
    }

    .home-page-events-listing-item-thumb {
        max-width: 250px;
        width: 100%;
    }

    /* Pratique */

    #home-section-pratique .intro {
        /* max-width: 400px; */
        /* margin-left: auto; */
        /* margin-right: 20%; */
        max-width: 500px;
        margin: 0 auto 5rem auto;
        /* margin-right: 20%; */
    }

    #home-section-pratique {
        padding: 3rem 0;
    }

    #home-section-pratique .slick-list.draggable {
        max-height: 515px;
        overflow: hidden;
    }

    #home-section-pratique .slick-current .et_pb_blurb_container {
        top: 45%;
        left: 10%;
    }

    #home-section-pratique .slick-active.slick-current {
        width: inherit !important;
        max-width: 65vw;
    }

    #home-section-pratique .slick-active:not(.slick-current) {
        width: inherit;
        max-width: 28vw !important;
    }

    .hc-page-template-page-service .hc-pages-item {
        width: 50% !important;
    }

    #home-section-access-rapides a {
        padding: 2rem;
        width: 185px;
        height: auto;
    }

    /** Heder menu **/

    #hc-header-menu .nav-tabs .nav-link {
        font-size: 20px;
        line-height: 30px;
    }

    .hc-header-menu-nav .nav-link:after {
        content: url('/wp-content/uploads/2022/11/menu-nav-link-after.png');
        position: absolute;
        right: -1rem;
        top: 0;
    }

    .hc-header-menu-content-imgs-item span {
        position: relative;
        left: unset;
        top: unset;
        color: inherit;
        font-size: 14px;
        line-height: 30px;
    }

    .hc-header-menu-content-imgs-item img {
        height: 90px;
        width: 100%;
        object-fit: cover;
    }

    .hc-header-menu-content a {
        font-size: 18px;
        line-height: 28px;
        font-family: 'Avenir', sans-serif;
        color: #2A3268;
    }



    /* Posts */
    .hc-post-category {
        top: unset;
        right: 0;
        left: 0;
        bottom: -1rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .hc-post h1 {
        font-size: 50px;
        line-height: 60px;
    }

    /** Event page */

    .hc-event .hc-post-content {
        padding: 2rem;
    }

}

@media (min-width: 980px) and (max-width: 992px) {
    #hc-floating-menu {
        flex-direction: column;
        padding-top: 3rem!important;
        padding-bottom: 3rem!important;
    }

    #hc-floating-menu > div {
        width: 100%;
    }
}

@media (min-width: 981px) and (max-width: 1940px) {




}

@media (max-width: 1566px) {

    #hc-header-menu .nav-tabs .nav-link {
        font-size: 23px;
        line-height: 33px;
    }

    #hc-header-menu .hc-header-menu-content a {
        font-size: 18px;
        line-height: 32px;
    }

    #hc-newsletter-btn-top {
        display: none;
    }

    #hc-page-thumb .hc-page-thematique {
        right: 1rem !important;
    }

}

@media (max-width: 1200px) {

    #home-section-pratique-slide .slick-next {
        right: 9rem !important;
    }

    #home-section-pratique-slide .slick-current .home-section-pratique-slide-item-content {
        top: 25%;
        left: 16%;
    }
}

@media (min-width: 1200px) {
    #hc-floating-menu {
        position: fixed;
    }

    #home-carrousel {
        min-height: 900px;
    }

    .home-page-events-listing-see-all {
        margin-left: calc(5rem + 18px);
    }
}

@media all and (max-width: 767px) {

    /** Home News **/
    #hc-home-news-2 .et_pb_ajax_pagination_container {
        flex-wrap: wrap;
    }

    #hc-home-news-2 .et_pb_ajax_pagination_container article {
        width: 93%;
        margin: auto
    }

    /** Home Events **/
    .home-page-events-listing-item {
        padding-left: 0 !important;
        flex-direction: column;
    }

    .home-page-events-listing-item:before {
        display: none;
    }

    .home-page-events-listing-item-thumb {
        max-width: 100%;
        width: auto;
    }

    .home-page-events-listing-item-data {
        width: 100%;
        padding: 1rem;
    }


    #home-section-locale .home-section-locale-item {
        max-width: 93%;
        margin: auto;
    }

    /** Pages **/

    #hc-page-breadcrumb, #hc-page-breadcrumb a {
        font-size: 13px;
        line-height: normal;
        font-weight: normal;
        color: #898B8C;
    }

    /** Posts **/

    .hc-post-category {
        top: unset;
        right: 0;
        left: 0;
        bottom: -1rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .hc-post h1 {
        font-size: 30px;
        line-height: 41px;
    }

    .hc-post-content {
        padding: 2rem;
    }

    .hc-post img {
        border-radius: 0;
    }

    .hc-post-excerpt {
        padding: 2rem !important;
    }

}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

    #home-title h1 {
        font-size: 30px;
        line-height: 2.5rem;
    }

    #home-title h1 span {
        font-size: 18px;
    }

    .home-page-events-listing-item-date {
        font-size: 32px;
        line-height: 32px;
    }
    .home-page-events-listing-see-all {
        margin-left: auto;
    }

    .hc-page-template-page-service .hc-pages-item {
        width: 100% !important;
    }

    .home-page-news-listing-container .home-article-data {
        margin-bottom: 0;
    }

    .home-page-events-listing-item {
        padding-bottom: 0;
        margin-bottom: 2rem;
    }

    /** Floating menu **/

    #hc-floating-menu > div img {
        max-width: 35px !important;
        margin: 0 auto 0.25rem;
    }

    #access-rapides a {
        max-width: unset;
        padding: 0;
        border: none;
        border-radius: 0;
        margin: auto auto 4rem;
    }

    #home-section-pratique {
        background-image: none;
        padding: 0;
    }

    #home-section-pratique .intro {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
        font-family: 'Circe Rounded', sans-serif;
        font-weight: normal;
        color: #2A3268;
    }

    #home-section-pratique .intro .list-group {
        background-color: #E4EBF0;
        border-radius: 20px;
    }

    #home-section-pratique .list-group-item {
        background-color: transparent;

    }

    #home-section-pratique .list-group-item {
        padding: 1.5rem .25rem 1.5rem .75rem;
        border: none;
    }

    #home-section-pratique .list-group-item:after {
        content: '';
        width: 90%;
        height: 1px;
        background-color: white;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    img[src*=".svg"].section-title-img {
        max-width: 220px !important;
    }

    .hc-home-gallery-listing img {
        height: calc(100vw / 2);
    }

    #home-section-access-rapides a {
        padding: 0;
        width: auto;
        height: auto;
    }

    #home-section-access-rapides a img {
        width: auto;
        height: 85px;
    }

    .locale-titre h3 {
        text-align: center;
    }


    #home-section-locale .content-local-map:not(:first-child) {
        display: unset;
    }

}