﻿html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Roboto",Helvetica,Roboto,Arial,sans-serif;
    /*overflow-y: hidden;*/
    color: #011C85;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color: #011C85;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
    color: #011C85;
    font-weight: 700;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-croshair {
    cursor: crosshair;
}

.cursor-eresize {
    cursor: e-resize;
}

.cursor-move {
    cursor: move;
}

.cursor-wait {
    cursor: wait;
}

.form-control::placeholder {
    color: #6c757d !important;
    display: block;
    margin-top: 0.25rem;
    font-size: 80%;
    font-weight: 400;
}

.header-icon,
.header-icon:active,
.header-icon:focus,
.header-icon:hover {
    color: gray !important;
    text-decoration: none;
    margin-right: 10px;
    cursor: pointer;
}

.header-menu-item a,
.header-menu-item a:active,
.header-menu-item a:focus {
    color: gray !important;
    text-decoration: none;
    cursor: pointer;
}

.header-menu-item:hover {
    background-color: transparent;
}

.header-menu-item a:hover {
    text-decoration: underline;
}

.table-icon,
.table-icon:active,
.table-icon:focus,
.table-icon:hover {
    color: gray !important;
    text-decoration: none;
    margin-left: 2px;
    margin-right: 2px;
    cursor: pointer;
}

.footer {
    position: absolute;
    bottom: 0;
    height: 41px;
    line-height: 40px;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    background-color: #0097A7;
    color: #fff;
}

.footer-item a,
.footer-item a:active,
.footer-item a:focus {
    color: lightgray !important;
    text-decoration: none;
    cursor: pointer;
}

.header-menu-item:hover {
    background-color: transparent;
}

.header-menu-item a:hover {
    text-decoration: underline;
}

.login {
    margin-top: 3px;
}

.logo {
    max-width: 300px;
    max-height: 150px;
}

.form-checklist-30vh {
    height: 30vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-checklist-50vh {
    height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.vertical-center {
    min-height: 80%;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.logout {
    text-align: center;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

#sidebar {
    position: absolute;
    top: 60px;
    bottom: 40px;
    width: 250px;
    background-color: #343a40;
    overflow-x: hidden;
    transition: left 0.3s ease;
    /*z-index: 1100;*/
}

/* Tekst tonen bij hover */
#sidebar ul li a {
    color: #0097A7;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #f8f9fa;
}

#sidebar ul li p {
    color: #fff;
    font-size: 1.1em;
    padding-top: 5px;
    font-weight: bold;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #94BC1E;
}

#window {
    position: absolute;
    top: 67px;
    left: 250px;
    right: 0px;
    bottom: 60px;
    overflow-y: auto;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 61px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.validation-message {
    color: #dc3545 !important;
}

.was-validated .form-control:invalid, .form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%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");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .was-validated .form-control:invalid:focus, .form-control.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.was-validated textarea.form-control:invalid, textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:invalid, .custom-select.invalid {
    border-color: #dc3545;
    padding-right: calc(0.75em + 2.3125rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%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") center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) no-repeat;
}

    .was-validated .custom-select:invalid:focus, .custom-select.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.invalid ~ .form-check-label {
    color: #dc3545;
}

.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.invalid ~ .invalid-feedback,
.form-check-input.invalid ~ .invalid-tooltip {
    display: block;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.invalid ~ .custom-control-label {
    color: #dc3545;
}

    .was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.invalid ~ .custom-control-label::before {
        border-color: #dc3545;
    }

.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.invalid:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}

.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.invalid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.invalid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}

.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.invalid ~ .custom-file-label {
    border-color: #dc3545;
}

.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.invalid:focus ~ .custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

td.confirmed {
    background: #EAF3DE;
}

    td.confirmed .badge {
        background: #C0DD97;
        color: #27500A;
    }

td.notok {
    background: #FCEBEB;
}

    td.notok .badge {
        background: #F7C1C1;
        color: #791F1F;
    }

td.pending {
    background: #FAEEDA;
}

    td.pending .badge {
        background: #FAC775;
        color: #633806;
    }

/* Verberg up/down arrows bij numeric input controls */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}