.residence-filter-form-city-zones-modal-wrap {
    position: fixed;

    display: flex;
    flex-direction: column;
    padding: 25px 25px;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 100;
    overflow-y: auto;
    justify-content: center;
}
.residence-filter-form-city-zones-modal-wrap .container {
    position: relative;
    display: block;

    padding: 15px 15px;
    background: #ffffff;
    width: 1200px;

    border-radius: 12px;

    z-index: 2;
    flex: 0 0 auto;
}

.residence-filter-form-city-zones-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
    background: rgba( 0, 0, 0, 0.7 );
    cursor: pointer;
}

.residence-filter-form-city-group {
    position: relative;
    display: block;
}

.residence-filter-form-city-group + .residence-filter-form-city-group {
    margin-top: 30px;
}
.residence-filter-form-city-group-title {
    position: relative;
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 10px;
}
.residence-filter-form-city-group-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.residence-filter-form-city-group-row.extended {
    gap: 10px;
}
.residence-filter-form-city-group-col {
    position: relative;
    display: block;
    flex: 0 0 15%;
}

.residence-filter-form-city-group-input {
    position: relative;
    display: block;
}
.residence-filter-form-city-group-input.city-zone {
    margin-bottom: 5px;
}
.residence-filter-form-city-group-input input + label {
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
    transition: 0.2s color;
}
.residence-filter-form-city-group-input input:checked + label {
    color :#3992EC;
}
.residence-filter-form-city-group-input.city-zone input + label {
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
}

.residence-filter-form-city-zones-modal-wrap .btn-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    color: #000000;
    border: none;
}
.residence-filter-form-city-zones-modal-wrap .btn-modal-close i {
    font-size: 45px;
}
.residence-filter-form-city-zones-modal-wrap .btn-modal-close:hover {
    color: #3992EC;
}

.residence-filter-form-city-zones-modal-search {
    position: relative;
    display: block;
    margin-bottom: 10px;
    max-width: 600px;
}
.residence-filter-form-city-zones-modal-search .input-group .form-control {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.residence-filter-form-city-zones-modal-search .input-group .btn.btn-warning {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

    background: #F5821F;
    border-color: #F5821F;
    color: #ffffff;
}

.home-form-custom-zones {
    position: relative;
    display: block;
    line-height: 28px;
    cursor: pointer;
    max-width: 100%;
}
.home-form-custom-zones-placeholder {
    position: relative;
    display: block;
    font-size: 12px;
    line-height: 26px;
    color: #999999;
    padding: 1px;
}
.home-form-custom-zones-placeholder.err {
    color: #ff0000;
}
.home-form-custom-zones:not(.empty) .home-form-custom-zones-placeholder {
    display: none;
}

.residence-filter-form-city-zones-modal-buttons {
    position: relative;
    display: block;

    padding-top: 15px;
    text-align: center;
}

.residence-filter-form-city-zones-modal-buttons .btn.btn-default {
    border-radius: 6px;
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #000000;
}
.residence-filter-form-city-zones-modal-buttons .btn.btn-default:hover {
    border-color: #3992EC;
    color: #3992EC;
}
.residence-filter-form-city-zones-modal-buttons .btn.btn-primary {
    border-radius: 6px;
    border: 1px solid #162B4C;
    background: #162B4C;
    color: #ffffff;
}
.residence-filter-form-city-zones-modal-buttons .btn.btn-primary:hover {
    border-color: #3992EC;
    background: #3992EC;
}

.home-form-custom-zones-pill {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2px 5px;
    border: 1px solid #dddddd;
    gap: 2px;
    line-height: 24px;
}

.home-form-custom-zones-pill-text {
    position: relative;
    display: block;
    flex: 1 1 auto;
    color: #000000;
    font-size: 12px;
    line-height: 16px;
}
.home-form-custom-zones-pill-close {
    position: relative;
    display: block;
    flex: 0 0 auto;
    color: #ff0000;
    font-size: 12px;
    line-height: 16px;
}
.home-form-custom-zones-container {
    position: relative;
    display: block;
    white-space: nowrap;
    overflow-x: auto;
}