@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: "Montserrat-Light";
    src: url("/fonts/Montserrat-Light.otf");
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url("/fonts/Montserrat-SemiBold.ttf");
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("/fonts/Montserrat-Bold.otf");
}

.column.is-2 {
    min-width: 130px;
}

.mb-20 {
    margin-bottom: 20px;
}

.button {
    text-transform: uppercase;
}

    .button.has-text-right {
        justify-content: flex-end;
    }

.text-sm {
    font-size: 0.75rem;
}

.text-nowrap {
    white-space: nowrap;
}

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

.container-fluid {
    padding: 15px;
}

.main-div {
    margin-bottom: 70px;
}

.main-container {
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero {
    background-color: #f5f5f5;
    background-size: cover;
}

    .hero.sh-Bally {
        background-image: url(/images/app/subheader-bally.jpg);
    }

        .hero.sh-Bally .title {
            color: #ffffff !important;
        }

    .hero.sh-KeepRite {
        background-image: url(/images/app/subheader-keeprite.jpg);
    }

    .hero.sh-Trenton {
        background-image: url(/images/app/subheader-trenton.jpg);
    }

.hero-body .container .title {
    padding-right: 5rem;
    text-align: right;
    text-transform: uppercase;
    font-family: "Montserrat-Bold", sans-serif !important;
    font-size: 1.5rem;
}

.title {
    text-transform: uppercase;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 4rem;
    font-size: small;
}

span.is-small {
    font-size: 0.75rem;
}

.checkbox {
    margin-right: 15px;
}

.uppercase {
    text-transform: uppercase;
}

.label.header {
    text-transform: uppercase;
}

.long-button {
    white-space: normal;
    height: auto;
}

.component {
    position: relative;
    display: inline;
}

div.is-fullwidth {
    width: 100%;
}

.width80 {
    width: 80px;
}

.width120 {
    width: 120px;
}

.width200 {
    width: 200px !important;
}

.block {
    padding-top: 20px;
}

.field.margin-narrow {
    margin-bottom: 0.25rem !important;
}

.field.is-grouped .component:not(:last-child) {
    margin-right: 0.75rem;
}

.field.is-grouped .component {
    display: flex;
    width: 100%;
}

.column .field-label {
    margin-right: 0.5rem !important;
}

.padtop-small {
    padding-top: 0.25rem;
}

.padtop-medium {
    padding-top: 0.75rem;
}

.block-padded {
    padding: 1rem;
}

.modal-card-title {
    flex-shrink: 1 !important;
}

.inner-table {
    width: 100%;
    border: 0;
}

    .inner-table td {
        border: 0;
    }

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

/*temp fix for options selector page*/
.nroes .modal.modal-full-screen .modal-content {
    padding-left: 45px; /*width of max-sidebar*/
    padding-bottom: 50px;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    cursor: help;
}

    .tooltip-wrapper span {
        visibility: hidden;
        position: absolute;
        width: 180px;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
        background-color: #363636;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        z-index: 1;
    }

        .tooltip-wrapper span::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip-wrapper:hover span {
        visibility: visible;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

/*tooltip on the right*/

.tooltip-right-wrapper {
    position: relative;
    display: inline-block;
}

    .tooltip-right-wrapper span {
        visibility: hidden;
        position: absolute;
        width: 180px;
        top: 0;
        left: 100%;
        margin-left: 5px;
        background-color: #363636;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        z-index: 1;
    }

        .tooltip-right-wrapper span::after {
            content: "";
            position: absolute;
            top: 50%;
            left: -11px;
            margin-top: -5px;
            border-width: 6px;
            border-style: solid;
            border-color: transparent #555 transparent transparent;
        }

    .tooltip-right-wrapper:hover span {
        visibility: visible;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.columns.narrow {
    margin-bottom: 0px !important;
}

#grid {
    min-height: 100px;
    overflow: auto;
    font-size: 0.75rem;
    background-color: #f8f8f8;
}

    #grid .table thead {
        text-transform: uppercase;
    }

    #grid .table tr.grid-row {
        cursor: pointer;
    }

.datagrid {
    min-height: 50px;
}

.row-selected {
    background-color: beige !important;
}

.disable-select {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.circuits-error {
    background-color: #fcbdbd;
    padding: 3px;
    margin-bottom: 5px;
    font-weight: bold;
}

@media print {
    html, body {
        border: 1px solid white;
        height: 99%;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
    }

        body * {
            visibility: hidden;
        }

    .container:has(.printarea) {
        padding-left: 0 !important;
    }

    .printarea, .printarea * {
        visibility: visible;
    }

    .multiplepages {
        page-break-after: always;
    }

        .multiplepages:nth-last-of-type(1) {
            page-break-after: avoid;
        }

    .printpage {
        page-break-after: always;
    }

        .printpage:nth-last-of-type(1) {
            page-break-after: avoid;
        }

    .noprintpage {
        page-break-after: avoid;
    }

    #banner {
        display: none !important;
    }

    .hidden-for-print {
        display: none !important;
    }

    @page {
        size: auto;
        margin-top: 8mm;
    }
}

.min-sidebar {
    width: 45px;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    color: white !important;
    background-color: #3f8d9b;
    z-index: 9999;
}

.max-sidebar {
    width: 45px;
    height: auto;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    color: white !important;
    background-color: #3f8d9b;
    z-index: 9999;
    transition: width .2s;
    transition-delay: 1s;
}



@media only screen and (max-width: 1024px) {

    .container {
        margin-left: 100px !important;
    }
}

.compact.select select:not([multiple]) {
    padding-right: 5px;
}

.vendor-order {
    background-color: #f0ffff !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.stocking-order {
    background-color: #ffe5f3 !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.transparent {
    background-color: #ffffff00 !important;
}

.select.list {
    height: auto !important;
}

    .select.list select {
        height: auto !important;
    }

    .select.list::after {
        content: none !important;
    }

.card.unread {
    background-color: #eeeeee !important;
}

    .card.unread .msg-subject {
        font-weight: bold;
    }

.card.active {
    background-color: #f0ffff !important;
}

.table-fix-head {
    overflow: auto;
}

    .table-fix-head thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background-color: #f8f8f8;
    }

.tabs .button-group {
    border-bottom-color: silver;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.tabs ul {
    border-bottom-color: silver !important;
}

.tabs.is-boxed a {
    background-color: #f0f0f0 !important;
    border: 1px solid silver !important;
}

.tabs.is-boxed li:not(.is-active) a {
    padding-bottom: 7px !important;
}

.tabs.is-boxed li.is-active a {
    background-color: white !important;
    border-color: silver !important;
    border-bottom-color: transparent !important;
    color: #4a4a4a !important;
    font-weight: bold;
}

.quoteStatus_Building {
    font-weight: bold;
    color: #006100;
}

.quoteStatus_Ordered {
    font-weight: bold;
    color: #0070C0
}

.quoteStatus_OnHold {
    font-weight: bold;
    color: #E97132
}

.quoteStatus_ChangeRequested {
    font-weight: bold;
    color: #C00000
}
