:root {
    --Donkerblauw: #003B58;
    --Lichtblauw: #E5F1EF;
    --Blauw: #0aa0ed;
    --Klantkleur: #ae003c;
    --Grijs: #f2f2f2;
    --TekstKleur: #020446;
    --Rood: #cc0000;
    --Groen: #018440;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.background-perika-blauw {
    background-color: var(--Donkerblauw);
    color: white;
}

.background-perika-lichtblauw {
    background-color: var(--Lichtblauw);
}

.background-perika-groen {
    background-color: var(--Groen);
    color: white;
}

.groen {
    color: var(--Groen)
}

.rood {
    color: var(--Rood);
}

.oranje {
    color: orangered;
}

.donkerblauw {
    color: var(--Donkerblauw)
}

.lichtblauw {
    color: var(--Lichtblauw)
}

.blauw {
    color: var(--Blauw)
}

body {
    color: var(--TekstKleur);
}

.center {
    text-align: center;
}

.right {
    float: right;
}

.form-field {
    padding-top: 10px;
}

.hyperlink {
    color: var(--TekstKleur);
    text-decoration: none;
}

.dropdown-item > a {
    text-decoration: none;
    color: red;
}

/* Navbar */
.sticky-navbar {
    /*position: -webkit-sticky;*/ /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1020; /* Ensure it stays above other content */
}

/* Buttons */
.btn {
    border: 1px solid var(--Donkerblauw);
    border-radius: 5px;
    cursor: pointer;
    color: var(--Donkerblauw);
}

    .btn:hover {
        background-color: var(--Groen);
    }

@media (max-width: 768px) {
    .btn {
        /*        width: 100%;
*/
    }
}

/* Containers */
.button-container {
    padding-top: 25px;
    padding-bottom: 10px;
}

.perikacontainer {
    margin: 10px;
    margin-bottom: 60px;
}

.filter-container {
    margin-bottom: 20px;
    background-color: var(--Lichtblauw);
}

/* Pagination */
.pagination {
    display: inline-block;
}

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px dotted var(--Donkerblauw);
    }

        .pagination a.active {
            background-color: var(--Groen);
            color: white;
        }

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }

        .pagination a:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }

        .pagination a:last-child {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }

/* Table */
.table-container{
    overflow: auto;
}

.perikatable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}

    .perikatable thead {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 0;
        text-align: left;
        padding: 8px;
        font-weight: 400;
    }

        .perikatable thead a {
            text-decoration: none;
            color: inherit;
        }

            .perikatable thead a:hover {
                text-decoration: underline;
            }

    .perikatable td {
        text-align: left;
        padding: 8px;
    }

    .perikatable thead td:hover {
        cursor: default;
    }

    .perikatable tbody tr:nth-child(even) {
        background-color: var(--Grijs);
    }

    .perikatable tbody tr {
        background-color: white;
        white-space: nowrap;
    }

    .perikatable thead tr {
        background-color: var(--Donkerblauw);
        color: white;
    }

.clickablerow tbody tr {
    /*display:none;*/
    cursor: pointer;
}

    .clickablerow tbody tr:hover {
        background-color: #d7f6cf;
    }

.actionlinkrow:hover {
    cursor: pointer;
}

/* Cards */
.card {
    margin-bottom: 10px;
}

.card-title {
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.card-subtitle {
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: auto auto;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: auto auto auto;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

@media (max-width: 768px) {
    .card-grid-2 {
        grid-template-columns: auto;
    }

    .card-grid-3 {
        grid-template-columns: auto;
    }
}


/* Validatie */
.validation-summary-errors li {
    color: red;
}

/* Collapsible */
.collapsible {
    cursor: pointer;
    padding: 5px;
}

    .collapsible i {
        padding: 5px;
    }

.collapsible-content {
    display: none;
}

@media screen and (min-height: 768px) and (min-width: 580px) {
    .collapsible-content {
        display: block;
    }
}

/* contextmenu */
.dropbtn {
    background-color: inherit;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
    }


.contextmenu {
    display: inline-block;
}

.contextmenu-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .contextmenu-content a {
        color: var(--TekstKleur);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        white-space: nowrap;
    }

.contextmenu a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.contextmenu-item {
    background: none;
    border: none;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    display: block;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

    .contextmenu-item:hover {
        background-color: #ddd;
    }

/* Tab container */
.tab-container {
    border-bottom: 5px solid var(--Donkerblauw);
    overflow: auto;
    white-space: nowrap;
}

    .tab-container > button {
        background-color: var(--Donkerblauw);
        color: white;
        border: 1px solid var(--Donkerblauw);
        padding: 10px;
        margin: 0;
    }

.tab-page {
    /*background-color: white;*/
    border: 1px solid var(--Donkerblauw);
    padding: 5px;
    height: 500px;
    overflow: auto;
}


/* Modal */
.verwijdermodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.errormodal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.validationmodal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 400px; /* Could be more or less, depending on screen size */
}

.modal-content-large {
    margin: 5% auto !important; /* 5% from the top and centered */
}

.modal-box {
    padding: 20px;
}

.close {
    padding-right: 7px;
    background-color: #aaa;
    text-align: right;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        text-decoration: none;
        cursor: pointer;
    }
