.iti__country::before {
    display: none;
}

.iti__divider::before {
    display: none;
}

.iti__flag {
    background-image: url(../img/flags.png);
}

.iti__arrow {
    border: none;
    background-image: url(../img/bottom-arrow.svg);
    width: 10px;
    height: 10px;
}

.iti__selected-flag {
    outline: none;
}

.iti__country-list {
    max-width: 230px;
}

span.wpcf7-list-item {
    margin: 0 !important;
}

div.wpcf7 .ajax-loader {
    display: none;
}

#yandexmapa {
    width: 100%;
    height: 508px;
}

.contacts-column #yandexmapa {
    width: 100%;
    height: 400px;
}

@media (min-width: 1024px) {
    .contacts-column {
        width: 50%;
    }
    .contacts-column #yandexmapa {
        width: 100%;
        height: 100%;
    }
}

.breadcrumbs {
    font-size: 16px;
    line-height: 1;
    font-weight: normal;
    color: #99BACA;
}

.breadcrumbs-item {
    margin-bottom: 0;
}


/* .breadcrumbs {
    margin-top: 30px;
    margin-bottom: 30px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    
    color: #99BACA;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    color: #333333;
}

.breadcrumbs svg {
    padding-left: 10px;
    padding-right: 10px;
}

.breadcrumbs a:hover {
    color: #99BACA;
} */


/* .contact p {
    margin: 0;
} */


/* .contact h2 {
    margin: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 32px;
} */

.contact h3 {
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: 40px;
    /* or 111% */
    margin: 0;
    margin-bottom: 20px;
}


/* Контакты */

.contact__wrap {
    display: flex;
    justify-content: space-between;
    margin-top: -125px;
    position: relative;
    padding-bottom: 100px;
}

.contact__column {
    background: #FFFFFF;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 60px 85px 55px 105px;
}

.contact__column:first-child {
    width: 33%;
    display: flex;
    flex-direction: column;
}

.contact__column:last-child {
    width: 65%;
}

.contact__subtitle {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.contact__info {
    margin-bottom: 25px;
    display: block;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
    width: 90%;
}

a.contact__info {
    color: inherit;
    text-decoration: none;
}

.contact__social {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin: 0 -4px;
    margin-top: auto;
}

.contact__social li::before {
    display: none;
}

.contact__social li {
    padding: 0px 4px;
}

.contact__form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 25px;
}

.contact__form label {
    width: 31%;
    display: block;
}

.contact__form .contact__text {
    width: 100%;
    margin-top: 25px;
}

.contact__form,
.modal__form {
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #A4A5AC;
}

.contact__form input,
.modal__form input {
    width: 100%;
    border: none;
    box-sizing: border-box;
    border-bottom: 1px solid #D2D2D2;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    outline: none;
}

.contact__form textarea,
.modal__form textarea {
    width: 100%;
    border: none;
    box-sizing: border-box;
    border-bottom: 1px solid #D2D2D2;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    outline: none;
    max-height: 50px;
}

.modal__form input::placeholder,
.modal__form textarea::placeholder {
    color: #333333;
}

.modal__form input,
.modal__form textarea {
    margin-bottom: 25px;
}

.modal__form .margin {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 25px;
}

.modal__form textarea {
    max-height: 64px;
}

.contact__licenses {
    font-style: normal;
    font-weight: 300;
    font-size: 13px;
    line-height: 15px;
    width: 60%;
}

.modal__licences {
    font-style: normal;
    font-weight: 300;
    font-size: 13px;
    line-height: 15px;
}

.contact__licenses a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #333333;
}

.modal__licences a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #333333;
}

input[type="checkbox"] {
    display: none;
}

.contact__licenses label,
.modal__licences label {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.contact__licenses label::before,
.modal__licences label::before {
    content: "";
    /* position: absolute; */
    width: 16px;
    height: 16px;
    border: 1px solid #D2D2D2;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact__licenses label::after,
.modal__licences label::after {
    content: "";
    position: absolute;
    left: 1px;
    width: 16px;
    height: 16px;
    background-image: url(../img/checking-mark.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.5s ease;
}

.contact__licenses label.active::after,
.modal__licences label.active::after {
    opacity: 1;
}

.contact__licenses .wpcf7-form-control-wrap,
.modal__licences .wpcf7-form-control-wrap {
    display: none;
}

.contact__btn-wrap {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

input[type="submit"] {
    background-color: #00589A;
    padding: 15px 75px 15px 35px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    /* or 111% */
    text-align: right;
    color: #FFFFFF;
    border: none;
    background-image: url(../img/mail-send.svg), url(../img/send-ok.svg);
    background-repeat: no-repeat;
    background-position: 90% 50%, 90% 210%;
    cursor: pointer;
    outline: none;
    transition: all 1s ease;
}

input[type="submit"].sended {
    background-color: #039A00;
    background-position: 90% -210%, 90% 50%;
}

@media(max-width:1024px) {
    input[type="submit"] {
        font-size: 14px;
        line-height: 18px;
    }
}

@media(max-width:400px) {
    input[type="submit"] {
        background-image: none;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

input[type="submit"]:disabled {
    opacity: 0.5;
}

.modal input[type="submit"] {
    width: 100%;
    margin-top: 25px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
    display: block;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border: 1px solid #dc3232;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #00a0d2;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact {
    background-image: url(../img/bg.jpg);
    /* background-size: 100%; */
    background-position-y: bottom;
    background-repeat: no-repeat;
}

@media(max-width:1280px) {
    .iti {
        width: auto;
        max-width: none;
    }
    .iti__country-list {
        max-width: none;
    }
    .contact__column {
        background: #FFFFFF;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        padding: 60px 45px 60px 45px;
    }
    .contact__form label {
        width: 48%;
        display: block;
        margin-bottom: 20px;
    }
    .contact__form label:nth-child(3) {
        width: 100%;
    }
    .contact__licenses {
        width: 50%;
    }
    .contact__form .contact__text {
        margin-top: 0;
    }
    .contact__btn-wrap {
        margin-top: 0;
    }
}

@media(max-width:1024px) {
    .container {
        padding: 0 30px;
    }
    .contact__column {
        padding: 40px 40px 40px 40px;
    }
    .contact__form label {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
    .contact__form label:nth-child(3) {
        width: 100%;
    }
    .contact__licenses {
        width: 100%;
        margin-bottom: 15px;
    }
    .contact__form .contact__text {
        margin-top: 0;
    }
    .contact__btn-wrap {
        margin-top: 0;
        flex-wrap: wrap;
    }
    .contact__form input {
        padding-top: 0;
    }
    .contact__column:first-child {
        width: 42%;
    }
    .contact__column:last-child {
        width: 55%;
    }
    .contact input[type="submit"] {
        width: 100%;
        text-align: center;
        padding: 15px 65px 15px 35px;
        background-position: 70% center, 70% 100px;
        cursor: pointer;
        outline: none;
        transition: all 1s ease;
    }
    .contact input[type="submit"].sended {
        background-color: #039A00;
        background-position: 70% -100px, 70% center;
    }
}

@media(max-width:767px) {
    .container {
        padding: 0 20px;
    }
    .contact__wrap {
        flex-wrap: wrap;
    }
    .contact__column {
        width: 100%;
        padding: 30px;
    }
    .contact__column:first-child {
        width: 100%;
        margin-bottom: 10px;
    }
    .contact__column:last-child {
        width: 100%;
    }
    /* .contact h2 {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 20px;
    } */
    .contact h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    #yandexmapa {
        width: 100%;
        height: 360px;
    }
    .contact__wrap {
        margin-top: -50px;
    }
}

.wp-block-image {
    position: relative;
    z-index: 1;
    margin: 12px 0;
    margin-right: 12px;
    margin-bottom: 40px;
}

.wp-block-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -12px;
    left: 12px;
    width: 100%;
    height: 100%;
    border: 1px solid #b0cbd8;
}

@media (min-width: 1024px) {
    .wp-block-image::before {
        bottom: -20px;
        left: 20px;
        width: calc(100% - 12px);
    }
}

.about-nav-list li {
    margin-bottom: 0;
}

.about-nav-list li a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
    border-bottom: 1px solid #e5e5e5;
}

.about-nav-list li.current-menu-item a {
    color: var(--theme-color-primary);
    border-bottom-color: var(--theme-color-primary);
}

@media (min-width: 768px) {
    .about-nav-list li a {
        margin-bottom: -1px;
        margin-right: 80px;
        padding: 20px 0;
    }
}

.about-nav-list li a:hover {
    color: var(--theme-color-primary);
}

.nav-list>li {
    position: relative;
}

@media (min-width: 1400px) {
    .nav-list>li {
        margin-bottom: 0;
        margin-left: 40px;
    }
}


/* @media (min-width: 1400px) {
    .nav-item .btn-default {
        display: none;
    }
} */

.nav-list>li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    transition-delay: 0ms;
}

.nav-list>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
}

@media (min-width: 1400px) {
    .nav-list>li>a {
        justify-content: space-between;
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
        color: inherit;
        padding: 17px 0;
        font-size: 18px;
    }
}

.nav-list>li>a:hover {
    color: var(--theme-color-primary);
}

.nav-list>li>a {
    position: relative;
    padding: 17px 0;
}

.nav-list>li>a:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 50%;
    width: 0;
    height: 1px;
    transform: translateX(-50%);
    transition: all 120ms;
    bottom: 0;
    background: #ffffff;
}

@media (min-width: 1400px) {
    .nav-list>li>a:before {
        background: var(--theme-color-primary);
        bottom: -14px;
    }
}

.nav-list>li>a:before {
    width: 0%;
}

.nav-list>li>a:hover:before {
    width: 100%;
}

.nav-list>li.has-dropdown:hover a:before {
    width: 0%;
}

@media (min-width: 1400px) {
    .nav-list>li.current-menu-item>a {
        color: var(--theme-color-primary);
    }
}

.nav-list>li.current-menu-item>a:before {
    width: 100%;
}

.nav-item-mobile {
    padding-top: 16px;
    border-top: 1px solid #005597;
}

@media (min-width: 420px) {
    .nav-item-mobile {
        max-width: 350px;
    }
}

@media (min-width: 1400px) {
    .nav-item-mobile {
        padding-top: 0;
        border: none;
        display: none;
    }
}

.nav-item-mobile a {
    display: block;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
}

@media (min-width: 1400px) {
    .nav-item-mobile a {
        display: none;
    }
}

.nav-item-mobile a {
    font-weight: 600;
}

.has-dropdown a {
    position: relative;
    display: flex;
    display: block;
    align-items: center;
}

.has-dropdown a::after {
    content: "";
    /* position: absolute; */
    /* right: 0; */
    /* top: 50%;
    transform: translateY(-50%); */
    margin-left: 12px;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background-image: url(../img/arrow-down-blue.svg);
    background-size: 10px 10px;
}


/* .nav-dropdown-icon {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    flex-shrink: 0;
} */

.sub-menu {
    display: none;
    padding-left: 16px;
}

@media (min-width: 1400px) {
    .sub-menu {
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translate(-50%);
        top: 99%;
        margin-top: 20px;
        display: block;
        width: 300px;
        height: auto;
        padding: 12px 28px;
        background: #ffffff;
        transition: opacity 200ms ease, visibility 200ms ease 200ms, margin-top 200ms ease;
        filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.25));
        opacity: 0;
        visibility: hidden;
    }
    .sub-menu:before {
        content: "";
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translate(-50%);
        top: -6px;
        width: 14px;
        height: 6px;
        background: url(../img/triangle_dropdown.svg);
    }
}

.sub-menu li a {
    display: block;
    padding: 8px 0;
    margin: 0;
    color: #8ea9bc;
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;
}

@media (min-width: 1400px) {
    .sub-menu li a {
        color: var(--text-color);
    }
}

.sub-menu li a:hover {
    color: var(--theme-color-primary);
}

.header-white .nav-list>li>a,
.header-white .nav-list>li>a:hover,
.header-white .nav-list>li.current-menu-item>a {
    color: #ffffff;
}

.header-white .nav-list>li>a:before {
    background: #ffffff;
    bottom: 0;
}

.header-white .has-dropdown a::after {
    background-image: url(../img/arrow-down.svg);
}

.header.active .has-dropdown a::after {
    background-image: url(../img/arrow-down.svg);
}

.logo a {
    display: flex;
    max-width: 150px;
}

@media(min-width: 360px) {
    .logo a {
        max-width: none;
    }
}


/* 
#searchform .search-field:focus {
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, 0.65);
    position: relative;
    z-index: 1051;
}

#searchform .search-field:focus~#searchsubmit {
    position: relative;
    z-index: 1100;
}

.codyshop-ajax-search li {
    overflow: hidden;
    line-height: 17px;
    width: 100%;
    min-height: 100px;
    max-height: 100px;
    display: inline-block;
    float: left;
    box-sizing: border-box;
    border-bottom: 1px solid #eeeeee;
    padding: 15px 10px;
    list-style: none;
}

.codyshop-ajax-search {
    position: fixed;
    box-sizing: border-box;
    background: #fff;
    z-index: 1111;
    border-radius: 3px;
    border: 1px solid #eee;
    border-top: none;
    padding: 20px 20px 10px 20px;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.codyshop-ajax-search li:first-child {
    padding: 0 10px 15px 10px;
}

.codyshop-ajax-search li:last-child {
    padding: 15px 10px 0 10px;
    border-bottom: none;
}

.codyshop-ajax-search li a {
    color: #7c83a0;
}

.codyshop-ajax-search span {
    height: 100%;
    float: left;
    min-height: 100px;
}

.codyshop-ajax-search li p,
.codyshop-latest-post li p {
    line-height: 14px;
    font-size: 13px;
    color: #7c83a0;
    font-style: italic;
    background-color: white;
}

.codyshop-ajax-search li img,
.codyshop-latest-post li img {
    width: 60px;
    float: left;
    border: 2px solid #eeeeee;
    background-color: #eeeeee;
    border-radius: 50%;
    margin-right: 10px;
} */

.codyshop-ajax-search {
    width: 500px;
    /* padding: 10px; */
    background: #fff;
    position: absolute;
    right: 0;
    top: 40px;
}

.codyshop-ajax-search li {
    margin: 20px 15px;
}

a .codyshop-ajax-search a:hover {
    color: #005597;
}

@media(max-width:768px) {
    .codyshop-ajax-search {
        width: 300px;
    }
}


/* Меню в футере */

.footer-nav-list a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
}

@media (min-width: 1400px) {
    .footer-nav-list a {
        font-size: 18px;
        line-height: 1;
        font-weight: 500;
    }
}

.footer-nav-list a:hover {
    text-decoration: underline;
}

.footer-social-item {
    background: none;
}

.footer-social-item svg path {
    fill: #fff;
}

.footer-social-item svg rect {
    stroke: #fff;
}


/* Пагинация */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 0;
}

.pagination-list {
    display: flex;
    align-items: center;
}

.pagination-list a,
.pagination-list span {
    /* width: 100%; */
    /* display: flex; */
    justify-content: center;
    padding: 0 8px;
    font-family: "Forum", serif;
    font-size: 24px;
    line-height: 1;
    font-weight: normal;
    color: var(--theme-color-primary);
}

.pagination-list .current {
    color: #66869E;
}

.pagination-list .next,
.pagination-list .prev {
    cursor: pointer;
    display: block;
    width: 22px;
    height: 46px;
    margin: 0 12px;
    font-size: 0;
    color: transparent;
    border: none;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    background-color: var(--theme-color-primary);
    background-image: url(../img/slick_prev.svg);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: 70% center;
}

@media (min-width: 480px) {
    .pagination-list .next,
    .pagination-list .prev {
        width: 28px;
        height: 56px;
        background-size: 12px 12px;
    }
}

.pagination-list .next {
    transform: rotate(180deg);
}

.pagination-arrow.disabled {
    background-color: #66869E;
}

.modal {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 9200;
    width: 100%;
    display: none;
    max-width: 565px;
    padding: 30px 75px 60px;
    background: #ffffff;
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.2);
    overflow-y: scroll;
    max-height: 100vh;
}

@media(max-width:1024px) {
    .modal {
        padding: 30px 25px;
    }
}

.modal .btn {
    display: block;
    margin: auto;
    margin-top: 50px;
}

.modal .btn-close {
    padding: 27px 30px;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9100;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
}

.modal-title {
    font-family: "Forum", serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
}

.modal p {
    margin: 15px 0 12px;
    font-size: 15px;
    line-height: 22px;
    font-weight: normal;
    text-align: center;
}

.modal-close {
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 18px;
    opacity: 0.2;
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    display: block;
    margin-bottom: 12px;
    text-align: center;
}


/* Кастомный селект */


/*the container must be positioned relative:*/

.custom-select {
    position: relative;
    margin-bottom: 25px;
}

.custom-select select {
    display: none;
    /*hide original SELECT element:*/
}

.select-selected {
    background-color: #fff;
}


/*style the arrow inside the select element:*/

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 10px;
    height: 10px;
    background-image: url(../img/arrow-down-blue.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all 0.5s ease;
}


/*point the arrow upwards when the select box is open (active):*/

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}


/*style the items (options), including the selected item:*/

.select-items div,
.select-selected {
    color: #333;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    padding: 8px 16px;
    padding-left: 0;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}


/*style items (options):*/

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}


/*hide the items when the select box is closed:*/

.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}


/* Куки */

.cookie {
    background: rgba(102, 134, 158, 0.9);
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
    transform: translateY(150%);
    transition: all 0.5s ease;
}

.cookie.show {
    transform: translateY(0%);
}

.cookie p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #FFFFFF;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.cookie a {
    color: #A8DBFF;
    text-decoration: underline;
}

.cookie button {
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 5px 15px;
    outline: none;
    cursor: pointer;
    transition: all 0.5s ease;
}

.cookie button:hover {
    background: #FFFFFF;
    color: rgba(102, 134, 158, 0.9);
}

.cookie .modal-close {
    top: 10px;
}