/*
Theme Name: falac-child
Author: MFM
Description: Your description goes here
Version: 1.0
Template: falac
Text Domain: falac-child

This is the child theme for facealacrise theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
body {
    background-color: #fff;
    background-image: none;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    max-width:100vw;
    overflow-x: hidden;
}

div#cmplz-document, div#cmplz-document p, div#cmplz-document span, div#cmplz-document li{
    color:inherit;
}
.elementor-widget-text-editor a:not(.btn) {
    color: var(--e-global-color-primary);
    text-decoration: underline;
}
body.elementor-page .page-container.container {
    max-width: 100%;
    width: 100%;
}
.fold.dw-xs-10{

}
.dw-xs-10[aria-expanded="true"]{
    max-width:340px;
}

#drawer {
    background: transparent;
    color: #000;
    box-shadow: 0px 2px 5px #00000085;
    /* border-right: solid 4px #fa0159; */

    &[aria-expanded="true"] {
        /* border-right: solid 4px #fa0159; */
        .backdrop-burger{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.445);
            backdrop-filter: blur(2px);
            width: calc(200vw);
            z-index: -1;
        }
    }
    .lang-menu-switcher{
        /* >div>ul>li{color:#fff;} */
        >div{
            grid-template-columns: 25px 1fr;
        }
        svg path{
            /* stroke:#ffffff */
        }
    }
    .lang-menu-switcher-flags {
        ul {
            margin: 0;
            padding: 0;
            display: flex;
            gap: 8px;
            justify-content: center;
            li {
                width: initial;
            }
            img {
                width: 50px;
                height: auto;
                display: block;
            }
        }
    }
    .drawer-contents{
        border-radius: 0 8px 8px 0;
        background-color:#fff
    }
    .drawer-controls{
        height:70px;
    }
    &.open .drawer-controls{display:none}

    .sc-buttons{
        .btn{
             width:100%;
            line-height: 2em;
        }
    }

    .drawer-header{
        padding: 10px;
        display:flex;
        justify-content: space-between;
        align-items: center;
        .close{
            width:40px;
            height:40px;
            display:inline-grid;
            place-items: center;
            /* border:solid 1px #000; */
            background-color:#f0f0f0;
            border-radius:50%;
            svg{
                width:50%;
                height:auto;
                opacity: 0.7;
            }
        }
    }

    .btn.btn-primary[data-toggle]{
        border:solid 2px #fff;
        padding:0px;
        box-sizing: border-box;
        width:50px;
        height: 50px;
        border-radius: 60px;
        background-color:#fff;
        color:#000;
        display:inline-grid;
        place-items:center

    }
    .drawer-body {
        height: calc(100% - 60px);
        overflow:auto;
        position: relative;
        &::before,
        &::after{
            content:'';
            width: 20px;
            height: 20px;
            background-size:contain;
            background-image:url(dist/img/heart.svg);
            display:block;
            position:absolute;
            top:80px;
            left:80%;
            pointer-events: none;
        }
        &::after{
            top:220px;
            left:70%;
            transform: rotate(-45deg);
        }
    }
    .drawer-body{
        padding:10px 30px;
    }
    .drawer-body > div {
        height: 100%;
        display: flex;
        flex-direction: column;
        &:not(.active){
            display:none
        }
    }
    a[data-back]{
        display:inline-block;
        width: 100%;
        font-size:16px;
        line-height:2em;
        color:#4b4b4b;
        background-color:#f5f5f5;
        padding:0.4em 1.4em;
        padding-left: 2.6em;
        border-radius:40px;
        text-decoration: none;
        background-image:url(dist/img/chevron-left.svg);
        background-size:20px;
        background-position: left 1em center;
        background-repeat: no-repeat;
    }
    .drawer-body ul.drawer-cats-menu{
        display:grid;
        margin: 0;
        padding: 0;
        padding-left: 1em;
        li a{
            font-size:16px;
            line-height:1.2em;
            display:inline-block;
            padding:0.8em 0;
            color:#000;
            text-decoration: none;
        }
    }
    .widget {
        margin-bottom: 20px;
        &:last-child {
            /* margin-top: auto; */
            margin-bottom: 0;
        }
        &.widget_media_image:first-child{
            max-width:250px;
            margin-bottom: 0;
        }
    }

    .widget_search {
        form{
            margin-top: 4px;
            position: relative;
        }
        input {
            border: solid 1px #03364D;
            color: #03364D;
            font-family: "Lato", sans-serif;
            position: relative;
            padding-left: 45px;
            &::placeholder {
                color: inherit;
            }
            /* background:linear-gradient(90deg,rgba(3, 54, 77, 1) 0%, rgba(3, 54, 77, 1) 30px, rgba(255, 255, 255, 1) 30px, rgba(255, 255, 255, 0.44) 100%) */

        }
        button {
            /* display: none; */
            position:absolute;
            outline:0;
            border:none;
            width:38px;
            height:100%;
            top:0;
            left:0;
            padding: 0;
            margin: 0;
            background:#03364D;
            display:grid;
            place-items:center;
            svg{
                max-width:100%;
                height:auto;
            }
            rect{
                fill:#03364D;
            }
        }
    }
    .creator-block{
        background:#fff;
        color:#000;
        padding-left: 0;
        padding-right: 0;
        h2{
            color:#000;
            font-size: 20px!important;
        }
        p{
            font-size: 16px;
        }
        .falc-socials{
            display:flex;
            li{
                width:initial;
                img{
                    width:50px
                }
            }
        }
        >div:first-child a>img:first-child{
            box-shadow:0 0 0 #000;
            border-radius:50%;
        }
    }

    .apps-block {
        display: flex;
        justify-content: space-between;
        >a{
            width:calc(50% - 2px);
        }
    }

    .widget_nav_menu li {
        margin-bottom: 16px;
        display:flex;
        align-items: center;
        a {
            color: #000;
            text-decoration: none;
            font-family: "Libre Baskerville", serif;
            font-size: 16px;
            line-height:1em;
            font-weight: 600;
        }

        &.menu-item-bp::before,
        &.menu-item-blog::before,
        &.menu-item-about::before,
        &.menu-item-contact::before {
            content: "" !important;
            display: inline-block !important;
            width: 35px;
            height: 35px;
            background-size: contain;
            margin-right: 1em;
            background-repeat: no-repeat;
            /* filter:brightness(0%) invert(1); */
        }
        &.menu-item-bp::before {
            background-image: url(dist/img/bonsplans.png);
        }
        &.menu-item-blog::before {
            background-image: url(dist/img/blog.png);
        }
        &.menu-item-contact::before {
            background-image: url(dist/img/contact.png);
        }
        &.menu-item-about::before {
            background-image: url(dist/img/apropos.png);
        }
    }
}

@media (width<1239px) {
    .container {
        max-width: 100vw;
    }
    body > .container {
        overflow: hidden;
    }
}
.page-container.container:has(.elementor) {
    max-width: 100vw;
    overflow: hidden;
}
.elementor-element {
    &.right-stars {
        position: relative;
        &::before {
            content: "";
            pointer-events: none;

            display: block;
            width: 120px;
            height: 150px;
            left: initial;
            position: absolute;
            top: -120px;
            right: -20px;
            background-image: url(dist/img/falac-stars.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: top left;

            @media (width>1300px) {
                right: -80px;
                top: -25px;
            }
        }
    }

    &.left-bulb {
        position: relative;
        &::before {
            content: "";
            pointer-events: none;

            display: block;
            width: 120px;
            height: 150px;
            left: initial;
            position: absolute;
            top: -100px;
            left: -20px;
            background-image: url(dist/img/falac-bulb.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: top left;

            @media (width>1300px) {
                left: -90px;
                top: -25px;
            }
        }
    }

    &.right-sparkles {
        position: relative;
        &::before {
            pointer-events: none;

            content: "";
            display: block;
            width: 30px;
            height: 30px;
            left: initial;
            position: absolute;
            top: -30px;
            left: initial;
            right: -30px;
            background-image: url(dist/img/sparkle-title-right.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: top left;

            /* @media(width>1300px){
                left:-90px;
                top:-25px
            } */
        }
    }
    &.left-belgium {
        position: relative;
        &::before {
            pointer-events: none;
            content: "";
            display: block;
            width: 70px;
            height: 120px;
            left: initial;
            position: absolute;
            top: -120px;
            left: initial;
            left: -20px;
            background-image: url(dist/img/falac-belgium.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: top left;

            @media (width>1300px) {
                left: -110px;
                top: 0px;
                height: 160px;
                width: 125px;
            }
        }
    }
}
a:not(.btn) {
    color: inherit;
    text-decoration: underline;
}
.sc-buttons{
    display:grid;
    gap:8px;
}
.btn{
    &.btn-bon-plan{
        background-color:#fa0159;
        color:#fff;
        border-radius:80px;
        font-size: 18px;
        line-height: 1.4em;
        font-weight: 400;
        background-image:url(dist/img/mail.svg);
        background-repeat: no-repeat;
        background-position:left 8px center;
        text-align: left;
        padding-left:2.2em;
        background-size:1.5em;
    }
    &.btn-cats{
        background-color:#03364D;
        color:#fff;
        border-radius:80px;
        font-size: 18px;
        line-height: 1.4em;
        font-weight: 400;
        background-image:url(dist/img/settings.png);
        background-repeat: no-repeat;
        background-position:left 8px center;
        text-align: left;
        padding-left:2.2em;
        background-size:1.2em;
    }
}
span.code,
.widget_wysija_cont .wysija-submit,
.lead,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Libre Baskerville", serif;
    color: #1b485b;
}
.widget.sidebar h2{
    font-family: "Libre Baskerville", serif;

}

div:is(.elementor-section-wrap, [data-elementor-id]) > .e-con {
    /* max-width:min(100%,1000px);
    margin-left:auto;
    margin-right:auto; */
}

.section-el-propos.e-con {
    @media (width>980px) {
        position: relative;
        &::before {
            position: absolue;
            content: "";
            right: 0;
            left: initial;
            width: 35%;
            height: 100%;
            background-color: #03364d;
        }
    }
}

.row:has(#sidecontent) > .col-md-3 {
    /* position: sticky;
    top: 40px; */
}

/* .cat-description>div p:not(:first-of-type){
    display:none
} */
.cat-description {
    h2 {
        font-size: 24px;
        line-height: 1.2em;
    }
}
.cat-description[data-slug="blog"] > div {
    max-width: 780px;
    margin: auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 60px;
}
a.open-term-desc {
    color: #fa0159;
    cursor: pointer;
}

#cat-description {
    margin: auto;
    margin-top: 80px;
    background-color: #eff5fc;
    color: #000;
    padding: 80px 54px;
    border-radius: 40px;
    /*width: calc(100% - 20px);
    max-width: 840px; */
}

#term-desmodal {
    background-color: #eff5fc;
    color: #000;
    padding: 80px 54px;
    border-radius: 40px;
    border: none;
    width: calc(100% - 20px);
    max-width: 700px;
    position: relative;
    h1,
    h2 {
        color: #fa0159;
    }

    button {
        background-color: transparent;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        outline: none;
        border: none;
    }
}
.btn{
    font-family: "Lato", sans-serif;
    &.btn-read-more {
        color: #03364d;
        box-shadow: none;
        border-radius: 40px;
        border: solid 1px #03364d;
        transition-duration: 0.2s;
        margin-top: 25px;
        font-size: 16px;
        padding: 0.5em 1.5em;
        &:hover {
            background-color: #044766;
            color: #fff;
        }
    }

    &.btn-ticket {
        margin-top: 10px;
        position: relative;
        padding: 0.7em 0.4em;
        font-size: 17px;
        line-height: 1.2em;
        font-weight: 800;
        border-radius: 0px;
        border: 0;
        transform: scale(1);
        min-width: 150px;
        transition: transform ease-in-out 0.25s;
        /* transition:all ease-in-out .2s; */

        &::after,
        &::before {
            content: "";
            display: block;
            background-image: url(dist/img/bout-ticket-gauche.png);
            position: absolute;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;

            top: 0;
            aspect-ratio: 25/100;
            /* transition:all ease-in-out .2s; */
        }
        &::before {
            right: calc(100% - 1px);
        }
        &::after {
            background-image: url(dist/img/bout-ticket-droit.png);
            left: calc(100% - 1px);
        }

        &[href]:hover,
        &[href].btn-primary:hover {
            background-color: #03364d;
            &::after,
            &::before {
                filter: brightness(0) saturate(100%) invert(16%) sepia(80%)
                    saturate(615%) hue-rotate(156deg) brightness(97%)
                    contrast(101%);
            }
        }

        &.ticket-white{
            background-color: #fff;
            color:#000;
            &::after {
                background-image: url(dist/img/bout-ticket-droit-blanc.png);
            }
            &::before {
                background-image: url(dist/img/bout-ticket-gauche-blanc.png);
            }
            &:hover{
                background-color:#fff;
                &::before,&::after{
                    filter:initial!important
                }
            }

        }
    }
}



.promo-content .btn-primary,
.promo-content .btn-item,
.page .panel-body .btn-primary.btn,
article.category-blog .btn-primary
{
    font-family: "Lato", sans-serif;

    &.btn-item,
    &.btn-primary
     {
        margin-top: 10px;
        margin-left:1em;
        position: relative;
        padding: 0.7em 0.4em;
        font-size: 17px;
        line-height: 2.1em;
        font-weight: 700;
        border-radius: 0px;
        border: 0;
        transform: scale(1);
        min-width: 200px;
        transition: transform ease-in-out 0.25s;
        display:inline-block;
        /* transition:all ease-in-out .2s; */

        &::after,
        &::before {
            content: "";
            display: block;
            background-image: url(dist/img/bout-ticket-gauche.png);
            position: absolute;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;

            top: 0;
            aspect-ratio: 25/100;
            /* transition:all ease-in-out .2s; */
        }
        &::before {
            right: calc(100% - 1px);
        }
        &::after {
            background-image: url(dist/img/bout-ticket-droit.png);
            left: calc(100% - 1px);
        }

        &[href]:hover,
        &[href].btn-primary:hover {
            background-color: #03364d;
            &::after,
            &::before {
                filter: brightness(0) saturate(100%) invert(16%) sepia(80%)
                    saturate(615%) hue-rotate(156deg) brightness(97%)
                    contrast(101%);
            }
        }
    }
}

.lang-menu-switcher {
    & > div {
        display: grid;
        grid-template-columns: 19px 1fr;
        gap: 4px;
        position: relative;
        cursor: pointer;
        img{
            display:block;
            max-width: 100%;
            height:auto;
        }

        & > ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
            max-width:60px;

            & > li {
                color: #20769c;
                font-size: 14px;
                font-weight: 600;
                span {
                    display: flex;
                    gap: 4px;
                    align-items: center;
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }

                ul {
                    display: none;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    right: 0;
                    background-color: #fff;
                    margin: 0;
                    padding: 0;
                    list-style-type: none;
                    box-shadow: 0 4px 10px #0000002c;
                    a {
                        display: block;
                        padding: 0 10px;
                        line-height: 2.4em;
                        text-decoration: none;
                        text-align: center;
                        color:#03364d;
                        &:hover {
                            background-color: #e0e0e0;
                        }
                    }
                }
            }
        }
        &:hover ul ul {
            display: block;
        }
    }
}
ul.nav.nav-main {
    margin-top: 0;
    li {
        display: inline-flex;
        gap: 4px;
        align-items: flex-end;
        margin-top: 0;
        &::before {
            background-size: contain;
            background-position: center;
        }
        a {
            margin-top: 0;
            padding-left: 0;
            opacity: 1;
        }
    }

    li.menu-item-bp::before,
    li.menu-item-blog::before,
    li.menu-item-about::before,
    li.menu-item-contact::before {
        content: "" !important;
        display: inline-block !important;
        width: 35px;
        height: 35px;
        background-repeat: no-repeat;
    }
    li.menu-item-bp::before {
        background-image: url(dist/img/bonsplans.png);
    }
    li.menu-item-blog::before {
        background-image: url(dist/img/blog.png);
    }
    li.menu-item-contact::before {
        background-image: url(dist/img/contact.png);
    }
    li.menu-item-about::before {
        background-image: url(dist/img/apropos.png);
    }
}
.nav-main a,
.nav-drawer a {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 1.2em;
    text-decoration: none;
}
.nav-main > li > a {
    font-size: 14px;
}
.nav-main .icon-cart {
    background-image: none;
}

.btn-primary,
.widget_wysija_cont .wysija-submit {
    background-color: #fa0159;
    &:hover,
    &:focus {
        background-color: #fa0159;
        outline: none;
    }
}

@media (width>1240px) {
    .container {
        max-width: 1520px;
        max-width: 1360px;
        width: calc(100% - 20px);
    }
}
#topbar-newsletter {
    background-color: #fa0159;
    min-height: 40px;
    font-size: 18px;
    display: grid;
    place-items: center;
    @media (width>760px) {
        background-image: url(dist/img/ticket-nav.png);
    }
    background-size: 128px;
    background-repeat: repeat-x;
    background-position: center;
    padding-left: 60px;
    padding-right: 60px;
    p {
        text-align: center;
        min-height: 40px;
        display: grid;
        place-items: center;
        background-color: #fa0159;
        margin-bottom: 0;
        padding: 0 10px;
        box-shadow: -20px 0px 0 0px #fa0159, 20px 0px 0 0px #fa0159;
        padding: 4px 0;
        a {
            color: #fff;
            text-decoration: none;
            line-height: 1.1em;
        }
    }
}

#falac-header {
    background-color: #fff;
    margin-bottom: 10px;
    margin-bottom: 30px;
    @media (width<960px) {
        margin-bottom: 10px;
        .lang-menu-switcher {
            display: none;
        }
    }
    .container {
        display: grid;
        grid-template-columns: 1fr max-content;
        align-items: center;
        &::before,
        &::after {
            display: none;
        }
        img {
            display: block;
            max-width: 100%;
            height: auto;
        }
        & > div {
            min-width: 0;
        }
        & > div:nth-child(1) {
            display: flex;
            align-items: flex-end;
            gap: 12px;
            .custom-logo {
                max-width: 300px;
            }
            .shopicon {
                max-width: 60px;
            }
        }
        & > div:nth-child(2) {
            display: flex;
            gap: 8px;
            align-items: flex-end;
        }

        ul.nav {
            display: none;
            @media (width>990px) {
                display: block;
            }
            li {
                a {
                    color: #000;
                    padding-top: 0px;
                    padding-bottom: 0px;
                }
            }
        }
        &:nth-child(1) {
            padding: 20px 10px;
        }

        &:nth-child(2) {
            border-top: solid 1px #efefef;
            border-bottom: solid 1px #efefef;
        }

        @media (width<640px) {
            .widget_search {
                display: none;
            }
        }
    }

    .search-form {
        display: flex;
        gap: 4px;
        align-items: center;
        border: solid 1px #fa0159;
        border-radius: 5px;
        margin-top: 0;
        width: 340px;
        max-width: 100%;

        input {
            background-image: none;
            padding: 1.4em 1em;
            color: #f50e5f;
            border: none;
            outline: none;
            box-shadow: none;
            min-width: 240px;
            font-family: "Lato", sans-serif;

            &::placeholder {
                color: inherit;
                opacity: 1;
            }
        }
        button {
            order: -1;
            background-color: #fa0159;
            padding: 0;
            border: none;
            outline: none;
            width: 55px;
            height: 55px;
            flex-shrink: 0;
            border-radius: 0px;

            svg {
                width: 100%;
            }
        }
    }

    .show-categories {
        background-color: #03364d;
        color: #fff;
        outline: none;
        border: none;
        font-size: 15px;
        min-width: 280px;
        padding: 1.2em 3.5em 1.2em 3.8em;
        border-radius: 5px 5px 0 0;
        background-image: url(dist/img/settings.png);
        background-repeat: no-repeat;
        background-size: 1.5em;
        background-position: center left 1.4em;
        &:hover {
            background-color: #054c6d;
        }
    }
}
.thin-scroll {
    scrollbar-color: #fff #03364d; /* Firefox */
    scrollbar-width: thin;
    &::-webkit-scrollbar {
        width: 8px;
        background: #03364d;
    }
    &::-webkit-scrollbar-thumb {
        background: #fff;
        border-radius: 4px;
    }
    &::-webkit-scrollbar-thumb:hover {
        background: #fff;
    }
}

.falc-categories {
    position: relative;
    z-index: 100;

    & > ul {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #03364d;
        color: #fff;
        border-top: solid 1px #fff;
        list-style-type: none;
        margin: 0;
        padding: 0;
        max-height: 50vh;
        overflow: auto;
        border-radius:0 0 8px 8px;

        li {
            border-bottom: solid 1px #47768c;

            a {
                &:hover{
                    background-color:#04405c;
                }
                display: block;
                padding: 0.6em;
                line-height: 1.6em;
                font-size: 14px;
                text-decoration: none;
            }
        }
    }
    &.active,
    &:hover {
        > ul {
            display: block;
        }
    }
}

.blog-section {
    & > div:first-child {
        /* max-width: 690px;
        margin: auto; */
        /* margin-bottom: 60px; */
    }
    h1 {
        color: #03364d;
        text-align: center;
        font-size: 32px;
        line-height: 1.2em;
        margin-top: 0;
    }
    h1 + p {
        color: #000;
        text-align: center;
    }
}

.falc-socials {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    img {
        width: 40px;
        display: block;
        height: auto;
    }
}
h2.bg-primary,
h1.bg-primary {
    background-color: #fa0159;
    color: #fff;
    display: inline-grid;
    place-items: center;
    min-height: 68px;
    padding: 0.4em 0.4em;
    font-size: 32px;
    font-size: clamp(22px, 3.5vw, 32px);
    line-height: 1.2em;
    border-radius: 5px;
    margin-top: 0;
    width: 100%;
    max-width: fit-content;
    text-align: center;
    margin-bottom: 30px;
    font-family: "Fraunces", serif;
    font-weight: 600;
    img{
        display:inline;
        vertical-align: middle!important;
    }
}

.single-post #top-category{
    padding-bottom: 0;
}
.single-post #falac-header,
.single-post #top-category,
.single-post h1.bg-primary{
    margin-bottom: 10px;
    @media(width>992px){
        margin-bottom: 30px;
    }
}
@media(width>992px){
        .single-post #top-category{
            margin-bottom: 50px;
        }

    }

@media(width<992px){
    .home .bg-primary{
        display:none
    }
    .archive.category .bg-primary{
        width: 100%;
        max-width:100%;
    }
}
#hearts-section h1,
    .archive.category:not(.category-blog) h1
    {
        max-width:calc(75% - 10px);
    }
@media(width>1326px){
    #hearts-section h1,
    .archive.category:not(.category-blog) h1
    {
        max-width:calc(0.66 * (75% - 10px))
    }
}


@media(width<740px){
    .from-laptop{display:none}
}

#hearts-section {
    max-width: 100vw;
    /* overflow: hidden; */
    /* padding-bottom: 125px; */
    padding-bottom: 50px;

    position: relative;
@media(width>739px){
    padding-bottom: 125px;
}

    &::before {


        @media(width>739px){
            content: "";
            position: absolute;
            display: block;
            width: calc(100%);
            left: 0px;
            bottom: 20px;
            aspect-ratio: 14.86;
            background-image: url(dist/img/ciseaux-lignes-2.png);
            background-repeat: no-repeat;
            background-position: left bottom;
            background-size: contain;
        }

        @media (width>960px) {
            width: calc(100% + 80px);
            left: -40px;
        }
    }

    @media (min-width: 1327px) {
        h1+.row{
            display:flex;
            margin-bottom: 20px;
            .col-md-3{
                /* display:flex;
                flex-direction: column; */
                #sidecontent{
                    min-height:100%;
                    display:flex;
                    flex-direction: column;
                    justify-content: space-between;
                }

            }

        }
        .grid-plans {
            margin-bottom: 0px;
            article {
                /* min-height:560px; */
                & > div > div:nth-child(1) img {
                    aspect-ratio: 0.99;
                }
            }
        }
    }

    article {
        /* max-width:330px; */

         @media(width>992px){
.btn-ticket {
            /* line-height: 1.5em;
            min-width: 150px; */
        }
         }

        .cats > div::after {
            display: none;
        }
        & > div {
            /* box-shadow: 0px 5px 13px 0px #00000012; */
            border-radius: 20px 20px 5px 5px;
        }
        & > div > div > h3 {
            color: #20769c;
            text-wrap: balance;
        }

        /* .post-content{
            -webkit-line-clamp: 2;

        } */

        &:first-child {
            position: relative;
            &::before {
                content: "";
                width: 24px;
                height: 24px;
                position: absolute;
                z-index: 0;
                background-image: url(dist/img/heart.svg);
                background-repeat: no-repeat;
                background-size: contain;
                top: 50%;
                left: -24px;
                rotate: 290deg;
            }
        }
        &:last-child {
            position: relative;
            &::before {
                content: "";
                width: 24px;
                height: 24px;
                position: absolute;
                z-index: 0;
                background-image: url(dist/img/heart.svg);
                background-repeat: no-repeat;
                background-size: contain;
                top: 20%;
                right: -35px;
                rotate: 10deg;
            }
        }
    }
}

.partner-tag {
    display: inline-grid;
    place-items: center;
    font-size: 14px;
    line-height: 1em;
    padding: 0.4em 0.8em;
    background-color: #ffffff;
    color: #03364d;
    border-radius: 5px;
    /* font-weight: 700; */
}

#home-plans {
    position: relative;

    .grid-plans {
        gap: 50px;
        position: relative;
        z-index: 1;
        /* &::before {
            content: "";
            pointer-events: none;
            z-index: -1;
            display: block;
            inset: -10px;
            max-width: 100vw;
            position: absolute;
            background-image: url(dist/img/bg-icons.png);
            background-image: url(dist/img/bg-plans-icons.png);
            background-repeat: no-repeat;
            @media (width>960px) {
                inset: -30px -80px;
                background-size: 90% auto;
            }
        } */


        article {
            position: relative;
            z-index: 1;
            &:nth-child(12n+1)::before,
            &:nth-child(12n+2)::before,
            &:nth-child(12n+3)::before,
            &:nth-child(12n+4)::before,
            &:nth-child(12n+5)::before,
            &:nth-child(12n+7)::before,
            &:nth-child(12n+12)::before,
            &:nth-child(12n+10)::before,
            &:nth-child(12n+6)::before {
                content: "";
                width: 300px;
                height: 300px;
                max-width: 100%;
                background-repeat: no-repeat;
                background-size: contain;
                position: absolute;

                z-index: -1;
                pointer-events: none;
            }

            &:nth-child(12n+1)::before {
                background-image: url(dist/img/bg-grid/ronds_2.png);
                top: -55px;
                left: -80px;
                width:400px;
            }
            &:nth-child(12n+2)::before {
                background-image: url(dist/img/bg-grid/ronds_1.png);
                top: 50%;
                right: -80px;
                width:400px;
                background-size:240px;
                background-position: right -92px top 0px;
            }
            &:nth-child(12n+3)::before {
                background-image: url(dist/img/bg-grid/cochon.png),url(dist/img/bg-grid/coupon_2.png),url(dist/img/bg-grid/ciseaux_2.png);
                height:calc(100% + 80px);
                width:calc(100% + 80px);
                max-width:initial;

                top: -40px;
                left: -40px;
                background-size: 50px,120px,60px;
                background-position:70px 0,right 0px  top 0px,bottom right;
            }

            &:nth-child(12n+10)::before {
                background-image: url(dist/img/bg-grid/ronds_2.png),url(dist/img/bg-grid/ronds_1.png);
                height:calc(100% + 80px);
                width:calc(100% + 120px);
                max-width:initial;

                top: -40px;
                left: -40px;
                background-size: 60%,180px;
                background-position:top -20px left -40px,right -70px  top 50%;
            }

            &:nth-child(12n+4)::before {
                background-image: url(dist/img/bg-grid/ciseaux.png);

                top: 50%;
                left: -65px;
                width:80px;
                height: 80px;

            }
             &:nth-child(12n+5)::before,
             &:nth-child(12n+12)::before
              {
                background-image: url(dist/img/bg-grid/cochon.png);

                top: 60%;
                left: -30px;
                width:50px;
                height: 50px;
            }

            &:nth-child(12n+6)::before {
                background-image: url(dist/img/bg-grid/coupon.png),url(dist/img/bg-grid/ronds_3.png);
                height:calc(100% + 80px);
                width:calc(100% + 80px);
                max-width:initial;

                top: -40px;
                left: -40px;
                background-size: 120px,300px;
                background-position:top 80% left 0,right 0px  bottom 0px;
            }
        }
    }
    h2 {
        color: #03364d;
        text-align: center;
        font-size: 23px;
        font-weight: 600;
    }
    h2 + hr {
        max-width: 100px;
        margin-bottom: 54px;
        border-color: #03364d;
    }
}
div:has(> .grid-plans) {
    container-type: inline-size;
}

.grid-plans {
    display: grid;
    justify-content: center;
    gap: 10px;
    color: #000;
    padding: 0 10px;

    @container (min-width: 640px) {
        grid-template-columns: 1fr 1fr;
        padding: 0;
    }
    @container (min-width: 960px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
    /* @container (min-width: 1200px) {
        grid-template-columns:1fr 1fr 1fr 1fr;
    } */

    article.ended>div .image-url,
    article.ended>div .image-url img,
    article.ended>div .btn
     {
        filter: grayscale(1);
        /* opacity:0.8; */
        /* pointer-events: none; */
    }
    article {
        &.hide{display:none}
        & > div {
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background-color: #fff;
            border: solid 1px #e6f3ff;
            border-color:#cde3f8;
            box-shadow: 0px 5px 0px 0px #00000000;
            transition: box-shadow ease-in-out 0.2s;
            &:hover {
                box-shadow: 0px 5px 13px 0px #00000012;
            }
        }

        & > div > div > h3 {
            color: #333;
            color:#20769c;
            text-align: center;
            font-size: 20px;
            line-height: 1.2em;
            font-weight: 600;
            margin-top: 0;
        }

        .post-content {
            color: #333333b2;
            font-size: 16px;
            /* font-weight: 600; */
            text-align: center;
            h1,
            h2,
            h3,
            h4,
            h5,
            h6 {
                color: #333333b2;
            }
            a:not(.btn) {
                color: #03364d;
                text-decoration: underline;
            }
            .btn {
                margin: 4px;
                font-size: 14px;
                padding: 0.4em 0.8em;
            }
        }
        & > div > div:nth-child(1) {
            position: relative;

            .tags {
                position: absolute;
                top: 10px;
                left: 10px;
                display: inline-grid;
                gap: 4px;
                justify-items: start;

                .cats {
                    display: inline-grid;
                    cursor: pointer;
                    gap: 4px;
                    justify-items: start;
                    position: relative;
                    & > div {
                        display: flex;
                        gap: 4px;
                        &::after {
                            content: "";
                            display: inline-block;
                            height: 100%;
                            aspect-ratio: 1;
                            border-radius: 50%;
                            background-color: #03364d;
                            background-image: url(dist/img/arrow-oblique.svg);
                            background-repeat: no-repeat;
                            background-position: center;
                            background-size: 100%;
                        }
                    }
                    span {
                        display: inline-block;
                        font-size: 14px;
                        line-height: 1.3em;
                        padding: 0.4em 1.5em;
                        background-color: #03364d;
                        color: #fff;
                        border-radius: 40px;
                        white-space: nowrap;
                        /* font-weight: 600; */
                    }
                    a {
                        position: absolute;
                        inset: 0;
                    }
                }
                .partner-tag {
                    /* display: inline-grid;
                    place-items: center;
                    font-size: 14px;
                    line-height: 1em;
                    padding: 0.4em 0.8em;
                    background-color: #ffffff;
                    color: #03364d;
                    border-radius: 5px;
                    font-weight: 700; */
                }
            }
        }
        & > div > div:nth-child(2) {
            padding: 16px 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            .post-content {
                margin-bottom: auto;

            }
        }
        &:not(.has-excerpt){
            .post-content{
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
        & > div > div:nth-child(1) img {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 4/3;
            aspect-ratio: 1;
            object-position: center;
            object-fit: cover;
            object-position: center top;
            margin: 0;
        }
        &.category-blog{
            > div > div:nth-child(1) img{
                aspect-ratio: 450/230;
            }
            > div > div:nth-child(2) .post-content{
                -webkit-line-clamp: 4;

            }
        }

        .image-url {
            img {
            }
        }

        div:has(> .btn-ticket) {
            text-align: center;
        }

        .btn-ticket {
            margin-top: 25px;
            position: relative;
            padding: 0.7em 0.4em;
            font-size: 17px;
            line-height: 2.1em;
            font-weight: 600;
            border-radius: 0px;
            border: 0;
            transform: scale(1);
            min-width: 200px;
            transition: transform ease-in-out 0.25s;

            &::after,
            &::before {
                content: "";
                display: block;
                background-image: url(dist/img/bout-ticket-gauche.png);
                position: absolute;
                height: 100%;
                background-size: cover;

                top: 0;
                aspect-ratio: 25/100;
            }
            &::before {
                right: calc(100% - 1px);
            }
            &::after {
                background-image: url(dist/img/bout-ticket-droit.png);
                left: calc(100% - 1px);
            }
        }

        .post-date {
            margin-top: 8px;
            text-align: center;
            color: #fa006980;
            font-size: 13px;
            font-weight: 900;
        }
        &:not(:has(img)):has(.cats) .post-date{
            margin-top: 40px;
        }

        &.category-blog {
            & > div > div:nth-child(2) {
                background-color: rgba(230, 243, 255, 0.23);
            }
            .post-date {
                color: #03364d;
                text-align: left;
                font-weight: 400;
            }
            h3 {
                color: #333;
                font-size: 22px;
                text-align: left;
            }
            .post-content {
                color: #33333399;
                text-align: left;
                font-size: 16px;
            }
        }

        .info-text {
            margin-top: 10px;
            padding: 10px;
            border-left: solid 2px #fa0159;
            box-shadow: inset 0 0 4px #e5e5e5;
            border-radius: 4px;
            a {
                color: inherit;
                text-decoration: underline;
            }
        }
    }
}

#top-category {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    overflow: auto;
    margin-bottom: 50px;
    padding-bottom: 8px;
    list-style-type: none;
    scrollbar-width:none;
    &::-webkit-scrollbar{display:none}
    li a {
        display: inline-block;
        color: #03364d;
        border-radius: 40px;
        line-height: 40px;
        font-size: 16px;
        border: solid 1px #03364d;
        white-space: nowrap;
        padding: 0 1em;
        text-decoration: none;
        &.is-active,
        &:hover {
            background-color: #03364d;
            color: #fff;
        }
    }
}

.home div:has(+ .main-footer) {
    background: linear-gradient(
        0deg,
        rgba(32, 118, 156, 0.09) 60.58%,
        rgba(7, 126, 179, 0) 100%
    );
}

body:has(.elementor-last-footer) footer.main-footer {
    background-color: #e6f3ff4d;
}

.see-more-blog {
    text-align: center;
    margin-top: 60px;

    a.btn {
        border-color: #20769c;
        color: #20769c;
        border-radius: 10px;
        box-shadow: none;
        min-width: 130px;
        font-size: 16px;
        font-weight: 600;
        &.loading{
            pointer-events:none;
            opacity:0.4
        }
    }
}

#community-section {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    display: grid;
    gap: 10px;
    place-items: center;
    h2 {
        font-size: 28px;
        display: inline-block;
        background-image: url(dist/img/sparkle-title-left.png),
            url(dist/img/sparkle-title-right.png);
        background-position: top left, top right;
        background-repeat: no-repeat, no-repeat;
        padding: 25px 40px 0px 40px;
        font-weight: 600;
        color: #1b485b;
    }
    & > p {
        color: #1b485b80;
        font-size: 16px;
        font-weight: 700;
    }
}
.home footer.main-footer {
    background-color: rgba(32, 118, 156, 0.09);
}

.contact-section-el.e-con {
    position: relative;
    &::before {
        content: "";
        display: block;
        max-width: 100vw;
        top: -60px;
        left: 0px;
        right: 0px;
        bottom: -60px;
        width: initial;
        height: initial;
        position: absolute;
        background-image: url(dist/img/planes-right.png),
            url(dist/img/planes-left.png);
        background-size: 90px;
        background-repeat: no-repeat;
        background-position: top left -20px, bottom right -20px;
        z-index: 0;
        @media (width>1260px) {
            max-width: 1340px;
            /* top: -20px;
            bottom: -20px;
            left: 0px;
            right: initial; */
            background-size: 120px;
            transform: translateX(calc(50vw - 670px));
        }
    }

    & > div {
        position: relative;
    }
}

footer.main-footer {
    padding-top: 40px;

    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    .container {
        background-color: #03364d;
        border-radius: 20px 20px 0 0;
        padding: 60px 20px 10px 20px;
        @media (width>840px) {
            padding: 60px 80px 10px 80px;
        }
    }
    hr{
        margin-top: 0;
        margin-bottom: 0;
    }



    .love-mfm {
        text-align: center;
        @media(width>991px){
            text-align: right;
        }
    }

    .btn-lg.btn {
        font-weight: 800;
        padding-left: 2em;
        padding-right: 2em;
    }

    .footer-partners {
        display:none;
        @media(width>840px){
            display: flex;

        }
        gap: 8px;
        justify-content: center;
        a {
            outline: none;
            opacity: 0.5;
            transition: opacity ease-in-out 0.2s;
            &:hover {
                opacity: 1;
            }
        }

        .slick-track {
            display: flex;
            align-items: center;
        }
    }

    color: #fff;
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #fff;
    }
    a {
        color: #fff;
        font-size: 15px;
        line-height: 1.2em;
        text-decoration: none;
    }
    li.menu-item a {
        line-height: 2.4em;
    }
    p {
        font-size: 16px;
    }
    .widget {
        margin-bottom: 10px;

        .btn[href^="#mailm"]{
            min-width:210px;
        }
    }
    h3 {
        font-weight: 800;
    }
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    .row > div {
        padding: 20px;
        &:has(.footer-partners){
            padding-bottom: 5px;
            &.widget{
                margin-bottom: 5px;
            }
        }
    }
    @media (width>990px) {
        & > .container > .row > div:nth-child(2) {
            padding-left: 100px;
        }
    }

    @media (width<992px) {
        .row > .col-md-3 {
            text-align: center;
            padding-top: 0;
            &:first-child .widget_media_image:first-child {
                max-width: 240px;
                margin: auto;
            }
        }
        .col-md-6 .widget_nav_menu ul {
            justify-content: center;
        }
        .falc-socials {
            justify-content: center;
        }
        .widget-title {
            margin-top: 0;
        }
        .footer-partners {
            flex-wrap: wrap;
            align-items: center;
            & > a {
                max-width: 55px;
            }
        }
    }
    hr {
        border-color: #fff;
    }
    .row2 ul {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        li:not(:last-child)::after {
            content: "|";
            display: inline-block;
            margin-left: 1em;
        }
    }

    .row2>div{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .row2 .widget{
        margin: 0;
    }

    @media(width>991px){
        .row2{
            display:flex;
            align-items:center
        }
    }
}
.block {
    background-color: transparent;
    box-shadow: 0 0 6px #00000014;
    background-color: #fff;
    .block {
        box-shadow: none;
        border-left: solid 4px #03364d;
    }

    header > h1 a {
        color: #000;
    }
    header > time {
        color: #000;
    }
}
.share-image-section {
    .e-con-inner {
        background-color: #e6f3ff;
        border-radius: 12px;
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px !important;
    }
}
@media (width>1024px) {
    .share-image-section {
        position: relative;
        div.elementor-element:nth-child(2) img {
            position: absolute;
            top: -110px;
            right: 0;
            max-width: 480px;
            width: 100vw;
            pointer-events: none;
        }
    }
}

#sidecontent {
    max-width: 272px;
    margin-left: auto;
    margin-right: auto;
    .widget.sidebar {
        background-color: transparent;
        background: transparent;
        box-shadow: none;
        margin-bottom: 8px;
        padding: 0px;
        &:last-child{
            margin-bottom: 0px;
        }
    }
    .widget.sidebar:nth-of-type(odd) {
        background-color: transparent;
        background: transparent;
    }

    @media (max-width: 992px) {
        display: none;
    }
}

.creator-block {
    border-radius: 10px;
    background: linear-gradient(180deg, #03364d 25%, #0a6792 100%);
    color: #fff;
    text-align: center;
    padding: 32px 40px 24px 40px;
    h2 {
        color: #fff;
        font-size: 16px !important;
    }
    & > div:first-child {
        display: grid;
        place-items: center;
        position: relative;
        img {
            position: relative;
            z-index: 1;
        }
        img + img {
            position: absolute;
            z-index: 0;
            left: calc(50% + 30px);
            top: -8px;
        }
    }
    .fondator {
        font-family: "Libre Baskerville", serif;
        margin-top: 8px;
        margin-bottom: 0;
        font-size: 12px;
    }
    .falc-socials {
        justify-content: center;
    }
    h2 {
        margin-top: 10px;
        font-size: 16px;
    }
    hr {
        border-color: #fff;
        width: 40%;
    }
    p {
        font-size: 12px;
    }
}

.newsletter-block {
    background-color: #fa0159;
    border-radius: 10px;
    padding: 32px 16px 24px 16px;
    color: #fff;
    text-align: center;
    & > h3 {
        font-size: 17px;
        line-height: 1.2em;
        color: #fff;
        max-width: 240px;
        margin: auto;
        margin-bottom: 20px;
    }

    a.btn {
        background-color: #fff;
        color: #20769c;
        /* width: 100%; */
        font-weight: 600;
        line-height: 1.3em;
    }
}

.apps-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4px;
    flex-wrap: wrap;

    img {
        display: block;
        max-width: 100%;
        height: auto;
    }
}
.widget.sidebar .newsletter-block {
    h3 {
        font-size: 17px;
        line-height: 1.2em;
        color: #fff;
    }
}
.single-breadcrumb {
    font-size: 18px;
    margin-bottom: 50px;
    a {
        color: #20769c;
        font-weight: 600;
        text-decoration: none;
        &:first-child {
            color: #000;
            font-weight: 900;
        }
    }
}
.single-post article {
    position: relative;
    .post-image img {
        width: 100%;
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        aspect-ratio: 1.69;
        aspect-ratio: 2.86;
        min-height:300px;
        object-fit: cover;
        object-position: center;
    }

    .post-image{
        position:relative;
        .partner-tag{
            position:absolute;
            top:16px;
            left:16px;
        }
    }
    &.ended{
        .post-image a,
        .post-image a img,
        .btn-ticket
        {
            filter:grayscale(1);
            pointer-events: none;
        }

    }

    .top-pills{
        position:absolute;
        top:15px;
        left:15px;
        display:grid;
        gap:4px;
        justify-items: start;

        .post-date{
            display:inline-block;
            background-color:#03364D;
            border-radius:40px;
            color:#fff;
            font-weight:400;
            padding:0.4em 0.8em;
            line-height:1em;
        }
        .post-date,.partner-tag{
            line-height:1.2em;
        }


    }

    .partner-tag {
        /* background-color: #03364d;
        color: #fff; */
    }

    .blog-content {
        margin-top: 30px;
        h1 {
            font-size: 35px;
            line-height: 1.2em;
            font-weight: 900;
            width: clamp(300px, 100%, 734px);
            margin-top: 40px;
            margin-bottom: 40px;
            color: #03364d;
        }

        .post-content {
            font-size: 18px;
            line-height: 1.4em;
            h2,
            h3,
            h4,
            h5,
            h6 {
                color: #333;
                font-size: 18px;
            }
            a:not(.btn) {
                color: #000;
                text-decoration: underline;
            }

            h2 {
                font-size: 30px;
            }
            h3 {
                font-size: 22px;
            }
            h3,
            h4,
            h5,
            h6 {
                font-family: "Lato", sans-serif;
            }
        }
        .post-date {
            background-color: #fa0159;
            font-size: 16px;
            line-height: 1em;
            display: inline-block;
            padding: 0.6em 1.5em;
            border-radius: 8px;
            color: #fff;
            font-family: "Libre Baskerville", serif;
        }
    }

    &:has(.post-image img) .promo-content{
        margin: -80px auto 100px auto;
        width: 80%;
        max-width: 800px;



    }

    .promo-content {
        position: relative;
        border-radius: 10px;
        background: #fff;
        box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;

        margin: 0px 0 100px 0;

        background-color: #fff;
        position: relative;
        z-index: 1;
        text-align: center;
        font-size: 18px;
        line-height: 1.6em;
        color: #000;
        a:not(.btn) {
            color: #000;
            text-decoration: underline;
        }

        .previousbtn{
            position:absolute;
            height:40px;
            width: 40px;
            border-radius:50%;
            border:solid 1px #03364D;
            background-color: #fff;
            display:inline-grid;
            place-items:center;
            top:50%;
            left:-42px;
            background-image:url(dist/img/arrow-right.svg);
            background-position: center;
            background-repeat: no-repeat;
            text-indent: -100vw;
            background-size:20px;
            transform: rotate(180deg);
            overflow:hidden;
            cursor: pointer;
        }

        .post-date {
            color: #fa0069;
            font-size: 13px;
            font-weight: 800;
        }

        >h2 {
            font-size: 22px;
            color: #20769c;
            font-weight: 700;
            /* font-family: "Lato", sans-serif; */
        }
        h3,h4,h5,h6,p{
            color: #333333;

        }

        .btn-ticket {
            max-width: calc(100% - 40px);
            width:100%;
            @media (width>760px) {
                min-width: 240px;
                width:initial
            }
        }

        .info-text {
            margin-top: 46px;
            padding-top: 23px;
            border-top: solid 1px #fa0159;
            font-size: 16px;
            color: #8c8c8c;
            text-align: center;
        }
    }
}
