#register {
    min-width: 150px;
}

.spoiler {
    margin: 2px;
    padding: 0.5px;
}

.text-box-height-md {
    resize: none;
    min-height: 150px;
    max-height: 160px;
}

.hover-outline:hover {
    color: blue;
    cursor: pointer;
}

.text-box-form {
    max-width: 140px;
    padding: 0px;
    margin-bottom: 0px;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.centercontent {
    display: grid;
    justify-content: center;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    margin-bottom: 60px;
}

.glyphicon {
    height: 25px;
    width: 25px
}

a#manage {
    padding: 10px;
}

.form-inline {
    border-style: outset;
    border-color: #D9BF0F;
    border-radius: 10px;
    margin-right: 5px;
    width: fit-content;
    background-color: #f0d723;
}
/* Set the background color */
body {
    background-color: #f5f5f5;
}

/* Add some padding and a border around the form */
form {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
    overflow: auto;
}

/* Style the headings */
h1, h2 {
    font-weight: bold;
    color: #444;
    margin-bottom: 20px;
}

/* Style the paragraphs */
p {
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Style the labels */
label {
    font-weight: bold;
    margin-right: 10px;
    color: #555;
}

/* Style the input fields */
input[type="text"], select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    width: 100%;
    margin-bottom: 20px;
}

/* Style the submit buttons */
input[type="submit"], button {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 0.25rem;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    min-width: 100px;
}

/* Style the cancel buttons */
input[type="button"] {
    background-color: #ccc;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 0.25rem;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
}

textarea {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fff;
    resize: vertical;
    width: 100%;
}

/* Style the success messages */
.success {
    color: #4CAF50;
    margin-top: 20px;
}

/* Style the error messages */
.error {
    color: #FF0000;
    margin-top: 20px;
}

/* Style the drop-downs */
.drop-down, .input-validation-error {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    background-color: #f6f6f6;
    margin-bottom: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: menulist;
    background-repeat: no-repeat;
    background-position: 98% center;
}

/* Style the list box */
select[multiple] {
    height: 150px;
    background-color: #f6f6f6;
}

/* Style the columns */
.column {
    float: left;
    width: 50%;
    padding: 10px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Test */
div#stoerungsdetails {
    width: fit-content;
    min-width: fit-content;
    margin-right: 10px;
}

.parent {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
}

.child {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.child2 {
    width: 50%;
    flex-grow: 2;
}

img#busbild {
    object-fit: contain;
    width: 100%;
    max-height: 625px;
}

#fieldset {
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
}

#textbox {
    flex-grow: 1;
}

.child2R {
    display: flex;
    flex-direction: column;
}

div#images {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.prev, .next {
    cursor: pointer;
    padding: 20px;
    color: yellow;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
        color: white;
        text-decoration: none;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-floating {
    margin: 5px 0px 5px 0px;
}

.title-container {
    text-align: center;
}

#login-submit {
    background-color: #f0d723;
    border-radius: 10px;
    border-color: #f0d723;
}

.account {
    width: 100%;
}

div {
    margin: 5px;
}

.link {
    display: block;
}

.link {
    color: black;
    text-decoration: none;
}

.link:hover, #link:hover {
        background-color: lightgray;
        text-decoration: underline;
        color: black;
}

a, a:hover {
    color: black;
    text-decoration: none;
}

th a.sort-by {
    padding-right: 18px;
    position: relative;
    display: block;
}

a.sort-by:before,
a.sort-by:after {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 5px;
    top: 50%;
    position: absolute;
    width: 0;
}

a.sort-by:before {
    border-bottom-color: #666;
    margin-top: -9px;
}

a.sort-by:after {
    border-top-color: #666;
    margin-top: 1px;
}

.pg {
    background-color: #f0d723;
}

    .pg:hover {
        background-color: #D9BF0F
    }

button {
    border-width: thin;
    border-radius: 0.25rem;
}

input {
    margin: 0px,5px,0px,5px;
}

.table {

}

.stoerstellentabelle {
    overflow-x: scroll;
    overflow-y: hidden;
}

/*Klebprotokol style*/
#protokolle {
    font-family:Bahnschrift;
}

.checkbox {
    width: 30px;
    height: 30px;
    position: relative;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: inline-block;
    accent-color: white;
}

    .checkbox label {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        font-weight: bold;
        color: #fff;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .checkbox input[type="checkbox"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        .checkbox input[type="checkbox"]:checked + label {
            opacity: 1;
        }

.tableHead {
    border: 2px solid #000;
    text-align: center;
    background-color: yellow;
    height: 30px;
}

.tableCellEdit {
    border: 2px solid #000;
    height: 30px;
    width: 180px;
    text-align: center;
}

table {
    margin: 4px;
}

.heading16 {
    font-size: 16px;
}

.yellow-bckg {
    background-color: yellow;
    text-align: center;
}

.h1-center {
    text-align: center;
}

.td-textfield-form {
    width: 40px;
    margin-right: 20px;
}

.loose-table {
    border-collapse: separate;
    border-spacing: 0.4em;
    margin: 0px 10px;
    text-align: start;
}
.heading-table {
    border-collapse: separate;
    border-spacing: 0em 2em 0em 0em;
}

.textb-60w {
    width: 60px;
}

.red-text {
    color: red;
}

.no-margin {
    margin: 0px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:inherit;
}

.a4-size {
    width: 210mm; /* A4 width */
    height: 320mm; /* A4 height */
    margin: 0 auto; /* center horizontally */
    overflow: hidden; /* hide overflow */
    display: flex; /* use flexbox */
    flex-direction: column; /* column layout */
    justify-content: center; /* center vertically */
    align-items: inherit; /* center horizontally */
}

.img-thumbnail .img-statistik {
    width: 100%;
}

.image-container {
    margin: 20px 0;
}

    .image-container h5 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .image-container .centercontent {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #ccc;
        padding: 4px;
    }

    .image-container img {
        max-width: 100%;
        height: auto;
    }

.text-box-form {
    max-width: 140px;
    padding: 0px;
    margin-bottom: 0px;
}

@media print {
    /* Set page size to A4 */

    .yellow-bckg {
        background-color: yellow;
        text-align: center;
    }

    .no-print {
        display:none;
    }

    .select2-container {
        display: none !important;
    }

    @page {
        size: A4;
        margin: 0;
    }
    /* Hide header and footer */
    @page {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* Adjust content to fit within A4 */
    body {
        margin: 0;
        font-size: 80%;
        background-color: white;
        font-family: Bahnschrift;
    }

    h1{
        font-size:21px;
        margin-top:0px;
        margin-bottom:10px;
        text-align:center;
    }

    .td-width-140 {
        min-width:140px;
    }

    input[type=text] {
        font-size: 12px;
        padding: 10px;
        max-height: 24px;
        max-width: 130px;
        text-align: center;
        margin:inherit;
    }

    button {
        display:none;
    }

    .bus-img {
        margin-top:30px;
    }

    .a4-size {
        width: 210mm; /* A4 width */
        height: 297mm; /* A4 height */
        margin: 0 auto; /* center horizontally */
        padding: 0 15mm 0 15mm;
        overflow: hidden; /* hide overflow */
        display: flex; /* use flexbox */
        flex-direction: column; /* column layout */
        justify-content: center; /* center vertically */
        align-items: inherit; /* center horizontally */
    }

    .text-box-form {
        max-height: 24px;
        max-width: 120px;
        padding: 10px;
        margin-bottom: 0px;
    }
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-bvg {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 0.25rem;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    min-width: 100px;
}

.centered-content{
    display: flex;
    justify-content: center;
}

.preview-image {
    max-width :400px;
    max-height: 400px;
}