/*


*/

.settings {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    align-items: center;
    justify-items: center;

    opacity: 1;
    z-index: 4000;

    transition: opacity 250ms linear 0ms, left 0ms linear 0ms;
}

.settings-hide {
    left: -105%;
    opacity: 0.01;
    transition: opacity 250ms linear 0ms, left 0ms linear 250ms;
}

.dlg-settings {
    position: relative;
    width: 550px;
    height: 480px;
    border-radius: 10px;
    background-color: rgb(230, 230, 230);
    overflow: hidden;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 50px 1fr 50px;
}

.dlg-settings header {
    display: grid;
}

.dlg-settings footer {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
    padding-right: 10px;
}

.dlg-settings header h3 {
    margin: 0px;
    color: white;
    text-shadow: 1px 1px 2px black;
    align-self: center;
}

.dlg-settings .btn {
    width: 150px;
    height: 33px;
    align-self: center;
    justify-self: right;
}

.dlg-settings main {
    padding: 20px;
}

.dlg-settings fieldset {
    padding: 15px 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-color: silver;
    border-width: 1px;
}

.dlg-settings fieldset > div {
    margin-bottom: 10px;
}

.dlg-settings label {
    display: inline-block;
}

.dlg-settings input {
    width: 20%;
    float: right;
    text-align: right;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
    padding: 2px;
}

.dlg-settings input:focus,
.dlg-settings input:focus-visible {
    background-color: rgba(43, 71, 127, 0.2);
    outline-color: rgb(43, 71, 127);
    border-color: rgb(43, 71, 127);
    border-width: 1px;
    outline-width: 0px;
}




.dlg-settings input::-moz-focusring {
    background-color: rgba(43, 71, 127, 0.2);
    outline-color: rgb(43, 71, 127);
    border-color: rgb(43, 71, 127);
    border-width: 1px;
    outline-width: 0px;
}



@media (max-width: 800px) {
    .dlg-settings {
        width: 370px;
        height: 400px;
        font-size: 0.8em;
    }

}