/*
Theme Name:        Atlant
Theme URI:
Author:            Alex P. Stanogin
Author URI:        https://pw-studio.ru
Description:       Child theme for the Front
Requires at least: WordPress 5.0
Template:          front
Version:           1.1.3
License:           GNU General Public License v2 or later
License URI:       LICENSE
Text Domain:       front-child
Tags:              two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, footer-widgets, sticky-post, theme-options
*/

/* Theme Colors */
.primary-color {
    color: #990000;
}

.primary-color-dark {
    color: #770000;
}


/* Custom Fonts */
@font-face {
    font-family: 'Days One';
    src: url('/media/fonts/days.woff2') format('woff2'),
    url('/media/fonts/days.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/media/fonts/opensans-400.woff2') format('woff2'),
    url('/media/fonts/opensans-400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/media/fonts/opensans-400i.woff2') format('woff2'),
    url('/media/fonts/opensans-400i.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/media/fonts/opensans-700.woff2') format('woff2'),
    url('/media/fonts/opensans-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/media/fonts/opensans-700i.woff2') format('woff2'),
    url('/media/fonts/opensans-700i.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body,
input[type=text], input[type=password], input[type=number], input[type=tel], input[type=email], input[type=search], textarea {
    font-family: 'Open Sans', Arial, sans-serif;
}


h1, h2, h3,
.primary-font,
input[type=submit], input[type=button] {
    font-family: 'Days One', Helvetica, Arial, sans-serif;
}

/*=== jQuery bxSlider Styles ===*/
.bx-wrapper {position: relative;margin-bottom: 40px;padding: 0;*zoom: 1;-ms-touch-action: pan-y;touch-action: pan-y;}
.bx-wrapper img {max-width: 100%;display: block;}
.bxslider {margin: 0;padding: 0;-webkit-perspective: 1000;}
ul.bxslider {list-style: none;}
.bx-viewport {-webkit-transform: translateZ(0);}

/* THEME */
.bx-wrapper {

}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {position: absolute;bottom: -30px;width: 100%;}

/* LOADER */
.bx-wrapper .bx-loading {min-height: 50px;background: url('./bx_loader.gif') center center no-repeat #fff;height: 100%;width: 100%;position: absolute;top: 0;left: 0;z-index: 2000;}

/* PAGER */
.bx-wrapper .bx-pager {text-align: center;font-size: .85em;font-weight: bold;color: #666;padding-top: 20px;}
.bx-wrapper .bx-pager.bx-default-pager a {background: #666;text-indent: -9999px;display: block;width: 10px;height: 10px;margin: 0 5px;outline: 0;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus {background: #000;}
.bx-wrapper .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {display: inline-block;vertical-align: bottom;}
.bx-wrapper .bx-pager-item {font-size: 0;line-height: 0;}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-controls-direction a {position: absolute;top: 50%;margin-top: -16px;outline: 0;width: 32px;height: 32px;padding: 8px 0;z-index: 9999;text-align: center;font: bold 16px/16px 'Open Sans', Arial, sans-serif;color: #700;background-color: rgba(255,255,255,.3);border-radius: 17px;}
.bx-wrapper .bx-controls-direction a.disabled {display: none;}
.bx-wrapper .bx-prev {left: -32px;}
.bx-wrapper .bx-next {right: -32px;}
.bx-wrapper .bx-controls-direction a svg {display: inline-block;width: 16px;height: 16px;fill: #fff;}
.bx-wrapper .bx-controls-direction a:hover, .bx-wrapper .bx-controls-direction a:focus {background: #fff;}
.bx-wrapper .bx-controls-direction a:hover svg , .bx-wrapper .bx-controls-direction a:focus svg {fill: #900;}


/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {text-align: center;}
.bx-wrapper .bx-controls-auto .bx-start {display: block;text-indent: -9999px;width: 10px;height: 11px;outline: 0;background: url('./controls.png') -86px -11px no-repeat;margin: 0 3px;}
.bx-wrapper .bx-controls-auto .bx-start:hover, .bx-wrapper .bx-controls-auto .bx-start.active, .bx-wrapper .bx-controls-auto .bx-start:focus {background-position: -86px 0;}
.bx-wrapper .bx-controls-auto .bx-stop {display: block;text-indent: -9999px;width: 9px;height: 11px;outline: 0;background: url('./controls.png') -86px -44px no-repeat;margin: 0 3px;}
.bx-wrapper .bx-controls-auto .bx-stop:hover, .bx-wrapper .bx-controls-auto .bx-stop.active, .bx-wrapper .bx-controls-auto .bx-stop:focus {background-position: -86px -33px;}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {text-align: left;width: 80%;}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {right: 0;width: 35px;}

/* === /jQuery bxSlider Styles ===*/



.ct-header [data-row="middle"] > .ct-container [data-column='end'] .cf7-button-popup {
    margin-bottom: 0;
    padding: 12px 15px;
    /*max-width: 100px;*/
    text-align: center;
    text-transform: uppercase;
}

.ct-header .ct-contact-info {
    max-width: 260px;
}

.ct-header .ct-contact-info ul li:not(:last-child) {
    margin-right: 0;
}

.ct-header .site-logo {
    width: 265px;
}

.ct-header [data-device="desktop"] [data-row="middle"] > .ct-container {
    grid-template-columns: 250px auto 470px;
}

.ct-header [data-row="middle"] > .ct-container [data-column='start'] {
    width: 250px;
}

.ct-header [data-row="middle"] > .ct-container [data-column='middle'] {
    justify-content: center;
}

/*.ct-header [data-row="middle"] > .ct-container [data-column='middle'] > [data-items] {
    width: 90%;
}*/

#header-menu-1[data-stretch] > ul {
    justify-content: center !important;
}

#menu-main-menu > li > a {
    text-align: center;
    /*font-size: 16px;*/
}

/*#menu-main-menu > li > a > span {
    display: block;
    text-align: center;
}*/

.mobile-menu > ul > li > a > br {
    display: none;
    /*padding-left: .5em;*/
}


.cf7-pop-up {
    width: 400px;
    max-width: 90%;
    -webkit-box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, .6);
    -moz-box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, .6);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,.6);
}

.cf7-pop-up > .cf7-inner {
    border: 2px solid #900;
}

.cf7-pop-up > .cf7-inner > .cf7-close-button {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    left: unset;
    right: 0;

    margin-right: -15px;
    margin-top: -15px;

    padding: 2px 7px;
    border-radius: 50%;
    border: 0 none;
    -webkit-box-shadow: -4px -2px 6px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -4px -2px 6px 0 rgba(0, 0, 0, 0.1);
    box-shadow: -3px 1px 6px 0 rgba(0, 0, 0, 0.1);

    background: #900 url(/wp-content/plugins/contact-form-7-popup/frontend/images/close.png) center center no-repeat;
    color: #fff;

    overflow: hidden;
    text-indent: -9999em;
    transition: all 0.5s ease;
}

.cf7-pop-up > .cf7-inner > .cf7-header {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    line-height: 1.2;
    background-color: #900;
    color: #fff;
    text-align: center;
    /*border-bottom: 2px solid #900;*/
}

.cf7-pop-up > .cf7-inner > .cf7-content {
    padding: 15px;
    background: #fff;
}

.qubely-section.red-background {
    background-color: #900;
    color: #fff;
}

.red-background a {
    color: #ddd;
    /*text-decoration: underline;*/
}

.red-background a:hover,
.red-background a:active {
    color: #fff;
    /*text-decoration: none;*/
}

.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 30px;
}

.form-row > .form-column {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    flex: 50%;
    max-width: 50%;
}

.form-row > .form-column.one-third {
    flex: 33.33%;
    max-width: 33.33%;
}

.form-row > .form-column.fullwidth {
    flex: 100%;
    max-width: 100%;
}

.form-row > .form-column .column-wrapper + .column-wrapper {
    margin-top: 15px;
}

.form-row .wpcf7-radio > .wpcf7-list-item,
.form-row .wpcf7-checkbox > .wpcf7-list-item{
    display: block;
    margin: 0 0 5px;
}

.wpcf7 .form-row .buttons,
.wpcf7 .form-button-right {
    overflow: hidden;
}

.wpcf7 .form-row .buttons .wpcf7-submit,
.wpcf7 .form-button-right .wpcf7-submit {
    float: right;
}


.cf7-text-browser a {
    background: #900;
    font-weight: 700;
    color: #fff !important;
    font-size: 18px;
}

.cf7-text-browser a:hover,
.cf7-text-browser a:active {
    background: #700;
    color: #fff !important;
}

.cf7-dragandrophandler {
    border-color: #888;
    color: #888;
}

.form-row > .form-column .column-wrapper + .column-wrapper.result {
    margin-top: 30px;
    margin-bottom: 30px;
}

.calculator-block .price {
    font-size: 22px;
    line-height: 1;
}

.calculator-block .price > span {
    font-weight: 700;
    color: #900;
}

.calculator-block a.show-order-form {
    background-color: #900;
    color: #fff;
    border-radius: 4px;
}

.calculator-block a.show-order-form:hover,
.calculator-block a.show-order-form:active {
    background-color: #700;
    color: #fff;
}

.red-background .bx-wrapper .bx-pager.bx-default-pager a {
    background: #700;
}

.red-background .bx-wrapper .bx-pager.bx-default-pager a:hover,
.red-background .bx-wrapper .bx-pager.bx-default-pager a.active,
.red-background .bx-wrapper .bx-pager.bx-default-pager a:focus {
    background: #fff;
}


.fp-slider-section .wp-block-qubely-column {
    width: 100%;
}

.fp-slider__slide {
    position: relative;
}

.fp-slider__slide__side-block {
    display: none;
}

.fp-slider__slide__cta {
    padding: 30px 0;
}

.fp-slider__slide__title {
    margin-bottom: 0;
    font-family: 'Days One', Helvetica, Arial, sans-serif;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,.95);
    color: #fff;
}

.fp-slider__slide__btn-wrapper {
    margin: 50px 0 40px;
    text-align: center;
}

a.fp-slider__slide__button {
    display: inline-block;
    width: 15em;
    max-width: 100%;
    padding: 15px 30px;
    font-family: 'Days One', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    background: #fff;
    color: #900;
    border-radius: 36px;
    box-shadow: 2px 3px 10px rgba(0,0,0,1);
}

a.fp-slider__slide__button:hover,
a.fp-slider__slide__button:active {
    color: #700;
    box-shadow: 2px 3px 15px rgba(0, 0, 0, 1);
}

.fp-slider__slide__note {
    font-family: 'Days One', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, .95);
    color: #fff;
}

@media (min-width: 480px) {

}


@media (min-width: 690px) {

    .fp-slider__slide__title br,
    .fp-slider__slide__note br {
        display: none;
    }
}


@media (min-width: 1000px) {

    .ct-header [data-device="desktop"] [data-row="middle"] > .ct-container {
        grid-template-columns: 250px auto 425px;
    }

    .ct-header [data-column='end'] > [data-items='primary'] {
        justify-content: flex-start;
    }

    .ct-header .ct-contact-info {
        max-width: 220px;
    }

    [data-header*="type-1"] [data-id="contacts"] .contact-info {
        font-size: 14px;
    }

    .ct-header [data-row="middle"] > .ct-container [data-column='end'] .cf7-button-popup {
        font-size: 14px;
        padding: 6px 15px;
        max-width: 125px;
    }


    /* Слайдер на главной */
    .fp-slider__slide__cta {
        padding: 5.5% 0;
        width: 49.1%;
    }

    .fp-slider__slide__title {
        font-size: 46px;
    }


    a.fp-slider__slide__button {
        font-size: 24px;
    }

    .fp-slider__slide__note {
        font-size: 26px;
    }

    .fp-slider__slide__title br,
    .fp-slider__slide__note br {
        display: block;
    }


    .fp-slider__slide__side-block {
        display: block;
        position: absolute;
    }

    .fp-slider__slide__side-block__imgwrapper {
        position: relative;
    }

    .fp-slider__slide__side-block__imgwrapper a {
        display: block;
    }

    .fp-slider__slide__side-block__imgwrapper img {
        width: 100%;
        height: auto;
        border: 2px solid #fff;
        border-radius: 20px;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block {
        width: 22%;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block_1 {
        right: 0;
        top: 2%;
        z-index: 3;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block_2 {
        right: 11.935%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block_3 {
        right: 23.87%;
        bottom: 2%;
        z-index: 1;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block {
        width: 17%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block_1 {
        right: 0;
        top: 2%;
        z-index: 1;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block_2 {
        right: 9%;
        top: 26%;
        /*transform: translateY(-50%);*/
        z-index: 2;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block_3 {
        right: 17%;
        top: 50%;
        /*transform: translateY(-50%);*/
        z-index: 1;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block_4 {
        right: 26%;
        bottom: 3%;
        z-index: 2;
    }


    .fp-slider__slide__side-block__balloon {
        position: absolute;
        max-width: 100%;
        color: #900;
        right: 0;
        top: 0;
        z-index: 1;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        line-height: 1.3;

        background-position: center;
        background-repeat: no-repeat !important;
        background-size: 100% 100%;
        margin: 0 auto;
        height: 0;
        box-sizing: content-box;
    }

    .fp-slider__slide__side-block__balloon_1 {
        background: url(/media/balloons/balloon-right.svg);
        width: 100%;
        padding: 3% 15% 32% 2%;
        right: 73%;
        top: -3%;
    }

    .fp-slider__slide__side-block__balloon_2 {
        background: url(/media/balloons/balloon-left-1.svg);
        width: 100%;
        padding: 2% 2% 24% 0%;
        left: 72%;
        top: 28%;
        right: auto;
    }

    .fp-slider__slide__side-block__balloon_3 {
        background: url(/media/balloons/balloon-left-2.svg);
        width: 100%;
        padding: 0% 2% 40% 17%;;
        left: 73%;
        top: 27%;
        right: auto;
    }


    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon {
        font-size: 11px;
        line-height: 1.2;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_1 {
        padding: 2% 15% 33% 3%;
        right: 79%;
        top: -3%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_2 {
        padding: 0% 1% 37% 16%;
        left: 45%;
        top: 40%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_3 {
        padding: 2% 0 33% 9%;
        left: 73%;
        top: 37%
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_4 {
        background: url(/media/balloons/balloon-left-2.svg);
        width: 100%;
        padding: 0% 5% 45% 28%;
        left: 81%;
        top: 24%;
        right: auto;
    }


    footer.ct-footer [data-row="middle"] [data-column="widget-area-2"] .menu-item,
    footer.ct-footer [data-row="middle"] [data-column="widget-area-2"] .entry-content.custom-html-widget {
        text-align: right;
    }
}

@media (min-width: 1200px) {
    [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
        font-size: 14px;
    }

    .ct-header [data-device="desktop"] [data-row="middle"] > .ct-container {
        grid-template-columns: 250px auto 470px;
    }

    .ct-header [data-column='end'] > [data-items='primary'] {
        justify-content: flex-end;
    }

    .ct-header .ct-contact-info {
        max-width: 260px;
    }

    [data-header*="type-1"] [data-id="contacts"] .contact-info {
        font-size: 16px;
    }

    .ct-header [data-row="middle"] > .ct-container [data-column='end'] .cf7-button-popup {
        font-size: 16px;
        padding: 12px 15px;
        max-width: 100%;
    }

    /* Слайдер на главной */
    .fp-slider__slide__cta {
        width: 50%;
    }

    .fp-slider__slide__title {
        font-size: 56px;
    }


    a.fp-slider__slide__button {
        font-size: 26px;
    }

    .fp-slider__slide__note {
        font-size: 28px;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block {
        width: 19.5%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block {
        width: 15%;
    }

    .fp-slider__slide__side-block__balloon_1 {
        padding: 3% 15% 32% 2%;
        right: 73%;
        top: -3%;
    }

    .fp-slider__slide__side-block__balloon_2 {
        padding: 3% 0 25% 0;
        left: 75%;
        top: 28%;
    }

    .fp-slider__slide__side-block__balloon_3 {
        padding: 1% 0 36% 15%;
        left: 73%;
        top: 27%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_1 {
        padding: 2% 15% 33% 3%;
        right: 79%;
        top: -3%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_2 {
        padding: 0% 1% 37% 16%;
        left: 45%;
        top: 40%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_3 {
        padding: 2% 0 33% 9%;
        left: 73%;
        top: 37%
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_4 {
        padding: 0% 5% 45% 28%;
        left: 81%;
        top: 24%;
    }


}

@media (min-width: 1440px) {
    [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
        font-size: 16px;
    }

    /* Слайдер на главной */
    .fp-slider__slide__title {
        font-size: 60px;
    }

    .fp-slider__slide__note {
        font-size: 30px;
    }

    .fp-slider__slide_thumbs-3 .fp-slider__slide__side-block {
        width: 18%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block {
        width: 14%;
    }

    .fp-slider__slide__side-block__balloon_1 {
        padding: 3% 15% 32% 2%;
        right: 73%;
        top: -3%;
    }

    .fp-slider__slide__side-block__balloon_2 {
        padding: 4% 0 24% 0;
        left: 72%;
        top: 28%;
    }

    .fp-slider__slide__side-block__balloon_3 {
        padding: 2% 0 36% 15%;
        left: 73%;
        top: 27%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon {
        font-size: 12px;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_1 {
        padding: 3% 15% 33% 3%;
        right: 79%;
        top: -3%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_2 {
        padding: 1% 2% 35% 17%;
        left: 56%;
        top: 40%;
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_3 {
        padding: 2% 0 33% 9%;
        left: 73%;
        top: 37%
    }

    .fp-slider__slide_thumbs-4 .fp-slider__slide__side-block__balloon_4 {
        padding: 2% 2% 43% 26%;
        left: 81%;
        top: 24%;
    }


}


@media (max-width: 1170px) {
    [data-device="desktop"] [data-menu="type-1"] > ul > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    [data-device="desktop"] [data-menu="type-1"] > ul > li:first-child > a {
        padding-left: 0;
    }

    [data-device="desktop"] [data-menu="type-1"] > ul > li:last-child > a {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .form-row > .form-column {
        flex: 100%;
        max-width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .form-row > .form-column:last-child {
        margin-bottom: 0;
    }

}

@media (max-width: 620px) {
    .form-row > .form-column.one-third {
        flex: 100%;
        max-width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .form-row > .form-column.one-third:last-child {
        margin-bottom: 0;
    }

    .calculator-block .result,
    .calculator-block .show-order-button,
    .calculator-block .preview-image {
        text-align: center;
    }

    .calculator-block .preview-image img {
        width: 200px;
        max-width: 100%;
        height: auto;
    }

}