/* GLOBAL */
/* body */
body,td,th {
    margin-top:0px;
    font-family: Arial, Verdana, Helvetica, sans-serif; 
    font-size:14px;
}
/* other linkes */
a:link {color: #257b7a; text-decoration:none}
a:visited {color: #257b7a; text-decoration:none}
a:hover {color: #257b7a; text-decoration:underline}
a:active {color: #257b7a; text-decoration:none}



/* index.php login */
.login_info {
    color: #999; 
    margin-top: 40px; 
    line-height: 20px;
}
.red {
    color: red;
}
.login input {
    border-radius: 4px; 
    border: 1px solid #777; 
    font-size: 15px; 
    padding: 6px; 
    box-shadow: 4px 4px 8px #AAA;
}
#oog {
    vertical-align: middle;
}
.login_button {
    border-radius: 8px; 
    font-size: 17px; 
    height: 40px; 
    width: 120px;
    background-color: #64b13f; 
    color: white; 
    font-weight: bold; 
    margin-top: 10px; 
    border: 0px solid;
    box-shadow: 4px 4px 8px #AAA;
}

/* tables */
table#lst td, th {padding: 4px;}
table#lst {border-spacing: 1px;}
table#fil {border-spacing: 1px;}
tr#t {background-color:#c5d771}		/* titel */
tr#d {background-color:#EFEDED}		/* donker */
tr#h {background-color:#FBFBFB}		/* helder */
tr#m {background-color:#f7b332}        /* mark */
.content {  /* real body content */
    margin-left:176px; 
    padding:20px;
}

/* submenu */
.submenu {
    padding: 8px; 
    background-color: #c3d871; 
    border-radius: 4px; 
    color: #023428; 
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.titel {
    font-size: 24px;
    color: #027331
}

/* Menu */
.sidebar {
    width: 160px;
    background: linear-gradient(to right, #287b71 0%, #c3d871 100%) /* #287b71 */;
    color: white;
    height: 100dvh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px;
    padding-right: 0px;
    overflow-y: auto;
}
.sidebar ul {
    list-style: none;
    padding-left: 0;
}
.sidebar li {
    margin: 6px 0;
    position: relative;
}
.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 3px 0;
}
.sidebar a:hover {
    text-decoration: underline;
}
/* Submenu */
.sidebar li ul {
    margin-left: 15px;
}
/* Actief item */
.sidebar li.active > a {
    font-weight: bold;
    color: #c3d871;
}
#logout {
    position: fixed;
    bottom: 10px;
}

#upbutt {
    position: fixed; 
    right: 10px; 
    bottom: 10px; 
    display: none; 
    box-shadow: 0px 0px 20px gray; 
    border-radius: 50%
}

.rechts {
    text-align: right;
}

.article-picker {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 21;
    width: min(560px, calc(100vw - 40px));
    max-height: min(620px, calc(100vh - 40px));
    padding: 18px;
    transform: translate(-50%, -50%);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d9e4c2;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(2, 52, 40, 0.24);
}
.article-picker::backdrop {
    background: rgba(2, 52, 40, 0.35);
}
.article-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #023428;
    font-size: 16px;
}
.article-picker-close {
    color: #257b7a;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
}
.article-picker-close:hover {
    color: #023428;
    text-decoration: none;
}
.article-picker-list {
    overflow: auto;
}
.article-results {
    width: 100%;
    height: min(400px, 55vh);
    padding: 6px;
    color: #023428;
    border: 1px solid #c3d871;
    border-radius: 6px;
    background: #f8fbf1;
}
.article-results option {
    padding: 8px;
}

.print-modal {
    width: min(320px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid #d9e4c2;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(2, 52, 40, 0.24);
}
.print-modal::backdrop {
    background: rgba(2, 52, 40, 0.35);
}

@media print {
    .sidebar, .submenu, .no-print, img[title="Delete"], img[title="edit"] {
        display: none !important;
    }
    body.print-no-prices #orderdetails th:nth-child(6),
    body.print-no-prices #orderdetails td:nth-child(6),
    body.print-no-prices #orderdetails th:nth-child(7),
    body.print-no-prices #orderdetails td:nth-child(7) {
        display: none !important;
    }
}
