html {
    font-size: 14px;

}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
.dropdown-width {
    width: 200px; /* Pas de breedte aan naar wens */
}
@media (max-width: 600px) {
    .action-buttons {
        flex-direction: column;
        align-items: stretch; /* Laat de knoppen de volledige breedte innemen */
    }
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (prefers-color-scheme: dark) {
    .theme {

        color: #FFFFFF; background-color: #000000;
    }
}

@media (max-width: 600px) {
    .profilecontainer {
        grid-template-columns: 1fr; /* Enkel één kolom voor betere leesbaarheid */
    }
}

.action-buttons{
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 15px;
}



.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #ffffff;
    color: #000000;
}

    body.dark-mode {
        margin-bottom: 60px;
        background-color: #121212;
        color: #ffffff;
    }

input[type='checkbox'], input[type='radio'] {
    display: inline;
}

.announcements {
    background-color: #506fac; /* Lichtgrijze achtergrond */
    border: 5px solid #dee2e6; /* Subtiele rand */
    box-shadow: 0 2px 5px #506fac; /* Schaduw */
    text-align: center;
    max-width: 600px;
    margin: 0 auto; /* Centreert het element */
    padding: 20px; /* Ruimte binnenin het kader */
    border-radius: 8px;
}
    .announcements p {
        color: #121212; /* Donkergrijze tekst voor goede leesbaarheid */
        font-family: 'Georgia', serif; /* Eleganter lettertype voor tekst */
        font-size: 1.1rem; /* Iets grotere tekst */
        line-height: 1.6; /* Meer ruimte tussen regels */
        margin-bottom: 0; /* Zorg dat de tekst mooi aansluit op de container */
    }




/* Styles for validation helpers -----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

table {
    width: 100%; /* Laat de tabel de volledige breedte gebruiken */
    border-collapse: collapse; /* Verwijdert dubbele randen */
    margin: 20px auto; /* Centreert de tabel met wat ruimte erboven en -onder */
    box-shadow: 0px 10px 10px 10px rgba(255, 0, 0, 0.4);
}

th, td {
    border: 1px solid #ddd; /* Voegt een rand toe */
    padding: 12px; /* Geeft ruimte in de cellen */
    text-align: left; /* Tekst links uitlijnen */
}

    td a {
        margin-right: 10px; /* Ruimte tussen de buttons */
    }

th {
    background-color: #f4f4f4; /*Zacht grijze achtergrond voor koppen */
    font-weight: bold; /* Maakt de tekst vet */
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Wisselende achtergrondkleur voor rijen */
}

.banner {
    width: 100%;
    height: 30vh; /* Hoogte van de banner als percentage van de viewport-hoogte */
    overflow: hidden; /* Zorgt ervoor dat de afbeelding niet uitsteekt */
    /* position: relative;  Optioneel als je tekst wilt toevoegen */
}

    .banner img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Zorgt ervoor dat de afbeelding netjes wordt bijgesneden en gevuld */
    }

.Fdetails {
    display: flex;
    gap: 16px;
}

.partial-view {
    flex: 1; /* Laat beide kolommen evenveel ruimte innemen */
    padding: 8px; /* Optioneel: binnenruimte in de kolommen */
    border: 1px solid #ddd; /* Optioneel: om de delen te onderscheiden */
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1); /* Optioneel: subtiele schaduw */
    border-radius: 4px; /* Optioneel: ronde hoeken */
}


.button-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.button-36 {
    background-image: linear-gradient(92.88deg, #ff0000 9.16%, #ff0000 80.89%, #ff0000 64.72%);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Inter UI","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    font-size: 16px;
    font-weight: 500;
    height: 4rem;
    padding: 0 2.6rem;
    text-align: center;
    text-decoration: none;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    transition: all .5s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.red {
    color: red;
}

.green {color : forestgreen;}



/*FORUM*/
.comments {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment {
    position: relative;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .comment-header strong {
        font-size: 1.1em;
        color: #333;
    }

    .comment-header .comment-date {
        font-size: 0.9em;
        color: #888;
    }

.comment-body {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    word-wrap: break-word;
}

.deletecomment {
    position: absolute;
    bottom: 10px; /* Plaats de knop 10px van de onderkant */
    right: 10px;
}

.discussion-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.discussion-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .discussion-header h3 {
        font-size: 1.8em;
        color: #333;
        font-weight: bold;
    }

.created-date {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}



.discussion-body {
    margin-top: 20px;
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    word-wrap: break-word;
}

    .discussion-body p {
        margin-bottom: 20px;
    }

    .sidebar-buttons {
    width: 200px;
    border-right: 1px solid #ccc;
    padding: 10px;
    padding-top: 62px;
}

.sidebar-buttons a {
    display: block;
    margin-bottom: 10px;
}

/* Maak de knoppen responsief voor kleinere schermen */
@media (max-width: 768px) {
    .sidebar-buttons {
        width: 100%; /* Zorg ervoor dat de div 100% van de breedte is op kleinere schermen */
        padding-top: 20px; /* Pas padding-top aan voor kleinere schermen */
    }

    .sidebar-buttons .btn {
        font-size: 14px; /* Maak de knoppen kleiner op smartphones */
        padding: 10px; /* Verminder de padding op kleinere schermen */
    }
}