/*
Theme Name: Center legion
Theme URI: http://underscores.me/
Author: iDepTrai
Author URI: https://ideptrai.com/
Description: Description
Version: 1.0.72
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: center-legion
*/

.wpcf7-spinner {
    display: none;
}
.wpcf7-response-output {
    color: #ffb900;
}

.header__nav > li > a {
    padding: 8px;
}
.header__nav > li:first-child > a {
    padding-left: 0;
}
.header__nav > li:last-child > a {
    padding-right: 0;
}
.header__nav ul {
    list-style: none;
    margin: 0 !important;
}
.header__nav a {
    text-decoration: none;
    color: #151515;
    display: block;
}
.header__nav .menu-item-has-children {
    position: relative;
}
.header__nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    padding: 4px 0;
    border: 1px solid rgba(0, 0, 0, 0.175);
    background: #fff;
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}
.header__nav li:hover > .sub-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: all 0.5s ease;
}
.header__nav .sub-menu a {
    padding: 4px 16px;
}
.header__nav .sub-menu a:hover {
    background-color: #f8f9fa;
}
.header__nav .menu-item-has-children > a:after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.header__nav > li > .sub-menu > li .sub-menu {
    left: 100%;
    top: -4px;
    width: 360px;
}

.nav__service {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav__service a {
    text-decoration: none;
    color: #151515;
    padding: 11px 0;
    display: block;
}
.nav__service a:hover {
    color: #1B508E;
}
.nav__service .menu-item {
    position: relative;
}
.nav__service .menu-item + .menu-item {
    border-top: 1px solid #ced9e1;
}
.nav__service .menu-item-has-children {
    cursor: pointer;
}
.nav__service .menu-item-has-children a {
    margin-right: 36px;
}
.nav__service .menu-item-has-children::after {
    /*content: "";*/
    /*width: 34px;*/
    /*height: 34px;*/
    /*border-radius: 50%;*/
    /*background: #1B508E url("img/ico-plus.svg") no-repeat center center;*/
    /*display: inline-flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*pointer-events: auto;*/
    top: 22px;
    right: 0;
    position: absolute;
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.nav__service .menu-item-has-children.active::after {
    /*content: "";*/
    /*background: #f0f3f6 url("img/ico-minus.svg") no-repeat center center;*/
    transform: rotate(90deg);
}
.nav__service .sub-menu {
    display: none;
    list-style: none;
    margin: 0 0 0.5rem 0;
    padding: 0;
    font-size: 1rem;
}
.nav__service .sub-menu .menu-item {
    border: 0;
}
.nav__service .sub-menu a {
    color: #8C8C8C;
    padding: 4px 0;
}
.nav__service .sub-menu a:hover {
    color: #1B508E;
}
.nav__service .menu-item-has-children.active .sub-menu {
    display: block;
}

.border-start .row .col {
    min-height: 42px;
    align-content: center;
}

@media (max-width: 991px) {
    .header__nav > li {
        display: block;
    }
    .header__nav > li:not(:last-child) {
        margin-right: 0;
    }
    .header__nav li {
        border-bottom: 1px solid #e2e9ee;
    }
    .header__nav li:first-child {
        border-top: 1px solid #e2e9ee;
    }
    .header__nav > li > a {
        padding: 12px 0;
    }
    .header__nav > .sub-menu > a {
        padding-right: 24px;
    }

    .header__nav > .menu-item-has-children {
        position: relative;
    }
    .header__nav .menu-item-has-children a {
        margin-right: 42px;
    }
    .header__nav .menu-item-has-children a::after {
        display: none;
    }

    .header__nav .menu-item-has-children::after {
        content: "";
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #1B508E url("img/ico-plus.svg") no-repeat center center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
        right: 0;
        position: absolute;
    }
    .header__nav .menu-item-has-children.active::after {
        content: "";
        background: #f0f3f6 url("img/ico-minus.svg") no-repeat center center;
    }
    .header__nav .sub-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        width: 100%;
        display: none;
        border: 0;
    }
    .header__nav > li > .sub-menu > li .sub-menu {
        width: 100%;
    }
    .header__nav .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    .header__nav .sub-menu li:last-child {
        border: none;
    }
    .header__nav .sub-menu a {
        padding: 12px 0 12px 15px;
    }
    .header__nav .sub-menu .sub-menu a {
        padding-left: 30px;
    }
    .header__nav .sub-menu .sub-menu .sub-menu a {
        padding-left: 45px;
    }

    .bg-scheme {
        background: none;
    }
    .media__scheme .h1 {
        margin-bottom: 1rem;
    }
    
    .calculate__cost .border, .calculate__cost .border-start, .calculate__cost .border-end {
        border: 0 !important;
    }
    .calculate__cost .calculate__cost-item + .calculate__cost-item {
        margin-top: 8px;
    }
    .border-start .row .col {
        min-height: auto !important;
    }
}

@media (min-width: 428px) and (max-width: 767px) {
    .feedback__block .bg__iphone {
        height: 960px;
    }
    .feedback__block .carousel {
        width: 250px;
        height: 500px;
        margin-left: 16.5%;
        margin-top: -90px;
    }
}
