html {
    font-size: 13px;
}

body {
    cursor: default;
}

.sidebar-nav ul {
    margin-bottom: 1rem;
}

.sidebar-nav li {
    padding: 0 .75rem;
    margin-bottom: 1px;
}

.sidebar-nav a {
    color: #555555;
    text-decoration: none;
    display: block;
    border: 1px solid transparent;
    position: relative;
    padding: .25rem .75rem .25rem 1.25rem;
}

.sidebar-nav a:hover, .sidebar-nav li.active a {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 3px;
}

.sidebar-nav .badge {
    position: absolute;
    right: .75rem;
}

.sidebar-nav .header {
    padding: .75rem .75rem;
    margin-bottom: 0;
}

.sidebar-nav .header.active {
    color: #ff9934;
}

.sidebar-nav li.active a {
    font-weight: 500;
    color: inherit;

    background: rgb(245, 245, 245);
    background: -moz-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5f5f5", endColorstr="#ffffff", GradientType=1);
}

.grid-view .summary {
    padding: .5rem 1rem;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 5;
    position: relative;
}

.table > thead > tr > th {
    font-weight: 500;
}

.table > tbody > tr > th:first-child {
    font-weight: 500;
    padding-left: 1.25rem;
}

.table > thead > tr > th a {
    text-decoration: none;
    color: inherit;
}

.table > tbody > tr > td {
}

.grid-view .pagination {
    margin-bottom: 0;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 3;
    position: relative;
    border-bottom: 1px solid #dee2e6;
}

.grid-view .pagination > li {
    line-height: .8;
}

.grid-view .pagination > li.disabled {
    padding: .75rem 0;
    color: #cccccc;
    text-align: center;
    width: 2.5em;
}

.grid-view .pagination > li > a {
    padding: .75rem 0;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    width: 2.5em;
    text-align: center;
    text-overflow: ellipsis;
}

.grid-view .pagination > li.active > a {
    background: #f2f2f2;
    font-weight: bold;
}

.grid-view .pagination > li > a:hover {
    background: #f2f2f2;
}

.grid-view .pagination > li {
    border-right: 1px solid #dee2e6;
}

[data-href] {
    cursor: pointer;
}

[data-href] .no-click {
    cursor: default;
}

.card {
    border-color: #dee2e6;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-bottom: 1px solid #dee2e6;
    background: rgb(245, 245, 245);
    background: -moz-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5f5f5", endColorstr="#ffffff", GradientType=1);
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.bg-grey-gradient {
    background: rgb(245, 245, 245);
    background: -moz-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5f5f5", endColorstr="#ffffff", GradientType=1);
}

.card-header > h1, .card-header > .h1,
.card-header > h2, .card-header > .h2,
.card-header > h3, .card-header > .h3,
.card-header > h4, .card-header > .h4,
.card-header > h5, .card-header > .h5,
.card-header > h6, .card-header > .h6 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

dt {
    font-weight: 500;
}

.card-body > :last-child {
    margin-bottom: 0;
}

dl > dd:last-child {
    margin-bottom: 0;
}

dl > dt:last-child {
    margin-bottom: 0;
}

.table-fixed-column-width > thead > tr > th {
    white-space: nowrap;
}

.table-fixed-column-width > tbody > tr > td {
    width: 1%;
    white-space: nowrap;
}

.table-fixed-column-width > tbody > tr > td:last-child {
    width: auto;
    white-space: initial;
}

.not-set {
    color: #999999;
}

.table > thead > tr > th:first-child,
.table > tbody > tr > td:first-child {
    padding-left: 1rem;
}

.table > thead > tr > th:last-child,
.table > tbody > tr > td:last-child {
    padding-right: 1rem;
}

.blink {
    animation: blink 1s linear infinite;
}

.card > .table,
.card > .table-responsive > .table {
    margin-bottom: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.card > .table > tbody > tr:last-child,
.card > .table-responsive > .table > tbody > tr:last-child,
.card > .table > tbody > tr:last-child > td:first-child,
.card > .table-responsive > .table > tbody > tr:last-child > td:first-child {
    border-bottom-left-radius: 4px;
}

.card > .table > tbody > tr:last-child,
.card > .table-responsive > .table > tbody > tr:last-child,
.card > .table > tbody > tr:last-child > td:last-child,
.card > .table-responsive > .table > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: 4px;
}

.table-responsive-scroll-y {
    max-height: 200px;
    overflow-y: auto;
}

@keyframes blink {
    50% {
        opacity: 0.2;
    }
}

.btn-big-square {
    width: 70px;
    height: 70px;
    font-size: 2rem;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.text-bg-primary {
    background: #ff9934 !important;
}

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

a {
    color: #ff9934;
    text-decoration: none;
}

.main-alert {
    z-index: 100;
    position: relative;
}

.form-label, .col-form-label, .form-check-label {
    font-weight: 500;
    margin-bottom: .125rem;
    font-size: 0.95rem;
}

.btn {
    font-weight: 500;
    border-radius: 3px;
}

.badge {
    border-radius: 3px;
}

.btn-success {
    border-color: #8CC152 !important;
    background: #8CC152 !important;
}

.alert {
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-success {
    background: #8CC152;
    border-color: #8CC152;
}

.text-bg-success {
    background: #8CC152 !important;
}

.btn-outline-success {
    border-color: #8CC152;
    color: #8CC152;
}

.btn-outline-success:hover, .btn-outline-success:focus, .btn-outline-success:active, .btn-outline-success:focus:active {
    border-color: #8CC152;
    background: #8CC152;
}

#search {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

#search::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

#search::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.alert-danger {
    background: #E9573F;
    border-color: #E9573F;
}

#page-header {
    background: rgb(33, 37, 41);
    background: -moz-linear-gradient(0deg, rgba(33, 37, 41, 1) 0%, rgba(45, 51, 56, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(33, 37, 41, 1) 0%, rgba(45, 51, 56, 1) 100%);
    background: linear-gradient(0deg, rgba(33, 37, 41, 1) 0%, rgba(45, 51, 56, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#212529", endColorstr="#2d3338", GradientType=1);
}

.invalid-feedback {
    margin-top: .125rem;
}

.alert > *:last-child {
    margin-bottom: 0;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #E9573F;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23E9573F'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.invalid-feedback {
    color: #E9573F;
}

.was-validated .form-control:valid, .form-control.is-valid,
.was-validated .form-select:valid, .form-select.is-valid {
    border-color: #8CC152;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%238CC152' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.text-bg-success {
    background: #8CC152;
    border-color: #8CC152;
}

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    color: #8CC152;
}

.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {
    background-color: #8CC152;
}

.was-validated .form-check-input:valid, .form-check-input.is-valid {
    border-color: #8CC152;
}

.text-bg-danger {
    background: #E9573F !important;
    border-color: #E9573F;
}

.text-bg-warning {
    background: #F6BB42 !important;
    border-color: #d69f2d;
}

.alert-warning {
    background: #F6BB42 !important;
    border-color: #d69f2d;
    color: #5f4716;
}

.alert-info {
    background: #3BAFDA !important;
    border-color: #3BAFDA !important;
    color: #ffffff;
}

.bg-transparent {
    background: none !important;
}

#sidebar {
    overflow-y: auto;
    width: 280px;
    z-index: 10;
    position: absolute;
    height: calc(100% - 53px);
    margin-left: -280px;
    transition: margin-left .5s ease .1s;
}

#sidebar.show {
    margin-left: 0;
}

#sidebar-toggler {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ffffff" class="bi bi-list" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"/></svg>');
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#sidebar-toggler.show {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ff9934" class="bi bi-list" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"/></svg>');
}

@media (min-width: 1200px) {
    #sidebar-toggler-wrapper {
        display: none;
    }

    #sidebar {
        margin-left: 0;
        position: static;
        height: auto;
    }
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

#main-content-area {
    position: relative;
}

.color-text {
    display: inline-block;
    padding-left: .5rem;
    padding-right: .5rem;
}

.color-text-schwarz {
    background-color: #000000;
    color: #ffffff;
}

.color-text-grau {
    background-color: dimgrey;
    color: #ffffff;
}

.color-text-silber {
    background-color: grey;
    color: #ffffff;
}

.color-text-grün {
    background-color: green;
    color: #ffffff;
}

.color-text-blau {
    background-color: darkblue;
    color: #ffffff;
}

.color-text-türkis {
    background-color: turquoise;
    color: #000000;
}

.color-text-lila {
    background-color: purple;
    color: #ffffff;
}

.color-text-pink {
    background-color: deeppink;
    color: #ffffff;
}

.color-text-messing {
    background-color: #E1C16E;
    color: #000000;
}

textarea {
    height: 20vh;
}

#webcam-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #ffffff;
}

#webcam-overlay-image-img {
    height: 100%;
    width: auto;
}

div.dropdown {
    display: inline-block;
}

.lds-ring {
    /* change color here */
    color: #222222
}

.lds-ring,
.lds-ring div {
    box-sizing: border-box;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid currentColor;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#unload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
}

#unload-overlay > div {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
}

.grid-view tr td input[type="checkbox"] {
    margin-top: 4px;
}

.alert {
    border-radius: 0;
}

#layout-mobile {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text-primary {
    color: #ff9934 !important;
}

.text-danger {
    color: #E9573F !important;
}

.text-success {
    color: #8CC152 !important;
}

#page-header-buttons {
    padding-top: 3px;
    padding-left: 10px;
}

.alert-info a {
    color: inherit;
    text-decoration: underline;
}