/* *************************************** start desktop ******************************* */

@media (min-width: 1000px) { 

.mobile_only, #menuDiv, .td_mobile  {
display: none !important;
}

/* *************************************** einde menu ******************************* */

#headerContainer {
    float: left;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#header {
    float: left;
    width: 100%;
    height: 100px;
    background-color: #202020;
}

#mainContainer {
    float: left;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease; /* Smooth shifting */
}

#impersonationDiv {
    float: left;
    width: 100%;
    padding: 10px 35px;
    box-sizing: border-box;
    background: #ff5500;
    margin-bottom: 25px;
}

#main {
    float: left;
    width: 100%;
    padding: 35px;
    box-sizing: border-box;
}

#navigation {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden off-screen */
    width: 250px;
    height: 100vh;
    transition: transform 0.3s ease; /* Smooth shifting */
    background-color: #333; /* Optional: Add a background for clarity */
    padding-top: 125px;
    box-sizing: border-box;
}

#navigation ul {
float: left;
width: 100%;
margin-left: 25px;
list-style-type: none;
}

#navigation ul li {
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
padding: 0 !important;
}

#navigation ul li a {
float: left;
width: 100%;
box-sizing: border-box;
color: #fff;
padding: 10px 0 !important;
text-decoration: none;
}

#navigation ul ul {
float: left;
width: calc(100% - 40px);
margin: 0 0 30px 15px !important;
list-style-type: none;
}

#navigation ul ul li {
font-size: 15px;
font-weight: normal;
text-transform: uppercase;
padding: 0 !important;
}

#navigation ul ul li a {
float: left;
width: 100%;
box-sizing: border-box;
color: #fff;
padding: 5px 0 !important;
text-decoration: none;
}

.shifted #mainContainer {
    transform: translateX(250px); /* Move right */
}

.shifted #navigation {
    transform: translateX(250px); /* Move right */
}

.menu-icon {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 30px;
  left: 50px;
  cursor: pointer;
  box-sizing: border-box;
  z-index: 9999;
}

.bar1, .bar2, .bar3 {
position: absolute;
width: 100%;
height: 3px;
background-color: #fff;
}

.bar1 {
top: 8px;
}

.bar2 {
top: 19px;
}

.bar3 {
top: 30px;
}

.bar1.cross {
    animation: bar1-open 0.5s forwards;
}

.bar2.cross {
    animation: bar2-open 0.5s forwards;
}

.bar3.cross {
    animation: bar3-open 0.5s forwards;
}

.bar1.reverse {
    animation: bar1-close 0.5s forwards;
}

.bar2.reverse {
    animation: bar2-close 0.5s forwards;
}

.bar3.reverse {
    animation: bar3-close 0.5s forwards;
}

@keyframes bar1-open {
    0%   { top: 8px; transform: rotate(0deg); }
    50%  { top: 19px; transform: rotate(0deg); }
    100% { top: 19px; transform: rotate(45deg); }
}

@keyframes bar1-close {
    0%   { top: 19px; transform: rotate(45deg); }
    50%  { top: 19px; transform: rotate(0deg); }
    100% { top: 8px; transform: rotate(0deg); }
}

@keyframes bar2-open {
    0%   { visibility: visible; }
    50% { visibility: hidden; }
    100% { visibility: hidden; }
}

@keyframes bar2-close {
    0%   { visibility: hidden; }
    50% { visibility: visible; }
    100% { visibility: visible; }
}

@keyframes bar3-open {
    0%   { top: 30px; transform: rotate(0deg); }
    50%  { top: 19px; transform: rotate(0deg); }
    100% { top: 19px; transform: rotate(-45deg); }
}

@keyframes bar3-close {
    0%   { top: 19px; transform: rotate(-45deg); }
    50%  { top: 19px; transform: rotate(0deg); }
    100% { top: 30px; transform: rotate(0deg); }
}


/* *************************************** einde menu ******************************* */
  
#headerMid {
float: left;
width: calc(100% - 600px);
margin-left: 300px;
text-align: center;
}
        
#headerMid img {
max-width: 150px;
height: auto;
margin-top: 12px;
}
        
#headerRight {
float: left;
width: 300px;
}
  
#headerRight ul {
    float: right;
list-style-type: none;
margin: 35px 50px 0 0;
}

#headerRight li {
    float: left;
    width: 25px;
    margin-right: 15px;
}

#headerRight li img {
    width: 100%;
    height: auto;
}

#headerRight li img:hover {
    width: 100%;
    height: auto;
    opacity: 0.6;
}

#headerRight ul li:first-child img {
    margin-top: 1px;
}

#headerRight ul li:last-child {
    margin-right: 0;
}

#content {
float: left;
width: 100%;
}

.td_settings img {
    vertical-align: middle;
    margin-right: 5px;
}

/* ************************************************************************* start home ***************************************************** */

.buttonContainer {
    float: left;
    width: 100%;
}

#buttonDiv {
    float: left;
    width: 100%;
    padding: 90px 200px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 90px;
    }
    
    #buttonDiv a {
    padding: 0px; /* Adjust this value to control the gap */
    box-sizing: border-box;
    object-fit: cover;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    }
    
    #buttonDiv a .buttonHome img {
    position: relative;
    width: 100%;
    height: 100%;
    }
    
    #buttonDiv a:hover .buttonHome img {
    position: relative;
    top: -2%;
    left: -2%;
    width: 104%;
    height: auto;
    }
    
    #buttonDiv a .buttonHome p {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    width: 100%;
    text-align: center;
    z-index: 1;
    }
    
    .textBottom {
    position: absolute;
    bottom: 20px;
    }
    
    .textTop {
    position: absolute;
    top: 20px;
    }
    
/* ************************************************************************* einde home ***************************************************** */

/* ************************************************************************* start knoppen ***************************************************** */

.button {
display: inline-block;
background: #fff;
color: #202020 !important;
padding: 5px 15px;
text-decoration: none !important;
border: 1px solid #202020;
margin: 0 10px 25px 0;
}

.button:hover {
background: #202020;
color: #fff !important;
text-decoration: none !important;
}

.button_neg {
    display: inline-block;
    background: #202020;
    color: #fff !important;
    padding: 5px 15px;
    text-decoration: none !important;
    border: 1px solid #202020;
    margin: 0 10px 25px 0;
    }
    
    .button_neg:hover {
    background: #fff;
    color: #202020 !important;
    text-decoration: none !important;
    }

.button_green {
    display: inline-block;
    background: #008000;
    color: #fff !important;
    padding: 5px 15px;
    text-decoration: none !important;
    border: 1px solid #008000;
    margin: 0 10px 25px 0;
    }
    
.button_green:hover {
    background: #fff;
    color: #008000 !important;
    text-decoration: none !important;
}

    .opdracht_list {
    list-style-type: none !important;
    margin-bottom: 0 !important;
}
  
.opdracht_list li {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.opdracht_list input[type="radio"] {
    width: 1px;
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 50%;
  }      
  
  .opdracht_list label {
    color: #202020;
    font-size: 15px;
    background-color: #fff;
    border: 1px solid #202020;
    cursor: pointer;
    padding: 5px 15px;
  }      
  
  .opdracht_list input[type="radio"]:checked+label {
    color: #fff;
    border: 1px solid #202020;
    background-color: #202020;
  }
  
  .bord_status1 {
    display: inline-block;
    width: 100px;
    padding: 4px 10px;
    background: green;
    border: 1px solid green;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
}

.bord_status1:hover {
    background: #fff !important;
    color: green !important;
}

.bord_status0 {
    display: inline-block;
    width: 100px;
    padding: 4px 10px;
    background: red;
    border: 1px solid red;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
}

.bord_status0:hover {
    background: #fff !important;
    color: red !important;
} 
    
/* ************************************************************************* einde knoppen ***************************************************** */

/* ************************************************************************* start divs ***************************************************** */

.div50 {
float: left;
width: 49%;
margin-right: 1%;
}

.div100 {
float: left;
width: 100%;
}

.div600 {
width: 100%;
max-width: 600px;
margin: 0 auto;
}

/* ************************************************************************* einde divs ***************************************************** */

/* ************************************************************************* start search orders ***************************************************** */

/* Container for rows */
#searchDiv {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 25px;
}

/* Each row as a grid */
#searchDivRow {
    display: block;
    white-space: nowrap;
}

/* Styling individual items */
#searchDivItem:first-child {
    float: left;
    width: 40%;
}

#searchDivItem:nth-child(2) {
    float: left;
    width: 60%;
}

/* Inputs, select boxes */
select, input[type="text"], input[type="date"], input[type="number"], input[type="email"] {
    width: auto;
    max-width: 100%;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Labels */
#searchDivItem {
    color: #333;
    font-size: 15px !important;
}

/* ************************************************************************* einde search orders ***************************************************** */

/* ************************************************************************* start table orders ***************************************************** */

.order-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 15px !important;
    margin-bottom: 50px;
}

.order-item {
    display: grid;
    /* 1 smalle kolom voor checkbox + 21 kolommen voor data */
    grid-template-columns: 30px repeat(21, minmax(0, 1fr));
    gap: 3px 5px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.order-item:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

.order-item div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-right: 1px solid #ccc;
    padding: 5px;
}

/* Eerste kolom (checkbox) netjes centreren */
.order-item .order-select,
.order-item #cell_select {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* checkbox iets duidelijker klikbaar */
.order-item input[type="checkbox"] {
    cursor: pointer;
}

.order-header {
    font-weight: bold;
    background: #333;
    cursor: default;
    color: #fff;
}

.order-header:hover {
    background-color: #333 !important;
    color: #fff !important;
}

.order-footer {
    font-weight: bold;
    background-color: #e0e0e0 !important;
    cursor: default !important;
    color: #000 !important;
}

.order-footer:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

.order-header div {
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* tooltips kun je laten zoals ze zijn, desnoods background: red weghalen ;) */
.tooltip-container {
    position: relative;
    z-index: 999;
    /* background: red; // debug */
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    visibility: hiddennnnn;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.order-header div:hover + .tooltip-container .tooltip {
    visibility: visible;
    opacity: 1;
}

/* ************************************************************************* einde table orders ***************************************************** */

/* ******************************************************************** start drop-zone ********************************************** */

.order-file-dropzone {
    border: 2px dashed #999;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    margin-bottom: 20px;
    transition: 0.2s ease;
}
.order-file-dropzone.dragover {
    border-color: #2b6cb0;
    background: #eef6ff;
}
.order-file-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}
.order-file-table th,
.order-file-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
.order-file-actions a,
.order-file-actions button {
    margin-right: 8px;
}
.msg-success {
    padding: 12px;
    background: #e6ffed;
    border: 1px solid #b7ebc6;
    color: #1f6f3d;
    margin-bottom: 20px;
}
.msg-error {
    padding: 12px;
    background: #fff1f0;
    border: 1px solid #f5c2c0;
    color: #a61b1b;
    margin-bottom: 20px;
}
.buttonDeleteInline {
    background: #c62828;
    color: #fff;
    border: 0;
    padding: 7px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.buttonDeleteInline:hover {
    background: #a91f1f;
}
.formRow {
    margin-bottom: 15px;
}

/* ******************************************************************** einde drop-zone ********************************************** */

} /* einde desktop */  