

.modal-body {
    max-height: 400px; /* Р’С‹СЃРѕС‚Р° РїРѕ РІР°С€РµРјСѓ СѓСЃРјРѕС‚СЂРµРЅРёСЋ */
    overflow-y: none; 
    padding: 0;
}

/* РЎС‚РёР»Рё РґР»СЏ С„РѕРЅР° РјРѕРґР°Р»СЊРЅРѕРіРѕ РѕРєРЅР° */
.modal-selectcitylist {
    display: none; /* РЎРєСЂС‹С‚Рѕ РїРѕ СѓРјРѕР»С‡Р°РЅРёСЋ */
    position: fixed; /* РћСЃС‚Р°РµС‚СЃСЏ РЅР° РјРµСЃС‚Рµ РїСЂРё РїСЂРѕРєСЂСѓС‚РєРµ СЃС‚СЂР°РЅРёС†С‹ */
    left: 0;
    top: 0;
    width: 100%; /* РЁРёСЂРёРЅР° РЅР° РІРµСЃСЊ СЌРєСЂР°РЅ */
    height: 100%; /* Р’С‹СЃРѕС‚Р° РЅР° РІРµСЃСЊ СЌРєСЂР°РЅ */
    z-index: 1000; /* Р’С‹С€Рµ РґСЂСѓРіРёС… СЌР»РµРјРµРЅС‚РѕРІ РЅР° СЃС‚СЂР°РЅРёС†Рµ */
    background-color: #eff7ffb5;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s; /* РђРЅРёРјР°С†РёСЏ РїРѕСЏРІР»РµРЅРёСЏ */
}


.modal-content {
    background-color: #fff;
    margin: auto;
    border: none;
    margin-top: 5%;
    padding: 20px;
    width: 80%; /* РЁРёСЂРёРЅР° СЃРѕРґРµСЂР¶РёРјРѕРіРѕ */
    max-width: 600px; /* РњР°РєСЃРёРјР°Р»СЊРЅР°СЏ С€РёСЂРёРЅР° */
    animation: slideDown 0.5s; /* РђРЅРёРјР°С†РёСЏ "РІС‹РµР·РґР°" СЃРІРµСЂС…Сѓ */
    box-shadow: 5px 15px 60px -3px #b0c3d5;
}

.modal-selectcitylist .modal-header {
    display: block;
    margin: 0;
    padding: 0 0 15px 0;
    border: none;
}

/* РЎС‚РёР»Рё РґР»СЏ РєРЅРѕРїРєРё Р·Р°РєСЂС‹С‚РёСЏ */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
    padding: 0px 6px;
    margin: 0;
    border: 1px solid #858282;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* РђРЅРёРјР°С†РёСЏ РїРѕСЏРІР»РµРЅРёСЏ РґР»СЏ С„РѕРЅР° */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* РђРЅРёРјР°С†РёСЏ "РІС‹РµР·РґР°" РґР»СЏ СЃРѕРґРµСЂР¶РёРјРѕРіРѕ */
@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

#selectcitylistModal .modal-header h2 {
    font-size: 1.5em;
    min-width: 50%;
    font-weight: 600;
    color: #717070;
}

.city-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.city-group {
    flex: 0 0 22%; /* Р Р°Р·РјРµСЂ РєР°Р¶РґРѕР№ РєРѕР»РѕРЅРєРё РїСЂРёРјРµСЂРЅРѕ 22% РѕС‚ СЂРѕРґРёС‚РµР»СЏ, С‡С‚РѕР±С‹ РІРјРµСЃС‚РёС‚СЊ 4 РєРѕР»РѕРЅРєРё СЃ СѓС‡РµС‚РѕРј РѕС‚СЃС‚СѓРїРѕРІ */
    margin-bottom: 20px; /* РћС‚СЃС‚СѓРї РјРµР¶РґСѓ СЂСЏРґР°РјРё */
}

.city-group h2 {
    font-size: 1.4em;
    margin: 0;
    font-weight: 700;
    color: #aaafb5;
}

.city-group ul {
    list-style: none; /* РЈР±РёСЂР°РµС‚ РјР°СЂРєРµСЂС‹ СЃРїРёСЃРєР° */
    padding: 0; /* РЈР±РёСЂР°РµС‚ РѕС‚СЃС‚СѓРїС‹ СЃРїРёСЃРєР° */
}

.city-group li {
    line-height: 1.2;
    padding-bottom: 0.6em;
}

.city-group li a {
    color: #2b2a29;
    font-size: 1.05em;
}

.city-one {
    text-decoration: none; /* РЈР±РёСЂР°РµС‚ РїРѕРґС‡РµСЂРєРёРІР°РЅРёРµ СЃСЃС‹Р»РѕРє */
    color: #000; /* Р¦РІРµС‚ С‚РµРєСЃС‚Р° СЃСЃС‹Р»РѕРє */
}

.city-one:hover {
    color: #f18817;
}

.city-one .city-one-meta {
    display: block;
    margin-top: -2px;
    font-size: 0.62em;
    line-height: 1.25;
    font-weight: 500;
    color: #6f7f98;
}


.city-list::-webkit-scrollbar {
    width: 10px; /* С€РёСЂРёРЅР° РїРѕР»РѕСЃС‹ РїСЂРѕРєСЂСѓС‚РєРё */
}

.city-list::-webkit-scrollbar-track {
    background: #f1f1f1; /* С†РІРµС‚ РґРѕСЂРѕР¶РєРё РїСЂРѕРєСЂСѓС‚РєРё */
}

.city-list::-webkit-scrollbar-thumb {
    background: #888; /* С†РІРµС‚ РїРѕР»Р·СѓРЅРєР° РїСЂРѕРєСЂСѓС‚РєРё */
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: #555; /* С†РІРµС‚ РїРѕР»Р·СѓРЅРєР° РїСЂРѕРєСЂСѓС‚РєРё РїСЂРё РЅР°РІРµРґРµРЅРёРё */
}

/* РЎС‚РёР»РёР·Р°С†РёСЏ РґР»СЏ Firefox */
.city-list {
    scrollbar-width: thin; /* 'thin' РёР»Рё 'auto' РёР»Рё 'none' */
    scrollbar-color: #888 #f1f1f1; /* С†РІРµС‚ РїРѕР»Р·СѓРЅРєР° Рё РґРѕСЂРѕР¶РєРё РїСЂРѕРєСЂСѓС‚РєРё */
}

/* РћР±С‰РёРµ СЃС‚РёР»Рё РґР»СЏ Р±Р»РѕРєР° СЃ РїСЂРѕРєСЂСѓС‚РєРѕР№ */
.city-list {
    overflow-y: scroll; /* РґРѕР±Р°РІР»РµРЅРёРµ РІРµСЂС‚РёРєР°Р»СЊРЅРѕР№ РїСЂРѕРєСЂСѓС‚РєРё, РµСЃР»Рё СЃРѕРґРµСЂР¶РёРјРѕРµ РІС‹С…РѕРґРёС‚ Р·Р° РіСЂР°РЅРёС†С‹ */
    max-height: 350px; /* РјР°РєСЃРёРјР°Р»СЊРЅР°СЏ РІС‹СЃРѕС‚Р° Р±Р»РѕРєР°, РїРѕСЃР»Рµ РєРѕС‚РѕСЂРѕР№ РїРѕСЏРІРёС‚СЃСЏ РїСЂРѕРєСЂСѓС‚РєР° */
}

@media (max-width: 300px) { 
    .city-group {
      flex: 0 0 100%;
      margin-bottom: 20px;
    }
}
@media (max-width: 720px) { 
    .city-group {
      flex: 0 0 50%;
      margin-bottom: 20px;
    }
}

@media (max-width: 992px) { 
    .city-group {
      flex: 0 0 33%;
      margin-bottom: 20px;
    }
}

.city-featured-row {
    margin: 0 0 16px;
    padding: 0;
}

.city-featured-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.city-featured-list li {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.city-featured-list .city-one {
    display: block;
    padding: 5px 10px;
    background: #f7f8f9;
    color: #2b2a29;
    font-size: 0.95em;
    text-decoration: none;
    white-space: nowrap;
}

.city-featured-list .city-one:hover {
    text-decoration: none;
    background: #f18817;
    color: #fff;
}

.city-country-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e6edf5;
}

.city-country-btn {
    border: 1px solid #d4dae3;
    background: #f5f7fa;
    color: #3a4f6f;
    border-radius: 999px;
    padding: 7px 14px;
    line-height: 1;
    cursor: pointer;
    font-size: 0.95em;
}

.city-country-btn:hover {
    background: #ebeff5;
}

.city-country-btn.active {
    background: #1f4f8e;
    border-color: #1f4f8e;
    color: #fff;
}

.city-region-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e6edf5;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.city-region-btn {
    border: 1px solid #f7f8f9;
    background: #f7f8f9;
    color: #2b2a29;
    padding: 6px 12px;
    line-height: 1;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.city-region-btn:hover {
    background: #f18817;
    color: #fff;
}

.city-region-btn.active {
    background: #f18817;
    border-color: #f18817;
    color: #fff;
}

.city-region-btn.is-extra {
    display: none;
}

.city-region-filter.is-expanded {
    flex-wrap: wrap;
    overflow-x: visible;
}

.city-region-filter.is-expanded .city-region-btn.is-extra {
    display: inline-block;
}

.city-region-more-btn {
    border: 1px dashed #f18817;
    background: #ffffff;
    color: #2b2a29;
    padding: 7px 14px;
    line-height: 1;
    cursor: pointer;
    font-size: 0.95em;
    white-space: nowrap;
    flex: 0 0 auto;
    position: sticky;
    right: 0;
    z-index: 2;
}
.city-region-more-btn[data-state="collapsed"] {
    box-shadow: -13px 0px 13px 15px #fff;
}
.city-region-more-btn:hover {
    background: #f18817;
    color: #fff;
}

.city-region-filter.is-expanded .city-region-more-btn {
    position: static;
}

/* Header look for module layout DEFAULT V2 */
#modal-top_geo.top_geo_v2 {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    line-height: 1.1;
    max-width: 90px;
}

#modal-top_geo.top_geo_v2 .fas {
    display: none !important;
}

#modal-top_geo.top_geo_v2 .labelText {
    display: block;
    margin: 0 0 4px 0;
    color: #7f8791;
    font-size: 1.1em;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.04em;
}

#modal-top_geo.top_geo_v2 #link_my_selectcitylist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e2430;
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
}

#modal-top_geo.top_geo_v2 #link_my_selectcitylist .down {
    display: inline-block !important;
    width: 8px;
    height: 8px;
    margin-left: 0px;
    border-top: 2px solid #7f8791;
    border-right: 2px solid #7f8791;
    transform: rotate(45deg);
    font-size: 0;
    line-height: 0;
}

/* Layout FAVORITS_CITY */
.favorits-city-list-wrap {
    width: 100%;
}

.favorits-city-intro {
    margin: 0 0 10px;
    color: #585858;
    font-size: 0.95em;
    line-height: 1.4;
}

.favorits-city-outro {
    margin: 10px 0 0;
    color: #3a4f6f;
    font-size: 0.95em;
    line-height: 1.4;
}

.favorits-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.favorits-city-item {
    margin: 0;
    padding: 0;
}

.favorits-city-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #d4dae3;
    background: #f7f8f9;
    color: #2b2a29;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.favorits-city-link:hover {
    background: #f18817;
    color: #fff!important;
    text-decoration: none;
}

.favorits-city-item.is-active .favorits-city-link {
    background: #f18817;
    border-color: #f18817;
    color: #fff;
}

.favorits-city-link-all {
    border-style: dashed;
}

.favorits-city-list-wrap.is-column .favorits-city-list {
    flex-direction: column;
    align-items: flex-start;
}

.favorits-city-list-wrap.is-column .favorits-city-link {
    width: 100%;
    border-radius: 12px;
}

.selectcity-first-visit-notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    max-width: 360px;
    width: calc(100% - 32px);
    background: #ffffff;
    border: 1px solid #d9e2ef;
    box-shadow: 0 10px 30px rgba(31, 79, 142, 0.2);
    border-radius: 12px;
    padding: 14px 14px 12px;
}

.selectcity-first-visit-text {
    color: #2a3b55;
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 10px;
    padding-right: 18px;
}

.selectcity-first-visit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1f4f8e;
    background: #1f4f8e;
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.selectcity-first-visit-btn:hover {
    background: #184276;
    border-color: #184276;
}

.selectcity-first-visit-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #8b97a8;
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.selectcity-first-visit-close:hover {
    color: #2a3b55;
}

@media(max-width: 991px) {
    #modal-top_geo.top_geo_v2 {
    max-width: 58px;
    }
    #modal-top_geo.top_geo_v2 #link_my_selectcitylist {
    font-size: 8px;
    gap: 2px;
    }
    #modal-top_geo.top_geo_v2 .labelText {
    font-size: 8px;
    }
    #sp-logo {
    padding: 0 2px;
    }

}