/* dr1315.de — Anwendungs-Styles (vorher inline in inc_header.php) */

html, body { height: 100%; }

#title { margin-top: 4rem !important; }
#page-content { flex: 1 0 auto; }

.hide { visibility: hidden; }

/* Login (alter Container, ungenutzt — kann weg, sobald sicher) */
#login .container #login-row #login-column #login-box {
    margin-top: 120px;
    max-width: 600px;
    height: 320px;
    border: 1px solid #9C9C9C;
    background-color: #EAEAEA;
}
#login .container #login-row #login-column #login-box #login-form { padding: 20px; }
#login .container #login-row #login-column #login-box #login-form #register-link { margin-top: -85px; }

/* Modal */
.modal-body {
    max-width: 90%;
    background-color: #FFFFFF;
    margin: 15% auto;
    text-align: center;
}

/* Foto-Upload */
#upload { opacity: 0; }
#upload-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}
.image-area {
    border: 2px dashed rgba(255, 255, 255, 0.7);
    position: relative;
}
.image-area img {
    z-index: 2;
    position: relative;
    width: 30%;
}

/* Navbar */
.nav-link { color: white; }
.navbar-nav .active {
    color: white !important;
    font-weight: bold;
    text-decoration-line: underline;
}
.navbar-nav .disabled,
.navbar-nav.hover { color: grey !important; }
.navbar-brand {
    color: white !important;
    font-weight: bold;
}
.nav-item > a:hover { background-color: #FCC !important; }
.navbar-toggler-icon {
    background-color: white !important;
    font-weight: bold;
}

/* PIN-Modal */
#PIN {
    width: unset;
    display: inline;
}

/* Logbuch */
.logrow { border-top: 1px solid black !important; }

/* Widgets auf Startseite */
#insertWidget,
.abfallWidget,
.weatherWidget { background-color: white !important; }

/* Tabellen aus externen Quellen */
table.wastetbl.databack td,
table.fahrplan td,
table.fahrplan th,
table.bauhof td {
    border: 1px solid black;
    padding: 5px;
}
.wastedate { color: blue; }
