body {
    background-color: #fefcf6;
}

h1, p, span, td, tr, div, input, textarea {
    font-family: Calibri, Arial, sans-serif;
}

h1 {
    font-size: 28px; font-weight: bold; color: #333;
    /*margin: 20px 0 0 -500px;*/
    text-align: center;
    clear:both;
}

p, td, tr, div, input, textarea {
    font-size:15px
}
p {margin: 0; padding: 0; line-height: 1.5;}

/* Header layout: logo with user info directly to the right */
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header .center-logo { grid-column: 2; width: auto; display: flex; justify-content: center; align-items: center; text-align: center; }
.header #user { grid-column: 3; justify-self: end; }
#user p { margin: 0; }

.center-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.button {
    font-size: 16px;
    color: #2E0039; /* Donkere paarsachtige kleur voor de tekst */
    background-color: transparent;
    border: 2px solid #2E0039; /* Dezelfde kleur als de tekst voor de rand */
    padding: 10px 20px;
    border-radius: 30px; /* Zorgt voor afgeronde hoeken */
    cursor: pointer;
    font-family: Arial, sans-serif; /* Of een andere geschikte font */
    transition: background-color 0.3s, color 0.3s; /* Animatie voor hover effect */
}

.button:hover {
    background-color: #2E0039; /* Dezelfde kleur als de tekst en rand */
    color: white; /* Verandert de tekstkleur naar wit bij hover */
}

.container {
    display: flex;
    flex-wrap: wrap; /* Zorgt ervoor dat de blokken naar een nieuwe regel gaan als er niet genoeg ruimte is */
}

.left-block {
    width: 920px; /* Linkerblok heeft altijd een vaste breedte van 920px */
    padding: 20px;
    box-sizing: border-box;
}

.right-block {
    flex: 1; /* Maakt het rechterblok flexibel */
    min-width: 300px; /* Minimale breedte van 300px */
    max-width: 920px; /* Maximale breedte van 920px */
    padding: 20px;
    box-sizing: border-box;
    order: -1; /* Zorgt ervoor dat het rechterblok bovenaan komt als de blokken onder elkaar worden weergegeven */
}

@media (max-width: 1240px) {
    .container {
        flex-direction: column; /* Stapelt de blokken verticaal op kleinere schermen */
    }

    .right-block {
        order: -1; /* Blijft bovenaan in de kolomweergave */
    }

    .left-block {
        order: 1; /* Zorgt ervoor dat het linkerblok onderaan komt */
    }

    .left-block, .right-block {
        width: 100%; /* Laat beide blokken de volledige breedte innemen in kleinere schermen */
    }
}
/*}*/

/*#casus {*/
/*    width: 500px;       !* Breedte van de div *!*/
/*    margin-top: 50px;   !* Top-margin *!*/
/*    margin-left: 50px;  !* Left-margin *!*/
/*    padding: 20px;*/
/*    z-index: 1000;*/
/*    background-color: white;*/
/*    border:1px solid black;*/
/*}*/

#casus h1 {
    margin-left: 0;
    text-align: left;
}
#casus p {
    margin-top:26px;
    font-size: 17px;
}

#casus h2 {
    margin-top: 40px;
    margin-bottom:-20px;
}

#close_casus {
    font-size:30px;
    color: #dd0000;
    font-weight: bold;
    float:right;
}
#close_casus:hover {
    cursor: pointer;
    color: #ff0000;
}

#content {
}

.blurred {
    filter: blur(5px);
    transition: filter 0.3s; /* Voeg een overgangseffect toe voor de blur */
}


#legend {
    margin-top: 26px;
    float:left;
}

#type {
    float:left;
    margin-top: -50px;
    margin-left:782px;
    font-size: 50px;
    width:35px;
    height:60px;
}

.pv-table {
    border-collapse: collapse;
    width: 1500px;
    margin: 0 auto;
    clear:left;
}

.pv-table input, .pv-table div {
    float:left;
    width: 44px;
    height: 34px;
    border: 1px solid #000;
    text-align: center;
    display: inline-block;
    align-items: start;  /* Vertical centering */
    justify-content: start;  /* Horizontal centering */
    padding:8px 0 0 0;
}

.pv-table div {
    background-color: #FFE9C0;
    color: #2b0039;
}

.pv-table input {
    padding-top:0px;
    padding-bottom:8px;
}

.w2 {width: 45px !important;}
.w2 {width: 90px !important;}
.w3 {width: 135px !important;}
.w3_short {width: 125px !important;}
.w4 {width: 182px !important;}
.w5 {width: 227px !important;}
.w6 {width: 274px !important;}
.w8 {width: 366px !important;}
.w9 {width: 411px !important;}
.w10 {width: 456px !important;}
.w12 {width: 550px !important;}
.w14 {width: 640px !important;}
.w15 {width: 687px !important;}
.w18 {width: 824px !important; text-align:left !important;}
.w808 {width: 808px !important;}
.w273 {width: 273px !important;height:42px !important;}

.h2 {height: 68px !important;}
.h3 {height: 102px !important;}
.h4 {height: 136px !important;}
.h5 {height: 170px !important;}
.h6 {height: 204px !important;}
.h9 {height: 306px !important;}
.h10 {height: 340px !important;}

textarea {
    resize: none;
    border:0;
    color: #205067;
    padding:8px;
}

div.spacer {
    clear: both;
    height: 20px;
}

span.choice {
    display: inline;

}
span.choice span{
    display: inline;
    cursor: pointer;
    color:darkblue;
}
.strikethrough {
    text-decoration: line-through;
}
.checkboxes {
    display: inline !important;;
}
.checkboxes input[type="checkbox"] {
    margin-right: 5px;
    width: 15px;
    height: 15px;
    display: inline-block !important;;
}
.checkboxes div {
    width:auto;
    text-align:left;
    padding-right:20px;
    border:0;
}

input {
/*    xbox-sizing: border-box;*/
/*    text-align:left  !important;*/
    /*padding-left:14px !important;*/
    font-size: 15px;
    color: #205067;
}

#submitbutton {
    width:826px;
}

/*.button {*/
/*    margin-top: 20px;*/
/*    margin-left: 0px;*/
/*    height: 40px;*/
/*    font-size: 20px;*/
/*    font-weight: bold;*/
/*    color: white;*/
/*    background-color: #53ac2e;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/



.form-field {
    float:initial;
    width: initial;
    height: initial;
    border: initial;
    text-align: initial;
    display: initial;
    align-items: initial;
    justify-content: initial;
    padding: initial;

    position: relative;
    margin-bottom: 20px; /* Geef wat ruimte voor de foutmelding */
}

.error-message {
    float:initial;
    border: initial;
    align-items: initial;
    justify-content: initial;
    position: absolute;
    background-color: #154085;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    z-index: 1000;
    white-space: nowrap;
    cursor: pointer;
    display: none;
    opacity: 0.85;
}

#dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* optionele achtergrond om het te benadrukken */
    z-index: 1000; /* zorg ervoor dat het boven andere elementen wordt weergegeven */
}

#dialog {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#ai-result {
    display:none;
}
#ai-result li {
    margin-top:6px;
}

#ai-feedback {
    width:794px;
    border: 1px solid black;
    background-color: white;
    padding: 15px;
}

#overzicht {
    margin-left: 80px;
}
#overzicht p {
    margin-top: 20px;
    font-size: 18px;
}

.case_number {
    font-size: 24px;
}

#overzicht a {
    color: dimgrey;
    text-decoration: none;
}
#overzicht a:hover{
    color:slategray;
}

.noborder {
    border:0 !important;
}

.notoppadding {
    padding-top:0 !important;
}