@font-face {
    font-family: alarmClock;
    src: url('alarmclock.ttf');
}

* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    /*weg, falls keine Hintergrundfarben gewünscht*/
    background-color: #F8F8F8;
}

div {
    border: 2px solid black;
    margin: 5px;
    padding: 1vh;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

#settings div {
    display: inline-block;
}

body > div,
#timers,
#toilet {
    border: 4px solid;
}

h1,
h2,
span,
input,
button {
    padding: 2px;
}

input {
width: 60%;
}

.timeInput {
    min-width: 40px;
    max-width: 150px;
    width: 20%;

    text-align: right;
}

#settings div {
    display: inline-block;
    background-color: white;
}

body {
    text-align: center;
}

#timers {
    position:relative;
    display: inline-block;
    vertical-align: top;
    /*weg, falls keine Hintergrundfarben gewünscht*/
    background-color: #FAFAFA;
}

#timerMain,
#timerRead {
    font-family: alarmClock;
}

#timerRead {
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
}

#readLabel {
    margin-top: 0;
    padding-top: 0;
}

#settings {
    display: inline-block;
    vertical-align: middle;
    z-index: 2;
    margin: 200px 0 0 0;
    background: rgba(255, 255, 255, 0.7);
}

#settingsTable {
    background-color: rgba(100%, 100%, 100%, 1);
    display: inline-block;
}

#jumpFix {
    width: 45px;
    border: none;
}

aside {
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 6;
}

code {
    font-family: monospace;
    font-size: 1.2em;
    font-weight: bold;
}

.buttons {
    border-color: darkgrey;
    color: darkgrey;
    background-color: white;
    font-weight: bold;
    width: 120px;
}

.buttons:hover,
.buttonactive {
    color: white;
    background-color: darkgrey;
    border-color: darkgrey;
    font-weight: bold;
    width: 120px;
}

.buttonsmall {
    padding: 5px;
    margin: 0;
    border-color: grey;
    color: grey;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;

}

.buttonsmall:hover {
    color: black;
    border-color: black;
}

#settings #settingsTable #addTime,
aside #startButton,
aside #stopButton {
    display: none;
}

#infos {
    width: 80%;
    margin: 1vh auto;
    text-align: left;
    display: inline-block;
    /*weg, falls keine Hintergrundfarben gewünscht*/
    background-color: #f7f7ef;
}

.passwordBox {
    width: 80%;
    text-align: center;
    margin: 1vh auto;
}

#infoCaption {
    margin: 5px;
}

div:has(>#infoContent) {
    width: 90%;
    min-height: 500px;
}

#infoContent {
    width: 100%;
    height: 100%;
    overflow: auto;
}

#toilet {
position:relative;
    display: inline-block;
    height: 100%;
    vertical-align: text-bottom;
}

#infoFormatted {
    padding-left: 35px;
    /*weg, falls keine Hintergrundfarben gewünscht*/
    background-color: #FAFAF8;
}

.toiletFree {
    border-color: #31B404;
    color: #31B404;
    background-color: #E0F8E0;
}

.toiletOccupied {
    border-color: #FE2E2E;
    color: #FE2E2E;
    background-color: #F6CECE;
}

.overlay {
    background-color: rgba(100%, 100%, 100%, 0.8);
    z-index: 2;
    border-radius: 0px;
}

.wholePage {
    margin: 0;
    border: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3;
    width: 100vw;
    height: 100vh;
    text-align: center;
}

#addTimePane {
    position: absolute;
    width: 200px;
    margin: 0;
    background-color: white;
}
