body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(60, 60, 60);
    color: white;
    padding: 0;
    margin: 0;
}

.page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.fullheight {
    height: -webkit-fill-available;
}

.box1,
.box2,
.box3,
.box4,
.box5,
.box6 {
    border: 1px solid white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.box1 {
    /* flex: 2; */
    width: 20%;
}

.box2 {
    flex: 5;
}

.box3 {
    flex: 3;
}

.box4 {
    width: 20%;
    /* flex: 2; */
    justify-content: flex-start;
    padding-top: 0;
}

.box5 {
    flex: 5;
}

.box6 {
    flex: 3;
    justify-content: flex-start;
    padding: 0;
}

.box7 {
    flex: 4.4;
    display: flex;
    flex-direction: column;
    border: 1px solid white;
}

.subbox1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subbox2,
.subbox3 {
    width: -webkit-fill-available;
}

.subbox4 {
    flex: 1;
    padding: 30px;
    padding-top: 0;
}

.bottomBorder {
    border-bottom: 2px solid white;
}

.clock {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.address,
.bemerkung,
.eingang {
    border: 1px solid rgb(90, 90, 90);
    margin: 0;
    padding: 10px;
    text-align: center;
    font-weight: bolder;
}

.address {
    font-size: 1.4rem;
}

.bemerkung {
    font-size: 1.5rem;
    color: red;
}

.einsatzeingang_header,
.einsatzeingang {
    margin: 0;
}

.einsatzeingang {
    color: orange;
    font-size: 1.5rem;
}

.subTitle {
    font-weight: normal;
    text-decoration: double;
    color: red;
}

#alarmeirte_einheiten {
    font-weight: bolder;
    font-size: 1.2rem;
    margin-top: 0;
}

.weather_header {
    display: flex;
    align-items: center;
}

.weather_text {
    margin: 0;
}

/* Tabelle für letzte Einsätze */

.sidebar-table table {
    width: 100%;
    table-layout: fixed;
}

.sidebar-table td {
    padding: 10px;
    border-right: 1px solid rgb(0, 0, 0);
    /* Leichte graue Linie für jede Zelle rechts */
}

.sidebar-table th {
    background-color: #4e4cc1;
    padding: 10px;
}

.sidebar-table td:last-child {
    border-right: none;
    /* Entfernt den rechten Rand der letzten Zelle jeder Zeile */
}

td {
    padding: 10px;
}

tr:nth-child(even) {
    background-color: rgb(35, 35, 35);
}

tr:nth-child(odd) {
    background-color: rgb(50, 50, 50);
}

.sidebar-table td::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    /* Startet bei 10% der Zellenhöhe */
    bottom: 10%;
    /* Endet bei 10% von unten */
    width: 1px;
    background-color: #ccc;
}

.sidebar-table td:last-child::after {
    background-color: transparent;
    /* Entfernt den Rand der letzten Zelle jeder Zeile */
}

.code {
    font-family: 'Courier New', monospace;
    background-color: #555;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Event Einträge */
.event_list {
    display: flex;
    gap: 20px;
}

.event {
    background-color: rgb(50, 50, 50);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid black;
    font-size: 1.25rem;
}

.event>* {
    padding: 10px;
    margin: 0;
}

.event_header {
    background-color: #4e4cc1;
    font-size: 1.5rem;
    text-align: center;
    padding: 20px;
}

.info_banner {
    border-radius: 10px;
    background-color: rgb(111, 111, 255);
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bolder;
}

#page_history {
    font-size: 1.25rem;
}

.hide {
    display: none !important;
}

hr {
    width: 100%;
    border-color: darkgray;
}

/* Daily Message */
.daily_message {
    font-weight: bold;
    font-style: italic;
    font-size: 2rem;
}

/* Admin Alarm Page */

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container>h1 {
    color: black;
}

.form_sendTest {
    min-width: 350px;
}

.form_sendTest>h2 {
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 5px;
}

label {
    display: block;
    margin-top: 10px;
    color: #555;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #28a745;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: .5s;
}

input[type="submit"]:hover {
    background-color: #218838;
    transition: .5s;
}

.resetForm>input[type="submit"] {
    background-color: white;
    border: 3px solid red;
    color: black;
    transition: .5s;
}

.resetForm>input[type="submit"]:hover {
    background-color: red;
    color: white;
    transition: .5s;
}

/* AGT Tauglich */

.agt_list>tbody>tr>th,
.agt_list>thead>tr>th {
    padding: 10px;
}

.agt_list>thead>tr {
    background-color: #4e4cc1;
}

.agt_tauglich_green {
    background-color: rgb(48, 111, 48) !important;
}

.agt_tauglich_red {
    background-color: rgb(124, 0, 0) !important;
}

.agt_tauglich_check {
    color: rgb(0, 255, 0);
    text-shadow: 0 0 10px #FFFFFF;
    text-align: center;
}

.agt_tauglich_cross {
    color: rgb(255, 0, 0);
    text-shadow: 0 0 10px #FFFFFF;
    text-align: center;
}

/* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
@media (min-width:600px) {
    .page {
        overflow: scroll;
    }
}

/* tablet, landscape iPad, lo-res laptops ands desktops */
@media (min-width:801px) {
    .page {
        overflow: hidden;
    }
}