:root {
    --moe-font-family: inherit;
    --moe-color-text: #1f1f1f;
    --moe-color-accent: #81a66d;
    --moe-color-surface: #ffffff;
}

.cls-1-m{
    fill: #fcf8d1;
    stroke: #808181;
    stroke-linejoin: round;
    stroke-width: 1px;
    fill-rule: evenodd;
    stroke-linecap: round;
    stroke-miterlimit: 4;
}
.t5{
    fill: #000;
    font-weight: 400;
}
.t5-x-small{
    font-size: 24px;
}
.t5-small{
    font-size: 30px;
}
.t5-mid{
    font-size: 40px;
}
#ru-kaliningrad,
#ru-main {
    fill: rgba(31, 37, 27, 1) !important;
    cursor: default !important;
}

.map-container-block,
.map-container-block * {
    font-family: var(--moe-font-family, inherit);
}

.dad-hide-this {
    display: none !important;
}

.map-container-block {
    max-width: 1920px;
    background-color: var(--moe-color-surface, #fff);
    color: var(--moe-color-text, #1f1f1f);
    padding-top: 90px;
    padding-bottom: 90px;
    height: 950px;
    margin: 0 auto;
}

.map-content-wrap {
    max-width: 1300px;
    margin: 0 auto;
}

.map-container-block {
    position: relative;
}

.map-svg-block {
    width: 70%;
    position: absolute;
    top: 0px;
    right: 0;
    z-index: 1;
}

.map-info-block {
    width: 590px;
    position: relative;
    z-index: 2;
    user-select: none;
    color: var(--moe-color-text, #1f1f1f);
}

.map-info-block p {
    font-size: 13px;
    font-weight: 300;
    margin-top: 0;
    line-height: 1;
    margin-bottom: 5px;
}

.map-info-block h2 {
    font-weight: 300;
    font-size: 32px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 15px;
}

.map-info-block h3 {
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 18px;
}

.map-info-block h3 span {
    font-weight: 500;
}

.cls-1 {
    fill: rgba(255,255,255,0);
    stroke: #808181;
    stroke-linejoin: round;
    stroke-width: 1px;
    fill-rule: evenodd;
    stroke-linecap: round;
    stroke-miterlimit: 4;
    cursor: pointer;
}

.cls-grey{
    fill: #e1e1e1;
}

.cursor-default{
    cursor: default;
}

#map-modal {
    position: absolute;
    background-color: var(--moe-color-surface, #fff);
    min-width: 280px;
    max-width: 320px;
    width: auto;
    box-sizing: border-box;
    padding: 15px;
    border-radius: 16px;
    transition: 0.5s;
    box-shadow: 0 0 7px rgba(55, 55, 55, 0.6) !important;
    color: var(--moe-color-text, #1f1f1f);
    display: flex;
    flex-direction: column;
    gap: 12px;
}


#map-modal-decor {
    display: none;
}

#map-modal-flag {
    width: 32px;
    height: 32px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(55, 55, 55, 0.7);
    border-radius: 50%;
    flex-shrink: 0;
}

.hover-on-country {
    fill: rgba(129, 166, 109, 0.5);
}

.map-active-country {
    fill: rgba(129, 166, 109, 1) !important;
}

.map-modal-top-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#map-modal-country {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
}

.map-modal-middle-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px dashed #aaa;
    flex-shrink: 0;
}

.map-modal-middle-line:last-of-type {
    margin-bottom: 0;
}

.mmm-l {
    font-size: 15px;
    font-weight: 400;
}

#mmm-1-r,
#mmm-2-r,
#map-modal-cost,
#map-modal-times {
    font-size: 15px;
    font-weight: 500;
}

.map-modal-btn, 
.mobile-info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    width: 100%;
    min-height: 56px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 28px;
    background-color: var(--moe-button-bg-color, var(--moe-color-surface, #fff));
    font-size: 18px;
    font-weight: 400;
    color: var(--moe-button-text-color, var(--moe-color-accent, #81a66d)) !important;
    text-decoration: none;
    border: 1px solid var(--moe-button-border-color, var(--moe-color-accent, #81a66d));
    box-sizing: border-box;
    flex-shrink: 0;
}


.mobile-info-btn {
    margin-top: 15px;
}

.map-modal-btn span {
    display: inline-block;
    text-transform: uppercase;
    line-height: 1;
}

.map-modal-btn svg {
    display: inline-block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.map-modal-btn svg path {
    stroke: var(--moe-button-icon-color, var(--moe-color-accent, rgba(129, 166, 109, 1)));
}

.countries-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

button.map-btn-info {
    border: none;
    display: flex;
    align-items: center;
    background-color: var(--moe-color-surface, #fff);
    flex: 0 0 calc(30.333% - 7px);
    margin: 0;
    min-height: 44px;
    text-align: left;
    cursor: pointer;
    border-radius: 22px !important;
    transition: 0.5s;
    box-sizing: border-box;
    padding: 5px !important;
  
}

button .map-btn-info:hover,
button .map-btn-info:focus,
button .map-btn-info:active
 {
    box-shadow: 0 0 7px rgba(55, 55, 55, 0.6) !important;
}

.map-btn-info img {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.map-btn-info span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    padding-left: 5px;
    flex: 1;
    color: var(--moe-color-text, #1f1f1f);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

.dad-close-modal-win {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    padding-top: 2px;
    box-sizing: border-box;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #777 !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    transition: 0.5s;
    background-color: #fff;
}

.dad-close-modal-win:hover {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.8)
}

.map-btn-info-active {
    box-shadow: 0 0 7px rgba(55, 55, 55, 0.6) !important;
}

#map-preload-panel {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index: 10;
}


.line-for-info {
    display: none;
}
.t4{
    font-size: 75px;
    fill: #fff;
}
.mouse-over-country-for-btn{
    box-shadow: 0 0 4px rgba(129, 166, 109, 1) !important;
    background-color: rgba(200, 200, 200, 0.3);
}

.moe-map-wrapper {
    position: relative;
    min-height: 520px;
}

.moe-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    background-color: #f8f8f8;
    color: #555;
}

.moe-map-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.45);
    animation: moe-map-spin 1s linear infinite;
}

.moe-map-wrapper.moe-map--error {
    border: 1px solid #d23737;
}

.moe-map-error {
    padding: 30px;
    text-align: center;
    color: #d23737;
    background: #fff5f5;
    border-radius: 4px;
}

@keyframes moe-map-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 1350px) {
    .map-content-wrap {
        max-width: 1199px;
    }

    .countries-block {
        gap: 8px;
    }


    .map-container-block {
        padding-top: 40px;
        padding-bottom: 40px;
        height: auto;
    }
    .map-svg-block{
        right: -50px;
    }
    #map-container-block{
        overflow: hidden;
        overflow: hidden;
    }
}

@media (max-width: 1200px) {
    #map-svg-block {
        display: none;
    }

    .map-btn-info {
        flex: 0 0 calc(50% - 4px) !important;
    }


    .map-info-block {
        margin: 0 auto;
        max-width: 600px;
        width: auto;
        padding: 0 20px;
        text-align: center;
    }

    .countries-block {
        gap: 8px;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .countries-block > * {
        order: 0;
    }

    .map-btn-info {
        flex: 0 0 calc(50% - 4px);
        margin: 0;
        margin-bottom: 10px;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .map-modal-top-line {
        text-align: left;
        margin-bottom: 15px;
    }

    .map-modal-top-line > span {
        display: inline-block;
        vertical-align: top;
        font-size: 18px;
        line-height: 32px;
        margin-left: 15px;
        font-weight: 500;
    }

    .map-btn-info-empty:hover {
        cursor: default;
        box-shadow: none !important;
    }

    .countries-block {
        display: flex;
    }

    .line-for-info {
        display: none;
        width: 100%;
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 10px;
        box-sizing: border-box;
        order: 0;
        clear: both;
        position: relative;
    }

    .show-line-for-info {
        display: block !important;
        min-height: 0;
        order: 0;
    }
    
    .line-for-info #map-modal {
        position: relative !important;
        width: 100%;
        max-width: 100%;
    }

    .flag-btn-mobile-active {
        box-shadow: 0 0 7px rgba(55, 55, 55, 0.6) !important;
    }

    #map-modal {
        position: relative !important;
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
        max-width: none;
        z-index: 1;
    }
    #map-modal-decor {
        display: none !important;
    }
    
    .show-mobile-info-window {
        display: flex !important;
    }
}