/* Ulys Info Ticker */
.uit,
.uit * {
    box-sizing: border-box;
}

.uit {
    --uit-text: #151515;
    --uit-muted: #858585;
    --uit-line: #e7e7e7;
    --uit-bg: #ffffff;
    --uit-hover: #f5f5f5;
    --uit-shadow: 0 14px 40px rgba(0, 0, 0, .14);

    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    width: max-content;
    max-width: 100%;
    color: var(--uit-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
}

.uit__rates {
    display: flex;
    align-items: center;
    gap: 17px;
    white-space: nowrap;
}

.uit__rate {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}

.uit__currency-symbol {
    font-size: 16px;
    line-height: 1;
}

.uit__currency-value {
    font-weight: 500;
}

.uit__weather {
    position: relative;
}

.uit__weather-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 2px;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.uit__weather-toggle:hover,
.uit__weather-toggle:focus-visible {
    opacity: .72;
}

.uit__weather-label {
    font-weight: 500;
}

.uit__weather-current {
    color: var(--uit-muted);
}

.uit__weather-current-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.uit__weather-icon {
    min-width: 17px;
    text-align: center;
    font-size: 17px;
    line-height: 1;
}

.uit__weather-temp {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.uit__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform .18s ease;
    opacity: .85;
    margin-top: -2px;
}

.uit.is-open .uit__chevron {
    transform: rotate(225deg);
    margin-top: 2px;
}

.uit__weather-menu {
    position: absolute;
    z-index: 99999;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid var(--uit-line);
    border-radius: 10px;
    background: var(--uit-bg);
    box-shadow: var(--uit-shadow);
}

.uit__weather-menu[hidden] {
    display: none !important;
}

.uit__weather-list {
    max-height: min(520px, 70vh);
    overflow-y: auto;
}

.uit__weather-item {
    appearance: none;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--uit-line);
    background: transparent;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.uit__weather-item:hover,
.uit__weather-item:focus-visible,
.uit__weather-item.is-active {
    background: var(--uit-hover);
}

.uit__item-main,
.uit__item-side {
    display: flex;
    align-items: center;
    gap: 9px;
}

.uit__item-main {
    min-width: 0;
}

.uit__item-icon {
    width: 21px;
    flex: 0 0 21px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
}

.uit__item-city {
    font-weight: 650;
    white-space: nowrap;
}

.uit__item-side {
    margin-left: auto;
    justify-content: flex-end;
}

.uit__item-desc {
    color: var(--uit-muted);
    font-size: 13px;
    white-space: nowrap;
}

.uit__item-temp {
    min-width: 40px;
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.uit__weather-credit {
    padding: 8px 14px 9px;
    color: var(--uit-muted);
    font-size: 10px;
    text-align: right;
}

.uit__weather-credit a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 850px) {
    .uit {
        gap: 16px;
        font-size: 14px;
    }

    .uit__rates {
        gap: 12px;
    }

    .uit__weather-label {
        display: none;
    }
}

@media (max-width: 520px) {
    .uit {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .uit__rates {
        gap: 10px;
    }

    .uit__rate {
        gap: 4px;
    }

    .uit__weather-menu {
        right: -2px;
    }

    .uit__item-desc {
        display: none;
    }
}

@media (max-width: 380px) {
    .uit__currency-symbol {
        display: none;
    }

    .uit__rates {
        gap: 9px;
    }
}
