.top-regionality {
    height: 92px;
    line-height: normal;
}

.region_wrapper {
    height: 100%;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    align-items: flex-start;
    justify-content: center;
    margin-left: 30px;
}

.region_wrapper .arrow i {
    content: url(/bitrix/templates/aspro-scorp/images/down-arrow.svg);
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
}

.region_wrapper .city_chooser {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

.region_wrapper .city_chooser .current_city {
    font-size: 1.5rem;
    color: #24479A;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.region_wrapper .city_chooser .current_city:hover {
    cursor: pointer;
    color: #E8C149;
}

.region_wrapper .city_chooser .current_city span {
    margin-left: 5px;
    margin-top: 5px;
}

.region_wrapper .city_title {
    font-size: 1.7rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.region_wrapper:before {
    content: url(/bitrix/templates/aspro-scorp/images/regionality-marker.svg);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(100%, -100%);
    width: 16px;
    height: 18px;
}

.popup-regions {
    max-height: 500px;
    overflow-y: auto;
}

.popup-regions::-webkit-scrollbar {
    width: 5px;
}

.popup-regions::-webkit-scrollbar-thumb {
    background-color: #24479A;
    border-radius: 20px;
}

.region-symbol {
    font-size: 15px;
    margin-bottom: 15px;
}

.region-cities {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.region-city {
    width: calc(100% / 4 - 10px);
    margin-bottom: 3px;
    margin-bottom: 10px;
}

.region-city a {
    white-space: nowrap;
    font-size: 15px;
    color: #24479A;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.region-city a:hover {
    cursor: pointer;
    color: #E8C149;
}

.form .modal_heading h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    color: #24479A;
    padding-top: 15px;
}

.modal-window button.prv_close {
    font-weight: 100;
    z-index: 999;
    color: #212121;
    position: absolute;
    font-size: 38px;
    line-height: 38px;
    padding: 0;
    opacity: 1;
    top: 30px;
    right: 43px;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.confirm_region {
    position: absolute;
    top: 92px;
    left: -40%;
    width: 300px;
    height: 110px;
    z-index: 100000;
    background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    padding: 20px 20px;
}
.confirm_region-wrapper{
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
}
.confirm_region::before{
    content: "";
    width: 20px;
    height: 20px;
    background:#fff;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    background-color: white;
}
.triangle{
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    top: 89%;
    left: 22%;
    transform: translateX(-50%) rotate(45deg);
    background-color: white;
    z-index: 0;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.confirm_region .title {
    font-size: 16px;
    color: #333;
    text-align: center;
}

.confirm_region .buttons {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    margin-top: 15px;
}

.confirm_region .buttons .button-confirm {
    padding: 10px 15px;
    border: 1px solid #24479A;
    border-radius: 2px;
    background: #24479A;
    color: #fff;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.confirm_region .buttons .button-change {
    padding: 10px 15px;
    border: 1px solid #24479A;
    border-radius: 2px;
    color: #24479A;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.confirm_region .buttons .button-change:hover {
    background: #24479A;
    color: #fff;
    cursor: pointer;
}

.confirm_region .buttons .button-confirm:hover {
    background-color: #2853b8;
    border-color: #2853b8;
    cursor: pointer;
}

header.fixed .top-regionality{
    height: 50px;
}

@media (min-width: 768px) {
    .modal-window button.prv_close {
        top: 23px;
        right: 15px;
    }
}

@media (max-width: 575px){
    .region-city{
        width: 100%;
    }
}
