@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

body {
    -webkit-tap-highlight-color: transparent;
}

a:focus, input:focus, button:focus {
    outline: 0
}

.topbar-body {
    position: sticky;
    top: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    width: 100%;
    height: 64px;
    line-height: normal;
    background-color: #fff;
    border-bottom: 1px solid #908ad3;
    z-index: 9999;
}

.topbar-body a {
    text-decoration: none;
}

.topbar-body ::-webkit-scrollbar {
    width: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 25px;
}

.topbar-body ::-webkit-scrollbar-track {
    box-shadow: none;
}

.topbar-body ::-webkit-scrollbar-thumb {
    background: #4941a3;
    border-radius: 25px;
}

.topbar-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
}

.topbar-block {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-logo-img {
    min-width: 130px;
    width: auto;
    height: 54px;
    object-fit: contain;
}

.topbar-city-selector {
    position: relative;
    display: flex;
    text-align: center;
}

.topbar-city-popup, .topbar-mobile-popup {
    position: absolute;
    top: 69px;
    width: 300px;
    z-index: 9999;
}

.topbar-city-popup {
    left: 0;
    right: 0;
}

.topbar-mobile-popup {
    display: none;
    right: 0;
}

.topbar-city-popup::after, .topbar-mobile-popup::after {
    position: absolute;
    content: "\A";
    top: -16px;
    border-color: transparent transparent #4941a3;
    border-style: solid;
    border-width: 8px 12px;
}

.topbar-city-popup::after {
    right: 43%;
}

.topbar-mobile-popup::after {
    right: 22px;
}

.topbar-city-popup-content, .topbar-mobile-popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #4941a3;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 5px 15px 5px rgba(0, 0, 0, 0.1);
}

.topbar-city-popup-content {
    background-color: #bbd9ef;
}

.topbar-mobile-popup-content {
    background-color: #fff;
}

.topbar-mobile-popup-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.topbar-mobile-popup-socials {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 12px;
}

.topbar-city-popup-title {
    color: #000;
    font-size: 1.1em;
    text-align: center;
}

.topbar-city-popup-btn {
    flex-basis: 100px;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    padding: .6em 1em;
    border: 0;
    border-radius: 50px;
    transition: all .2s ease-in-out;
    background-color: #4941a3;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
}

.topbar-city-popup-btn:hover {
    background-color: #655dc4;
    color: #fff;
    text-shadow: none;
}

.topbar-city-popup-btn:focus {
    background-color: #655dc4;
}

.popup-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    color: #4941a3;
    background-color: transparent;
    width: 46px;
    height: 46px;
    border: none;
}

.popup-close-btn:hover, .popup-close-btn:focus {
    color: #655dc4;
    background-color: transparent;
}

.topbar-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1220px;
    transition: all .6s ease-out;
    z-index: 9999;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #bbd9ef;
    border: 1px solid #908ad3;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 15px;
    box-shadow: 0 5px 15px 5px rgba(0, 0, 0, 0.1);
}

input.topbar-input, select.topbar-input {
    width: auto;
    height: 42px;
    flex-grow: 1;
    padding: .6em 1em;
    font-size: 1em;
    color: #4941a3;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 25px;
}

.topbar-input:focus {
    border: 1px solid #ccc !important;
    box-shadow: none !important
}

.topbar-city-popup-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.topbar-city-popup-name {
    font-weight: 600;
}

.topbar-search-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 12px;
}

.topbar-country-buttons {
    display: flex;
    width: 100%;
    background-color: #fff;
    border-radius: 25px;
    margin-bottom: 12px;
}

.topbar-country-btn {
    text-align: center;
    flex-grow: 1;
    color: #343434;
    font-size: 1em;
    font-weight: 600;
    padding: .6em 1em;
    cursor: pointer;
    border-radius: 25px;
    user-select: none;
    transition: all .2s ease-in-out;
}

.topbar-country-btn:hover {
    color: #4941a3;
}

.topbar-country-btn.active {
    color: #fff;
    background-color: #4941a3;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6)
}

.topbar-city-list {
    display: flex;
    max-height: 450px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
    border-radius: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6)
}

.topbar-city-link {
    display: flex;
    align-items: center;
    color: #000;
    padding: .4em 1em;
    margin: 5px;
    transition: all .2s ease-in-out;
}

.topbar-city-link:hover {
    color: #4941a3;
}

.topbar-city-link.active {
    font-weight: bold;
    color: #393382;
}

.topbar-city-link.disabled:hover {
    color: #000;
    cursor: default
}

.topbar-extra-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.topbar-extra-btn {
    position: relative;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    height: 42px;
    text-align: center;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: .8em 2em;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #4941a3;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
    transition: all .2s ease-in-out;
}

.topbar-extra-btn:hover {
    color: #fff;
    background-color: #655dc4;
}

.topbar-menu-button, .topbar-country-select {
    display: none;
}

.topbar-city-input {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.topbar-country-select::after, .topbar-city-input::after {
    position: absolute;
    top: 0;
    right: 15px;
    font-family: 'Font Awesome 6 Pro';
    line-height: 42px;
    font-size: 14px;
}

.topbar-country-select::after {
    content: '\f078'
}

.topbar-city-input::after {
    content: '\f002'
}

.topbar-country-select:focus-within::after {
    transform: rotateZ(180deg);
}

.topbar-link-pc {
    display: block;
}

.topbar-link, .topbar-link-contact {
    font-size: 16px;
    margin-left: 8px;
    padding: 10px .8em;
    border-radius: 30px;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.topbar-link {
    color: #343434;
}

.topbar-link-marked {
    color: #fff;
    background-color: #2bc864;
}

.topbar-city-switch {
    font-weight: 600;
    max-width: 200px;
}

.topbar-link-contact {
    color: #393382;
    margin-left: 5px;
    white-space: nowrap;
}

.topbar-link:hover, .topbar-link-contact:hover {
    color: #4941a3;
    background-color: #bbd9ef;
}

.topbar-link-marked:hover {
    color: #fff;
    background-color: #23d765;
}

a.topbar-link-mobile {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #4941a3;
    border: 1px solid #4941a3;
    border-radius: 30px;
    padding: .3em .8em;
    white-space: nowrap;
    transition: all .2s ease-in-out;
}

a.topbar-link-mobile-marked {
    color: #2bc864;
    border: 1px solid #2bc864;
}

a.topbar-link-mobile:hover {
    background-color: #bbd9ef;
}

a.topbar-link-mobile-marked:hover {
    color: #2bc864;
    background-color: #daffe8;
}

.topbar-link-mobile-img {
    width: 14px;
    height: 14px;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mt-1 {
    margin-top: 4px;
}

.ml-1 {
    margin-left: 4px;
}

.mr-1 {
    margin-right: 4px;
}

.mr-2 {
    margin-right: 8px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
    .topbar-container {
        margin: 0 8px;
    }

    .topbar-block-decktop, .topbar-link-pc {
        display: none;
    }

    .topbar-block {
        width: 100%;
    }

    .topbar-city-switch {
        font-size: 16px;
    }

    .topbar-country-select {
        position: relative;
        display: flex;
        flex-grow: 1;
    }

    .topbar-country-select {
        margin-bottom: 10px;
    }

    .topbar-country-select select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .topbar-menu-button {
        display: block;
        font-size: 20px;
        min-width: 44px;
        width: 44px;
        height: 44px;
        color: #343434;
        padding: 0;
        border: none;
        border-radius: 50%;
        line-height: normal;
    }



    .topbar-menu-button:hover, .topbar-menu-button:focus {
        color: #4941a3;
    }

    .topbar-menu-button:hover, .topbar-menu-button:focus {
        background-color: #d3d4d5;
    }

    .topbar-mobile-popup {
        display: block;
    }

    .topbar-city-popup {
        margin-left: auto;
        margin-right: auto;
    }

    .topbar-city-popup-content {
        margin: 0 10px;
    }

    .topbar-city-popup::after {
        right: 50%;
    }

    .topbar-extra-buttons {
        flex-wrap: wrap;
    }

    .topbar-extra-btn {
        width: 100%;
        margin: 10px 0 0 0;
    }

    .topbar-country-buttons {
        display: none;
    }

    .topbar-city-list {
        flex-direction: row;
        overflow-y: auto;
        max-height: 50vh;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .topbar-city-link {
        font-size: 15px;
        flex-basis: 50%;
        margin: 0;
        padding: .6em 1em;
    }
}