:root {
    --blue: #88cfff;
    --blue-1: #0a65ee;
    --blue-2: #e8f6ff;

    --green: #003b2f;
    --green-1: #4f7770;

    --yellow: #ffff00;
    --yellow-2: #e6e62e;

    --red: #ff0000;
    --red-2: #e62e2e;

    --white: #ffffff;

    --gray: #f8f9fa;
    --gray-1: #e9ecef;
    --gray-2: #e0e0e0;
    --gray-3: #e4e6e6;
    --gray-4: #495057;

    --black: #000000;

    --font-size: 1rem;

    --transition-duration: 100ms;
}

* {
    box-sizing: border-box;
}

html,
body,
#wrapper {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background-color: var(--white);
    font-size: var(--font-size);
    scroll-behavior: smooth;
}

.underline {
    text-decoration: underline;
}


input[type="date"] {
    font: inherit;
    font-size: 0.8em;
}


.error-message {
    margin: 0;
    padding: 15px;
    color: red;
}

.success-message {
    margin: 0;
    padding: 15px;
    color: green;
}

.top-button {
    transition: all 150ms ease;
    text-decoration: none;
    border-radius: 50%;
    font-size: 2em;
    border: solid 2px var(--yellow);
    color: var(--yellow);
    background-color: var(--white);

    /* margin-top: 100vh; */
    position: sticky;
    bottom: 20px;
    right: 20px;

    justify-content: center;
    align-items: center;

    float: right;
    display: flex;

    width: 50px;
    height: 50px;

    font-weight: bolder;
}

.top-button:hover {
    background-color: var(--yellow);
    color: var(--white);
}

.button-group {
    margin: 15px;
}

.status-filter {
    padding: 10px;
}

.button {
    cursor: pointer;
    /* font-size: 0.8em; */
    font-size: 1em;

    display: inline-block;

    text-align: center;
    text-decoration: none;

    padding: 10px;
    color: var(--black);
    background-color: var(--gray);

    border: solid 2px var(--gray-2);
    /* border: none; */
    border-radius: 40px;
    transition: all 100ms ease;
}

.button:hover {
    background-color: var(--gray-3);
    /* border-color: var(--yellow-2); */
    /* background-color: var(--yellow); */
}

.button-red:hover {
    border-color: var(--red-2);
    background-color: var(--red);
    color: var(--white);
}

.form-group {
    margin-bottom: 15px;
}

.form-group-label {
    display: block;
    margin-bottom: 10px;
}

.form-group-input {
    font-size: var(--font-size);

    padding: 5px;
    box-sizing: border-box;
    width: 100%;
}

textarea {
    font-family: inherit;
}

#tekst-input {
    resize: vertical;
}

.form-group-checkbox {
    margin-right: 15px;
}

.form-checkbox-group label {
    display: block;
}


.form-checkbox-label {
    display: block;
}

/* .form-checkbox {
}  */

#opmerking-input {
    width: 100%;
}


#navbar {
    position: fixed;
    height: 60px;
    width: 100%;
    z-index: 9999;
    background-color: var(--green);

    /* overflow: hidden; */

    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.20);
}

main {
    padding-top: 60px;
    height: 100%;
}

#navbar-left {
    float: left;
}

#navbar-right {
    float: right;
}

.navbar-link {
    text-decoration: none;
    color: var(--gray-3);
    float: left;
    padding: 20px;
    display: block;

    transition: color ease 100ms;
}

.navbar-link:hover {
    color: var(--white);
}

.navbar-link.active {
    color: var(--yellow-2);
}

.navbar-link.active:hover {
    color: var(--yellow);
}

.navbar-dropdown {
    float: left;
    position: relative;

}

.navbar-dropdown .navbar-link {
    float: none;
}

.navbar-dropdown-content {
    z-index: 1;
    position: absolute;
    /* display: none; */

    background-color: var(--green-1);

    overflow: hidden;
    max-height: 0;
    transition: max-height ease 90ms;

}

.navbar-dropdown:hover .navbar-dropdown-content {
    display: block;
    max-height: 200px;
    transition: max-height ease 400ms;
}

.navbar-dropdown-content .navbar-link {
}

.lijst {
    padding: 0;
    margin: 0;
    list-style: none;
}

.lijst-item {
    border-top: solid 2px var(--gray-2);
}

.lijst-item:last-child {
    border-bottom: solid 2px var(--gray-2);
}

.lijst-link {
    padding: 15px;
    text-decoration: none;
    color: var(--gray-4);
    display: block;
}


.lijst-link:hover {
    background-color: var(--gray);
    color: var(--black);
}


thead {
    position: sticky;
    top: 0;
    background-color: var(--gray-3);
}

.table {
    font-size: 0.8rem;
    width: 100%;
    border-collapse: collapse;
    /* background-color: var(--white); */
    text-align: left;
    table-layout: fixed;

}

.table-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;

}

.table-buttons .button {
    border-radius: 0;
}

.table-buttons-list {
    grid-template-columns: auto;
}


.table-left {
    text-align: left;
}

.table-header {
    color: var(--black);
    font-weight: normal;
}

.table-row:nth-child(even) {
    background-color: var(--gray-1);

}

.table-header,
.table-cell {
    padding: 15px;
    /* border: solid 2px var(--gray-3); */
}

.square-box {
    padding: 15px;
    margin: 50px auto;
    max-width: 800px;
    border: solid 2px var(--gray-2);

    color: var(--gray-4);
    background-color: var(--white);
    /* max-height: 700px; */
    overflow: scroll;
}

.horizontal-box {

    border: solid 2px var(--gray-2);
    color: var(--gray-4);
    background-color: var(--white);

    padding: 15px;
    margin: 50px auto;
    display: flex;
    max-width: 1200px;
    gap: 15px;
}

.horizontal-box form {
    width: 100%;
}

.flex {
    display: flex;
    gap: 15px;
}

.flex-row {
    width: 100%;
}

#tab-buttons {
    display: flex;
}

.tab-button {
    border-top: none;
    border-right: solid 2px var(--gray-2);
    border-left: none;
    border-bottom: solid 2px var(--gray-2);

    padding: 5px;
    font-size: 1rem;
    color: var(--gray-4);
    background-color: var(--gray);
    cursor: pointer;
    width: 100%;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    color: var(--black);
}

.tab-button.active {
    color: var(--black);
    background-color: var(--white);
    border-bottom: none;
}

#tab-algemeen.active {
    display: flex;
}

.tab {
    display: none;
}

.tab.active {
    display: inherit;
}


.tab-half {
    width: 100%;
    padding: 15px;
}

.calender-buttons {
    padding: 15px;
}

.calender {
    max-width: 1500px;
    margin: 0 auto;
}

.calender table {
    border: solid 2px var(--gray-2);

}

.calender-row {
    height: calc(1500px / 14);
}

.calender-cell {
    padding: 0;
    height: 100%;
    width: calc(1500px / 7);
}

.calender-disabled {
    background-color: var(--gray-3);
}

.calender-cell:hover {
    transition: background-color 100ms;

    background-color: var(--blue-2);
    border: solid 3px var(--blue);
}

.calender-cell a {
    padding: 15px;
    height: 100%;
    color: inherit;
    text-decoration: none;
    display: block;
}

.calender-selected {
    text-decoration: underline;
}


/* .schedule {
    height: 1000px;
    margin: 15px;
    border: solid 2px green;
} */

.footer-logo {
    position: fixed;
    mix-blend-mode: darken;
    margin: 30px;
    max-height: 100px;
    bottom: 0;
}

.bug-report-button {
    position: fixed;
    bottom: 15px;
    left: 15px;
}

.filters {
    overflow: hidden;
    /* max-height: 1000px; */
    /* transition: max-height 400ms linear; */
}
/* 
.filters.hidden {
    display: inherit;
    max-height: 0;
    transition: max-height 400ms linear;
} */

.filter-flex {
    grid-template-columns: repeat(3, 1fr);
    display: flex;
    gap: 15px;
}

.filter-field {
    margin-top: 15px;

}

.filter-search {
    font-size: 1em;
    background-color: var(--gray);
    border: solid 2px var(--gray-2);
    border-radius: 40px;
    padding: 10px;
}

.filter-select {
    cursor: pointer;
}

.filter-select-label {
    pointer-events: none;
}

.filter-group label {
    display: block;
}

.filter-group input {
    margin-top: 5px;
}

.filter-sectoren #filter-checkbox-group {
    column-count: 3;
    width: fit-content;
}


#map {
    height: calc(100% - 200px);
}

.map-filters {
    height: 200px;
    padding: 15px;
}

.map-filter-group {
    margin-bottom: 10px;
}

.pagination {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination li a,
.pagination li.disabled,
.pagination li.active {
    border: solid 2px var(--green);
    border-radius: 100%;
    display: block;
    padding: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
}

.pagination li.disabled {
    background-color: var(--gray-2);
}

.pagination li a {
    text-decoration: none;
    color: var(--green);
    transition: background-color var(--transition-duration), color var(--transition-duration);

}

.pagination li a:hover {
    background-color: var(--green-1);
    color: var(--white);

    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.pagination li.active {
    background-color: var(--green);
    color: var(--white);
}

.hidden {
    display: none;
}

.groepen-wrapper {
    padding: 15px;
}

.groep-item {
    margin: 15px 0;
}

#groep-select {
    min-width: 8rem;
    
}

#groepen {
    display: inline;
}

.groep-pill {
    display: inline;
    color: black;
    border-radius: 8px;
    padding: 10px;
    background-color: var(--gray-3);
    margin-right: 3px;
}