#preferences-editor-container{
    background-color: #16415F;
    
    color: white;
    width: 100%;
    padding: 20px 0;

    border-bottom: 1px solid black;

    position: fixed;
    right: 0;
    top: -100%;

    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

    transition: top 1s;
}

#preferences-editor-container > div{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

#preferences-editor-container input[type='number']{
    width: 3.5em;
    height: 2em;
}

#preferences-editor-contrast-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
#preferences-editor-contrast-container input[type='radio']{
    display: none;
}

#preferences-editor-contrast-container label{
    border: 1px solid #000;
    border-radius: 5px;
    height: 2.5em;
    width: 2.5em;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    line-height: 2.2em !important;
    padding: 2px;
    cursor: pointer;
    position: relative;
}

#preferences-editor-trigger{
    width: 40px;
    height: 40px;
    padding: 10px;
    background-color: #16415F;
    border: 1px solid black;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-image: url("../images/wheelchair.svg");
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 5%;
    top: 100%;
    cursor: pointer;
}

.preferences-editor-bw #preferences-editor-trigger{
    background-image: url("../images/wheelchairbw.svg") !important;
}

#preferences-editor-default, #preferences-editor-default *{
    background-color: #16415F !important;
    color: white !important;
    border-color: black !important;
}

#preferences-editor-default:before, #preferences-editor-default:after {
    position: absolute;
    content: '';
    background: rgba(255, 255, 255, 0.3) !important;
    display: block;
    width: 100%;
    height: 3px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

#preferences-editor-default:after {
    -webkit-transform: rotate(45deg);    
    transform: rotate(45deg);
}

#preferences-editor-bw, #preferences-editor-bw *, .preferences-editor-bw, .preferences-editor-bw *{
    color: #000 !important;
    background-color: #fff !important;
    border-top-color: #000 !important;
    border-right-color: #000 !important;
    border-bottom-color: #000 !important;
    border-left-color: #000 !important;
}

#preferences-editor-wb, #preferences-editor-wb *, .preferences-editor-wb, .preferences-editor-wb *{
    color: #fff !important;
    background-color: #000 !important;
    border-top-color: #fff !important;
    border-right-color: #fff !important;
    border-bottom-color: #fff !important;
    border-left-color: #fff !important;
}

#preferences-editor-by, #preferences-editor-by *, .preferences-editor-by, .preferences-editor-by *{
    color: #000 !important;
    background-color: #ff0 !important;
    border-top-color: #000 !important;
    border-right-color: #000 !important;
    border-bottom-color: #000 !important;
    border-left-color: #000 !important;
}
#preferences-editor-yb, #preferences-editor-yb *, .preferences-editor-yb, .preferences-editor-yb *{

    color: #ff0 !important;
    background-color: #000 !important;
    border-top-color: #ff0 !important;
    border-right-color: #ff0 !important;
    border-bottom-color: #ff0 !important;
    border-left-color: #ff0 !important;

}
#preferences-editor-lgdg, #preferences-editor-lgdg *, .preferences-editor-lgdg, .preferences-editor-lgdg *{
    color: #bdbdbb !important;
    background-color: #555 !important;
    border-top-color: #bdbdbb !important;
    border-right-color: #bdbdbb !important;
    border-bottom-color: #bdbdbb !important;
    border-left-color: #bdbdbb !important;
}
