body {
    margin-bottom: 20px;
}

.title {
    margin: 50px;
    text-align: center;
}

.loader-container {
    position: fixed;
    left: 0px;
    top: 2px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #7c7c7c55;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #ee145a; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position: relative;
    left: 47%;
    top: 42%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.table-log {
    margin: auto;
    margin-top: 5px;
    margin-bottom: 10px;
}

.table-log tbody > tr > td {
    padding: 5px;
}

#replenish-table {
    max-width: none;
    font-size: 16px;
}

#replenish-table tbody > tr > td {
    font-size: 14px;
}

.operation-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    padding-top: 10px;
}

.operation-item-success {
    background: #218838;
    color: white;
}

.operation-item-cancel {
    background: #7c7c7c;
    color: white;
}

.feeback-overlay {
    position: fixed;
    height: 0;
    width: 100%;
    top: 0;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    z-index: 100;
    overflow: scroll;
}

.feeback-overlay.active {
    height: 100%;
    opacity: 1;
}

.feeback-overlay .oi {
    font-size: 40px;
    margin-bottom: 25px;
    margin-top: 10px;
}

.feeback-overlay h1 {
    font-size: 2rem;
}

#success-overlay {
    background: #218838;
    color: white;
}

#log-overlay {
    background: white;
}

#error-overlay {
    background: #dc3545;
    color: white;
}

#load-overlay {
    background: #ccc;
    color: white;
}

#login-overlay {
    background: white;
}

.qty-indicator {
    font-size: 25px;
}

.qty-total {
    font-size: 25px;
    color: #868e96;
}

.icon-size {
    font-size: 25px;
}

.icon-size-lg {
    font-size: 40px;
}

.icon-size-table {
    font-size: 12px;
}

.col-icon {
    margin: auto;
    text-align: center;
}

.inbound-col {
    display: none;
}

.transfer-col {
    display: none;
}

.text-muted {
    color: inherit !important;
    opacity: 0.5;
}

.navbar {
    display: block;
    text-align: center;
}

.navbar .navbar-brand {
    margin-right: 0;
}

.dashboard-item {
    text-align: center;
    cursor: pointer;
}

.dashboard-item {
    color: #212529;
}

.dashboard-item .oi {
    font-size: 50px;
    padding: 50px;
    background: #ee145a;
    color: white;
    border-radius: 0.25rem;
}

.btn-primary {
    background: #1bb7b1;
    border-color: #1bb7b1;
}
.btn-primary:hover,
.btn-primary:active {
    background: #1baaa3;
    border-color: #1baaa3;
}

.navbar-icon {
    border: 1px solid white;
    color: white;
}

.product-image {
    max-height: 200px;
    position: fixed;
}

.product-image img {
    max-height: 200px;
}

#skip-operation {
    margin-top: 200px;
}

.operation-item .badge {
    font-size: 16px;
}

.warning-uom {
    margin-top: 10px;
}

.theme-picking.navbar {
    background: #ee145a !important;
}

.theme-inventory .oi {
    background: #f4ba18;
}

.theme-inventory.navbar {
    background: #f4ba18 !important;
}

.theme-transfer .oi {
    background: #3cb9f4;
}

.theme-transfer.navbar {
    background: #3cb9f4 !important;
}

.theme-returns .oi {
    background: #4db461;
}

.theme-returns.navbar {
    background: #4db461 !important;
}

.theme-inbound-move .oi {
    background: #9663c6;
}

.theme-inbound-move.navbar {
    background: #9663c6 !important;
}

.theme-inbound-receive .oi {
    background: #026aa7;
}

.theme-inbound-receive.navbar {
    background: #026aa7 !important;
}

.theme-outbound .oi {
    background: #f987c2;
}

.theme-outbound.navbar {
    background: #f987c2 !important;
}

#location-barcode,
#product-barcode {
    position: absolute;
    left: -1000px;
}

input#location-barcode:focus,
input#product-barcode:focus {
    position: fixed;
    top: 40px;
    left: 15px;
    width: 90%;
}

input#qty:focus {
    position: fixed;
    top: 40px;
    left: 15px;
    width: 90%;
}

.item:hover {
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.item1 {
    grid-area: zero;
    font-size: 100px;
}
.item2 {
    grid-area: one;
    font-size: 40px;
}
.item3 {
    grid-area: two;
    font-size: 40px;
}
.item4 {
    grid-area: three;
    font-size: 40px;
}
.item5 {
    grid-area: custom;
    font-size: 30px;
}

.grid-container {
    display: grid;
    grid-template-areas:
        "zero zero one two three"
        "zero zero custom custom custom";
    grid-gap: 10px;
    padding: 5px;
}

.grid-container > div {
    border: 1px solid #1bb7b1;
    border-radius: 5px;
    text-align: center;
    padding: 20px 0;
}

.pallet-div {
    display: inline-block;
    padding: 5px;
    border: 1px solid #1bb7b1;
    border-radius: 5px;
    background-color: #1bb7b155;
}

.no-pallet-div {
    display: inline-block;
    padding: 5px;
    border: 1px solid #ff0000;
    border-radius: 5px;
    background-color: #ff000035;
}

.modal-input {
    max-width: 100%;
    font-size: 50px;
}

.circle {
    padding: 0.3em 0.7em;
    border-radius: 25em;
    display: inline-cell;
}
.circle_dark_red {
    background-color: #8b0000;
    color: white;
}
.circle_red {
    background-color: #ff0000;
    color: white;
}
.circle_yellow {
    background-color: #ffff00;
    color: black;
}
.circle_green {
    background-color: #33cc33;
    color: white;
}

.inverted-color {
    background-color: #000000;
    color: #ffffff;
    letter-spacing: 2px;
}

.link-text {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    margin: auto;
}

.quantities {
    font-size: 0.9rem;
}

.error-message {
    color: red;
}

.modal-card {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    background-color: #fff;
}

.modal-button-container {
    display: flex;
    margin-top: 1rem;
}

.modal-button {
    flex: 1;
    border: 0;
    border-radius: 0.25rem;
    padding: 0.5rem;
    color: #fff;
    font-weight: bold;
    margin-right: 1rem;
}

.modal-button:last-child {
    margin-right: 0;
}

@media only screen and (max-width: 900px) {
    .modal-button-container {
        flex-direction: column;
    }

    .modal-button {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .modal-button:last-child {
        margin-bottom: 0;
    }
}

.modal-window-wrapper {
    background-color: #00000080;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
