body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

.container {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.show {
    display:block!important;
}

a {
    text-decoration: none;
}

h1 {
    color: #083d83;
}

h2 {
    color: #186ad5;
}

.left {
    float: left;
}

.right {
    float: right;    
}

/* ========================== Toast ========================== */


div#toasts {
    position: fixed;
    z-index: 1;
    right: 25pt;
    top: 25pt;
    animation: hideAnimation 0s ease-in 5s;
    animation-fill-mode: forwards;
}

@keyframes hideAnimation {
    to {
        visibility: hidden;
        width: 0;
        height: 0;
    }
}
  
div#toasts div {
    width: 200pt;
    padding: 5pt;
    border-radius: 3pt;
    border: 2px solid #888;
    margin-bottom: 10pt;
    opacity: 80%;
}

div#toasts div.error {
    color: white;
    background-color: tomato;
}

div#toasts div.success {
    color: black;
    background-color: greenyellow;
}

div#toasts div.info, .message {
    color: black;
    background-color: lightyellow;
}

/* ========================== Page ========================== */

footer {
    font-size: 8pt;
    color: darkgrey;
    text-align: right;
    margin-top: 20pt;
}

/* ========================== content ========================== */

div#content {
    max-width: 600pt;
    margin: auto;
}

img.screen {
    border: 1px solid darkblue;
    max-width: 80%;
    margin: 10pt;
}

/* ========================== Form ========================== */

form.form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  
    background-color: #eee;
    padding: 10pt;
    border: 0;
    border-radius: 7pt;
}

form.form div.form-group {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: span 2;
}

form.form div.form-group.large {
    grid-column: span 3;
}

form.form div.form-group.small {
    grid-column: span 1;
}

form.form div.form-group.full {
    grid-column: span 6;
}

input,
select,
textarea {
    padding: 3pt;
    font-size: inherit;
    border-radius: 3pt;
}

select {
    background-color: white;
}

button {
    margin-left: 5pt;
}

input:read-only,
select:read-only,
textarea:read-only {
    border: 0;
    background-color: #ccc;
    color: inherit;
}

button, input[type="button"], input[type="submit"], a.btn {
    background-color: #7297ca;
    color: white;
    font-size: inherit;
    font-weight: bold;
    padding: 5pt;
    border: 0;
    border-radius: 3pt;
    text-align: center;
}

/* ========================== Header ========================== */

header {
    display: grid;
    width: 100%;
    grid-gap: 1rem;
    grid-template-columns: 200px 1fr 250px;
}

div#title * {
    text-align: center
}

header img {
    padding: 10pt;
}

/* ========================== Menu ========================== */

#menu {
    position: relative;
    display: inline-block;
    text-align: right;
    padding: 10pt;
    color: #083d83;
}

#menu-button {
    padding: 5pt;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

#menu-button:hover, #menu-button:focus {
    color: white;
    background-color: #083d83;
}

#menu-content {
    display: none;
    position: absolute;
    float: none;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

#menu-content a, #menu-content div {
    color: #083d83;
    padding: 12px 16px;
    display: block;
}

#menu-content a:hover, #menu-content div:hover {
    background-color: #083d83;
    color: white;
}

/* ========================== Modal ========================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-main {
    position:fixed;
    background: white;
    width: 50%;
    height: auto;
    top:25%;
    left:25%;
    padding: 10pt;
}

.display-block {
    display: block;
}

.display-none {
    display: none;
}

.modal button {
    margin-right: 5pt;
}

/* ========================== Table ========================== */

table {
    width: 100%;
}

table.data tr:nth-child(even) {background: #dbe6f8}
table.data tr:nth-child(odd) {background: #eee}

th {
    text-align: left;
    background-color: #33598c;
    color: white;
}

table.data td, table.data th {
    padding: 5pt;
}

/* Rounded corners */
tr:first-child th:first-child {
    border-radius: 4pt 0 0 0;
}

tr:first-child th:last-child {
    border-radius: 0 4pt 0 0;
}

tr:last-child td:last-child {
    border-radius: 0 0 4pt 0;
}

tr:last-child td:first-child {
    border-radius: 0 0 0 4pt;
}

/* ========================== Auth ========================== */

form#auth {
    display: block;
    margin: auto;
    width: 250pt;
    border: 1pt solid black;
    background-color: white;
}

form#auth input:not([type="submit"]) {
    margin-bottom: 5pt;
}

div#hint {
    width: 500pt;
    margin-top: 20pt;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 9pt;
}

/* ========================== Dossier ========================== */

input[name="periode"] {
    width: 190px;
}

label#periode {
    position: relative;
}

label#periode::after {
    position: absolute;
    top: 2px;
    right: 4px;
    content: "keer per jaar";
}

/* ============================================================= */
