﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body {
    --all-menu-height: 150px;
}

.h1, h1 {
    font-size: 1.5rem;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    font-size: 1rem;
    /*word-break: break-all;*/
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 576px) {
    body {
        --all-menu-height: 250px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-nav a {
        position: relative;
    }

        .navbar-nav a:before {
            position: absolute;
            width: 100%;
            height: 0px;
            left: 0px;
            top: 0px;
            content: '';
            background: #9e9e9e;
            opacity: 0.3;
            transition: all 0.3s;
        }

        .navbar-nav a:hover:before {
            height: 100%;
        }
}

@media (max-width: 850px) {
    .table td, .table th {
        padding: 5px;
    }
}

.table-mobile {
    display: none;
}

.table-desktop {
    display: block;
}

@media (max-width: 576px) {

    header .pull-right {
        width: 100%;
    }

    .table-mobile {
        display: block;
    }

    .table-desktop {
        display: none;
    }
}

.summary-table {
    border: 1px solid #000 !important;
    text-align: center;
    vertical-align: central;
}

    .summary-table thead th {
        border-top: 0px;
        border-bottom: 1px;
        border-bottom-style: outset;
        vertical-align: inherit;
    }

    .summary-table tbody td {
        border-top: 0px;
        border-bottom-style: outset;
        border-bottom-width: 1px;
        vertical-align: inherit;
    }

    .summary-table tbody th {
        border-top-style: outset;
        border-top-width: 1px;
        border-bottom: 1px;
        vertical-align: inherit;
        border-bottom-style: groove;
    }

    .summary-table tfoot th {
        border-top-style: inherit;
        border-top-width: 1px;
        border-bottom: 0px;
        vertical-align: inherit;
    }

    .summary-table .summary-table-separator {
        border-left: 1px outset;
    }

.summary-table-large {
    font-size: 0.671rem;
}

    .summary-table-large td, th {
        padding: 0.671rem;
    }

.summary-table-small {
    width: auto;
}

.search-table {
    font-size: 0.8rem;
}

.modal-md {
    max-width: 50vw;
}

.modal-lg {
    max-width: 80vw;
}

@media screen and (max-width: 600px) {
    .stack-table {
        width: 100%;
        border-collapse: collapse;
    }

        .stack-table thead {
            border-bottom: 1px outset;
        }

            .stack-table thead th {
                display: none;
            }

                .stack-table thead th[scope=col] {
                    display: table-cell;
                }

                .stack-table thead th[scope=colgroup] {
                    display: table-column-group;
                }

        .stack-table tr:nth-of-type(2n) {
            background-color: inherit;
        }

        .stack-table tr td:first-child { /*background: #f0f0f0;*/
            font-weight: normal;
            font-size: 1.3em;
        }

        .stack-table tbody th[scope=hiddenrow] {
            display: flex !important;
            text-align: left;
        }

        .stack-table tbody .stack-table-cell {
            border-left-width: 1px;
            border-top-width: 1px;
            border-right-width: 0px;
            border-bottom-width: 0px;
        }

        .stack-table tr {
            border-bottom: 1px outset;
        }

        .stack-table tbody td {
            display: flex;
            text-align: inherit;
        }

            .stack-table tbody td:before {
                content: attr(data-th);
                display: block;
                text-align: left;
                font-weight: normal;
            }

            .stack-table tbody td::before {
                content: attr(data-th);
                display: none;
            }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        --all-menu-height: 250px;
    }

    .search-table {
        font-size: 1rem;
    }
}

/*iPhone X*/
@media only screen and (min-width: 375px) and (max-width: 767px) {
    .search-table {
        font-size: 1rem;
    }
}

/*@media only screen and (min-width: 1024px) and (orientation: landscape) {
    .search-table {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 768px) and (orientation: portrait) {
    .search-table {
        font-size: 1rem;
    }
}*/

.input-date-w150 {
    width: 150px !important;
}

#btn-week-picker table tbody tr:hover td {
    background-color: #eee;
}

#label_info_summary {
    overflow: auto;
}

    #label_info_summary div {
        display: inline-block;
    }

.error {
    color: red;
}

/*==========================Custom badge ====================================*/

.custombadge {
    font-size: 100%;
    color: #fff;
}

.custombadge-1 {
    background-color: #28a745;
}

.custombadge-2 {
    background-color: #007bff;
}

.custombadge-3 {
    background-color: #a728a0;
}

.custombadge-4 {
    background-color: #495057;
}

.custombadge-5 {
    background-color: #ed273a;
}

.custombadge-6 {
    background-color: #954b31;
}


/*==========================Custom select multiple ====================================*/
.multi-select-tag .dropdown-item {
    padding: 0.25rem 0.25rem 0.25rem 0.65rem;
}

.bootstrap-select .dropdown-menu {
    display: none !important;
}

.show .dropdown-menu {
    display: block !important;
}

.img-box {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
}

.img-popup {
    border: 1px solid black;
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
}


@media (max-width: 575px) {
    body {
        --all-menu-height: 250px;
    }
}

@media (min-width: 720px) {
    body {
        --all-menu-height: 210px;
    }

    .container {
        min-width: calc(100% - 36px);
        max-width: calc(100% - 36px);
        width: calc(100% - 36px);
    }
}

@media (min-width: 1280px) {
    body {
        --all-menu-height: 185px;
    }

    .container {
        min-width: calc(100% - 64px);
        max-width: calc(100% - 64px);
        width: calc(100% - 64px);
    }
}

@media (min-width: 1920px) {
    body {
        --all-menu-height: 150px;
    }

    .container {
        min-width: calc(100% - 96px);
        max-width: calc(100% - 96px);
        width: calc(100% - 96px);
    }
}

@media (min-width: 2048px) {
    body {
        --all-menu-height: 150px;
    }

    .container {
        min-width: calc(100% - 103px);
        max-width: calc(100% - 103px);
        width: calc(100% - 103px);
    }
}

@media (min-width: 3840px) {
    body {
        --all-menu-height: 150px;
    }

    .container {
        min-width: calc(100% - 192px);
        min-width: calc(100% - 192px);
        width: calc(100% - 192px);
    }
}
/*=============================Inventory Location Default Screen================*/
.inventory-default-tips {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.dui-none {
    display: none;
}

/*=============================Style for input-group-prepend with same width ================*/
.input-group-prepend-fixed-width {
    width: 15%;
    overflow: hidden;
    display: block;
}

.selector-wrapper {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.attention-notes-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
}

    .attention-notes-container p {
        white-space: nowrap;
        margin-right: 10px;
    }

.nav-link.active {
    font-weight: bold;
}