﻿* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

.flex-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding-top: 2px;
    padding-bottom: 2px;
}

.flex-item {
    display: flex;
    align-items: center;
}

.card_detail_fieldname,
.card_detail_fieldname_sku{
    font-weight: 520;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: right;
    min-width: 4.5rem;
    text-wrap: nowrap;
}

.card_detail_fieldname_sku {
    min-width: 5rem;
}

.card_detail_value {
    padding-left: 10px;
    
    align-items: flex-start;
    text-align: left;
}

.smaller_text {
    font-size: smaller;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.card-icon {
    cursor: pointer;
    font-size: 1.5rem;
}

.card-icon-label {
    cursor: pointer;
}

.card-holder {
    padding: 0px;
    display: flex;
    flex-direction: unset;
    flex-wrap: wrap;
    max-width: 1800px;
}

.control-holder {
    padding: 0px;
    display: flex;
    flex-direction: unset;
    flex-wrap: wrap;
    max-width: 1800px;
}

.flex-card {
    display: flex;
    padding: 5px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-radius: 10px;
    min-height: 50px;
    margin: 10px;
    border: 1px solid lightgrey;
    align-self: flex-start;
    flex: 0 0 580px;
}

.flex-card-cancelled {
    background-color: #FFE7B8 !important;
}

.flex-card:nth-child(even) {
    background-color: #f4f4f5;
}

.flex-card:nth-child(odd) {
    background-color: lightcoral;
    background-color: #FFFFFF;
    background-color: #f4f4f5;
}

.jobcard {
    display: grid;
    grid-template-columns: auto 110px 0px;
    grid-template-rows: auto auto auto auto auto auto auto;
    gap: 0px;
    width: 100%;
}

.skucard {
    display: grid;
    grid-template-columns: 110px 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    gap: 0px;
    width: 100%;
}

.jobcard_title {
    grid-column: span 3 / span 3;
    padding: 0px;
}

.skucard_title {
    grid-column: span 2 / span 2;
    padding: 0px;
}

.jobcard_icons {
    grid-row: span 1 / span 1;
    grid-row-start: 2;
    grid-column-start: 3;
    padding-top: 10px;   
}

.jobcard_detail {
    grid-row-start: 2;
    padding-top: 5px;
    padding-left: 5px;
    line-height: 1.4;
}

.jobcard_status {
    grid-column: span 2 / span 2;
    grid-row-start: 3;
    padding-top: 5px;
    padding-left: 5px;
    line-height: 1.4;
}

.jobcard_image {
    grid-row-start: 2;
    text-align: center;
    align-content: center;
    padding-top: 5px;
    padding-right:5px;
    padding-left: 5px;
    width: 110px;
}

.skucard_image {
    grid-row-start: 2;
    text-align: center;
    align-content: center;
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
    width: 110px;
}

.jobcard_bottom {
    grid-column: span 2 / span 2;
    grid-row-start: 4;
    padding-top: 15px;
    padding-right: 10px;
}

.jobcard_proofs {
    grid-column: span 3 / span 3;
    grid-row-start: 5;
    padding-top: 15px;
    padding-right: 10px;
    display: none;
    flex-direction: column;
}

.jobcard_datamatrix {
    grid-column: span 3 / span 3;
    grid-row-start: 6;
    padding-top: 15px;
    padding-right: 10px;
    display: none;
    justify-content: center;
}

.jobcard_additionaldetail {
    grid-column: span 3 / span 3;
    grid-row-start: 7;
    padding-top: 15px;
    padding-right: 10px;
    display: none;
}

.control-icons {
    font-size: 20px;
}

.flex-item-icons {
    margin-left: 20px;
}

.flex-item-fieldname {
    text-align: left;
    min-width: 150px;
    white-space: nowrap;
    align-items: center
}

.flex-item-input {
    text-align: left;
    flex-grow: 1;
    padding-left: 5px;
}

.flex-item-collapsable {

}

html {
    font-size: 18px;
    
}

body {
    font-family: Inter, 'Open Sans', sans-serif;
    font-size: 0.75rem;
}

div {
}

table {
   
}

input {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 1px solid #b9b9b9 !important;
    font-size: 0.8rem;
}

textarea {
    border: 1px solid #b9b9b9 !important;
    font-size: 0.8rem;
    
}

select, option {
    --webkit-appearace: none;
    font-size: 0.8rem;
    border: 1px solid #b9b9b9 !important;
    border-radius: 4px;
}

select {
    overflow: clip;
}

option {
    white-space: normal; /* Allows wrapping in supported browsers */
    overflow-wrap: break-word;
}

a {
    color: #1565C0;
    text-decoration: none;
}

fieldset {
    border: none;
    padding: 0px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

div[name^=jobcard] {
    scroll-margin-top: 120px;
}

div[name^=skucard] {
    scroll-margin-top: 120px;
}

.disabled-div {
    pointer-events: none; /* Prevents all mouse clicks/hovers */
    opacity: 0.5; /* Visually indicates the div is inactive */
    user-select: none; /* Optional: prevents text selection */
}

.filterbubble {
    min-height: 30px;
    display: flex;
    padding: 0px 15px 0px 10px;
    border-radius: 15px;
    background-color: #f4f4f5;
    align-items: center;
    margin-left: 10px;
    margin-right: 0px;
    margin-top: 10px;
}

.sortbubble {
    min-height: 30px;
    display: flex;
    padding: 0px 15px 0px 10px;
    background-color: #f4f4f5;
    align-items: center;
    margin-top: 10px;
    min-width: 6rem;
}

.cancel-watermark {
    position: absolute;
    transform: translate(125px, 135px) rotate(-30deg);
    opacity: 0.2;
    font-size: 3rem;
    pointer-events: none;
    user-select: none; color: red;
}


/*Form Box CSS*/
.form-box {
    padding: 5px 20px 30px 20px;
    background-color: #FCFCFC;
    display: inline-block;
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    box-shadow: 0 1px 3px #999;
    position: relative;
}

    .modal-box {
        padding: 20px;
        background-color: white;
        border-style: solid;
        border-width: 1px;
        border-color: grey;
        box-shadow: 0 1px 3px #999;
    }

    .form-box:before,
    .form-box:after {
        content: "";
        position: absolute;
        bottom: 15px;
        left: 10px;
        height: 20%;
        width: 50%;
        box-shadow: 0 15px 10px rgba(0,0,0,0.3);
        z-index: -2;
    }

    .form-box:before {
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }

    .form-box:after {
        right: 10px;
        left: auto;
        -webkit-transform: rotate(3deg);
        -moz-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
        -o-transform: rotate(3deg);
        transform: rotate(3deg);
    }


    .form-header {
        border-bottom: 1px solid #b9b9b9;
        background-color: unset;
        width: 100%;
        height: 35px;
    }

        .form-header h2 {
            font-size: 16px;
            color: #272f32;
            float: left;
            padding: 0px;
        }

        .form-header a {
            float: right;
            margin-top: 15px;
        }

    .form-content {
        background-color: unset;
        text-align: left;
        width: 100%;
        margin-top: 10px;
        line-height: 1.3;
        color: #5d5d5d;
    }
    /*Data Tables CSS*/

    .table-data {
        padding: 0px;
        background-color: #FFFFFF;
        box-shadow: 0px 0px 5px #888888;
        display: inline-block;
    }

        .table-data table {
            border: none;
            border-spacing: 0px;
            border-collapse: collapse;
        }

        .table-data tr {
            height: 30px;
        }

        .table-data th {
            padding-left: 10px;
            padding-right: 10px;
        }

        .table-data td {
            padding-left: 10px; 
            padding-right: 10px;
        }

            .table-data tr:nth-child(even) {
                background-color: #E3F2FD;
                background-color: #E8EAF6;
                background-color: #F1F8E9;
                background-color: #f4f4f5;
            }

            .table-data tr:nth-child(odd) {
                background-color: #BBDEFB;
                background-color: #C5CAE9;
                background-color: #DCEDC8;
                background-color: #FFFFFF;
            }

            .table-data tr:first-child {
                background-color: #283593;
                background-color: #558B2F;
                background-color: #1565C0;
                height: 35px;
                color: white;
            }

    .field-row :nth-child(even) {
        background-color: #E3F2FD;
    }

    .field-row :nth-child(odd) {
        background-color: #BBDEFB;
    }
    /*Buttons CSS*/
.button-icon {
    vertical-align: middle;
    font-size: 1.2rem;
}

.button-text {
    vertical-align: middle;
}


button {
    border-radius: 4px;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 0.75rem;
}

        button.orange {
            background-color: #EF6C00;
            color: white;
        }

        button.green {
            background-color: #558B2F;
            color: white;
        }

        button.red {
            background-color: #C62828;
            color: white;
        }

        button.purple {
            background-color: #6A1B9A;
            color: white;
        }

        button.indigo {
            background-color: #283593;
            color: white;
        }

        button.blue {
            background-color: #1565C0;
            color: white;
        }

        button.lightgrey {
            background-color: lightgrey;
            color: black;
        }

    /* The sidebar menu */
    .sidenav {
        height: 100%; /* Full-height: remove this if you want "auto" height */
        width: 125px; /* Set the width of the sidebar */
        position: fixed; /* Fixed Sidebar (stay in place on scroll) */
        z-index: 1; /* Stay on top */
        top: 0; /* Stay at the top */
        left: 0;
        background-color: #f4f4f5;
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 60px;
        border-right: 1px solid lightgray;
    }
        /* The navigation menu links */
        .sidenav a {
            padding: 6px 8px 6px 10px;
            text-decoration: none;
            
            
            color: black;
            display: block;
            cursor: pointer;
        }

        .sidenav li {
            width: 100%;
            cursor: pointer;
        }

        .sidenav i {
            color: black;
            vertical-align: middle;
            font-size: 15px;
            cursor: pointer;
        }

        .sidenav label {
            display: inline-block;
            padding: 5px;
            cursor: pointer;
        }
        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover {
            background-color: lightgray;
        }
    /* Style page content */
    .main {
        margin-left: 125px; /* Same as the width of the sidebar */
    }

    .menutext {
        vertical-align: middle;
    }
