body {
    font-size: 14px;
    background-color: #F1F1F1;
    overflow: hidden;
}

a {
    color: navy;
}

.ipvraag {
    color: #5520c8 ;
    font-weight: bold;
}

.alert-info {
    background-color: #EBEEFD !important;
    color: #4f3e8f !important;
    border: none !important;
}

.label {
    color: #7d7d7d;
    font-weight: normal !important;
}

/* Aangepaste kleuren voor een alert-danger */
.alert-danger {
    background-color: mistyrose !important;
    color: black;
    border-color: darkgray;
}

.bg-weeknummer {
    background-color: #4F3E8F;
    --bs-badge-padding-x: 0.50em;
    --bs-badge-padding-y: 0.30em;
}

/* Achtergrondkleur van de kopregel van een popover als een titel wordt gebruikt */
.popover-header {
    background-color: #6C757D;
    color: white;
}

/* Fontawesome icons uitlijnen */
.fa-space {
    width: 30px;
    margin: auto;
}

/* Kopregel */
.main-header {
    height: 62px !important;
    background-color: #4F3E8F;
    margin-left: -13px;
    margin-right: -13px;
}

/* Informatiebalk, gebruikt voor het tonen van belangrijke berichten (updates etc) */
.sub-header {
    background-color: lightgoldenrodyellow;
    position: relative !important;
    border: 1px dotted black;
}

/* logo van onvia */
.onvia-symbool {
    opacity: .8;
    margin-top: 4px;
    margin-left: 11px;
    width: 40px;
    content: url('../Portaal/onvia_symbool_rgb.png');
}

/* naam van onvia */
.onvia-logo {
    opacity: .8;
    margin-top: 4px;
    margin-left: 11px;
    /*width: 40px;*/
    content: url('../Portaal/onvia_wit.png');
    height: 30px;
}


/* Gebruikt voor dropdowns in de kopregel */
.infocentrum {
    background-color: #F3F3F3;
    color: black !important;
    border-radius: 0px;
}

    .infocentrum a:hover {
        background-color: #494e53;
        color: white !important;
    }
    
/* Globale filter */
.global-filter {
    width: 600px !important;
}

.dropdown-menu {
    background-color: #F1F1F1;
}

.dropdown-menu-xl {
    max-width: 650px;
    min-width: 420px;
    padding: 0;
}

.dropdown-header {
    color: black;
}

.dropdown-footer {
    background-color: white;
}

/* Cards */
.card-header {
    background-color: white;
}

/* Card in volledige hoogte: gebruikt voor selectielijsten */
.card-body-full-height {
    height: calc(100vh - 217px);
    padding: 0px !important;
}

.full-height {
    height: calc(100vh - 200px);
}

/* Buttons */
.btn-primary {
    background-color: #4F3E8F;
    border: none;
}

    .btn-primary:hover {
        background-color: #501377;
    }

.btn-filter {
    background-color: #4F3E8F;
    color: white;
}

    .btn-filter:hover {
        background-color: #501377;
        color: white;
    }

.btn-gray-border {
    border-color: lightgray;
}

.btn-xs, .btn-group-xs > .btn {
    --bs-btn-padding-y: 0.20rem;
    --bs-btn-padding-x: 0.4rem;
    --bs-btn-font-size: 0.75rem;
    --bs-btn-border-radius: 0.20rem;
}

.btn-xxs, .btn-group-xxs > .btn {
    --bs-btn-padding-y: 0.0rem;
    --bs-btn-padding-x: 0.30rem;
    --bs-btn-font-size: 0.70rem;
    --bs-btn-border-radius: 0.20rem;
}

.bg-gray {
    background-color:  #F1F1F1 !important;
}

/* Tables */
th, td {
    border: none;
}

.table-header {
    background-color: #6C757D;
    color: white;
    border-top-width: 0px !important;
}

.header {
    position: sticky;
    top: 0px;
}

thead {
    position: sticky;
    top: 0;
}

/* Modals */
/* De maximale hoogte van de modal popup ivm smartphones */
.modal-wrapper {
    max-height: calc(100vh - 315px);
}

/* Draggable modal popup */
.modal-header {
    cursor: move;
}

.modal-content {
    background-color: #f4f6f9;
}

.modal-title {
    color: navy;
}

@media only screen and (max-width: 1600px) {
    .modal-xxl {
        max-width: 95%;
    }
}

@media only screen and (min-width: 1601px) {
    .modal-xxl {
        max-width: 90%;
    }
}

/* Menu */
.sidebar {
    transition: all 0.5s ease;
}

.sidebar-header {
    background-color: #353a40;
    border: none;
}

.side-menu {
    background-color: #353a40;
    color: rgba(0, 0, 0, 0.7)
}

.side-menu-option {
    width: 250px;
    background-color: #353a40;
    color: rgba(255, 255, 255, 0.7);
}

    .side-menu-option:hover {
        width: 250px;
        background-color: #494e52;
        color: rgba(255, 255, 255, 1);
    }

    .side-menu-option:visited {
        width: 250px;
        background-color: #494e52;
        color: rgba(255, 255, 255, 1);
    }

.nav-icon {
    font-size: 18px;
}

.nav-item .active {
    background-color: #494e53 !important;
    color: white !important;
}

/* Als de schermresolutie > 768 dan toon het menu standaard */
@media (min-width: 768px) {
    #sidebar {
        margin-left: 0px;
        transition: all 0.5s ease;
    }

        #sidebar.verberggroot {
            margin-left: -300px;
            -webkit-margin-start: -300px; /* Safari */
            transition: all 0.5s ease;
        }
}

/* Als de schermresolutie < 768 verberg het menu dan standaard */
@media (max-width: 767px) {
    #sidebar {
        margin-left: -300px;
        -webkit-margin-start: -300px; /* Safari */
        transition: all 0.5s ease;
        z-index: 0;
        position: absolute;
    }

        #sidebar.toonklein {
            margin-left: 0;
            transition: all 0.5s ease;
            z-index: 9999;
            position: absolute; /* Laat het menu over de pagina vallen bij lage resolutie */
        }
}

/* Systeem sidebar rechts */
.control-sidebar-heading {
    color: rgba(255, 255, 255, 0.8);
}

.control-sidebar-subheading {
    color: rgba(255, 255, 255, 0.8);
}

.menu-info {
    background-color: #353a40;
    color: rgba(255, 255, 255, 0.7);
}

.offcanvas {
    background-color: #353a40;
    color: white
}

/* Footer */
/* Als de schermresolutie < 786px verberg de footer dan standaard */
@media only screen and (max-width: 768px) {
    footer {
        display: none;
    }
}

/* Als de schermresolutie > 786px toon de footer dan standaard */
@media only screen and (min-width: 768px) {
    footer {
        position: fixed;
        left: 0;
        bottom: 45px;
        width: 100%;
        background-color: white;
        border-top: 1px solid darkgray;
    }
}

/* iFrame with full height and width */
.responsive-iframe {
    position: relative;
    background-color: #F1F1F1;
    top: 0px;
    bottom: 0;
    left: -13px;
    right: 0px;
    width: calc(100% + 25px);
    height: 100vh;
}

.modalVail {
    background-color: #000000;
    filter: alpha(opacity=30);
    opacity: 0.3;
    position: absolute;
    visibility: hidden;
    z-index: 200;
    left: 0px;
    top: 0px;
}

input[type="radio"] {
    margin-right: 5px;
}

.selectie td {
    max-width: 100px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}