/*
 * Simple Look - Cirilica > Latinica
 * Namespaced switcher CSS. Written strongly on purpose so Hello/Elementor/global button CSS cannot take over the widget.
 */

html body .slcl-switcher[data-slcl-switcher] {
    --slcl-wrapper-gap: 7px;
    --slcl-wrapper-padding: 0;
    --slcl-wrapper-bg: transparent;
    --slcl-wrapper-border-style: none;
    --slcl-wrapper-border-width: 0;
    --slcl-wrapper-border-color: transparent;
    --slcl-wrapper-radius: 0;

    --slcl-btn-color: inherit;
    --slcl-btn-bg: transparent;
    --slcl-btn-border-style: solid;
    --slcl-btn-border-width: 1px;
    --slcl-btn-border-color: currentColor;
    --slcl-btn-radius: 999px;
    --slcl-btn-padding: 0;
    --slcl-btn-width: 34px;
    --slcl-btn-height: 34px;
    --slcl-btn-min-width: 34px;
    --slcl-btn-transition: .18s;
    --slcl-btn-opacity: .82;

    --slcl-btn-hover-color: var(--slcl-btn-color);
    --slcl-btn-hover-bg: var(--slcl-btn-bg);
    --slcl-btn-hover-border-color: var(--slcl-btn-border-color);

    --slcl-btn-active-color: var(--slcl-btn-color);
    --slcl-btn-active-bg: rgba(127, 127, 127, .16);
    --slcl-btn-active-border-color: var(--slcl-btn-border-color);

    --slcl-sep-color: currentColor;
    --slcl-sep-margin: 0;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--slcl-wrapper-gap) !important;
    padding: var(--slcl-wrapper-padding) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    vertical-align: middle !important;
    background-color: var(--slcl-wrapper-bg) !important;
    background-image: none !important;
    border-style: var(--slcl-wrapper-border-style) !important;
    border-width: var(--slcl-wrapper-border-width) !important;
    border-color: var(--slcl-wrapper-border-color) !important;
    border-radius: var(--slcl-wrapper-radius) !important;
    box-sizing: border-box !important;
    isolation: isolate !important;
}

html body .slcl-switcher[data-slcl-switcher],
html body .slcl-switcher[data-slcl-switcher] * {
    box-sizing: border-box !important;
}

html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    float: none !important;
    position: relative !important;
    inset: auto !important;
    width: var(--slcl-btn-width) !important;
    max-width: var(--slcl-btn-width) !important;
    min-width: var(--slcl-btn-width) !important;
    height: var(--slcl-btn-height) !important;
    max-height: var(--slcl-btn-height) !important;
    min-height: var(--slcl-btn-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-style: var(--slcl-btn-border-style) !important;
    border-width: var(--slcl-btn-border-width) !important;
    border-color: var(--slcl-btn-border-color) !important;
    border-radius: var(--slcl-btn-radius) !important;
    outline: 0 !important;
    background-color: var(--slcl-btn-bg) !important;
    background-image: none !important;
    color: var(--slcl-btn-color) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    opacity: var(--slcl-btn-opacity) !important;
    line-height: 1 !important;
    font-family: inherit;
    transform-origin: center center !important;
    font-size: inherit;
    font-weight: 700;
    transition-property: opacity, background-color, color, border-color, transform, box-shadow !important;
    transition-duration: var(--slcl-btn-transition) !important;
    transition-timing-function: ease !important;
}

html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn:hover,
html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn:focus,
html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn:focus-visible,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn:hover,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn:focus,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn:focus-visible {
    color: var(--slcl-btn-hover-color) !important;
    background-color: var(--slcl-btn-hover-bg) !important;
    background-image: none !important;
    border-color: var(--slcl-btn-hover-border-color) !important;
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    outline: 0 !important;
}

html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn.is-active,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn.is-active {
    color: var(--slcl-btn-active-color) !important;
    background-color: var(--slcl-btn-active-bg) !important;
    background-image: none !important;
    border-color: var(--slcl-btn-active-border-color) !important;
    opacity: 1 !important;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px var(--slcl-btn-active-border-color) !important;
}

html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: var(--slcl-sep-margin) !important;
    padding: 0 !important;
    color: var(--slcl-sep-color) !important;
    background: transparent !important;
    border: 0 !important;
    line-height: 1 !important;
    opacity: .72 !important;
    user-select: none !important;
    white-space: nowrap !important;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-links {
    --slcl-wrapper-gap: 5px;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-links > button.slcl-switch-btn,
html body .slcl-switcher[data-slcl-switcher].slcl-style-links > .slcl-switch-btn {
    --slcl-btn-border-style: none;
    --slcl-btn-border-width: 0;
    --slcl-btn-radius: 0;
    --slcl-btn-min-width: 0;
    --slcl-btn-padding: 0;
    box-shadow: none !important;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-links > button.slcl-switch-btn:hover,
html body .slcl-switcher[data-slcl-switcher].slcl-style-links > button.slcl-switch-btn:focus-visible,
html body .slcl-switcher[data-slcl-switcher].slcl-style-links > .slcl-switch-btn:hover,
html body .slcl-switcher[data-slcl-switcher].slcl-style-links > .slcl-switch-btn:focus-visible {
    text-decoration: underline !important;
    transform: none !important;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-links > button.slcl-switch-btn.is-active,
html body .slcl-switcher[data-slcl-switcher].slcl-style-links > .slcl-switch-btn.is-active {
    text-decoration: underline !important;
    box-shadow: none !important;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-toggle {
    --slcl-wrapper-gap: 4px;
    --slcl-wrapper-padding: 4px;
    --slcl-wrapper-border-style: solid;
    --slcl-wrapper-border-width: 1px;
    --slcl-wrapper-border-color: currentColor;
    --slcl-wrapper-radius: 999px;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-toggle > button.slcl-switch-btn,
html body .slcl-switcher[data-slcl-switcher].slcl-style-toggle > .slcl-switch-btn {
    --slcl-btn-border-style: none;
    --slcl-btn-border-width: 0;
    --slcl-btn-padding: 8px 12px;
    box-shadow: none !important;
}

html body .slcl-switcher[data-slcl-switcher].slcl-style-toggle > button.slcl-switch-btn.is-active,
html body .slcl-switcher[data-slcl-switcher].slcl-style-toggle > .slcl-switch-btn.is-active {
    box-shadow: none !important;
}


/* v1.2.1 - fixed-size script letters: identical width/height and perfectly centered. */
html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn,
html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-btn {
    aspect-ratio: 1 / 1 !important;
    place-items: center !important;
    text-align: center !important;
    vertical-align: middle !important;
}

html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn::before,
html body .slcl-switcher[data-slcl-switcher] > button.slcl-switch-btn::after {
    content: none !important;
    display: none !important;
}

html body .slcl-switcher[data-slcl-switcher] > .slcl-switch-separator {
    min-width: 8px !important;
    text-align: center !important;
}
