:root {
    --header-height: 30px; /* Adjust this to the height of your first row */
    --second-row-height: 30px; /* Adjust this to the height of your second row */
}

@media print {
    body {
        padding-right: 15px;
    }
    a {
        text-decoration: none;
        color: black;
    }
    .noprint, .noprint * {
        display: none; !important
    }
}

@media screen {
    .onlyprint {
        display: none;
    }
}

@media only screen and (min-width: 1000px) {
    h1, h2, h3, h4 {
        font-family: "Oswald", sans-serif;
        margin: 20px 10px 10px 15px;
    }
    h1 { font-size: 300%; }
    h2 { font-size: 160%; font-weight: normal; }
    h3 { font-size: 140%; font-weight: lighter; }
    h4 { font-size: 120%; font-weight: lighter; }

    .firstWikiBlock {
        width: 46%;
        float: left;
        margin-right: 1%;
    }
    .secondWikiBlock {
        width: 46%;
        float: right;
    }
    li.wiki {
        font-size: 100%;
    }
}

@media only screen and (max-width: 1000px) {
    h1 { font-size: 400%; }
    h2 { font-size: 200%; }
    h3 { font-size: 160%; }
    h4 { font-size: 140%; }
    .onlyWikiBlock, .firstWikiBlock, .secondWikiBlock {
        font-size: 140%;
    }
    li.wiki {
        margin: 15px 0;
    }
    .container {
        padding: 0 10px;
        flex-direction: column;
    }
    .left-panel, .right-panel {
        width: 100%;
        border-right: none;
    }
    #infwfooter {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        word-break: break-word;
    }
}

body {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 0 3px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
}

#fwModuleWrapper {
    width: 100vw;
    max-width: none;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 20px;
    margin-right: 20px;
    max-width: calc(100% - 40px); /* Prevent overflow */
    padding: 0;
    box-sizing: border-box;
    flex: 1; /* Grow to fill available space */
}

.mail_history_container {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    height: auto; /* Allow natural height instead of 100vh */
}

.sitetitle {
    margin: auto;
}

.cff-error-msg {
    display: none;
}

body.workwith {
    width: 100%;
}


@font-face {
    font-family: Oswald;
    src: url("/addlay/fonts/Oswald-VariableFont_wght.ttf");
}
@font-face {
    font-family: OpenSans;
    src: url("/addlay/fonts/OpenSans-VariableFont_wdth,wght.ttf");
}
@font-face {
    font-family: SourceSansPro;
    src: url("/addlay/fonts/SourceSansPro-Light.ttf");
}

.dynamic_input_field {
    background-color: #f4f4f4;
    border: none;
    border-bottom: 2px solid #ccc;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dynamic_input_field:focus {
    border-bottom: 2px solid #666;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.dynamic_input_field[readonly="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #efefef;
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #DAA520CC;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.sis-inform {
    text-shadow: 3px 3px 6px rgba(218, 165, 32, 0.8);
    zoom: 90%;
}

.field_edit_status_modified {
    box-shadow: 0 0 5px rgb(135, 15, 15);
}

.field_edit_status_submitted {
    box-shadow: 0 0 5px rgb(255, 156, 45);
}

.field_edit_status_saved {
    box-shadow: 0 0 5px rgba(0, 195, 25, 0.5);
}

.uom_subtotals {
    margin-left: 10px;
}

.uom_subtotals::before {
    content: "(aangevraagd: ";
}

.uom_subtotals::after {
    content: ")";
}

input[type=checkbox],
input[type=radio] {
    zoom: 1.5;
}

input,
select,
button {
    font-size: large;
    margin-right: 10px;
}

fieldset {
    padding: 5px 15px 7px 15px;
    margin: 0;
}

fieldset legend {
    margin: 0 15px;
}

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

label {
    margin: 0 2px 4px 2px;
    padding: 1px;
    display: block;
}

.unchecked {
    color: grey;
}

.checked {
    background-color: #bdd732;
}

.uncheckedpending {
    background-color: #f5df5e;
}

.checkedpending {
    background-color: #f5df5e;
}

.helptext a {
    color: #f5821f;
}

.breadcrumb,
.timeline_text {
    font-size: 80%;
    color: rgba(135, 96, 20, 0.93);
}

.timeline_bar {
    display: block;
    background-color: #f5821f;
    height: 4px;
    width: 100%;
    margin-top: 5px;
}

.helptext {
    font-size: 95%;
    font-style: italic;
}

div.helptext {
    margin-left: 70px;
    display: block;
}

div.editbar {
    font-size: 80%;
    position: absolute;
    right: 4px;
    width: 75px;
    overflow: hidden;
}

div.editbar button {
    font-size: 80%;
    width: 100%;
    overflow: hidden;
}

/* Main menu */
ul.mainmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #572600;
}

.mainmenu li {
    float: left;
}

.mainmenu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

.mainmenu li a:hover {
    color: #bdd732;
}

a {
    text-decoration: none;
    color: #0073B2;
}

a:hover {
    text-decoration: none;
    color: #0b1969;
}

.present,
.absent {
    color: white;
    text-align: center;
}

.present {
    background-color: #748d26;
}

.absent {
    background-color: #f5821f;
}

table.workwith {
    width: 100%;
    font-size: 70%;
}

/* Rotate column headers */
th.rotate {
    height: 175px;
    width: 50px;
    white-space: nowrap;
}

th.rotate > div {
    font-size: 75%;
    font-weight: 100;
    transform: translate(25px, 51px) rotate(315deg);
    width: 30px;
}

th.rotate > div > span {
    border-bottom: 2px solid #572600;
    padding: 5px 10px;
}

/* Legacy styles */
.date,
.num,
.keyfield {
    white-space: nowrap;
}

.num {
    text-align: right;
}

.searcharea {
    float: right;
}

.subfile_title {
    min-width: 50%;
}

textarea {
    background: #f0f0f0;
    width: 450px;
    height: 125px;
}

#ticketdescription {
    width: 500px;
    height: 175px;
}

div #errorBar {
    position: absolute;
    margin-left: 130px;
    width: 50%;
    padding: 1px 10px;
    top: 2px;
    color: #333333; /* Very dark grey text */
    font-size: 1.1em; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    background-color: #d4a017; /* Dark yellow background */
    border-radius: 5px;
    border: 3px dashed black;
    opacity: 0.90;
    transition: opacity 4000ms;
    z-index: 800;
}

div #errorBar li {
    padding-left: 10px;
    list-style-type: none; /* Remove default bullet */
    list-style-position: inside;
}

div #errorBar li::before {
    content: "\25B6"; /* Triangle bullet */
    color: #333333; /* Same color as text */
    display: inline-block;
    width: 1em; /* Add space between bullet and text */
    margin-right: 5px; /* Additional space */
}

table.nice {
    border-collapse: collapse;
    border: 1px solid #666666;
    color: #000000;
    background: #f6f6f6;
    text-align: left;
}

.nice caption {
    text-align: center;
    background: transparent;
    padding: 6px 4px 8px 0px;
    color: #CC00FF;
    text-transform: uppercase;
}

.nice.andsticky thead th,
.nice.andstickyheader thead th {
    position: sticky;
    top: 0;
    background-color: rgba(210, 210, 210, 0.7);
    z-index: 700;
}

table.nice.andstickyheader.grid,
table.nice.andstickyheader.grid th,
table.nice.andstickyheader.grid td {
    border: 1px solid darkgrey;
    border-collapse: collapse;
}

.nice.andsticky th:nth-child(-n+2),
.nice.andsticky td:nth-child(-n+2) {
    position: sticky;
    left: 0;
    background-color: rgba(210, 210, 210, 0.7);
    z-index: 701;
    zoom: 80%;
    text-align: left;
}

.nice.andsticky .odd th:nth-child(-n+2),
.nice.andsticky .odd td:nth-child(-n+2) {
    background-color: rgba(190, 190, 190, 0.7);
}

.nice.andsticky th:first-child,
.nice.andsticky td:first-child {
    font-size: 0.7em;
}

.nice.andsticky th:nth-child(2),
.nice.andsticky td:nth-child(2) {
    left: 55px;
}

.nice thead,
.nice tfoot {
    text-align: left;
    height: 30px;
}

.nice thead th,
.nice tfoot th {
    padding: 5px;
}

.nice tr {
    vertical-align: top;
}

.nice tr.odd {
    background: #e8e8e8;
}

.nice tr.separator_above {
    border-top: 1px solid;
}

.nice tr.systemlog {
    color: #777777;
    font-size: 75%;
}

.nice tbody th,
.nice tbody td {
    padding: 5px;
}

.nice.grid td {
    text-align: center;
    border-bottom: dashed 1px;
    border-right: dashed 1px;
    border-color: rgba(210, 210, 210, 0.7);
}

.nice.statusoverview th,
.nice.statusoverview td {
    white-space: nowrap;
    border-left: 1px solid black;
}

.nice.statusoverview th:nth-child(1),
.nice.statusoverview td:nth-child(1) {
    background-color: #ffe6e6;
}

.nice.statusoverview th:nth-child(2),
.nice.statusoverview td:nth-child(2) {
    background-color: #fff0cc;
}

.nice.statusoverview th:nth-child(3),
.nice.statusoverview td:nth-child(3) {
    background-color: #f2ffe6;
}

.nice.statusoverview th:nth-child(4),
.nice.statusoverview td:nth-child(4) {
    background-color: #ffe6e6;
}

.nice.statusoverview th:nth-child(5),
.nice.statusoverview td:nth-child(5) {
    background-color: #fff0cc;
}

.nice.statusoverview th:nth-child(6),
.nice.statusoverview td:nth-child(6) {
    background-color: #f2ffe6;
}

table.nomarkup {
    border-collapse: collapse;
    border: 0px;
    text-align: left;
}

.albumContainer {
    position: relative;
}

.text-block {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    padding-left: 20px;
    padding-right: 20px;
}

.verify_todo {
    margin-left: 20px;
    color: #922222;
    font-weight: bolder;
}

.verify_pending {
    margin-left: 20px;
    color: #b07e12;
    font-weight: bold;
}

.verify_done {
    margin-left: 20px;
    color: #008000;
    font-weight: bold;
}

.sis_accountpanel {
    background-color: #f0f0f0;
    font-size: 70%;
    float: right;
}

th.sortable {
    cursor: pointer;
    background-color: #f9f9f9;
}

th.sortable:hover {
    background-color: #e0e0e0;
}

th.sorted-asc::after,
th.sorted-desc::after {
    content: "";
    float: right;
    margin-left: 5px;
    border: 5px solid transparent;
}

th.sorted-asc::after {
    border-bottom-color: #000;
}

th.sorted-desc::after {
    border-top-color: #000;
}

td.presence_indicator {
    background-color: darkgreen;
    text-indent: -9999px;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

td.absence_indicator {
    background-color: lightgray;
    text-indent: -9999px;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.sis_button_link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 10px 40px;
    background-color: grey;
    border: 1px solid black;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    position: relative;
    margin: 10px 25px 10px 0;
}

.sis_button_link::before {
    content: "";
    background-image: url('/img.214001/nav-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.sis_button_link_title {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}

.sis_button_link_description {
    display: block;
    font-size: 0.7em;
    font-style: italic;
    text-align: center;
}

.sis_button_link.disabled {
    background-color: #b0b0b0;
    color: #808080;
    border-color: #808080;
}

.more_info_block_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.more_info_block_popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid black;
    padding: 20px;
    background-color: white;
    z-index: 2001 !important;
    text-align: left;
}

#infwfooter {
    width: 100%;
    max-width: none;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 20px;
    margin-right: 20px;
    max-width: calc(100% - 40px); /* Prevent overflow */
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #f0f0f0; /* Optional: visual distinction */
    clear: both; /* Retain existing clear behavior from dft214001-005.css */
    font-size: 90%; /* Retain existing style */
    display: flex; /* Align children (social icons and fieldset) */
    justify-content: space-between; /* Space out children */
}
#infwfooter > div {
    display: flex;
    align-items: center;
}
#infwfooter fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
