/*
 * ********************************************************************************************
 *
 *      file             : style.css
 *      modified         : 05.02.2023
 *
 *      author           : Denis Artamonov
 *      authorEmail      : artamonov.d.i@yandex.com
 *      authorUrl        : https://artamonov.pro
 *
 *      company          : Webco - web solutions development company
 *      companyEmail     : hello@webco.io
 *      companyUrl       : https://webco.io
 *      partnerUrl       : https://www.1c-bitrix.ru/partners/1469188.php
 *      marketplaceUrl   : https://marketplace.1c-bitrix.ru/partners/detail.php?ID=1469188.php
 *
 *      copyright        : 2018 - 2023
 *
 * ********************************************************************************************
 */

.header-user-region-wrapper {
    position: relative;
}

.user-region-wrapper {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.user-region {
    cursor: pointer;
    padding: 9px 7px 9px 0;
}

.user-region i {
    margin-right: 8px;
    transform: translateY(2px);
}

.user-region span {
    border-bottom: 1.3px solid #fff;
}

.user-region-country-list a {
    border-right: 1px solid #b19e86;
    color: #636363;
    font-family: "Cera Regular", "Tahoma", "sans-serif";
    font-size: 14px;
    line-height: 1;
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.user-region-country-list a:first-child {
    padding-left: 0;
}

.user-region-country-list a:last-child {
    border-right: 0;
    padding-right: 0;
}

.user-region-country-list a span {
    padding-bottom: 7px;
    position: relative;
}

.user-region-country-list a span:after {
    background-color: transparent;
    border-radius: 5px;
    bottom: 0;
    content: "";
    display: inline-block;
    height: 3px;
    left: 0;
    position: absolute;
    transition: background-color .17s ease-out;
    width: 100%;
}

.user-region-country-list a.current span:after,
.user-region-country-list a:hover span:after {
    background-color: #81b751;
}

.user-region-country-city-list {
    margin-top: 25px;
    position: relative;
}

.user-region-country-city-list [data-country-city-list] {
    display: none;
    flex-direction: column;
}

.user-region-country-city-list [data-country-city-list].current {
    display: flex;
}

.user-region-country-city-list a {
    color: #636363;
    display: block;
    font-family: "Cera Regular", "Tahoma", "sans-serif";
    font-size: 16px;
    line-height: 1.3;
    padding: 10px 0;
    text-decoration: none;
}

.user-region-country-city-list a:first-child {
    padding-top: 0;
}

.user-region-country-city-list a:last-child {
    padding-bottom: 0;
}

.user-region-country-city-list a:hover {
    text-decoration: underline;
}

.user-region-search {
    margin-top: 32px;
}

.user-region-search input {
    -webkit-appearance: none;
    border: 1px solid #b6b6b6;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    font-family: "Cera Regular", "Tahoma", "sans-serif";
    font-size: 12px;
    line-height: 1;
    outline: 0;
    padding: 12px 16px 11px;
    width: 100%;
}

.user-region-search input:hover,
.user-region-search input:focus {
    outline: none;
}

.user-region-search-result-wrapper {
    background-color: #fff;
    bottom: 0;
    color: #636363;
    display: none;
    flex-direction: column;
    font-size: 16px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.user-region-search-result-content {
    height: 100%;
    overflow-y: auto;
}

.user-region-search-result-close-wrapper {
    padding: 15px 10px 0;
    text-align: center;
}

.user-region-search-result-close {
    background-color: #81b751;
    border-radius: 5px;
    color: #fff !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0;
    max-width: 120px;
    padding: 10px 5px !important;
    text-decoration: none !important;
    transition: background-color .27s ease-out;
    width: 100%;
}

.user-region-search-result-close:hover {
    background-color: #568e25;
    color: #fff;
}

.location-request-window {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 270px;
    top: 50px;
    left: 0;
    z-index: 110;
    background-color: #fff;
    border: 1px solid #ded6cc;
    border-radius: 5px;
    padding: 15px 20px;
    color: #898989;
    font-weight: 500;
}

.location-request-window-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.location-request-window-title span {
    display: inline-block;
    color: #81B751;
    text-transform: uppercase;
    margin-right: 4px;
}

.location-request-window-close {
    line-height: 0;
    padding-top: 5px;
}

.location-request-window-close img {
    max-width: 10px;
    cursor: pointer;
}

.location-request-window-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-request-window-button-success {
    line-height: 1;
}

.location-request-window-button-success a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 35px;
    color: #fff;
    background-color: #81b751;
    border-radius: 5px;
    text-decoration: none;
    line-height: 1;
    text-transform: uppercase;
}

.location-request-window-button-cancel {
    line-height: 1;
}

.location-request-window-button-cancel a {
    text-decoration: none;
    color: #81B751;
}

.location-request-window-button-cancel a:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #81B751;
    margin-top: 3px;
}

@media (max-width: 767px) {
    .location-request-window {
        top: 68px;
        left: 0;
        z-index: -1;
    }
}