html {
    position: relative;
    min-height: 100%;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

main {
    padding-top: 45px;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* Header */

body > header {
    box-shadow: 0 8px 12px -10px #777;
}

.site-logo {
    width: auto;
    height: 110px;
    max-width: 100%;
}

.navbar {
    padding: 0 35px;
}

    .navbar .nav-link {
        position: relative;
        margin-left: 30px;
        padding: 12px 2px !important;
        font-family: "Trebuchet MS", Arial, sans-serif;
        font-size: 22px;
        color: #014D84;
    }

        .navbar .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 0;
            height: 2px;
            background-color: #014D84;
            transition: width 0.2s ease;
        }

    .navbar .dropdown-toggle::after {
        margin-left: 0;
        vertical-align: 0;
        border: 0;
    }

        .navbar .nav-link:hover {
            color: #014D84;
        }

            .navbar .nav-link:hover::after {
                width: 100%;
            }
    .navbar .dropdown-menu {
        padding: 6px 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 8px 12px -10px #777;
    }

    .navbar .dropdown-item {
        padding: 10px 18px;
        font-family: "Trebuchet MS", Arial, sans-serif;
        font-size: 22px;
        color: #014D84;
    }

        .navbar .dropdown-item:hover,
        .navbar .dropdown-item:focus {
            background-color: #f5f8fa;
            color: #014D84;
        }

@media (min-width: 768px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Dagboek algemeen */

.dagboek {
    max-width: 1000px;
    margin: 50px auto;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

    .dagboek h1 {
        margin-bottom: 5px;
        font-size: 32px;
    }

    .dagboek > p {
        margin-bottom: 35px;
        color: #777;
    }

.dagboek-terug {
    display: inline-block;
    margin-bottom: 25px;
}


/* Dagboek maanden */

.dagboek-maanden {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dagboek-maand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 25px;
    border: 1px solid #d8e2e8;
    border-radius: 8px;
    background-color: #fff;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 22px;
    color: #014D84;
    text-decoration: none;
}

    .dagboek-maand:hover {
        background-color: #f5f8fa;
        border-color: #014D84;
    }

.dagboek-maand-pijl {
    width: 10px;
    height: 10px;
    border-top: 2px solid #014D84;
    border-right: 2px solid #014D84;
    transform: rotate(45deg);
}


/* Dagboek dagen */

.dagboek-dag {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 10px;
    border: 1px solid #d8e2e8;
    border-radius: 8px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: #014D84;
}

    .dagboek-dag:hover {
        background-color: #f5f8fa;
        border-color: #014D84;
    }

.dagboek-dag-week {
    width: 100px;
    font-weight: bold;
}

.dagboek-dag-datum {
    width: 160px;
    font-weight: bold;
}

.dagboek-dag-pijl {
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-top: 2px solid #014D84;
    border-right: 2px solid #014D84;
    transform: rotate(45deg);
}


/* Dagboek navigatie */

.dagboek-navigatie {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #d8e2e8;
}

    .dagboek-navigatie > div {
        width: 230px;
        text-align: center;
    }

    .dagboek-navigatie a,
    .dagboek-navigatie-disabled {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        padding: 10px 15px;
        border: 1px solid #d8e2e8;
        border-radius: 6px;
    }

.dagboek-navigatie-disabled {
    color: #999;
    background-color: #f5f5f5;
    cursor: default;
}

.dagboek-navigatie > div:first-child a,
.dagboek-navigatie > div:last-child a {
    background-color: #014D84;
    border-color: #014D84;
    color: #fff;
    font-weight: bold;
}

    .dagboek-navigatie > div:first-child a:hover,
    .dagboek-navigatie > div:last-child a:hover {
        background-color: #123e5d;
        border-color: #123e5d;
        color: #fff;
    }

.dagboek-navigatie > div:nth-child(2) a {
    background-color: #fff;
    border-color: #014D84;
    color: #014D84;
    font-weight: bold;
}


/* Mobiel */

@media (max-width: 767.98px) {
    .site-logo {
        height: 70px;
    }

    .dagboek-maanden {
        grid-template-columns: 1fr;
    }

    .navbar-toggler-icon {
        filter: invert(21%) sepia(48%) saturate(2584%) hue-rotate(174deg) brightness(87%) contrast(101%);
    }
}

@media (max-width: 767.98px) {
    .site-logo {
        height: 70px;
    }

    .dagboek-maanden {
        grid-template-columns: 1fr;
    }

    .navbar .site-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-toggler {
        margin-left: auto;
    }
}