#mn-style-selector {
    position: relative;
}
#mn-style-selector > a {
    white-space: nowrap;
}
#mn-style-selector .mn-style-selector-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
#mn-style-selector .mn-style-selector-menu .dropdown-contents > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}
#mn-style-selector .mn-style-check {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(70, 130, 170, .13);
    color: #477da5;
    font-size: 12px;
    font-weight: 900;
}
html.mundo-one-light #mn-style-selector .mn-style-is-active {
    background: rgba(73, 126, 169, .10);
}
html.mundo-one-dark #mn-style-selector .mn-style-check,
html.dark #mn-style-selector .mn-style-check {
    background: rgba(105, 168, 207, .14);
    color: #8dc9ec;
}
@media (max-width: 767px) {
    #mn-style-selector > a {
        width: 100%;
    }
}

/* v1.0.1 — selektor ma pozostać widoczny w górnym pasku Mundo One. */
#nav-main > #mn-style-selector {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
}
#nav-main > #mn-style-selector > a {
    display: inline-flex !important;
    align-items: center !important;
}
@media (max-width: 767px) {
    #nav-main > #mn-style-selector {
        width: 100% !important;
    }
}

/* v1.0.2 — button is injected only after Mundo One finishes building the top menu. */
#mn-style-selector-template { display:none !important; }
#nav-main > li#mn-style-selector {
    display:list-item !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    flex:0 0 auto !important;
}
#nav-main > li#mn-style-selector > a {
    display:inline-flex !important;
    align-items:center !important;
    min-height:40px;
}
