﻿:root {
    --inactive: #ef7d6654;
    --occupied: #ffc10733;
    --pending: #ffff0040;
    --sync: #0000ff;
    --transit: #56ff0040;
    --process: #ffa500;
    --balancesold: #ff000026;
    --modified: #b50000;
    --bg-hover: lightblue;
    --highlight-yellow: #dddd009e;
    --highlight-magenta: magenta;
}


.red-strike {
    color: var(--modified);
    text-decoration: line-through;
}

caption {
    caption-side: top;
    text-align: center;
    padding-bottom: 0;
    color: black;
}

.a-tooltip {
    position: relative;
    /*   display: inline-block;
    border-bottom: 1px dotted black;*/
}

    .a-tooltip .a-tooltiptext {
        visibility: hidden;
        width: 250px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        top: 125%;
        left: -50%;
        margin-left: -60px;
    }

        .a-tooltip .a-tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent black transparent;
        }

    .a-tooltip:hover .a-tooltiptext {
        visibility: visible;
    }

.grid-photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2px;
    align-items: stretch;
    justify-items: center;
}

    .grid-photo img {
        border: 1px solid #ccc;
        box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
        max-width: 100%;
    }

.grid-photo-single {
    grid-template-columns: repeat(1, 1fr);
}

.grid-photo-two {
    grid-template-columns: repeat(2, 1fr);
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
    background-color: var(--bg-hover);
}

.atrix-table td,
.atrix-table th {
    padding: 0.1rem 0.2rem 0.1rem 0.2rem;
}

.a-t td,
.a-t th {
    padding: 0.1rem 0.2rem 0.1rem 0.2rem;
}

.a-t-s {
    position: relative;
    overflow: auto;
}

    .a-t-s thead th {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 9;
    }

    .a-t-s tfoot,
    .a-t-s tfoot th,
    .a-t-s tfoot td {
        position: -webkit-sticky;
        position: sticky;
        bottom: 0;
        z-index: 9;
    }

.s-t-lv1-td td {
    position: -webkit-sticky;
    position: sticky;
    top: 27px !important;
    z-index: 9 !important;
}

.s-t-lv2-th th {
    position: -webkit-sticky;
    position: sticky;
    top: 54px !important;
    z-index: 8 !important;
}

.a-w-mw-id {
    width: 65px;
    min-width: 65px;
}

.a-w-mw-transactionid {
    width: 110px;
    min-width: 110px;
}

.a-w-mw-dateyy {
    width: 70px;
    min-width: 70px;
}

.a-w-mw-date {
    width: 110px;
    min-width: 110px;
}

.a-w-mw-datetime {
    width: 200px;
    min-width: 200px;
}

.a-w-mw-datetimeyy {
    width: 180px;
    min-width: 180px;
}

.a-w-mw-25 {
    width: 25px;
    min-width: 25px;
}

.a-w-mw-50 {
    width: 50px;
    min-width: 50px;
}

.a-w-mw-75 {
    width: 75px;
    min-width: 75px;
}

.a-w-mw-100 {
    width: 100px;
    min-width: 100px;
}

.a-w-mw-125 {
    width: 125px;
    min-width: 125px;
}

.a-w-mw-150 {
    width: 150px;
    min-width: 150px;
}

.a-w-mw-175 {
    width: 175px;
    min-width: 175px;
}

.a-w-mw-200 {
    width: 200px;
    min-width: 200px;
}

.a-w-mw-225 {
    width: 225px;
    min-width: 225px;
}

.a-w-mw-250 {
    width: 250px;
    min-width: 250px;
}

.a-w-mw-275 {
    width: 275px;
    min-width: 275px;
}

.a-w-mw-300 {
    width: 300px;
    min-width: 300px;
}

.a-w-mw-350 {
    width: 350px;
    min-width: 350px;
}

.a-w-mw-400 {
    width: 400px;
    min-width: 400px;
}

.a-w-mw-500 {
    width: 500px;
    min-width: 500px;
}

.a-w-mw-number-50 {
    width: 50px;
    min-width: 50px;
    text-align: right;
}

.a-w-mw-number {
    width: 100px;
    min-width: 100px;
    text-align: right;
}

.a-w-mw-number-150 {
    width: 150px;
    min-width: 150px;
    text-align: right;
}

.a-mw-number {
    max-width: 100px;
    text-align: right;
}

.a-mw-number-150 {
    max-width: 150px;
    text-align: right;
}

.a-mw-number-125 {
    max-width: 125px;
    text-align: right;
}

.a-w-mw-status {
    width: 70px;
    min-width: 70px;
}

.a-nro {
    white-space: nowrap;
}

.a-nr {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

    .a-nr:hover {
        overflow: visible;
        white-space: normal;
    }

.a-miw-50 {
    min-width: 50px;
}

.a-miw-75 {
    min-width: 75px;
}

.a-miw-100 {
    min-width: 100px;
}

.a-miw-125 {
    min-width: 125px;
}

.a-miw-200 {
    min-width: 200px;
}

.a-miw-400 {
    min-width: 400px;
}

.a-mw-50 {
    max-width: 50px;
}

.a-mw-75 {
    max-width: 75px;
}

.a-mw-100 {
    max-width: 100px;
}

.a-mw-125 {
    max-width: 125px;
}

.a-mw-150 {
    max-width: 150px;
}

.a-mw-175 {
    max-width: 175px;
}

.a-mw-200 {
    max-width: 200px;
}

.a-mw-250 {
    max-width: 250px;
}

.a-mw-275 {
    max-width: 250px;
}

.a-mw-300 {
    max-width: 300px;
}

.a-mw-350 {
    max-width: 350px;
}

.a-mw-400 {
    max-width: 400px;
}

.atrix-upper {
    text-transform: uppercase;
}

.bold {
    font-weight: bold;
}

/*
    .table-sm th, .table-sm td {
    padding: .2rem;
}*/


.photo-modal img {
    height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.t-r {
    text-align: right;
}

.w-s {
    white-space: pre;
    font-family: 'Courier New', monospace;
}


.pl-l2 {
    padding-left: 10px !important;
}

.pl-l3 {
    padding-left: 20px !important;
}

.pl-l4 {
    padding-left: 30px !important;
}

.pl-l5 {
    padding-left: 40px !important;
}

.pl-l6 {
    padding-left: 50px !important;
}

.pl-l7 {
    padding-left: 60px !important;
}

.pl-l8 {
    padding-left: 70px !important;
}

.stock-low {
    background-color: #fffae6 !important;
    color: #000 !important;
}

.stock-zero {
    color: #f83905 !important;
}

.stock-negative {
    color: #dc3545 !important;
}

.custom-pagination ul {
    margin-bottom: 0;
}

.custom-pagination .page-link {
    padding: 4px 10px;
}


.quantity-low {
    background-color: #fffae6 !important;
    color: #000 !important;
}

.quantity-zero {
    color: #f83905 !important;
}

.quantity-negative {
    color: #dc3545 !important;
}

.quantity-correct {
    color: #56ff0040 !important;
}
