
/*** Einstellungen ***/

#language_switcher legend::after {
    padding-left: 10px;
}

#language_switcher-list {
    z-index: 10000000;
    background-color: var(--sidebar-background-color);
    color: black;
    right: -0.75em;
}


#language_switcher-list > label,
#view-type > label,
#separator-size > label,
#settings-finetuning > label,
#settings-iconset > label {
    padding: 5px 10px;
    display: block;
}

#language_switcher-list input,
#view-type input,
#separator-size input { 
    display: none;
}

#language_switcher-list > label::before,
#view-type > label::before {
    padding-right: 5px;
}

#Deutsch::before,
.Deutsch::after {
    content: "🇩🇪";
}

#English::before,
.English::after {
    content: "🇺🇸";
}

#Française::before,
.Française::after {
    content: "🇫🇷";
}

#Nederlands::before,
.Nederlands::after {
    content: "🇳🇱";
}


#Einstellungen_anzeigen {
    position: absolute;
    padding: 5px;
    text-align: center;
    margin-top: 0;
    display: flex;
    top: 1vh;
    right: 1vh;
    z-index: 404;
}

#Einstellungen_anzeigen img {
    position: relative;
    /* border:2px yellow solid; */
    height: 30px;
}

#Einstellungen {
    background-color: var(--sidebar-background-color);
    color: black;
    padding: 25px;
    min-width: 250px;

    border-radius: 8px;
    box-shadow: 0px 0px 5px 0px black;

}

#language_switcher > legend::after {
    display: none;
}

#language_switcher-list {
    display: block !important;
}

::backdrop {
    background-color: rgba(0, 0, 0, .33);
}

#Einstellungen > form > fieldset > legend {
    margin: 0 auto;
    padding: 0 1em;
}

#Einstellungen > form > fieldset {
    margin-bottom: 1.5em;
}

#settings-ok-button-wrapper,
.dialog-ok-button-wrapper {
    text-align: center;
}

#settings-ok-button,
.dialog-ok-button {
    padding: 5px 20px;
}


#Einstellungen :checked,
#Einstellungen :checked + * {

    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: underline;
}

#settings-style :checked + *::before {
    content: "\00A0";
    background-color: rgba(255, 255, 255, 0.25);
    width: 26px;
    position: absolute;
    margin-left: -26px;

}

#language_switcher label:hover,
#settings-style > div > div:hover {
    background-color: rgba(255, 255, 255, 0.50);

}


#settings-style label {
    width: calc(100% - 27px);
    display: inline-block;
}

#Einstellungen fieldset {
    margin-bottom: 15px;
}

.settings-columns {
    display: table-row;
    overflow: hidden;
}

.settings-column {
    display: table-cell;
    width: 50%;
    overflow: hidden;
}

#settings-font {

    overflow-y: auto;
    cursor: default;

    height: 560px;    
}


#font-switcher-menu {
    padding-left: 0px;
}

#font-switcher-menu > li {
    list-style-type: none;
    padding-left: 2em;
}


.selected-font {
    background-color: grey;
    color: white;
}


#view-type img {
    width: 2em;
}

label[for="view-type-tablet-landscape"] > img {
    rotate: 90deg;
}

#view-type > label {
    display:table-row;    
}

#view-type > label > * {
    display:table-cell;
    vertical-align: middle;
    padding: 0.25em;
}

#view-type > label > span {
    padding-left:1em;
    min-width: 100%;
}

#separator-size > label::before{
    content: '\00A0';
    width: 3em;
    position: absolute;
    border-top-color: black ;
    border-top-style: solid;
    margin-left:-3.5em;    
}

#separator-size > label {
    padding-left:3.5em;
}


label[for='separator-size-hidden']::before {
    border-top-width:0px !important;    
}


label[for='separator-size-small']::before {
    border-top-width:3px !important;    
    margin-top: 0.4em;
}

label[for='separator-size-medium']::before {
    border-top-width:10px !important;
    margin-top: 0.25em;
}

label[for='separator-size-large']::before {
    border-top-width:15px !important;
}



/*** hide fonts settings ***/

.settings-column:nth-child(2) {
    display: none;
}
