body {
    margin-top: 0px;
}

.triple-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.triple-content div {
    flex: 1;
    text-align: center;
}

.triple-content div:first-child {
    text-align: left;
}

.triple-content div:last-child {
    text-align: right;
}

.triple-content div.div-left {
    margin-left: 3px;
}

.triple-content div.div-right {
    margin-right: 3px;
}

.minwidth {
    width: 0;
    min-width: 0;
    /* Overrides any existing minimum width */
    overflow: hidden;
    /* Optional: prevents content from overflowing */
}

.nonstandard-empty-tr {
    display: none;
}

a[target="_blank"]:after {
    content: "";
    display: inline-block;
    height: 20px;
    width: 20px;
    background-size: 20px 20px;
    background-image: url("https://admin.alaskaseafoodcompany.com/StatusBoard/assets/external_link_icon.svg");
    background-repeat: no-repeat;
}

.board-container {
    padding-top: 20px;
}

.products-inventory-count {
    text-align: center;
    background: #47d1ce;
}

.td-center-text {
    text-align: center;
}

.collapse-borders {
    border-collapse: collapse;
}

.collapse-borders td,
.collapse-borders th {
    min-width: 120px;
    max-width: 110px;
}

.collapse-borders .second-products-column {
    min-width: 75px !important;
}

.products-name-column {
    font-weight: bold;
}

.row-hilight {
    background-color: #fff7cf;
}

.td-left-text {
    text-align: left;
}

.products-border-lines {
    border: 1px solid black;
}

.column-max-width {
    word-wrap: break-word;
    max-width: 95px;
}

.pattern-fill-circles {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMCcgaGVpZ2h0PScxMCc+CiAgPHJlY3Qgd2lkdGg9JzEwJyBoZWlnaHQ9JzEwJyBmaWxsPSJ3aGl0ZSIgLz4KICA8Y2lyY2xlIGN4PSIxIiBjeT0iMSIgcj0iMSIgZmlsbD0iYmxhY2siLz4KPC9zdmc+");
    background-repeat: repeat;
}

.pattern-fill-dots {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1JyBoZWlnaHQ9JzUnPgo8cmVjdCB3aWR0aD0nNScgaGVpZ2h0PSc1JyBmaWxsPScjZmZmJy8+CjxyZWN0IHdpZHRoPScxJyBoZWlnaHQ9JzEnIGZpbGw9JyNjY2MnLz4KPC9zdmc+");
    background-repeat: repeat;
}

.pattern-fill-crosshatch {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc4JyBoZWlnaHQ9JzgnPgogIDxyZWN0IHdpZHRoPSc4JyBoZWlnaHQ9JzgnIGZpbGw9JyNmZmYnLz4KICA8cGF0aCBkPSdNMCAwTDggOFpNOCAwTDAgOFonIHN0cm9rZS13aWR0aD0nMC41JyBzdHJva2U9JyNhYWEnLz4KPC9zdmc+Cg==");
    background-repeat: repeat;
}

.pattern-fill-whitecarbon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB3aWR0aD0nNicgaGVpZ2h0PSc2Jz4KICA8cmVjdCB3aWR0aD0nNicgaGVpZ2h0PSc2JyBmaWxsPScjZWVlZWVlJy8+CiAgPGcgaWQ9J2MnPgogICAgPHJlY3Qgd2lkdGg9JzMnIGhlaWdodD0nMycgZmlsbD0nI2U2ZTZlNicvPgogICAgPHJlY3QgeT0nMScgd2lkdGg9JzMnIGhlaWdodD0nMicgZmlsbD0nI2Q4ZDhkOCcvPgogIDwvZz4KICA8dXNlIHhsaW5rOmhyZWY9JyNjJyB4PSczJyB5PSczJy8+Cjwvc3ZnPg==");
    background-repeat: repeat;
}

.products-totals-column {
    font-weight: bold;
    text-align: center;
}

.low-stock-count {
    color: red;
    font-weight: bold;
    text-align: center;
}

.packable-inventory {
    color: black;
}

.packed23 {
    display: none;
}

.available-to-pack {
    color: blue;
    font-weight: bold;
}

.pack-order-items-available-column {
    background-color: hsl(45, 100%, 50%);
}

.pack-order-items-available-column::after {
    content: "Packable Item";
    display: block;
}

.no-stock-td {
    background-color: #f2f2e6;
}

.no-stock-div {
    color: red;
    font-weight: bolder;
    font-size: 14px;
}

.out-of-stock {
    color: lightblue;
}

.packed {
    color: #45e047;
}

.packed>div {
    display: inline-block;
}

.available-products-count {
    color: #45e047;
}

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

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

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

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

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

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

.slider.round {
    border-radius: 17px;
}

.slider.round:before {
    border-radius: 50%;
}

.hidepacked {
    display: inline-block;
    visibility: hidden;
}

.sku-centered,
.quantity-centered,
.item-centered {
    text-align: center;
}

.company-orders-table {
    border-collapse: collapse;
}

.data-field,
.legend-fields {
    display: inline-block;
}

.hidden-lineitems-tr {
    line-height: 0px;
    visibility: hidden;
    /*  display: none; */
}

.line-items-subtable {
    background: linen;
}

.companies-editing-link,
.orders-list-row {
    background: whitesmoke;
    border: 1px solid gainsboro;
}

.companies-editing-link:hover,
.orders-list-row:hover {
    background: lightgray;
    cursor: pointer;
}

.orders-list-row-header {
    font-weight: bold;
    background: #c8c8c8;
    border: 1px solid gainsboro;
}

.order-row {
    background: whitesmoke;
    border: 1px solid gainsboro;
    padding-bottom: 1px;
}

.order-row:hover {
    background: lightgray;
    cursor: pointer;
}

.nav-submenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    padding-top: 0px;
}

.submenu-buttons {
    padding: 5px;
}

.green {
    background: green;
}

.blue {
    background: blue;
}

.submenu-buttons div.green {
    background: green;
}

.submenu-buttons div,
.link-to-button {
    display: inline-block;
    border-top: 1px solid #96d1f8;
    background: #65a9d7;
    background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
    background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
    background: -moz-linear-gradient(top, #3e779d, #65a9d7);
    background: -ms-linear-gradient(top, #3e779d, #65a9d7);
    background: -o-linear-gradient(top, #3e779d, #65a9d7);
    padding: 5px 10px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
    -moz-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
    box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
    text-shadow: rgba(0, 0, 0, .4) 0 1px 0;
    color: white;
    font-size: 14px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;

}

.submenu-buttons:hover div {
    border-top-color: #28597a;
    background: #28597a;
    color: #ccc;
}

.submenu-buttons:active div {
    border-top-color: #1b435e;
    background: #1b435e;
}

.nav-container {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-panel {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.radio-buttons,
.checkboxes {
    display: inline-flex;
    margin-right: 20px;
}


.no-pdf-print {
    display: none;
    visibility: hidden;
}

.shipmethod-starboard {
    background: #abebc6;
}

.shipdate-BO {
    background: #45e047;
}

.shipdate-asap {
    background: aquamarine;
}

.shipdate-late {
    background: #FFCECE;
}

.shipdate-soon {
    background: lemonchiffon;
}

.shipdate-lesssoon {
    background: papayawhip;
}

.shipdate-PARTIAL {
    background: tan;
}

.legend-group {
    padding-left: 10px;
}

.order-display-container {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    display: inline-block;
    background: whitesmoke;
}

.order-display-header {
    padding-top: 5px;
}

.order-display-row {
    padding-top: 5px;
}

.order-display-item {
    display: inline-block;
    min-width: 70px;
    padding-left: 5px;
}

.order-display-qty {
    min-width: 32px;
    display: inline-block;
    padding-left: 20px;
    padding-right: 40px;
}

.order-display-btnremove {
    margin-left: 5px;
}

.flex-column {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-right: 10px;
}

.flex-column-orderlist {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.flex-columns {
    display: inline-block;
}

.flex-column-item {
    flex: 50%;
    min-width: 220px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.orderlist-item {
    display: inline-block;
}

.orderlist-companyname {
    width: 200px;
    text-align: left;
}

.orderlist-ordernumber {
    width: 95px;
    padding-left: 5px;
    text-align: center;
}

.orderlist-orderdate {
    width: 95px;
    padding-left: 5px;
    text-align: center;
}

.orderlist-shippingdate {
    width: 95px;
    padding-left: 5px;
    text-align: center;
}

.orderlist-shippingmethod {
    width: 95px;
    padding-left: 5px;
    text-align: center;
}

.nonstandard-products-th {
    text-align: left;
    font-weight: bold;
    font-size: large;
}

input:invalid {
    border: 2px dashed red;
}

span.circle {
    margin-left: 5px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 15px;
    margin-right: 5px;
    text-align: center;
    width: 15px;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* Adjusted for better centering */
    padding: 5px;
    /* Reduced padding */
    border: 1px solid #888;
    width: 50%;
    /* Smaller width for compact view */
    max-width: 600px;
    /* Maximum width to ensure it doesn't get too large */
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    /* Slightly smaller for compactness */
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.address-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    /* Adjusted padding for compactness */
    margin-bottom: 10px;
    /* Reduced margin */
}

.address-item:last-child {
    border-bottom: none;
}

/* Adjustments for label and input alignment */
.modal label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    /* Keep space between rows */
}

.modal label input[type="text"] {
    max-width: 180px;
    /* Approximate width for 30 characters depending on font size */
    flex-grow: 1;
    /* Ensure input fills available space beside label */
    margin-left: 5px;
    /* Space between label and input */
}

/* Specific styles for the address textarea */
.modal textarea {
    width: 240px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: pre-wrap;
    /* Ensures whitespace and new lines are respected */
}

/* Style adjustments for compact buttons */
.modal button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    margin: 5px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal button:hover {
    background-color: #45a049;
}

/* Modal Backdrop */
#editAddressModal {
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    display: none;
    /* Hidden by default */
}

/* Modal Content */
#editAddressModalContent {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
    /* Maximum width */
}

/* The Close Button (customize as needed) */
#editAddressModal.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#editAddressModal.close:hover,
#editAddressModal.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.second-products-column {
    padding-left: 5px;
    padding-right: 5px;
}

@media prin2t {

    .non-printable {
        display: none !important;
    }

    .column-max-width {
        word-wrap: break-word;
        min-width: 65px;
    }
}

@media print {
    .non-printable {
        display: none !important;
    }

    table {
        table-layout: fixed;
        width: 100%;
        transform: scale(0.75); /* Scale the table to fit more content */
        transform-origin: top left; /* Ensure scaling starts from the top left corner */
    }

    th,
    td {
        word-wrap: break-word;
        min-height: 20px;
        height: 20px; /* Fix height */
        vertical-align: middle;
        min-width: 170px; /* Ensure minimum width */
        width: 170px; /* Fix width */
    }

    .break {
        page-break-inside: avoid;
        page-break-before: always;
    }

    .column-max-width {
        word-wrap: normal;
        min-width: 170px;
    }
}
