/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ******************************** Global ******************************** */

*,
*::after,
*::before {
    outline: none !important;
}

html {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: normal;
}

svg,
img {
    vertical-align: top;
}

.wpml-ls-statics-footer,
.otgs-development-site-front-end {
    display: none;
}

.info-card__link svg path {
    fill: currentColor;
}

.form--light input[type="date"],
.form--light input[type="datetime-local"],
.form--light input[type="month"],
.form--light input[type="password"],
.form--light input[type="search"],
.form--light input[type="time"],
.form--light input[type="week"],
.form--light input[type="email"],
.form--light input[type="number"],
.form--light input[type="tel"],
.form--light input[type="text"],
.form--light input[type="url"] {
    height: auto;
    padding-bottom: 1.2rem !important;
}

label {
    letter-spacing: 0;
}

form .form-group {
    padding-inline: 12px;
}

form input[type="file"]~label {
    background: transparent !important;
    border: 1px solid #2A2B2C !important;
    color: var(--primary) !important;
    padding: 1.1em 1.5em !important;
    line-height: 1 !important;
    letter-spacing: 0;
    font-weight: 700 !important;
}

textarea {
    height: 46px !important;
    min-height: auto;
}

form.contact-sec__form .options-wrapper li {
    position: relative;
}

form.contact-sec__form .options-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    left: 0;
    top: 0;
}

form.contact-sec__form .options-wrapper input[type="checkbox"]+label {
    color: var(--primary) !important;
    font-size: var(--text-xs);
    line-height: var(--text-xs-lh);
    position: relative;
    padding-left: 26px;
}


form.contact-sec__form .options-wrapper input[type="checkbox"]+label:before {
    position: absolute;
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid var(--primary) !important;
    background-color: #fff !important;
    top: 2px;
    left: 0;
    transition: all .3s ease;
    box-shadow: none !important;
    border-radius: 0;
}

form.contact-sec__form .options-wrapper input[type="checkbox"]:checked+label::before,
form.contact-sec__form .options-wrapper input[type="checkbox"]+label:hover::before {
    border-color: var(--action);
    background-color: var(--warning);
}

form.contact-sec__form .options-wrapper input[type="checkbox"]+label::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    top: 4.5px;
    left: 2.5px;
    opacity: 0;
    visibility: hidden;
    background-image: url('/wp-content/uploads/2024/08/Checkbox-arrow2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: brightness(0);
}


form.contact-sec__form .options-wrapper input[type="checkbox"]:checked+label::after {
    opacity: 1;
    visibility: visible;
}

.brx-load-more-hidden {
    display: none !important;
}

.form--light .form-group:has(+.submit-button-wrapper) {
    margin-bottom: 4rem;
}

.message.success {
    width: calc(100% - 24px);
    margin: 2rem auto 0;
}

.info-card__heading a:hover {
    color: var(--action);
}

span.info-card__link span.icon svg {
    opacity: 0;
}

span.info-card__link span.icon {
    background: currentColor;
    border-radius: 50%;
    transform: scale(0.35);
}

@media(max-width:1024px) and (min-width:768px) {

    .configuration.step_1 .cnf_item:nth-child(odd):not(.on_submit) {
        grid-column: 2;
    }

    .configuration.step_1 .configuration_form_wrap {
        grid-auto-flow: dense;
    }
}

/* ******************************** Global ******************************** */

/*# Header #*/
body.home #brx-header {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    transition: 0.3s all ease;

}

body.home #brx-header .site_logo,
body.home #brx-header .icon_wrap,
body.home #brx-header .toggle_icon {
    filter: brightness(0) invert(1);
}

body.home #brx-header .desktop_menu>nav>ul>li>a,
body.home #brx-header .desktop_menu>nav>ul>li>.brx-submenu-toggle,
body.home #brx-header .desktop_menu>nav>ul>li>.brx-submenu-toggle>a {
    color: var(--white);
}

body.home #brx-header .desktop_menu>nav>ul>li>.brx-submenu-toggle svg {
    stroke: var(--white);
}

body.home header#brx-header:not(.cust_sticky) .brxe-section {
    background: transparent;
}

body.home #brx-header .site_logo img {
    height: calc(var(--space-m) * 3.575);
    width: auto;
}

.top_header_link_wrap .top_header_link_wrap-ls-item.active {
    display: none;
}

#brx-header {
    transition: 0.3s all ease;
    z-index: 99;
}

header#brx-header.cust_sticky {
    position: sticky;
    top: 0;
}

header#brx-header.cust_sticky .brxe-section {
    padding: 2rem var(--section-padding-x);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

body.home #brx-header.cust_sticky {
    position: fixed;
    top: 0;
}

body.home #brx-header.cust_sticky .desktop_menu>nav>ul>li>a,
body.home #brx-header.cust_sticky .desktop_menu>nav>ul>li>.brx-submenu-toggle>a,
body.home #brx-header.cust_sticky .desktop_menu>nav>ul>li>.brx-submenu-toggle {
    color: var(--primary);
}

body.home #brx-header.cust_sticky .desktop_menu>nav>ul>li>.brx-submenu-toggle svg {
    stroke: var(--primary);
}

body.home #brx-header.cust_sticky .site_logo,
body.home #brx-header.cust_sticky .icon_wrap,
body.home #brx-header.cust_sticky .toggle_icon {
    filter: unset;
}

header#brx-header.cust_sticky .site_logo {
    transform: scale(0.9);
}

/* 
header#brx-header.cust_sticky .site_logo img {
    height: calc(var(--space-m) * 2.6);
}

body.home #brx-header.cust_sticky .site_logo img {
    height: calc(var(--space-m) * 3);
} */
@media (min-width:1025px) {
    body.home #brx-header.cust_sticky .site_logo img {
        margin-block: -16px;
        transform: scale(0.8);
    }
}

.desktop_menu.brxe-nav-menu .bricks-nav-menu .sub-menu a {
    position: relative;
    justify-content: center;
    margin-bottom: 2rem;
}

.desktop_menu.brxe-nav-menu .bricks-nav-menu .sub-menu li:not(:last-child) a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 2rem;
    height: 1px;
    background: var(--white);
}

.desktop_menu.brxe-nav-menu .bricks-nav-menu .sub-menu {
    padding: 3.5rem 2.1rem;
    min-width: 300px;
    left: 50%;
}

.desktop_menu.brxe-nav-menu .bricks-nav-menu .sub-menu li:last-child a {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

/*# Header #*/

/* ******************************** Home ******************************** */

.post-slider .splide__track {
    overflow: visible;
}

.solution-sec__container::after {
    content: '';
    position: absolute;
    width: calc(calc(var(--space-m) * 3) + 33%);
    height: 100%;
    background: var(--accent);
    z-index: 2;
    left: 0;
    top: 0;
}

.solution-sec__main_wrap::before {
    content: '';
    position: absolute;
    width: 100vw;
    height: 100%;
    background: var(--white);
    top: 0;
    z-index: 5;
    right: 100%;
}

.news-slider__text-basic {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news-slider__card *,
.news-slider__card *::before {
    transition: all .4s ease-in-out;
}

.news-slider__image.brxe-image.overlay::before {
    opacity: 0;
    z-index: 1;
    mix-blend-mode: multiply;
}

.news-slider__card:hover .news-slider__icon,
.news-slider__card:hover .news-slider__image.brxe-image.overlay::before {
    opacity: 1;
}

.news-slider__card:hover .news-slider__image img {
    filter: grayscale(1);
}

.post-slider__inner {
    transform: translateY(calc(48px + var(--space-m)));
    transition: all .3s ease;
}

.post-slider__content .post-slider__wrap,
.global-links__item .global-links__icon-wrap {
    transition: all .3s ease;
}

.post-slider__card:hover .post-slider__content .post-slider__wrap {
    opacity: 1;
}

.post-slider__card:hover .post-slider__inner {
    transform: translateY(0);
}

.global-links__item:hover .global-links__icon-wrap {
    background: var(--action);
}

.info-card__link span.icon {
    margin-top: 3px;
}

a.post-slider__card[href="#"],
.info-card__heading a[href="#"] {
    pointer-events: none;
}

/* ******************************** Home ******************************** */

/* ******************************** Solution ******************************** */

.brx-open .solution-accordion__icon path {
    fill: var(--action);
}

.brx-open .solution-accordion__icon {
    transform: rotate(180deg);
}

/* ******************************** Solution ******************************** */

/* ******************************** Single Blog ******************************** */

.brxe-post-content>*:last-child {
    margin-bottom: 0 !important;
}

.brxe-post-content>*:first-child {
    margin-top: 0 !important;
}

.brxe-post-content figure.wp-block-gallery {
    margin-block: var(--section-space-m);
    gap: 2.4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
}

#brx-content .brxe-post-content figure.wp-block-gallery>figure {
    width: 100% !important;
}

#brx-content .brxe-post-content figure.wp-block-gallery>figure img {
    aspect-ratio: 402/406;
}

.brxe-post-content .wp-block-columns {
    margin-block: var(--section-space-m);
}

.brxe-post-content .has-medium-font-size {
    font-size: var(--h4) !important;
    line-height: var(--h4-lh);
}

.brxe-post-content .wp-block-column .wp-block-heading {
    width: 93%;
}

.brxe-post-content>figure.wp-block-image img {
    height: 48.46vh !important;
    width: 100% !important;
    object-fit: cover;
    min-height: 300px;
}

/* ******************************** Single Blog ******************************** */

/* ******************************** Configuration Form ******************************** */

.cnf_title {
    font-size: var(--h4);
    line-height: var(--h4-lh);
    position: relative;
    font-weight: 700;
    margin-block: -0.32em;
    padding-left: 5px;
    padding-bottom: var(--section-padding-block);
}

.cnf_title::before {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--accent);
    position: absolute;
    bottom: calc(100% - 0.32em + 18px);
    left: 0;
}

.cnf_title::after {
    content: '';
    position: absolute;
    width: calc(100% - 44px);
    height: 1px;
    background: #000;
    right: 0;
    bottom: calc(100% - 0.32em + 27px);
}

.configuration_form label {
    font-family: 'Manrope';
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    text-transform: uppercase;
    color: #2A2B2C;
    padding-bottom: 15px;
    margin-block: -0.28em;
}

.configuration_form label span {
    text-transform: none;
}

.configuration_form_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 3rem;
}

.cnf_item {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
}

.cnf_item.one_third {
    grid-column: unset;
}

.cnf_item.half {
    grid-column: span 2;
}

.configuration_form input,
.configuration_form select {
    border: 0;
    border-bottom: 1px solid #D9D9D9;
    padding: 0 0 7px;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    flex-grow: 1;
}

.configuration_form input::placeholder {
    opacity: 1 !important;
    color: #D9D9D9;
}

.configuration_form select {
    padding-bottom: 13px;
    padding-right: 40px;
    margin-top: 3px;
    background-image: url('/wp-content/uploads/2024/08/expand_more.svg');
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: calc(100% - 25px) -3px;
}

.configuration_form .cnf_item.on_submit,
.cnf_popup_btn {
    margin-top: var(--space-l);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem calc(var(--space-m) * 1.25);
}

.configuration_form .cnf_item.on_submit {
    width: fit-content;
    width: -moz-fit-content;
    flex-direction: row;
}

.configuration_form .cnf_item.on_submit button,
.cnf_popup_btn .cnf_btn {
    flex-grow: 1;
}

.configuration_form .cnf_btn,
.cnf_popup_btn .cnf_btn {
    font-weight: 700;
    font-size: var(--text-m);
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
    background: #00a3ff;
    padding: 11px 39px;
    min-width: 247px;
    transition: all .3s ease;
    border: 1px solid var(--action);
    display: inline-block;
}

.configuration_form .cnf_btn:hover,
.cnf_popup_btn .cnf_btn:hover {
    background: rgb(0 163 255 / 90%);
}

.configuration_form .cnf_btn.prev,
.cnf_popup_btn .cnf_btn.cancel_config_form {
    background: transparent;
    border-color: #000;
    color: #000;
}

.configuration_form_main_wrap {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 32.381%;
    gap: var(--space-l);
    align-items: flex-start;
}

.cnf_step_1_values {
    background: var(--secondary);
    min-height: 373px;
    padding: 34px 30px;
}

.cnf_step_1_values ul {
    padding: var(--space-m) 0 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cnf_step_1_values ul li {
    position: relative;
    padding-left: 30px;
    font-size: 14px;
    font-weight: 400;
    color: #2A2B2C;
}

.cnf_step_1_values ul li::before {
    content: '';
    background-image: url(/wp-content/uploads/2024/08/Icon.svg);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 1px;
    left: 0;
}

.cnf_step_1_values ul li strong {
    font-weight: 600;
}

.cnf_values_title {
    font-weight: 700;
    font-size: var(--text-m);
    line-height: 29px;
    color: #2A2B2C;
    margin-block: -0.36em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.configuration_form .field_error {
    border-color: red;
    color: red;
}

.configuration_form .field_error::placeholder {
    color: red !important;
}

.cnf_result {
    display: grid;
    grid-template-columns: 37.268% 1fr;
    grid-template-rows: 1fr;
    /*     gap: 24px; */
    gap: 2.4rem 5rem;
}

.cnf_result_img {
    height: 100%;
}

.cnf_result_img img {
    aspect-ratio: 401/467;
    object-fit: cover;
    height: 100%;
}

.cnf_result_inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cnf_result_desc {
    margin-top: auto;
    margin-bottom: 35px;
    line-height: 1.43;
    color: #2A2B2C;
    font-size: var(--text-m);
}

.cnf_result_info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: calc(var(--space-m) * 0.9);
    margin-bottom: var(--space-m);
}

.info_item {
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    color: #2A2B2C;
    display: flex;
    /*     max-width: 216px; */
    width: 100%;
    /*     justify-content: space-between; */
    justify-content: flex-start;
    gap: 24px;
}

.info_item span.info_item_tag {
    text-transform: uppercase;
    max-width: 80px;
    width: 100%;
}

.cnf_result_title {
    font-weight: 400;
    font-size: var(--h4);
    line-height: var(--h4-lh);
    max-width: 400px;
    margin-top: -0.3em;
    padding-bottom: 12px;
}

.cnf_result_title span {
    color: var(--accent);
    display: block;
    font-weight: 800;
}

.cnf_popup {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, .7);
    width: 100%;
    left: 0;
    z-index: 9999;
    min-height: 100vh;
    overflow: auto;
    display: none;
    height: 100%;
    margin: 0 !important;
}

.cnf_popup_inner {
    display: table;
    width: 100%;
    height: 100%;
}

.cnf_popup_wrap {
    padding: 80px 20px;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.cnf_popup_cont {
    max-width: 772px;
    margin: 0 auto;
    background: #fff;
    padding: 54px 20px;
    position: relative;
    border-radius: 20px;
    text-align: center;
    box-shadow: 10px 10px 24px 0px #A6B4C866;
    border: 0.5px solid #C6CEDA;
}

.cnf_popup_close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.cnf_popup_close img {
    width: 24px;
    height: auto;
}

.cnf_popup_title {
    padding-bottom: var(--space-l);
    font-size: var(--h3);
    font-weight: 700;
    line-height: 1.36;
    text-align: center;
    max-width: 500px;
    margin-inline: auto;
    margin-block: -0.3em;
}

.cnf_popup .cnf_loader .cnf_loader_icon {
    margin-bottom: 3rem;
}

.cnf_popup .cnf_loader .cnf_popup_title {
    padding: 0;
    max-width: 460px;
    font-size: calc(var(--h3) - 6px);
}

.cnf_popup .cnf_loader {
    padding: 2rem 0;
}

.cnf_popup_btn {
    margin: 0 auto;
    width: fit-content;
    width: -moz-fit-content;
}

.cnf_popup.processing .cnf_popup_cont .cnf_popup_btn {
    pointer-events: none;
    opacity: 0.6;
}

.checkbox_wrap {
    position: relative;
}

.cnf_item.checkbox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox_wrap input {
    position: absolute;
    opacity: 0;
}

.checkbox_wrap label {
    position: relative;
    padding-left: 26px;
    font-weight: 400;
    text-transform: none;
    margin: 0;
    padding-bottom: 0;
    cursor: pointer;
}

.checkbox_wrap label::after {
    width: 14px;
    height: 14px;
    content: '';
    border: 1px solid #2A2B2C;
    position: absolute;
    left: 0;
    top: 1px;
}

.checkbox_wrap label a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.checkbox_wrap label::before {
    content: '';
    position: absolute;
    background: currentColor;
    width: 8px;
    height: 8px;
    left: 3px;
    top: 4px;
    transition: all .3s ease;
    opacity: 0;
}

.checkbox_wrap input:checked+label::before {
    opacity: 1;
}

.checkbox_wrap input.field_error+label {
    color: red;
}

.checkbox_wrap input.field_error+label::after {
    border-color: red;
}

.cnf_result_inner .cnf_item.on_submit a.cnf_btn {
    flex-grow: 1;
}

.configuration_form .cnf_btn.old_result {
    display: none;
}

span.cnf_step_1_values_close {
    filter: invert(1) brightness(0);
    cursor: pointer;
    display: none;
}

a.cnf_btn.old_result_step2 {
    flex-grow: 1;
    display: none;
}

/* ******************************** Configuration Form ******************************** */

.cnf_item.on_submit.on_fixed {
    position: fixed;
    z-index: 9;
    bottom: 0;
    background: #fff;
    width: 100%;
    left: 0;
    padding: 2.4rem 2rem;
    display: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    pointer-events: none;
    opacity: 0;
}

@media (max-width:768px) {
    .cnf_item.on_submit.on_fixed {
        display: block;
    }

    .cnf_item.on_submit.on_fixed button {
        width: 100%;
    }

    .cnf_item.on_submit.on_fixed.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* ******************************** Responsive ******************************** */

main#brx-content {
    overflow: hidden;
}

@media(max-width:1350px) {
    .solution-sec__container::after {
        width: calc(calc(var(--space-m) * 3) + 31.3%);
    }

    .configuration_form_main_wrap {
        grid-template-columns: 1fr 400px;
    }
}

@media(max-width:1200px) {
    .solution-sec__container::after {
        width: calc(calc(var(--space-m) * 3) + 30%);
    }

    #brx-header .site_logo img {
        height: calc(var(--space-m) * 2.8) !important;
    }

    #brx-header.cust_sticky .site_logo img {
        height: calc(var(--space-m) * 2.5) !important;
    }

    header#brx-header.cust_sticky .site_logo {
        transition: unset;
    }

    .configuration.step_2 .configuration_form_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .configuration.step_2 .configuration_form_wrap>br {
        display: none;
    }

    .cnf_result {
        grid-template-columns: 1fr;
    }

    .cnf_result_img {
        max-width: 220px;
        padding-bottom: 2rem;
    }
}

@media(max-width:1024px) {

    span.info-card__link span.icon {
        margin-top: 1px;
    }

    .solution-sec__container::after {
        width: var(--section-padding-x);
    }

    .configuration_form_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .configuration.step_2 .configuration_form_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .configuration_form_main_wrap {
        grid-template-columns: 1fr 350px;
    }

    .cnf_item.half {
        grid-column: unset;
    }

    .configuration_form_wrap>br {
        display: none;
    }
}

@media(max-width:767px) {
    .brxe-post-content figure.wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    span.cnf_step_1_values_close {
        display: flex;
    }

    .configuration_form_wrap,
    .configuration_form_main_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .configuration_form .cnf_btn.old_result,
    a.cnf_btn.old_result_step2 {
        display: block;
    }

    .cnf_step_1_values {
        position: fixed;
        top: auto;
        left: 0;
        z-index: 999;
        height: 100dvh;
        overflow: auto;
        bottom: 0;
        width: 100%;
        transition: all .3s ease-in-out;
        transform: translateX(100%);
    }

    .cnf_step_1_values.active {
        transform: translateX(0%);
    }
}

@media(max-width:575px) {
    .post-slider__card .post-slider__inner {
        transform: translateY(0);
    }

    .post-slider__card .post-slider__content .post-slider__wrap {
        opacity: 1;
    }

    body.home #brx-header .icon_wrap {
        filter: unset;
    }

    header#brx-header.cust_sticky .brxe-section {
        padding: 1.6rem var(--section-padding-x);
    }

    .configuration_form .cnf_item.on_submit {
        margin-top: 1rem;
        grid-column: 1/-1;
        width: 100%;
    }
}

/* ******************************** Responsive ******************************** */