.flash {
    padding: 10px;
    margin-bottom: 5px;
}
.flash-info {
    background-color: gray;
    color: white;
}
.flash-fullscreen{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.viewoutput {
    border: solid 1px gray;
    border-radius: 28px;
    padding: 10px 24px;
    min-height:48px;
}

input.form-checkbox {
    width: auto;
    margin-right: 10px;
}

.db-pagination {
    text-align: center;
}
.db-user-profile-image {
    border: solid 2px gray;
    border-radius: 50%;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    vertical-align: middle;
}
.db-username {

}

.db-topmenu-links a {
    margin-left: 15px;
}

.db-tinymce {
    height: 500px;
}

.form-group {
    padding-top: 20px;
}


.developInfo {
    z-index: 9999;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;padding: 5px;background-color: rgba(200,200,200,0.9);font-size: 0.8em;
}


.bg-dark {
    background-color: #e1001a !important;
}

#sidebarMenu .nav-link, main a {
    color: #e1001a !important;
}

#sidebarMenu .nav-link:hover, main a {
    text-decoration: underline;
}

table.db-datatable {
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .1);
}

.db-th-aktionen {
    text-align: right;
}

.crud-action-column {
    width: 10px;
}


.db-crud-tr .db-crud-delete {
    visibility: hidden;
}

.db-crud-tr:hover .db-crud-delete {
    visibility: visible;
}

.db-greyAccordion{
    padding:10px;background: lightgray;border-radius: 5px;
}

.dialogInner form {
    margin-bottom: 20px;
}

.dbi-aufgabenblock {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px gray;
}

.dbi-bereich-beschreibung {
    font-style: italic;
    font-size:0.9em;
}

.fallbeispiel .accordion-button:not(.collapsed)::after,
.fallbeispiel .accordion-button::after {
    background-image: none;
}

.sidebar {
    height: calc(100vh - 48px) !important; /* 56px ist die Standard-Höhe der Bootstrap-Navbar */
}

.db-paginate-page a {
    text-decoration: none;
    color: #e1001a;
    padding: 0 3px;
}


.db-paginate-page.selected a {
    font-weight: bold;
}

.btn-primary {
    background-color: #e1001a;
    border-color: #e1001a;
    color: white !important;
}

.btn-primary:hover {
    background-color: #e1001a;
    border-color: #e1001a;
    color: white !important;
}

.db-datatable tr th span {
    font-weight: 700;
}

.db-datatable tr th {
    cursor: pointer;
    background-color: #eeeeee;
}

@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 48px;
        left: -100%;
        width: 100%;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .sidebar.show {
        left: 0;
    }
}


.blockselect {
    padding: 10px;
    border: 1px solid #ddd;
    margin: 5px 0;
    transition: background-color 0.2s;
    width: calc(50% - 10px);
    box-sizing: border-box;
    display: inline-block;
}
.blockselect:nth-child(even) {
    margin-right: 10px;
}

.blockselect input[type="radio"]:checked + .blockselect,
.blockselect input[type="radio"]:checked {
    background-color: #e3f2fd;
    border-color: #2196F3;
}

.cam-box {
    display: none;
}



.video-container {
    width: 300px; /* Quadratgröße: Breite und Höhe gleich */
    height: 300px;
    overflow: hidden; /* Schneidet Überflüssiges ab */
    position: relative;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; /* Füllt mindestens die Breite */
    min-height: 100%; /* Füllt mindestens die Höhe */
    object-fit: cover; /* Sorgt dafür, dass das Video zugeschnitten wird */
}