/* 
 * Theme Name: KN Theme
 * Author: Agence KN
 *
 */

@font-face {
    font-family: 'Aglet Mono';
    src: url('css/fonts/AgletMonoSemibold.woff2') format('woff2'),
        url('css/fonts/AgletMonoSemibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aglet Mono';
    src: url('css/fonts/AgletMonoRegular.woff2') format('woff2'),
        url('css/fonts/AgletMonoRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aglet Mono';
    src: url('css/fonts/AgletMonoBold.woff2') format('woff2'),
        url('css/fonts/AgletMonoBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aglet Mono';
    src: url('css/fonts/AgletMonoLightItalic.woff2') format('woff2'),
        url('css/fonts/AgletMonoLightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aglet Mono';
    src: url('css/fonts/AgletMonoLight.woff2') format('woff2'),
        url('css/fonts/AgletMonoLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('css/fonts/AileronBlack.woff2') format('woff2'),
        url('css/fonts/AileronBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('css/fonts/AileronBold.woff2') format('woff2'),
        url('css/fonts/AileronBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('css/fonts/AileronRegular.woff2') format('woff2'),
        url('css/fonts/AileronRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@media screen and (max-width: 991px) {
    h2.seo {
        font-size: 20px !important;
        line-height: 20px !important;
        margin-bottom: 20px !important;
    }
}

@media screen and (min-width: 991px) {
    h2.seo {
        font-size: 40px !important;
        line-height: 50px !important;
        margin-bottom: 20px !important;
    }
}

.slick-dots li {
    height: 10px;
}

.slick-dots button {
    background: #fff;
    border: 0;
    border-radius: 20px;
    display: block;
    font-size: 0;
    height: 10px;
    opacity: 0.9;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    width: 10px;
}

.menu__main .orange a {
    color: #db6e00 !important;
}

.slick-dots button:hover,
.slick-active button {
    opacity: 1;
    background: #000;
}

@media (max-width: 768px) {
    .home .slider:first-child .slider__basic .slider__item img {
        height: 600px !important;
    }

    .home .content p {
        font-size: 18px;
    }

    h2 {
        font-size: 30px;
    }

    h1 {
        font-size: 23px;
    }

}


.team {
    @media (max-width: 991px) {
        background-color: #000;
        padding: 40px 0 120px 0 !important;
    }

    .container {
        position: relative;

        .row {
            justify-content: center;
        }

        @media (min-width: 992px) {
            .row {
                justify-content: end;
            }
        }

        .team__list {
            padding: 0px;

            .intro {

                @media (max-width: 1199px) {
                    .bouton {
                        padding: 16px 5px !important;
                    }
                }
            }
        }

        h2,
        .h2_like {
            @media (min-width: 992px) {
                font-size: 107px !important;
                letter-spacing: -2.14px !important;
                margin: 50px 0;
            }
        }

        h2,
        .h2_like,
        .intro {
            color: #FFF;
            text-align: center;
            letter-spacing: 0px !important;
        }

        .intro {
            .section__btn {
                @media (max-width: 991px) {
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 99;
                    bottom: -90px;
                }

                .bouton--alt {
                    width: fit-content !important;
                }
            }
        }

        .intro p {
            font-size: 22px;
        }

        .section__title,
        .row {
            z-index: 1;
            position: relative;
        }

        @media (min-width: 992px) {
            &:after {
                content: '';
                background: #000;
                width: 100%;
                height: 80%;
                position: absolute;
                z-index: 0;
                top: -30px;
                right: 0px;
            }
        }

        .team__portrait {
            height: 360px;

            @media (max-width: 768px) {
                height: 130px;
            }

            img {
                height: 100%;
                object-fit: cover;
            }
        }

        .team__item {
            .team__infos {
                width: 100%;

                @media (max-width: 991px) {
                    background: #000;
                    color: #FFF;
                    padding: 2px 24px 0 0 !important;
                }
            }
        }

        .team__name span {
            font-family: "Aglet Mono", sans-serif !important;
            font-weight: 200 !important;
        }
    }
}

.builder.cta {
    &#video_waves {
        .h2_like {
            >img {
                margin-bottom: 0px !important;
            }
        }

        p>a.bouton--alt {
            margin-top: -20px !important;
        }
    }

    &#newsletter {
        @media (max-width: 992px) {
            margin-bottom: 60px !important;

            .container {
                overflow: visible !important;
                background-position: 30% 0% !important;
            }
        }

        .cta_container {
            padding: 70px 0 !important;

            @media (max-width: 991px) {
                display: flex;
                flex-direction: column;
                justify-content: end;
                align-items: end;
            }

            @media (min-width: 1200px) {
                margin-left: 30%;
            }

            @media (min-width: 1400px) {
                margin-left: 40%;
            }
        }

        h2 {
            text-transform: none;
            letter-spacing: 0px !important;

            @media (max-width: 991px) {
                max-width: 255px;
                line-height: 40px;
            }
        }

        h2,
        .intro {
            color: #FFF;
            text-align: center;
        }

        .intro {
            font-size: 22px;
            color: #FFF;
            margin: 30px 60px;
            line-height: 28px;

            @media (max-width: 991px) {
                font-size: 15px;
                line-height: 15px;
                max-width: 255px;
                margin: 30px 0px 100px 60px;
            }

            @media (max-width: 1200px) {
                color: #000;
            }
        }

        .gform_heading {
            display: none;
        }

        form {
            display: flex;
            width: 100%;
            gap: 10px;
            justify-content: center;

            @media (max-width: 992px) {
                position: absolute;
                z-index: 999999999;
                bottom: -47px;
                gap: 0px;
                left: 0px;
            }

            @media (max-width: 1200px) {
                flex-direction: column;
            }

            .gform-body {
                max-width: none;
                margin: 0px;
                flex: 0.45;

                #input_1_1,
                #input_3_1 {
                    padding: 16px 20px;
                    text-align: center;
                    border: 0px !important;
                    font-size: 20px !important;
                }
            }

            .gform-footer {
                max-width: none;
                margin: 0px;
                flex: 0.35;

                >input {
                    width: 100% !important;
                    background: #db6e00 !important;
                    color: #FFF !important;
                    border: 1px solid #db6e00 !important;
                    transition: all 0.3s;
                    font-size: 20px !important;

                    &:hover {
                        background: #FFF !important;
                        color: #db6e00 !important;
                    }
                }
            }
        }

        .socials {
            @media (max-width: 992px) {
                display: none;
            }

            margin-top: 30px;
            gap: 20px;

            .social {
                height: 40px;

                img {
                    height: 100%;
                    object-fit: contain;
                }
            }
        }
    }
}

.basic_2cols {
    .basic_2cols__content {
        align-items: center;

        @media (max-width: 991px) {
            .basic_2cols__media {
                width: 100%;
            }

            .basic_2cols__para {
                width: 100%;
                padding: 40px 0;

                h2 {
                    margin-bottom: 20px !important;
                }
            }
        }

        .basic_2cols__para {
            h2 {
                font-size: 60px !important;
                letter-spacing: normal !important;
                line-height: 60px;
                text-transform: none;

                +h2 {
                    margin-bottom: 0px !important;
                }

                @media (min-width:992px) {

                    +p {
                        margin: 30px 200px 0px 0px;
                    }
                }
            }
        }

        &.reverse {
            @media (max-width: 767px) {
                flex-direction: column-reverse;
            }

            @media (min-width: 768px) and (max-width: 991px) {
                flex-direction: column;
            }

            .basic_2cols__para {
                h2+p {
                    @media (min-width:992px) {
                        margin: 30px 20px 0px 0px;
                    }

                    @media (min-width:1400px) {
                        margin: 30px 100px 0px 0px;
                    }
                }
            }
        }

        .basic_2cols__media {
            padding: 0px !important;

            img {
                max-height: 680px;
            }
        }

        &:not(.reverse) {

            @media (max-width: 991px) {
                flex-direction: column-reverse;
            }

            .basic_2cols__para {
                @media (min-width:992px) {

                    h2,
                    p {
                        text-align: right;
                    }
                }

                h2+p {
                    @media (min-width:992px) {
                        margin: 30px 0px 0px 20px;
                    }

                    @media (min-width:1400px) {
                        margin: 30px 0px 0px 200px;
                    }
                }
            }
        }
    }

    &#engagements {
        overflow: visible;

        /* @media (min-width: 1400px) {
            padding-bottom: 200px !important;
        }

        .basic_2cols__para {
            position: relative;

            &:after {
                content: "";
                background-image: url('img/etiquette.png');
                position: absolute;
                background-repeat: no-repeat;

                @media (min-width: 992px) {
                    width: 87%;
                    height: 410px;
                    bottom: -47%;
                    transform: translateY(54%);
                    right: -68px;
                    background-size: contain;
                }

                @media (min-width: 1400px) {
                    background-size: cover;
                    transform: translateY(50%);
                    width: 110%;
                    height: 500px;
                    bottom: -68%;
                }
            }
        } */
    }

    .basic_2cols__media:not(.cover) {
        align-self: start !important;
    }
}

.builder.content {
    &#socials_nl {
        @media (min-width: 992px) {
            display: none;
        }
    }

    h1 {
        @media (max-width: 991px) {
            letter-spacing: normal !important;
        }
    }

    .h1_like span {
        color: #db6e00;
        font-size: 87px !important;
        letter-spacing: -3px !important;
        max-width: unset !important;
        line-height: 80px;
        margin-bottom: 50px !important;
        font-family: "degular", sans-serif !important;
        font-weight: 800 !important;
        font-style: normal !important;

        @media (max-width: 991px) {
            font-size: 54px !important;
            line-height: 50px;
        }
    }

    &#socials,
    &#socials_nl {
        .container {
            p:last-child {
                margin-top: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 30px;
                margin-left: -40px;

                img {
                    max-width: 60px;
                    margin: 0px;
                }
            }
        }
    }
}



.builder.quote {
    .quote_title {
        line-height: 60px !important;
        padding: 20px 25px 50px !important;
        font-style: italic !important;
    }

    .quote_link .bouton--alt {
        transform: translate(-50%, 80%) !important;

        @media (max-width: 768px) {
            transform: translate(-50%, 200%) !important;
        }

        @media (min-width: 769px) and (max-width: 1200px) {
            transform: translate(-50%, 90%) !important;
        }
    }

    .row {
        align-items: center;
    }

    &#video {
        .row {
            >div:last-child {
                padding: 0px !important;
            }

            @media (max-width: 991px) {
                >div:last-child {
                    margin-top: 10px;
                }
            }
        }
    }

    .video-container {
        @media (min-width: 992px) {
            height: 660px;
        }

        .cta_container {
            height: 100% !important;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }

    .image-gallery {
        position: relative;
        align-items: stretch;

        .image-item {
            min-height: 290px;

            img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
            }

            .title_grid {
                hyphens: auto !important;
                overflow-wrap: break-word !important;
                word-break: break-word !important;
                height: 100% !important;
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
            }

            .lien_grid {
                display: flex !important;
                text-align: center !important;
                height: 100% !important;
                justify-content: center !important;
                align-items: center !important;

            }

            @media (max-width: 768px) {

                &.item2,
                &.item6 {
                    display: none;
                }
            }
        }

        .bouton--alt.sm {
            position: absolute;
            left: 75%;
            top: 70%;
            transform: translate(-50%, -30%);
            font-size: 16px;
            padding: 15px;

            @media (min-width: 768px) {
                display: none;
            }
        }
    }
}

@media (max-width: 768px) {

    .bouton--alt {
        font-size: 12px !important;
    }
}

h1,
.h1_like,
h2,
.h2_like,
h3,
.h3_like,
h4,
.h4_like,
h5,
.h5_like,
h6,
.h6_like {
    letter-spacing: normal !important;
}

section.container {
    .term-description {
        margin-bottom: 40px;

        @media (min-width: 768px) {
            margin-bottom: 60px;
        }

        @media (min-width: 1200px) {
            margin-bottom: 100px;
        }

        @media (min-width: 1400px) {
            margin-bottom: 120px;
        }
    }
}

.woocommerce nav.woocommerce-pagination {
    margin-top: 40px !important;
}