/* Universal */
:root {
    --schwank-orange: #e8540d;
    --schwank-dark-gray: rgb(51, 51, 51);
    --schwank-light-gray: rgb(153, 153, 153);
    --schwank-headlines-font: Century Gothic;
    --schwank-text-body-font: Century Gothic;
    --schwank-super-light-gray: #e9e9e9
}
@font-face {
    font-family: hl;
    src: url(fonts/Century_Gothic.ttf);
}
.hl {
    font-family: hl;
    font-weight: 600;
}
@font-face {
    font-family: tb;
    src: url(fonts/Century_Gothic.ttf);
}
.tb {

    font-family: tb;
    font-weight: 600;
    /* font-family: 'Courier New', Courier, monospace */
}
.s-text {
    font-family: Century Gothic;
}
.s-text-bold {
    font-family: Century Gothic;
    font-weight: 600;
}
.s-headlines {
    font-family: Century Gothic;
    font-weight: 600;
}
.light-grey-bg{
    background-color: #EEEEEE;    
}
.dark-bg{
    background-color: var(--schwank-dark-gray);
}
.darker-bg{
    background-color: rgb(56, 56, 56);
}
.dark-border{
    border: 1px solid rgb(65, 65, 65);
}
.active-border{
    color: var(--schwank-orange);
}
.level-1-bg{
    background-color: #d6d6d6;
}
.level-2-bg{
    background-color: #EEEEEE;
}
.white-text{
    color: white;
}
.menu-icon-color {
    color: rgb(255, 255, 255);
}
.menu-icon-color-selected {
    color: rgb(255, 255, 255);
}
.rounded-border{
    border: 1px solid #353535;
    border-radius: 5px; 
}
/* Article Images */
.article-img {
    display: flex;
    align-content: center;
    justify-content: center;  
    border: 1px solid gray;  
    border-radius: 6px; 
}
.article-img:hover {
    cursor: pointer;
    /* border: none; */
    border: 1px solid rgb(0, 0, 0);
}
.article-img:hover img{
    border: 1px solid #8a8a8a;
}
.article-img img {
    height: 25px;
    border-radius: 5px;
}
/* Article Photo Viewer - on click*/
#article_photo_viewer {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: #000000de;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
    padding-bottom: 95px;
    backdrop-filter: blur(1px);
}
#afv_wrapper {
    background-color: white;
    height: 100%;
    width: 100%;
    border: 3px solid var(--schwank-orange);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#afv_close_btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    color: #ffffff;
    transition: .5s;
}
#afv_wrapper img {
    max-height: 75%;
}
#afv_close_btn:hover {
    cursor: pointer;
    color: var(--schwank-orange);
}
/* -------------------------------------------- */

/* Add Article Dialog */
#order_characteristics_overlay {
    position: fixed; /* Positioning and size */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(128,128,128,0.5); /* color */
    display: none; /* making it hidden by default */
}
#order_characteristics {
    position: absolute;
    padding: 0;
    margin: 0;
    /* width: 327px; */
    width: 600px;
    top: 50%;
    left: 50%;
    visibility: collapse;    
    background-color: white;
    border: 1px solid var(--schwank-orange);
    border-radius: 5px;
    box-shadow: -7px 6px 17px #9c9c9c;
}
#order_characteristics .oc-body {
    padding: 10px;
}
#order_characteristics .close-btn {
    border: none;
    background: none;
    font-size: 30px;
    position: absolute;
    top: -7px;
    right: 5px;
    padding: 0;
    margin: 0;
}
#order_characteristics .close-btn:hover {
    color: var(--schwank-orange);
}
#order_characteristics .close-btn:focus {
    outline: none;
}
#csd_options_select,
.csd-options-select {
    border: 1px solid #bdbdbd;
    width: 100%;
}
#csd_options_select:focus,
.csd-options-select {
    outline: none;
    border: 1px solid var(--schwank-orange);
}
/* #csd_options_select option div {
    display: flex !important;
    width: 100px !important;
    max-width: 100px !important;
    white-space: pre-line !important;

    max-width: 100px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
} */

/* #csd_options_select {
    appearance: none;
    border: 1px solid #333;
    color: #999;
    display: inline-block;
    font-size: 12px;
    height: 39px;
    padding: 0 15px;
    vertical-align: top;
}
#csd_options_select option {
    padding: 7px 15px;
} */
#order_characteristics #add_artikel_btn {
    border: 1px solid var(--schwank-orange);
    padding-right: 10px;
    padding-left: 10px;
    background-color: var(--schwank-orange);
    color: #ffffff;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    margin-right: 2px !important;
    width: 100%;
    text-align: center;
    margin-left: auto;
    border-radius: 5px;
}
#order_characteristics #add_artikel_btn:hover,
#order_characteristics #add_artikel_btn.disabled {
    cursor: pointer;
    background-color: #ffffff;
    color: var(--schwank-orange);
    border: 1px solid var(--schwank-orange);
    font-weight: 600;
}
#order_characteristics #add_artikel_btn span {
    font-family: var(--schwank-text-body-font);
}
/* -------------------------------------------- */
/* Article Photo Viewer - on hover */
#article_photo_viewer_hover {
    position: absolute;
    height: 250px;
    width: 250px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 3px solid var(--schwank-orange);    
    border-radius: 5px;
}
#afv_wrapper_hover {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#afv_close_btn_hover {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 24px;
    color: #7e7e7e;
    transition: .5s;
}
#afv_wrapper_hover img {
    max-height: 220px;
    max-width: 220px;
}
#afv_close_btn_hover:hover {
    cursor: pointer;
    color: var(--schwank-orange);
}
/* -------------------------------------------- */
.add-artikel-btn {
    font-size: 20px;
}
#check2 ~ a {
    text-decoration: none;
    color: rgb(59, 59, 59);
    font-weight: 500;
    margin-right: 5px;
}
#check2 ~ a:hover {
    color: var(--schwank-orange);
}
/* Ordering Button */
/* #ordering_btn.checked {   
    background-color: #d2d2d2;  
    color: black;
} */
#ordering_btn.checked {
    /* background-color: #7d7d7d;  
    color: #b3b3b3;
    border: 1px solid #000000; 
    border-radius: 5px;    
    height: 24px;
    display: flex;
    justify-content: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0;
    padding-top: 0;
    font-size: 15px;
    font-weight: 600; */  

    border: 1px solid var(--schwank-orange);

    background-color: var(--schwank-orange);
    color: #ffffff;

}

/* Article Remove Button */
#ra_remove_atricle_btn {
    width: 90px;
}
#ra_remove_atricle_btn span {
    position: absolute;
    height: inherit;
    width: inherit;
    margin-left: -11px;
    margin-top: -4px;
    text-align: center;
    line-height: 35px;
}
/* EO Article Remove Button */

#ordering_btn.de {
    /* min-width: 90px; */
    min-width: 180px;
    width: 180px; 
}
#ordering_btn.en {
    /* min-width: 90px; */
    min-width: 85px;
    width: 85px; 
}

#ordering_btn span {
    position: absolute;
    height: inherit;
    width: inherit;
    margin-left: -11px;
    margin-top: -4px;
    text-align: center;
    line-height: 35px;
}
#ordering_btn,
#ordering_btn.checked:hover {
    /* cursor: pointer;
    background-color: var(--schwank-dark-gray);
    color: var(--schwank-orange); */
    cursor: pointer;
    background-color: #d6d6d6;
    color: var(--schwank-orange);
    border: 1px solid var(--schwank-orange);
    font-weight: 600;
    padding-top: 3px;
    padding-right: 10px;
    padding-left: 10px;
    height: 35px;    
}
#ordering_btn.checked:hover {
    background-color: #ffffff;
}
#ordering_btn:hover {
    cursor: not-allowed;
}

/*
|**************************************** Snackbar **************************************|
*/
/* The snackbar - position it at the top and in the middle of the screen */
    #snackbar {
    visibility: hidden;
    min-width: 250px;
    /* margin-left: -125px; */
    /* margin-left: -50%; */
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    border: 1px solid var(--schwank-orange);
    border-radius: 5px;
    font-family: var(--schwank-text-body-font);
}
#snackbar:hover {
    cursor: pointer;
    background-color: rgb(82, 82, 82);
}
/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; 
    -webkit-animation: fadein .1s, fadeout 1s 7.7s;
    animation: fadein .1s, fadeout 1s 7.8s;
}
/* Modals */
.modal .title {
    font-family: var(--schwank-text-body-font);
}
.modal .content {
    font-family: var(--schwank-text-body-font);
}
/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 6px; opacity: 1;}
}
@keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 6px; opacity: 1;}
}
@-webkit-keyframes fadeout {
    from {top: 6px; opacity: 1;}
    to {top: 0; opacity: 0;}
}
@keyframes fadeout {
    from {top: 6px; opacity: 1;}
    to {top: 0; opacity: 0;}
}
/* Tables */
table th {
    border-top: none !important;
}
table th:not(:last-child),
table td:not(:last-child) {
    border-right: 1px solid #dee2e6;
}
/*
|| ----------------------- Custom Scrollbar --------------------- ||
*/
.scrollbar-custom::-webkit-scrollbar-track {     
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 25px 45px rgb(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 25px 45px rgb(0, 0, 0, 0.1);
    border-radius: 5px;
}
.scrollbar-custom::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.scrollbar-custom::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background: rgba(255, 255, 255, 0.575);
    backdrop-filter: blur(5px);    
    border-radius: 5px;
}
.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.829); 
}

/*
|| ----------------------- AGB/Impressum Custom Scrollbar --------------------- ||
*/
.ai-scrollbar-custom::-webkit-scrollbar-track {     
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 25px 45px rgb(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 25px 45px rgb(0, 0, 0, 0.1);
    border-radius: 5px;
    
}
.ai-scrollbar-custom::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    /* left:-100px; */
}
.ai-scrollbar-custom::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background: rgba(255, 255, 255, 0.575);
    backdrop-filter: blur(5px);    
    border-radius: 5px;
}
.ai-scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: var(--schwank-orange); 
}

/*
|| ----------------------- EO Custom Scrollbar --------------------- ||
*/
/* Orders Headers Table */
#od_headers_table {
    position: sticky;
    top: -5px;
    margin-bottom: 4px;
    background-color: #f8f9fa;
    z-index: 1;
}
#od_headers_table th {
    font-size: small;
    color: #525252;
    padding-top: 4px;
    padding-bottom: 5px;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
} 
/*
|| ----------------------- All Dialogs --------------------- ||
*/
.dialog.show{
z-index: 1050;
}
.dialog:NOT(.show) {
    z-index: -1;  
}
.dialog {
    height: 100px !important;
    margin: 0 auto !important;
    display: table !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    -webkit-transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    -o-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
}
.dialog-body .title {
    margin-bottom: 10px;
    color: var(--schwank-orange);
}
.dialog-body .address-title {
    margin-bottom: 10px;
    color: var(--schwank-dark-gray);
}
.dialog button.close:focus,
.dialog button.close:focus-visible {
    outline: none !important;
}
.dialog td {
    border: none;
    font-weight: 600;
}
.dialog td input {
    font-family: var(--schwank-text-body-font) !important;
}
.dialog input {
    width: 100%;
    outline: none !important;
    border:1px solid #bdbdbd;
}
.dialog input:focus {
    border:1px solid var(--schwank-orange);
}
.dialog-header,
.dialog-body,
.dialog-footer {
    background-color: #e9e9e9;
}
.dialog-header {
    border-bottom: 1px solid #9f9f9f;
    padding: 5px;
    height: 35px;
    /* height: 44px !important;
    padding-left: 10px !important; */
  
}
.dialog-footer {
    border-top: 1px solid #9f9f9f;
    padding: 5px;
    height: 45px;
}
.dialog-btn-wrapper {
    border: 1px solid var(--schwank-orange);
    padding-right: 10px;
    padding-left: 10px;
    background-color: var(--schwank-orange);
    color: #ffffff;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    margin-right: 2px !important;
}
.dialog-btn-wrapper:hover,
.dialog-btn-wrapper.disabled {
    cursor: pointer;
    background-color: #ffffff;
    color: var(--schwank-orange);
    border: 1px solid var(--schwank-orange);
    font-weight: 600;
}
.dialog-btn-wrapper span {
    font-family: var(--schwank-text-body-font);
}
.modal .modal-header h6{
    font-size: 22px;
}
.modal .modal-header,
.modal .modal-footer {
    border-radius: 0;    
}
.modal .modal-header {
    height: 44px !important;
    padding-left: 10px !important;
}
.modal .modal-footer {
    border-top: none !important;
    padding-right: 25px !important;

    height: 45px !important;
    border-top: 1px solid #9f9f9f;  
    padding: 40px !important; 
}
.modal .modal-body {
    padding: 40px !important;
    padding-bottom: 0 !important;
}
.modal-header button.close:focus,
.modal-header button.close:focus-visible {
    outline: none !important;
}
.modal-header button.close {
    font-size: 35px;
}
.modal-header button.close:hover {
    color: var(--schwank-orange);
}
/*
|| ----------------------- Custom Scrollbar Rounded Top/Bottom Right --------------------- ||
*/
.cs-scrollbar::-webkit-scrollbar-track
{   
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #f1f1f1;   
    /* border-top-right-radius: 4px;  */
    /* border-bottom-right-radius: 4px;  */
}
.cs-scrollbar::-webkit-scrollbar
{
    width: 8px;
    height: 10px;
    /* border-top-right-radius: 4px;  */
    /* border-bottom-right-radius: 4px;  */
}
.cs-scrollbar::-webkit-scrollbar-thumb
{
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #c1c1c1;    
    /* border-top-right-radius: 4px;  */
    /* border-bottom-right-radius: 4px;  */
}
.cs-scrollbar::-webkit-scrollbar-thumb:hover
{
    background-color: var(--schwank-orange);
}
/*
|| ----------------------- Custom Scrollbar Not Rounded --------------------- ||
*/
.cs-nr-scrollbar::-webkit-scrollbar-track
{   
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #f1f1f1;   
}
.cs-nr-scrollbar::-webkit-scrollbar
{
    width: 8px;
    height: 10px; 
}
.cs-nr-scrollbar::-webkit-scrollbar-thumb
{
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #c1c1c1;    
}
.cs-nr-scrollbar::-webkit-scrollbar-thumb:hover
{
    background-color: var(--schwank-orange);
}

/*
|| ----------------------- Others --------------------- ||
*/
/* .custom-arrow {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    height: 35px;
    width: 35px;
    pointer-events: none;
}
.custom-arrow::before,
.custom-arrow::after {

    --size: 1em;

    content: '';
    position: absolute;
    width: 0;
    height: 0;
}
.custom-arrow::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid rgba(255, 255, 255, 0.5);
}
.custom-arrow::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid rgba(255, 255, 255, 0.5);
} */
#schwank_logo_main_navbar:hover {
    cursor: pointer;
    /* box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4); */

}


/* input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  

   opacity: 1;
} */

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    border: 2px solid #ddd;
    display: inline-flex;
}

.number-input,
.number-input * {
    box-sizing: border-box;
}

.number-input button {
    outline:none;
    -webkit-appearance: none;
    background-color: #eeeeee;
    border: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    cursor: pointer;
    margin: 0;
    position: relative;
    padding:0;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    width: 0.5rem;
    height: 2px;
    background-color: #212121;
    transform: translate(-50%, -50%);
}
.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 4.5rem;
    padding: .5rem;
    border:0;
    text-align: center;
    outline:none;
}
.number-input{
    border: solid #c2c4c6;
    border-width:2px;
} */
input[type="number"] {
    padding-right: 10px;
}
.quantity-arrows {
    display: flex;
    flex-direction: column;
}
.quantity-arrow {
    background-color: gray;
    /* border: 1px solid rgb(180, 180, 180); */
    height: 17.5px;
    width: 20px;
    display: flex;
    justify-content: center;
    transition: 0.5s;
    border: 1px solid rgb(95, 95, 95);
}
.quantity-arrow.up {
    border-bottom: none
}
.quantity-arrow:hover {
    cursor: pointer;
    background-color: var(--schwank-dark-gray);
}
.quantity-arrow:hover i {
    color: var(--schwank-orange);
}
.quantity-arrow i {
    /* color: white; */
    color: white;
}

.YES .order-number {
    color: green;
    font-weight: 600;
}