/*
Theme Name: Bagels
Description: Specific styles of the theme relative ti this website.
*/

/* Theme elements */
/* Main section */
.fce-section .fce-s-content-wrapper {
    padding-left: 15px;
    padding-right: 15px;
}

/* Main section */

/* Columnar section */
.bagels-col-wrapper .fc-c-column {
    overflow: hidden;
}

.bagels-col-wrapper .fc-c-column:last-child {
    margin-right: 0;
}

.bagels-col-wrapper a.fc-c-column:focus {
    opacity: 0.9;
}

@media (min-width: 992px) {
    .bagels-col-wrapper .fc-c-column {
        width: 100%;
    }

    .bagels-col-wrapper.desktop-cols-1 .fc-c-column {
        margin-right: 0;
    }

    .bagels-col-wrapper a.fc-c-column:hover {
        opacity: 0.9;
    }

    /* .bagels-col-wrapper.col-count-2 .fc-c-column,
            .bagels-col-wrapper.desktop-cols-2 .fc-c-column{
                width: 50%;
                max-width: 50%;
            }

            .bagels-col-wrapper.col-count-3 .fc-c-column,
            .bagels-col-wrapper.desktop-cols-3 .fc-c-column {
                width: calc(100% / 3);
                max-width: calc(100% / 3);
            }

            .bagels-col-wrapper.col-count-4 .fc-c-column,
            .bagels-col-wrapper.desktop-cols-4 .fc-c-column {
                width: 25%;
                max-width: 25%;
            } */

    .bagels-col-wrapper .bcw-1 {
        display: grid;
    }

    .bagels-col-wrapper.align-center .bcw-1 {
        align-items: center;
    }
}

@media (max-width: 1439px) {
    /* .bagels-col-wrapper .fc-c-column{
                padding-left: 0 !important;
                padding-right: 0 !important;
            } */
}

@media (max-width: 991px) {
    .bagels-col-wrapper .bcw-1 {
        display: grid;
    }

    .bagels-col-wrapper a.fc-c-column:active {
        opacity: 0.9;
    }

    .bagels-col-wrapper.switch-sides {
        display: flex;
        flex-direction: column-reverse;
    }

    /* .bagels-col-wrapper .fc-c-column {
                margin-bottom: 50px;
            }

            .bagels-col-wrapper .fc-c-column:not(:first-child) {
                margin-top: 30px !important;
            } */
}

@media (max-width: 499px) {
    .bagels-col-wrapper .bcw-1 {
        /* margin-bottom: var(--spc-xl-neg); */
    }

    /* .bagels-col-wrapper .fc-c-column {
                margin-bottom: var(--spc-xl);
            } */

    .bagels-col-wrapper .fc-c-column {
        width: 100%;
    }

    /* .bagels-col-wrapper.mobile-cols-2 .fc-c-column {
                width: 50%;
            } */

    .bagels-col-wrapper.mobile-cols-1 .fc-c-column {
        margin-right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .bagels-col-wrapper .fc-c-column:first-child {
        /* padding-right: 40px !important; */
    }

    .bagels-col-wrapper .fc-c-column:last-child {
        /* padding-left: 40px !important; */
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .bagels-col-wrapper .fc-c-column {
        width: 100%;
    }

    .bagels-col-wrapper.tab-cols-1 .fc-c-column {
        margin-right: 0;
    }

    /* .bagels-col-wrapper.tab-cols-4 .fc-c-column {
                width: 25%;
            }

            .bagels-col-wrapper.tab-cols-3 .fc-c-column {
                width: calc( 100% / 3 );
            }

            .bagels-col-wrapper.tab-cols-2 .fc-c-column {
                width: 50%;
            } */
}

/* Columnar section */

/* Columnar section lite */
.bcw-lite .bcwl-image {
    margin-bottom: 15px;
}

.bcw-lite .bcwl-heading {
    margin-bottom: 10px;
}

.bcw-lite .bcwl-text-area,
.bcw-lite .bcwl-simple-text {
    margin-bottom: 10px;
}

.bcw-lite .fc-c-column>*:last-child {
    margin-bottom: 0;
}

/* Columnar section lite */

/* Sub columns */
.fce-sub-cols .fce-sc-c-heading {
    margin-bottom: 14px;
}

@media (min-width: 500px) {
    .fce-sub-cols .fce-sc-column:first-child {
        margin-right: 40px;
    }
}

@media (min-width: 992px) {
    .fce-sub-cols .fce-sc-column:first-child {
        margin-right: 20px;
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .fce-sub-cols .bcw-1 {
        display: flex;
    }

    /* .bagels-col-wrapper.fce-sub-cols .fc-c-column {
                margin-top: 0px !important;
            } */
}

@media (max-width: 499px) {
    .bagels-col-wrapper.fce-sub-cols .bcw-1 {
        /* margin-bottom: 50px; */
    }
}

/* Sub columns */

/* Stage boxes */
.bagels-color-box {
    width: 50%;
    padding-top: 90px;
    padding-bottom: 90px;
    padding-left: var(--bagels-pg-margin);
    padding-right: var(--bagels-pg-margin);
}

.bagels-color-box .bvsb-heading {
    margin-bottom: 27px;
}

.bagels-color-box .bvsb-description {
    margin-bottom: 54px;
}

/* @supports ( display: -webkit-box ) and ( -webkit-line-clamp: 2 ) and ( -webkit-box-orient: vertical ) {
            .bagels-color-box .bagels-heading .bh-1{
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                word-break: break-word;
            }
        } */

@supports (display: -webkit-box) and (-webkit-line-clamp: 10) and (-webkit-box-orient: vertical) {
    .bagels-color-box .fce-text-area>p {
        display: -webkit-box;
        -webkit-line-clamp: 10;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }
}

.bagels-color-box.boxes-1 {
    width: 100%;
}

@media (min-width: 1680px) {

    /* .bagels-color-box.boxes-3:nth-child(3){
                width: 100%;
            }

            .bagels-color-box:not(.boxes-3):not(.boxes-1):nth-child( odd ){
                padding-right: 95px;
            }

            .bagels-color-box:nth-child( even ){
                padding-left: 95px;
            } */

    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box {
        width: 25%;
    }

    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-4,
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-3,
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-3,
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-4 {
        padding: 60px 50px;
    }

    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box,
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-3,
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-3 {
        width: calc(100% / 3);
    }

    .fce-colored-boxes.boxes-per-line-2 .bagels-color-box,
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-2,
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-2 {
        width: 50%;
    }

    .fce-colored-boxes.boxes-per-line-1 .bagels-color-box,
    .fce-colored-boxes.boxes-per-line-2 .bagels-color-box.boxes-1,
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-1,
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-1,
    .bagels-color-box.boxes-3:nth-child(3) {
        width: 100%;
    }

    /* .bagels-color-box:not(.boxes-3):not(.boxes-1):nth-child( odd ){
                padding-right: 95px;
            } */

    .fce-colored-boxes.boxes-per-line-2 .bagels-color-box:nth-child(odd),
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-2:nth-child(odd),
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-2:nth-child(odd),
    .bagels-color-box.boxes-2:nth-child(odd) {
        padding-right: 95px;
    }

    .fce-colored-boxes.boxes-per-line-1 .bagels-color-box,
    .fce-colored-boxes.boxes-per-line-2 .bagels-color-box:last-child {
        padding-right: var(--bagels-pg-margin);
    }

    /* .bagels-color-box:nth-child( even ){
                padding-left: 95px;
            } */

    .fce-colored-boxes.boxes-per-line-2 .bagels-color-box:nth-child(even),
    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box.boxes-2:nth-child(even),
    .fce-colored-boxes.boxes-per-line-3 .bagels-color-box.boxes-2:nth-child(even),
    .bagels-color-box.boxes-2:nth-child(even) {
        padding-left: 95px;
    }

    .fce-colored-boxes.boxes-per-line-4.boxes-remainder-3 .bagels-color-box:nth-last-child(-n+3) {
        width: calc(100% / 3);
    }

    .fce-colored-boxes.boxes-per-line-3.boxes-remainder-2 .bagels-color-box:nth-last-child(-n+2),
    .fce-colored-boxes.boxes-per-line-4.boxes-remainder-2 .bagels-color-box:nth-last-child(-n+2) {
        width: 50%;
    }

    .fce-colored-boxes.boxes-per-line-2.boxes-remainder-1 .bagels-color-box:last-child,
    .fce-colored-boxes.boxes-per-line-4.boxes-remainder-1 .bagels-color-box:last-child,
    .fce-colored-boxes.boxes-per-line-3.boxes-remainder-1 .bagels-color-box:last-child {
        width: 100%;
    }

    .fce-colored-boxes.boxes-per-line-1 .bagels-color-box {
        padding-left: var(--bagels-pg-margin);
    }

    .fce-colored-boxes.boxes-per-line-4 .bagels-color-box .bvsb-heading {
        min-height: 104px;
    }
}

@media (max-width: 1199px) {
    .bagels-color-box {
        padding-top: 45px;
        padding-bottom: 45px;
        min-height: 480px !important;
    }
}

@media (max-width: 991px) {
    .bagels-color-box {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bagels-color-box {
        /* padding-left: 21px; */
        /* padding-right: 21px; */
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 26px;
        padding-bottom: 40px;
    }

    @supports (-webkit-line-clamp: 12) {
        .bagels-color-box .fce-text-area>p {
            -webkit-line-clamp: 12;
        }
    }
}

@media (max-width: 499px) {
    .bagels-color-box {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bagels-color-box .bvsb-heading {
        margin-bottom: 20px;
    }

    .bagels-color-box .bvsb-description {
        margin-bottom: 48px;
    }
}

/* Stage boxes */

/* News boxes */
.bagels-news-box {
    width: calc((100% / 3) - ((var(--spc-2xl) * 2) / 3));
    margin-right: var(--spc-2xl);
    margin-bottom: var(--spc-2xl);
    overflow: hidden;
    border-radius: 8px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.bagels-news-box.hover-zoom:focus {
    transform: scale(1.02);
}

.bagels-news-box .bnb-l-img .b-cover-img {
    object-position: left;
}

.bagels-news-box .bnb-link:focus .bnb-l-img img {
    /* transform: scale(1.02); */
}

.bagels-news-box .bnb-link {
    background-color: var(--bagels-neutral_50);
    height: 100%;
}

.bagels-news-box.dark .bnb-link {
    background-color: var(--bagels-neutral_900);
}

.bagels-news-box.hover-bg-col-change .bnb-link:focus {
    background-color: var(--bagels-neutral_100);
}

.bagels-news-box.hover-bg-col-change.dark .bnb-link:focus {
    background-color: var(--bagels-neutral_800);
}

.bagels-news-box .bnb-l-content {
    padding: var(--spc-xl);
    height: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bagels-news-box .bnb-l-img {
    height: 250px;
}

.bagels-news-box .bnb-link:focus .bnb-l-img>.section-overlay {
    opacity: 0;
}

.bagels-news-box .bnb-l-c-date {
    margin-top: var(--spc-md);
    color: var(--bagels-neutral_600);
    font-size: var(--fs-sm);
    line-height: var(--lh-sm);
}

.bagels-news-box.dark .bnb-l-c-date {
    color: var(--bagels-neutral_400);
}

.bagels-news-box .bnb-l-c-read-more {
    margin-top: var(--spc-3xl);
    color: var(--bagels-dark);
}

.bagels-news-box .bnb-l-c-rm-i-img {
    margin-left: 5px;
}

.bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.bagels-news-box.dark .bnb-l-c-read-more,
.bagels-news-box.dark .bnb-l-c-cat .bagels-heading .bh-1,
.bagels-news-box.dark .bnb-l-c-title .bagels-heading .bh-1 {
    color: var(--bagels-neutral_50);
}

.fce-news-boxes.new-img-ratio .bnb-l-img {
    height: auto;
    aspect-ratio: 16 / 9;
}

@supports (display: -webkit-box) and (-webkit-line-clamp: 4) and (-webkit-box-orient: vertical) {
    .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        white-space: normal;
        text-overflow: unset;
    }
}

@supports (display: -webkit-box) and (-webkit-line-clamp: 3) and (-webkit-box-orient: vertical) {
    .fce-news-boxes.new-img-ratio .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        white-space: normal;
        text-overflow: unset;
    }
}

@media (min-width: 992px) {
    .bagels-news-box .bnb-link:hover .bnb-l-img>.section-overlay {
        opacity: 0;
    }

    .bagels-news-box.hover-bg-col-change .bnb-link:hover {
        background-color: var(--bagels-neutral_100);
    }

    .bagels-news-box.hover-bg-col-change.dark .bnb-link:hover {
        background-color: var(--bagels-neutral_800);
    }

    .bagels-news-box.hover-zoom:hover {
        transform: scale(1.02);
    }

    .bagels-news-box .bnb-link:hover .bnb-l-img img {
        /* transform: scale(1.02); */
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child {
        width: 100%;
        margin-right: 0;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-link {
        display: flex;
        height: 390px;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-link {
        height: auto;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-img {
        height: 100%;
        min-width: 50%;
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-l-img {
        min-width: 54%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-c-title {
        margin-top: 5px;
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-l-c-title {
        margin-top: 0;
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-l-c-title {
        margin-top: 0;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-c-title .bagels-heading .bh-1 {
        font-size: var(--fs-xl);
        line-height: var(--lh-xl);
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-content {
        height: 100%;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box .bnb-l-content {
        padding: 23px 33px 28px;
    }
}

@media (min-width: 1200px) {

    .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child(3n + 1),
    .bagels-news-box:nth-child(3n) {
        margin-right: 0;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child(3n) {
        margin-right: var(--spc-2xl);
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-link {
        height: 540px;
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-link {
        height: auto;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-c-title .bagels-heading .bh-1 {
        font-size: var(--fs-3xl);
        line-height: var(--lh-3xl);
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-c-cat .bagels-heading .bh-1,
    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-c-date {
        font-size: var(--fs-md);
        line-height: var(--lh-md);
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:first-child .bnb-l-content {
        padding: var(--spc-3xl);
    }

    .fce-news-boxes.highlight-first-box.new-img-ratio .bagels-news-box:first-child .bnb-l-content {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 1679px) {
    .bagels-news-box .bnb-l-img {
        height: 240px;
    }

    .bagels-news-box .bnb-l-content {
        height: calc(100% - 240px);
    }
}

@media (max-width: 1439px) {
    .bagels-news-box .bnb-l-content {
        padding: 18px 20px;
    }
}

@media (max-width: 1365px) {
    .bagels-news-box {
        width: calc((100% / 3) - ((var(--spc-xl) * 2) / 3));
        margin-right: var(--spc-xl);
        margin-bottom: var(--spc-xl);
    }
}

@media (max-width: 1199px) {
    .bagels-news-box {
        width: calc((100% / 3) - ((20px * 2) / 3));
        margin-right: 20px;
    }

    .bagels-news-box .bnb-l-img {
        height: 180px;
    }

    .bagels-news-box .bnb-l-content {
        height: calc(100% - 180px);
    }

    .bagels-news-box .bnb-l-c-read-more {
        margin-top: 50px;
    }

    .bagels-news-box .bnb-l-content {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .bagels-news-box .bnb-link:active .bnb-l-img>.section-overlay {
        opacity: 0;
    }

    .bagels-news-box.hover-zoom:active {
        transform: scale(1.02);
    }

    .bagels-news-box.hover-bg-col-change .bnb-link:active {
        background-color: var(--bagels-neutral_100);
    }

    .bagels-news-box.hover-bg-col-change.dark .bnb-link:active {
        background-color: var(--bagels-neutral_800);
    }

    .bagels-news-box {
        width: calc((100% / 2) - ((var(--spc-xl)) / 2));
    }

    .bagels-news-box:nth-child(2n) {
        margin-right: 0;
    }

    .bagels-news-box .bnb-l-content {
        height: calc(100% - 210px);
    }

    @supports (display: -webkit-box) and (-webkit-line-clamp: 2) and (-webkit-box-orient: vertical) {
        .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: normal;
            text-overflow: unset;
        }
    }
}

@media (max-width: 499px) {
    .bagels-news-box {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--spc-lg);
    }

    .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
        /* font-size: var(--fs-xl); */
    }

    .bagels-news-box .bnb-l-content {
        padding: 25px;
    }

    .bagels-news-box .bnb-l-img {
        height: 215px;
    }
}

@media (min-width: 1200px) and (max-width: 1365px) {
    .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
        font-size: 29px;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child(3n) {
        margin-right: var(--spc-xl);
    }
}

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

    /* .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child( 2n + 1 ), */
    .bagels-news-box:nth-child(3n) {
        margin-right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child(3n) {
        margin-right: 20px;
    }

    .fce-news-boxes.highlight-first-box .bagels-news-box:nth-child(3n + 1) {
        margin-right: 0px;
    }
}


@media (min-width: 500px) and (max-width: 1199px) {
    .bagels-news-box .bnb-l-c-title .bagels-heading .bh-1 {
        font-size: 23px;
        line-height: 30px;
    }

    .bagels-news-box .bnb-l-c-cat .bagels-heading .bh-1,
    .bagels-news-box .bnb-l-c-read-more,
    .bagels-news-box .bnb-l-c-date {
        font-size: 14px;
    }
}

/* News boxes */

/* Company boxes */
.bagels-company-box.hover-zoom:focus {
    transform: scale(1.01);
}

.bagels-company-box .bcb-link {
    background-color: var(--bagels-neutral_50);
}

.bagels-company-box.dark .bcb-link {
    background-color: var(--bagels-neutral_900);
}

.bagels-company-box.hover-bg-col-change a.bcb-link:hover {
    background-color: var(--bagels-neutral_100);
}

.bagels-company-box.hover-bg-col-change.dark a.bcb-link:hover {
    background-color: var(--bagels-neutral_800);
}

.bagels-company-box .bcb-l-img {
    min-width: 50%;
}

.bagels-company-box:hover a.bcb-link .bcb-l-img .section-overlay {
    opacity: 0;
}

.bagels-company-box .bcb-l-text {
    padding: 60px 55px 55px;
    min-height: 540px;
}

.bagels-company-box .bcb-l-t-company {
    margin-bottom: 7px;
}

.bagels-company-box .bcb-l-t-title {
    margin-bottom: var(--spc-md);
}

.bagels-company-box .bcb-l-c-read-more {
    margin-top: 18px;
    /* color: var(--bagels-light); */
}

.bagels-company-box .bcb-l-c-rm-icon {
    font-size: 12px;
}

.bagels-company-box .bcb-l-t-descr p,
.bagels-company-box .bcb-l-t-descr {
    margin-top: 24px;
}

.bagels-company-box .bcb-l-t-bottom-text {
    margin-top: 15px;
    font-size: 14px;
}

.bagels-company-box .bcb-l-t-descr p:first-child {
    margin-top: 0;
}

.bagels-company-box .bcb-l-t-descr,
.bagels-company-box .bcb-l-t-descr p {
    font-size: var(--fs-md);
}

@media (min-width: 992px) {
    .bagels-company-box.hover-zoom:hover {
        transform: scale(1.01);
    }

    .bagels-company-box.hover-bg-col-change a.bcb-link:hover {
        background-color: var(--bagels-neutral_100);
    }

    .bagels-company-box.hover-bg-col-change.dark a.bcb-link:hover {
        background-color: var(--bagels-neutral_800);
    }
}

@media (min-width: 1200px) {
    .bagels-company-box .bcb-link.switch-boxes {
        flex-direction: row-reverse;
        justify-content: space-between;
    }
}

@media (min-width: 1440px) {
    .bagels-company-box .bcb-link {
        /* width: 85vw; */
    }
}

@media (min-width: 1680px) {
    /* .fce-common-slider .fce-cb-1 .owl-item{
                width: 95%;
            }

            .bagels-company-box{
                width: 100%;
            } */

    .bagels-company-box .bcb-link {
        /* width: 79vw; */
        /* width: auto; */
    }
}

@media (max-width: 1365px) {
    .bagels-company-box .bcb-l-text {
        padding: 50px 45px 45px;
    }
}

@media (max-width: 1199px) {
    .bagels-company-box .bcb-l-img {
        min-width: 50%;
    }

    .bagels-company-box .bcb-l-text {
        min-height: 395px;
    }
}

@media (max-width: 991px) {
    .bagels-company-box.hover-zoom:active {
        transform: scale(1.01);
    }

    .bagels-company-box.hover-bg-col-change a.bcb-link:active {
        background-color: var(--bagels-neutral_100);
    }

    .bagels-company-box.hover-bg-col-change.dark a.bcb-link:active {
        background-color: var(--bagels-neutral_800);
    }

    .bagels-company-box .bcb-l-text {
        min-height: 350px;
    }
}

@media (max-width: 499px) {
    .bagels-company-box .bcb-link {
        width: 100%;
        flex-direction: column;
    }

    .bagels-company-box .bcb-l-text {
        padding: 30px 25px;
        min-height: 260px;
    }

    .bagels-company-box .bcb-l-img {
        height: 240px;
    }

    .bagels-company-box .bcb-l-t-title .bagels-heading .bh-1 {
        -webkit-line-clamp: 3;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .bagels-company-box .bcb-link {
        /* width: 54vw; */
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .bagels-company-box .bcb-link {
        /* width: 80vw; */
    }
}

/* Company boxes */

/* Background image box */
.bagels-i-bg-box-single {
    width: calc((100% / 3) - (var(--spc-2xl) * 2 / 3));
    margin-right: var(--spc-2xl);
    margin-bottom: var(--spc-2xl);
    min-height: 540px;
}

.bagels-i-bg-box-single .b-i-bg-bs-0 {
    /* padding: var(--spc-2xl); */
    padding: var(--spc-xl);
}

.bagels-i-bg-box-single .bagels-i-bg-box-s-r-descr {
    margin-top: var(--spc-md);
}

.bagels-i-bg-box-single .b-i-bg-box-s-row-2 {
    margin-top: var(--spc-xl);
}

.bagels-i-bg-box-single .b-i-bg-box-s-r-sub-heading {
    margin-bottom: 6px;
}

.bagels-i-bg-box-single .b-i-bg-box-s-r-heading .bh-1,
.bagels-i-bg-box-single .b-i-bg-box-s-r-sub-heading .bh-1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bagels-i-bg-box-single .b-i-bg-box-s-r-heading .bh-1 {
    -webkit-line-clamp: 3;
}

.bagels-i-bg-box-single .b-i-bg-bs-0:focus>.section-overlay {
    opacity: 0.3 !important;
}

.bagels-i-bg-box-single .b-i-bg-bs-0:focus .b-cover-img {
    filter: blur(2.5px) !important;
}

@media (min-width: 992px) {
    .bagels-i-bg-box-single:nth-child(3n) {
        margin-right: 0;
    }

    .bagels-i-bg-box-single .b-i-bg-bs-0:hover>.section-overlay {
        opacity: 0.3 !important;
    }

    .bagels-i-bg-box-single .b-i-bg-bs-0:hover .b-cover-img {
        filter: blur(2.5px) !important;
    }
}

@media (max-width: 1365px) {
    .bagels-i-bg-box-single {
        min-height: 460px;
    }

    .bagels-i-bg-box-single .b-i-bg-bs-0 {
        padding: var(--spc-xl);
    }
}

@media (max-width: 1199px) {
    .bagels-i-bg-box-single {
        margin-right: var(--spc-xl);
        margin-bottom: var(--spc-xl);
        width: calc((100% / 3) - (var(--spc-xl) * 2 / 3));
    }

    .bagels-i-bg-box-single .b-i-bg-box-s-r-heading .bagels-heading .bh-1 {
        font-size: var(--fs-xl);
        line-height: var(--lh-xl);
    }

    .bagels-i-bg-box-single .b-i-bg-box-s-r-sub-heading .bagels-heading .bh-1 {
        font-size: var(--fs-sm);
        line-height: var(--lh-sm);
    }

    .bagels-i-bg-box-single .bagels-i-bg-box-s-r-descr {
        font-size: var(--fs-sm);
        line-height: var(--lh-sm);
    }
}

@media (max-width: 991px) {
    .bagels-i-bg-box-single {
        width: calc(50% - (var(--spc-lg) / 2));
        margin-right: var(--spc-lg);
        margin-bottom: var(--spc-lg);
    }

    .bagels-i-bg-box-single .b-i-bg-bs-0:active>.section-overlay {
        opacity: 0.3 !important;
    }

    .bagels-i-bg-box-single .b-i-bg-bs-0:active .b-cover-img {
        filter: blur(2.5px) !important;
    }
}

@media (max-width: 499px) {
    .bagels-i-bg-box-single {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--spc-xl);
    }

    .bagels-i-bg-box-single .b-i-bg-box-s-r-heading .bagels-heading .bh-1 {
        font-size: var(--fs-3xl);
        line-height: var(--lh-3xl);
    }

    .bagels-i-bg-box-single .b-i-bg-box-s-r-sub-heading .bagels-heading .bh-1 {
        font-size: var(--fs-md);
        line-height: var(--lh-md);
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .bagels-i-bg-box-single:nth-child(2n) {
        margin-right: 0;
    }

}

/* Background image box */
/* Theme elements */

/* Flexible content */
.fce-full-width {
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
    width: 100vw;
}

@media (min-width: 992px) {
    .fce-full-width-lg {
        margin-left: calc((100vw - 100%) / -2);
        margin-right: calc((100vw - 100%) / -2);
        width: 100vw;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .fce-full-width-ipad-land {
        margin-left: calc((100vw - 100%) / -2);
        margin-right: calc((100vw - 100%) / -2);
        width: 100vw;
    }
}

@media (min-width: 1920px) {
    .fce-full-width {
        margin-left: calc((1920px - 100%) / -2);
        margin-right: calc((1920px - 100%) / -2);
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .fce-full-width-ipad {
        margin-left: calc((100vw - 100%) / -2);
        margin-right: calc((100vw - 100%) / -2);
        width: 100vw;
    }
}

@media (max-width: 499px) {
    .fce-full-width-mobile {
        margin-left: calc((100vw - 100%) / -2);
        margin-right: calc((100vw - 100%) / -2);
        width: 100vw;
    }
}

/* Text area */
.fce-text-area {
    display: flex;
}

.fce-text-area.left {
    text-align: left;
    /* justify-content: flex-start; */
}

.fce-text-area.center {
    text-align: center;
    /* justify-content: center; */
}

.fce-text-area.right {
    text-align: right;
    /* justify-content: flex-end; */
}

@media (min-width: 500px) {
    /* .fce-text-area.ws-middle{
                display: flex;
                justify-content: center;
            } */
}

/* Text area */

/* Simple text line */
.fce-simple-text {
    /* display: flex; */
}

.fce-simple-text.left {
    text-align: left;
    /* justify-content: flex-start; */
}

.fce-simple-text.center {
    text-align: center;
    /* justify-content: center; */
}

.fce-simple-text.right {
    text-align: right;
    /* justify-content: flex-end; */
}

@media (min-width: 500px) {
    .fce-simple-text.ws-middle {
        display: flex;
        justify-content: center;
    }
}

/* Simple text line */

/* Heading */
.fce-title .sub-title {
    margin-bottom: 2px;
}

/* Heading */

/* News boxes */
.fce-news-boxes .fce-nb-1 {
    margin-bottom: calc(var(--spc-2xl) * -1);
}

.fce-news-boxes .fce-nb-load-more {
    margin-top: 32px;
}

.fce-news-boxes .fce-nb-title-section {
    margin-bottom: 32px;
}

.fce-news-boxes .fce-nb-fb-btn-wrapper {
    margin-right: 16px;
    margin-bottom: 13px;
}

.fce-news-boxes .fce-nb-fb-btn-wrapper .bagels-theme-button a {
    min-width: auto;
}

.fce-news-boxes .fce-nb-fb-clear-filters {
    margin-bottom: 13px;
    margin-right: 9px;
}

.fce-news-boxes .fce-nb-fb-btn-wrapper:last-child {
    margin-right: 0;
}

.fce-news-boxes .fce-nb-filter-buttons {
    margin-top: 32px;
}

.fce-news-boxes .fce-nb-fb-1 {
    margin-bottom: -13px;
}

.fce-news-boxes .fce-nb-ts-1 {
    z-index: 101;
    position: relative;
}

@media (min-width: 992px) {
    .fce-news-boxes .fce-nb-filters {
        margin-left: 60px;
    }
}

@media (max-width: 1365px) {
    .fce-news-boxes .fce-nb-1 {
        margin-bottom: calc(var(--spc-xl) * -1);
    }
}

@media (max-width: 991px) {
    .fce-news-boxes .fce-nb-1.ipad-slider {
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-1.ipad-slider .owl-stage-outer {
        padding: 7px 0px 7px 5px;
        margin-left: -5px;
    }

    .fce-news-boxes .fce-nb-1.slides-more-than-2.ipad-slider .owl-stage-outer {
        padding-bottom: 65px;
    }

    .fce-news-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        margin-right: 0;
        margin-bottom: 0;
        width: auto;
        /* width: 44vw; */
    }

    .fce-news-boxes .fce-nb-title-section {
        margin-bottom: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .fce-news-boxes .fce-nb-filters {
        margin-top: 30px;
    }

    .fce-news-boxes .fce-nb-title-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .fce-news-boxes .fce-nb-f-1 {
        align-items: flex-start;
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .fce-news-boxes .fce-nb-filters {
        flex-direction: row-reverse;
    }

    .fce-news-boxes .fce-nb-1.hide-dots-ipad .owl-dots {
        display: none;
    }
}

@media (max-width: 499px) {
    .fce-news-boxes .fce-nb-1 {
        margin-bottom: calc(var(--spc-lg) * -1);
        margin-top: 25px;
    }

    .fce-news-boxes.has-filters .fce-nb-1 {
        /* margin-top: 0; */
    }

    .fce-news-boxes .fce-nb-1.ipad-slider {
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        /* width: 86vw; */
    }

    .fce-news-boxes .fce-nb-1.slides-more-than-2.ipad-slider .owl-stage-outer,
    .fce-news-boxes .fce-nb-1.slides-more-than-1.ipad-slider .owl-stage-outer {
        /* padding-bottom: 50px; */
        padding-bottom: 60px;
    }

    .fce-news-boxes.fce-nb-og .fce-nb-1 .owl-dots {
        text-align: center;
    }

    .fce-news-boxes.fce-nb-og .fce-nb-1.slides-more-than-2.ipad-slider .owl-stage-outer {
        padding-bottom: 20px;
    }

    .fce-news-boxes .fce-nb-title-section {
        /* margin-bottom: 30px; */
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-1.ipad-slider {
        /* padding-top: 30px; */
        padding-top: 0px;
        margin-top: 0;
    }

    .fce-news-boxes .fce-nb-load-more {
        margin-top: 30px;
    }

    .fce-news-boxes .fce-nb-title-section,
    .fce-news-boxes .fce-nb-f-1 {
        display: block;
    }

    .fce-news-boxes .fce-nb-f-2 {
        margin-right: 0;
    }

    .bagels-drop-filter-parent .bfp-sin-filter:last-child {
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-title-section .bagels-heading {
        margin-bottom: 0;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        padding-right: 23px;
    }

    .fce-news-boxes .fce-nb-title-section.open .bagels-heading {
        /* margin-bottom: 35px; */
    }

    .fce-news-boxes .fce-nb-filters {
        margin-top: 0;
        width: 100%;
    }

    .fce-news-boxes .fce-nb-filters.open {
        margin-top: 25px;
    }

    .fce-news-boxes .fce-nb-filters .fce-nb-f-2 .bagels-theme-button a {
        width: 100%;
        justify-content: space-between;
    }

    .fce-news-boxes .bdfp-0 .bdfp-0-fe-wrapper {
        width: 100%;
    }

    .fce-news-boxes .bagels-drop-filter-parent .bfp-1 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-ts-1 {
        flex-wrap: wrap;
    }

    .fce-news-boxes .fce-nb-fb-btn-wrapper {
        width: calc(50% - (16px / 2));
    }

    .fce-news-boxes .fce-nb-fb-btn-wrapper:nth-child(even) {
        margin-right: 0;
    }

    .fce-news-boxes .bagels-theme-button .btb-1 {
        width: 100%;
    }

    .fce-news-boxes .fce-nb-filter-buttons {
        margin-top: 0;
        height: 0;
        overflow: hidden;
        margin-bottom: 0;
    }

    .fce-news-boxes .fce-nb-filter-buttons.open {
        margin-top: 25px;
        overflow: visible;
        height: auto;
    }
}

/* News boxes */

/* Section image */
@media (min-width: 1366px) and (max-width: 1439px) and (max-height: 700px) and (orientation: landscape) {
    .fce-img .fce-i-1 {
        max-height: 610px;
    }
}

/* Section image */

/* Success stories logo slider */
.fce-success-story-slider img.fce-ss-iw-l-img {
    width: auto;
    max-height: 48px;
}

.fce-success-story-slider .fce-ss-1 .owl-stage-outer {
    padding: 10px;
}

@media (min-width: 992px) {

    .fce-success-story-slider .fce-ss-iw-1:focus .fce-ss-iw-l-img,
    .fce-success-story-slider .fce-ss-iw-1:hover .fce-ss-iw-l-img {
        transform: scale(1.1);
    }
}

@media (max-width: 991px) {
    .fce-success-story-slider .fce-ss-iw-1:active .fce-ss-iw-l-img {
        transform: scale(1.1);
    }
}

/* Success stories logo slider */

/* Wysiwyg element */
.fce-wysiwyg ul {
    padding-left: 20px;
}

.fce-wysiwyg a:hover,
.fce-wysiwyg a:active,
.fce-wysiwyg a:focus,
.fce-wysiwyg a {
    text-decoration: underline;
}

.fce-wysiwyg a {
    font-weight: 700;
}

.fce-wysiwyg li>ul,
.fce-wysiwyg li>ol {
    margin-top: 10px;
}

.fce-wysiwyg ul>li,
.fce-wysiwyg ol>li {
    margin-bottom: 10px;
}

.fce-wysiwyg h1,
.fce-wysiwyg h2,
.fce-wysiwyg h3 {
    margin-bottom: 30px;
}

.fce-wysiwyg h4,
.fce-wysiwyg h5,
.fce-wysiwyg h6 {
    margin-bottom: 20px;
}

.fce-wysiwyg.center {
    text-align: center;
}

.fce-wysiwyg.right {
    text-align: right;
}

.fce-wysiwyg.left {
    text-align: left;
}

@media (max-width: 499px) {

    .fce-wysiwyg h1,
    .fce-wysiwyg h2,
    .fce-wysiwyg h3 {
        margin-bottom: 20px;
    }

    .fce-wysiwyg h4,
    .fce-wysiwyg h5,
    .fce-wysiwyg h6 {
        margin-bottom: 15px;
    }
}

/* Wysiwyg element */

/* Image slider */
.fce-image-slider .fce-is-link:focus .fce-is-l-img {
    transform: scale(1.05);
}

.fce-image-slider .fce-is-2.slides-more-than-1 .owl-stage-outer {
    padding-top: 64px;
}

.fce-image-slider .fce-is-link {
    height: 485px;
    width: 100%;
}

@media (min-width: 992px) {
    .fce-image-slider .fce-is-link:hover .fce-is-l-img {
        transform: scale(1.05);
    }
}

@media (max-width: 991px) {
    .fce-image-slider .fce-is-link:active .fce-is-l-img {
        transform: scale(1.05);
    }

    .fce-image-slider .fce-is-2.slides-more-than-1 .owl-stage-outer {
        padding-top: 0px;
        /* padding-bottom: 65px; */
        padding-bottom: 75px;
    }

    .fce-image-slider .fce-is-2 .owl-nav>button {
        /* bottom: 0; */
        bottom: 7px;
    }

    .fce-image-slider .fce-is-link {
        height: 410px;
    }
}

@media (max-width: 767px) {
    .fce-image-slider .fce-is-2.slides-more-than-1 .owl-stage-outer {
        padding-top: 0;
    }
}

@media (max-width: 499px) {
    .fce-image-slider .fce-is-2.slides-more-than-1 .owl-stage-outer {
        padding-bottom: 65px;
    }

    .fce-image-slider .fce-is-link {
        height: 230px;
    }
}

/* Image slider - captions */
.fce-image-slider .fce-is-caption {
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 12px 0;
}

.fce-image-slider .fce-is-caption:empty {
    display: none;
    padding: 0;
}

.fce-image-slider .fce-is-caption.caption-left   { text-align: left; }
.fce-image-slider .fce-is-caption.caption-center { text-align: center; }
.fce-image-slider .fce-is-caption.caption-right  { text-align: right; }

.fce-image-slider .fce-is-caption.caption-light { color: #fff; }
.fce-image-slider .fce-is-caption.caption-dark  { color: #1a1a1a; }

/* Image slider - captions */

/* Image slider */

/* Text cubes */
.bagels-text-cube {
    background-color: var(--bagels-neutral_50);
    border-radius: 8px;
    overflow: hidden;
    padding: var(--spc-lg);
}

.bagels-text-cube .btc-icon {
    margin-bottom: 8px;
    font-size: 23px;
    color: var(--bagels-bright_color_a_500);
}

.bagels-text-cube .btc-title {
    margin-bottom: 10px;
}

.bagels-text-cube .btc-descr {
    color: var(--bagels-neutral_600);
    margin-bottom: 10px;
}

.bagels-text-cube .btc-descr.light {
    color: var(--bagels-neutral_400);
}

/* Text cubes */

/* Custom lists */
.fce-custom-list-element .fce-cle-list {
    margin-bottom: -4px;
    padding-left: 20px;
}

.fce-custom-list-element.has-icon-alt .fce-cle-list {
    padding-left: 0;
}

/* .fce-custom-list-element.has-icon .fce-cle-list{
            padding-left: 12px;
        } */

.fce-custom-list-element .fce-cle-l-item {
    margin-bottom: 7px;
}

.fce-custom-list-element.liis-large .fce-cle-l-item {
    margin-bottom: 0px;
}

.fce-custom-list-element.has-icon .fce-cle-l-item {
    list-style: none;
}

.fce-custom-list-element.has-icon-alt .fce-cle-l-item::marker {
    content: '';
}

.fce-custom-list-element.has-icon .fce-cle-l-item {
    padding-left: 0px;
    display: flex;
    align-items: baseline;
}

.fce-custom-list-element.has-icon.liis-large .fce-cle-l-item {
    /* align-items: center; */
}

.fce-custom-list-element .fce-cle-l-i-img {
    width: 16px;
    margin-right: 5px;
    top: 3px;
    position: relative;
}

.fce-custom-list-element.liis-large .fce-cle-l-i-img {
    width: 41px;
    top: 14px;
    margin-right: 11px;
}

.fce-custom-list-element.liic-black .fce-cle-l-i-img {
    filter: invert(4%) sepia(6%) saturate(2514%) hue-rotate(202deg) brightness(97%) contrast(98%);
}

.fce-custom-list-element.liic-white .fce-cle-l-i-img {
    filter: invert(100%) sepia(5%) saturate(7456%) hue-rotate(177deg) brightness(105%) contrast(105%);
}

.fce-custom-list-element.liic-dark_blue .fce-cle-l-i-img {
    filter: invert(23%) sepia(39%) saturate(5735%) hue-rotate(238deg) brightness(80%) contrast(110%);
}

.fce-custom-list-element.liic-red .fce-cle-l-i-img {
    filter: invert(34%) sepia(99%) saturate(929%) hue-rotate(322deg) brightness(94%) contrast(96%);
}

.fce-custom-list-element.liic-orange .fce-cle-l-i-img {
    filter: invert(59%) sepia(77%) saturate(2300%) hue-rotate(329deg) brightness(100%) contrast(102%);
}

.fce-custom-list-element.liic-purple .fce-cle-l-i-img {
    filter: invert(38%) sepia(22%) saturate(4150%) hue-rotate(222deg) brightness(97%) contrast(100%);
}

.fce-custom-list-element .fce-cle-l-i-link {
    text-decoration: underline;
}

.fce-custom-list-element .fce-cle-l-i-link:focus {
    color: var(--bagels-bright_color_a_600);
}

.fce-custom-list-element.light .fce-cle-l-i-link:focus {
    color: var(--bagels-neutral_200);
}

.fce-custom-list-element.has-icon .fce-cle-l-item::marker {
    font-family: 'Font Awesome 6 Pro';
    font-weight: 600;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.fce-custom-list-element.li-check .fce-cle-l-item::marker {
    content: '\f00c';
}

.fce-custom-list-element.li-page-dog-eared .fce-cle-l-item::marker {
    content: '\f15b';
}

.fce-custom-list-element a.fce-cle-l-item:hover::marker,
.fce-custom-list-element .fce-cle-l-i-link:hover {
    color: var(--bagels-bright_color_a_600);
}

.fce-custom-list-element.light .fce-cle-l-i-link:hover {
    color: var(--bagels-neutral_200);
}

@media (min-width: 992px) {

    /* .fce-custom-list-element .fce-cle-l-item:hover .fce-cle-l-i-img {
                filter: invert(10%) sepia(62%) saturate(6692%) hue-rotate(245deg) brightness(73%) contrast(102%);
            } */
}

@media (max-width: 991px) {

    .fce-custom-list-element .fce-cle-l-item:active::marker,
    .fce-custom-list-element .fce-cle-l-i-link:active {
        color: var(--bagels-bright_color_a_600);
    }

    .fce-custom-list-element.light .fce-cle-l-i-link:active {
        color: var(--bagels-neutral_200);
    }

    /* .fce-custom-list-element .fce-cle-l-item:active .fce-cle-l-i-img {
                filter: invert(10%) sepia(62%) saturate(6692%) hue-rotate(245deg) brightness(73%) contrast(102%);
            } */
}

@media (max-width: 499px) {
    .fce-custom-list-element.liis-large .fce-cle-l-i-img {
        width: 36px;
        margin-right: 8px;
    }
}

/* Custom lists */

/* Background image boxes */
.fce-bg-i-post-boxes .fce-bg-i-pb-og {
    margin-bottom: var(--spc-2xl-neg);
}

.fce-bg-i-post-boxes .fce-bg-i-pb-big-box {
    margin-bottom: var(--spc-2xl);
}

.fce-bg-i-post-boxes.stretched .bagels-i-bg-box-single .b-i-bg-bs-1 {
    justify-content: space-between;
}

@media (max-width: 1199px) {
    .fce-bg-i-post-boxes .fce-bg-i-pb-og {
        margin-bottom: var(--spc-xl-neg);
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-big-box {
        margin-bottom: var(--spc-xl);
    }
}

@media (max-width: 991px) {
    .fce-bg-i-post-boxes .fce-bg-i-pb-og {
        margin-bottom: var(--spc-lg-neg);
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-big-box {
        margin-bottom: var(--spc-lg);
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile .owl-stage-outer {
        overflow: visible;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel .bagels-i-bg-box-single {
        width: 44vw;
        margin-right: 0;
        margin-bottom: 0;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel .bagels-i-bg-box-single {
        min-height: auto;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel .bagels-i-bg-box-single .b-i-bg-bs-1 {
        min-height: 380px;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel.slides-more-than-2 .owl-stage-outer {
        padding-bottom: 65px;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile .owl-nav>button {
        bottom: 0;
    }
}

@media (max-width: 499px) {
    .fce-bg-i-post-boxes .fce-bg-i-pb-og {
        margin-bottom: var(--spc-xl-neg);
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel .bagels-i-bg-box-single {
        width: 86vw;
    }

    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel.slides-more-than-2 .owl-stage-outer,
    .fce-bg-i-post-boxes .fce-bg-i-pb-og-mobile.owl-carousel.slides-more-than-1 .owl-stage-outer {
        padding-bottom: 65px;
    }
}

/* Background image boxes */

/* Post date */
.fce-post-date .fce-pd-2.left {
    text-align: left;
}

.fce-post-date .fce-pd-2.center {
    text-align: center;
}

.fce-post-date .fce-pd-2.right {
    text-align: right;
}

/* Post date */

/* Video box */
.fce-vid-box:hover .section-overlay {
    opacity: 0.3 !important;
}

/* Video box */

/* Multi-sized boxes */
.fce-multi-sized-boxes .fce-msb-cell {
    padding: 70px 60px;
}

.fce-multi-sized-boxes .fce-msb-g-c1-right-cell,
.fce-multi-sized-boxes .fce-msb-g-c1-left-cell,
.fce-multi-sized-boxes .fce-msb-g-c1-wide-cell,
.fce-multi-sized-boxes .fce-msb-g-col-2,
.fce-multi-sized-boxes .fce-msb-g-col-1 {
    width: 100%;
}

.fce-multi-sized-boxes .fce-msb-groups.has-right-col .fce-msb-g-col-1 {
    width: calc(100% - 33.33%);
}

.fce-multi-sized-boxes .fce-msb-groups.has-left-col .fce-msb-g-col-2 {
    width: 33.33%;
}

.fce-multi-sized-boxes .fce-msb-groups.has-left-cell .fce-msb-g-c1-right-cell,
.fce-multi-sized-boxes .fce-msb-groups.has-right-cell .fce-msb-g-c1-left-cell {
    width: 50%;
}

@media (min-width: 1024px) {
    .fce-multi-sized-boxes .fce-msb-groups .fce-msb-g-col-1>.fce-msb-g-col-2 {
        display: none;
    }
}

@media (max-width: 1199px) {
    .fce-multi-sized-boxes .fce-msb-cell {
        padding-top: 45px;
        padding-bottom: 45px;
        padding-left: var(--bagels-pg-margin);
        padding-right: var(--bagels-pg-margin);
    }

    .fce-multi-sized-boxes .fce-msb-g-c1-right-cell,
    .fce-multi-sized-boxes .fce-msb-g-c1-left-cell {
        width: 100% !important;
    }

    .fce-multi-sized-boxes .fce-msb-groups.has-right-col .fce-msb-g-col-1 {
        width: calc(100% - 35%);
    }

    .fce-multi-sized-boxes .fce-msb-groups.has-left-col .fce-msb-g-col-2 {
        width: 35%;
    }
}

@media (max-width: 1023px) {
    .fce-multi-sized-boxes .fce-msb-groups>.fce-msb-g-col-2 {
        display: none;
    }

    .fce-multi-sized-boxes .fce-msb-g-col-1 {
        width: 100% !important;
    }

    .fce-multi-sized-boxes .fce-msb-g-col-2,
    .fce-multi-sized-boxes .fce-msb-g-c1-right-cell,
    .fce-multi-sized-boxes .fce-msb-g-c1-left-cell {
        width: 50% !important;
    }

    .fce-multi-sized-boxes .fce-msb-g-c1-wide-cell {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .fce-multi-sized-boxes .fce-msb-cell {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .fce-multi-sized-boxes .fce-msb-cell {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 499px) {
    .fce-multi-sized-boxes .fce-msb-cell {
        padding: 45px 15px;
    }

    .fce-multi-sized-boxes .fce-msb-g-col-1,
    .fce-multi-sized-boxes .fce-msb-g-col-2,
    .fce-multi-sized-boxes .fce-msb-g-c1-right-cell,
    .fce-multi-sized-boxes .fce-msb-g-c1-left-cell {
        width: 100% !important;
    }

    .fce-multi-sized-boxes .fce-msb-g-c1-wide-cell {
        width: 100%;
    }
}

/* Multi-sized boxes */

/* Element separator */
.fc-e-element-separator .fc-e-es-1 {
    height: 1px;
}

/* Element separator */

/* Contact form */
.fce-contact-form.common-form.cf-t-dark {
    background-color: var(--bagels-neutral_900);
    color: var(--bagels-light);
}

.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="text"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="email"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="date"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="tel"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="url"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="number"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="file"],
.fce-contact-form.common-form.cf-t-dark .wpcf7 select,
.fce-contact-form.common-form.cf-t-dark .wpcf7 textarea {
    border: 1px solid var(--bagels-neutral_600);
    background-color: var(--bagels-neutral_800);
    color: var(--bagels-light);
}

.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="text"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="email"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="date"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="tel"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="url"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="number"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="file"]:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 select:focus,
.fce-contact-form.common-form.cf-t-dark .wpcf7 textarea:focus {
    border-color: var(--bagels-neutral_500);
}

.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="text"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="email"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="date"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="tel"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="url"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="number"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 input[type="file"]::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 select::placeholder,
.fce-contact-form.common-form.cf-t-dark .wpcf7 textarea::placeholder {
    color: var(--bagels-neutral_500);
}

/* Contact form */
/* Flexible content */

/* Sections */
/* Service title section */

.service-title-section .sts-col-2 {
    min-width: 45%;
}

.service-title-section .sts-image {
    max-width: 100%;
}

.service-title-section.sub-service .sts-1 {
    position: relative;
}

.service-title-section.sub-service .sts-2 {
    min-height: 416px;
}

.service-title-section.sub-service .sts-image {
    /* max-width: 595px; */
    max-width: 535px;
    width: 535px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 50px;
}

/* {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            object-fit: contain;
            object-position: center;
        } */

.service-title-section .sts-description {
    margin-top: 24px;
}

@media (min-width: 992px) {
    .service-title-section .sts-col-1 {
        margin-right: var(--spc-3xl);
        /* padding-top: var(--spc-3xl); */
        /* padding-bottom: var(--spc-3xl); */
        padding-top: 85px;
        padding-bottom: 85px;
        min-width: calc(100% - 45% - var(--spc-3xl));
    }
}

@media (max-width: 1199px) {
    .service-title-section.sub-service .sts-image {
        max-width: 465px;
    }
}

@media (max-width: 991px) {
    .service-title-section {
        padding-top: 90px;
        padding-bottom: 80px;
        min-height: 57vh;
    }

    /* .service-title-section.child-service {
                padding-top: 0;
                justify-content: flex-start;
            } */

    .service-title-section.no-graphics,
    .service-title-section.sub-service {
        min-height: auto;
        padding-top: 0;
        justify-content: flex-start;
    }

    .service-title-section .sts-col-1 {
        margin-top: 55px;
    }

    .service-title-section.sub-service .sts-col-1 {
        margin-top: 35px;
    }

    .service-title-section.sub-service .sts-col-1:first-child:last-child {
        margin-top: 75px;
    }

    .service-title-section.main-service .sts-col-1:first-child:last-child {
        margin-top: 0;
    }

    .service-title-section .sts-2 {
        flex-direction: column-reverse;
    }

    .service-title-section.sub-service .sts-2 {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .service-title-section .sts-image {
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

    .service-title-section.main-service .sts-col-2 .sts-image {
        /* padding-top: 70px; */
    }

    .service-title-section.sub-service .sts-image {
        position: static;
    }

    .service-title-section.no-graphics .sts-2 {
        min-height: auto;
    }
}

@media (max-width: 499px) {
    .service-title-section {
        padding-top: var(--spc-3xl);
        padding-bottom: var(--spc-2xl);
    }

    .service-title-section .sts-col-1 {
        margin-top: var(--spc-xl);
    }

    .service-title-section .sts-description {
        margin-top: var(--spc-md);
    }

    .service-title-section .sts-image {
        max-width: 100%;
    }

    .service-title-section.sub-service .sts-col-2 {
        max-width: 100%;
    }

    .service-title-section.sub-service .sts-image {
        max-width: none;
        max-width: 100%;
        right: 35px;
    }


    .service-title-section.sub-service .sts-2 {
        min-height: auto;
    }
}

/* Service title section */

/* Text cubes element */
@media (min-width: 500px) {
    .fce-text-cubes {
        margin-bottom: var(--spc-xl-neg);
    }

    .fce-text-cubes .bagels-text-cube {
        margin-bottom: var(--spc-xl);
    }
}

@media (min-width: 992px) {
    .fce-text-cubes.boxes-per-line-1 .bagels-text-cube {
        width: 100%;
    }

    .fce-text-cubes.boxes-per-line-2 .bagels-text-cube {
        width: calc(50% - (var(--spc-xl) / 2));
        margin-right: var(--spc-xl);
    }

    .fce-text-cubes.boxes-per-line-1 .bagels-text-cube,
    .fce-text-cubes.boxes-per-line-2 .bagels-text-cube:nth-child(2n) {
        margin-right: 0;
    }

    .fce-text-cubes.boxes-per-line-3 .bagels-text-cube {
        width: calc((100% / 3) - ((var(--spc-xl) * 2) / 3));
        margin-right: var(--spc-xl);
    }

    .fce-text-cubes.boxes-per-line-4 .bagels-text-cube {
        width: calc(25% - ((var(--spc-xl) * 3) / 4));
        margin-right: var(--spc-xl);
    }

    .fce-text-cubes.boxes-per-line-3 .bagels-text-cube:nth-child(3n),
    .fce-text-cubes.boxes-per-line-4 .bagels-text-cube:nth-child(4n) {
        margin-right: 0;
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .fce-text-cubes .bagels-text-cube {
        width: calc(50% - (var(--spc-xl) / 2));
        margin-right: var(--spc-xl);
    }

    .fce-text-cubes .bagels-text-cube:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 499px) {
    .fce-text-cubes {
        margin-bottom: -27px;
    }

    .fce-text-cubes .bagels-text-cube {
        width: 100%;
        margin-bottom: 27px;
    }
}

/* Text cubes element */
/* Sections */

/* Customized columnar section */

/* Remove me */
/* Customized columnar section */

/* Customized button array section */

/* Remove me */
/* Customized button array section */
