/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/
@import url('../lib/font-awesome/css/all.min.css');

:root {
    --Peach700: #AE323F;
    --Overdue: #AE323F;
    --SkyBlue700: #286DA8;
    --Field500: #B37D4E;
    --Peach500: #CD5360;
    --Grey100: #F0F0F0;
    --Grey300: #D4D4D4;
    --Black: #000000;
    --Color4: #000000;
    --Grey900: #545454;
    --Blue500: #6EA8DD;
    --Green500: #39B552;
    --Green700: #2C8C3F;
    --Grey700: #6E6E6E;
    --Grey200: #E8E8E8;
    --Grey707070: #707070;
    --Blue100: #C5DCF2;
    --White: #fff;
    --BluePrimary: #1b6ec2;
    --BluePrimaryBorder: #1861ac;
    --BluePrimaryHover: #0069d9;
    --BluePrimaryHoverBorder: #0062cc;
    --RedDanger: #dc3545;
    --RedDangerBorder: #dc3545;
    --RedDangerHover: #c82333;
    --RedDangerHoverBorder: #bd2130;
    --Yellow: #FFCB1F;
    --LightPurple: #BCB5E8;
    --LightBlue: #8BB9E4;
    --Orange: #FF6600;
    --LightGreen: #9DBB61;
    --BrightYellow: #FFF200;
}

.sidebar {
    background: #E5E8f7;
}

#imageFrame {
    height: 50vh;
}

@media screen and (min-width: 768px) {
    #imageFrame {
        height: 70vh;
    }
}

.window-no-padding .k-window-content {
    padding-top: 0;
    padding-bottom: 0;
}

.azure-icon {
    width: 2rem;
    margin-right: 16px;
}

.btn-light, .btn-dark {
    padding: .5rem 2rem;
}

.btn-brand {
    border: 1px solid #e71916;
    padding: .5rem 2rem;
    min-width: 215px;
}

    .btn-brand:hover {
        background-color: #343a40;
        border-color: #343a40;
        color: #ffffff;
    }

.btn:not(:only-child) > i:not(.fa-pulse):not(.fa-spin),
.btn span.fas:not(.fa-pulse):not(.fa-spin),
.btn span.fa:not(.fa-pulse):not(.fa-spin) {
    padding-right: .5rem;
}

.btn.inline-form-control .fa-search {
    padding-left: .5rem;
    padding-right: 0;
}

.btn:not(:only-child) .fa-spin, .btn:not(:only-child) .fa-pulse {
    margin-right: .5rem;
}

tds i {
    width: 100%;
    text-align: center;
}



td .k-button {
    padding: 0px .5rem;
    border: none;
    background-color: transparent;
}

    td .k-button:hover {
        background-color: transparent;
        color: #0366d6;
    }



html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

#app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

@media screen and (min-width: 768px) {
    .main {
        flex: 1;
        max-width: calc(100% - 250px);
    }

    .main-expanded {
        max-width: calc(100%);
    }
}

.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 .top-row {
    background-color: #00010C;
}

.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-sub {
    font-size: 0.7rem;
    padding: 0;
    /*height: 15px;*/
    list-style-type: none;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}

.sidebar li.nav-item:first-child {
    border-radius: 8px;
    margin: 2rem;
    padding: 0px;
    border: 1px solid #00010C;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: black;
    border-radius: 4px;
    /*height: 2rem;*/
    display: flex;
    align-items: center;
    line-height: 2rem;
}

.sidebar .nav-item-sub a {
    color: black;
    border-radius: 4px;
    /*margin-bottom:5px;*/
    /*display: flex;*/
    align-items: center;
    line-height: 1rem;
}

    .sidebar .nav-item-sub a::before {
        content: '>';
        padding-right: 4px;
    }

.sidebar .nav-item a.active {
    color: #ED1F24;
}

.sidebar .nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: black;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.textarea-group {
}

    .textarea-group > label {
        vertical-align: top !important;
    }

    .textarea-group > textarea {
        display: inline-block !important;
        resize: none !important;
    }

.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;
    }

@media (min-width: 1200px) {
    .divided-column {
        border-left: 3px solid lightgray;
    }
}

@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) {
    #app {
        flex-direction: row;
    }

    .sidebar {
        min-width: 250px;
        /*height: 100vh;*/
        position: sticky;
        top: 0;
        min-height: 100vh;
    }

    .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;
    }
}
/* Remove input arrows for numbers  */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type="checkbox"].large {
    height: 1.5rem;
    width: 1.5rem;
    /*transform: scale(1.2) !important;*/
}

#createButton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: red;
}

/* Styling for checkboxes */

/* The container */
.containerCB {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    padding-top: 5px;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .containerCB input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmarkCB {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1.2px solid black;
    border-radius: 5px;
    background-color: #eee;
    margin-top: 6px;
}

/* On mouse-over, add a grey background color */
.containerCB:hover input ~ .checkmarkCB {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containerCB input:checked ~ .checkmarkCB {
    background-color: white;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmarkCB:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.containerCB input:checked ~ .checkmarkCB:after {
    display: block;
}

/* Style the checkmark/indicator */
.containerCB .checkmarkCB:after {
    left: 7px;
    top: 1.5px;
    width: 8px;
    height: 16px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*End Styling for checkbox*/

.customer-highlights {
    align-items: center !important;
    display: flex !important;
    margin-bottom: 0.5rem;
}

    .customer-highlights > div {
        align-items: center !important;
        display: flex !important;
        padding: 0.5rem !important;
    }

        .customer-highlights > div:not(:first-child) {
            margin-left: 0.5rem !important;
        }

        .customer-highlights > div > span:first-child {
            margin-right: 0.25rem !important;
        }

        .customer-highlights > div > span:last-child {
            margin-left: 0.25rem !important;
        }

        .customer-highlights > div > .box {
            display: inline-block;
            height: 20px;
            width: 20px;
        }

            .customer-highlights > div > .box.red {
                background-color: red;
            }

            .customer-highlights > div > .box.orange {
                background-color: orange;
            }

            .customer-highlights > div > .box.darkred {
                background-color: #993333;
            }

    .customer-highlights.half-size {
        font-size: 0.75rem;
    }

        .customer-highlights.half-size > div {
            padding: 0.375rem;
        }

            .customer-highlights.half-size > div:not(:first-child) {
                margin-left: 0.375rem !important;
            }

            .customer-highlights.half-size > div > span:first-child {
                margin-right: 0.1875rem !important;
            }

            .customer-highlights.half-size > div > span:last-child {
                margin-left: 0.1875rem !important;
            }

            .customer-highlights.half-size > div > .box {
                height: 15px;
                width: 15px;
            }

.span-highlight {
    color: white !important;
    display: inline-flex;
    font-weight: 700;
    padding: 7px;
}

    .span-highlight.cod-not-paid {
        background-color: red;
    }

    .span-highlight.credit-hold {
        background-color: orange;
    }

    .span-highlight.invalid-price {
        background-color: #993333;
    }

    .span-highlight a.grid-link {
        color: white !important;
    }

        .span-highlight a.grid-link:hover {
            color: whitesmoke !important;
        }

.text-highlight {
    font-weight: 700;
}

    .text-highlight.cod-not-paid {
        color: red;
    }

    .text-highlight.credit-hold {
        color: orange;
    }

    .text-highlight.invalid-price {
        color: #993333;
    }

/*Vertical Align labels*/
.form-check-label {
    margin-top: 6px;
}

/*Center Labels*/
.form-check-label-center {
    padding-right: 15px;
    text-align: right;
}

.scroll-page {
    overflow: auto;
    max-height: 100vh;
}

.button-min {
    min-width: 93px;
    margin-top: 20px;
}

.footer-options {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.footer-options,
.header-options {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-left: 10px;
    padding-bottom: 0.5rem;
}

.footer-options {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .header-options {
        height: 56px;
        position: fixed;
        margin: 0;
        padding: 0;
        right: 400px;
        top: 0;
        z-index: 1000;
    }

        .footer-options > .lock-form,
        .header-options > .lock-form {
            float: left !important;
        }
}

.button-header-tag {
    min-width: 93px;
}

.fa {
    display: inline;
}

.collapseButton, .collapseButton:hover, .collapseButton:active, .collapseButton:focus {
    text-decoration: none;
    font: 18px Arial, sans-serif;
    color: black;
    text-align: left !important;
    background-color: var(--Blue100);
}

    .collapseButton:focus {
        outline: none !important
    }

.containerLeft {
    text-align: left !important;
    margin-left: 0;
}

.labelBold {
    font-weight: bold;
}

.buttonBack, .buttonBack:focus {
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    outline: 0 !important;
}

.gray {
    color: var(--Grey707070);
}
/*.tab-test .k-item {
    margin-left:40px;
}*/

/*probably remove due to changing of cards soon*/

.accordion-card .card {
    margin-bottom: 0;
    border: none;
}

.accordion-card .card-header {
    border: solid 1px;
    margin-bottom: 0;
    background-color: var(--Blue100);
}

.accordion-card .card-body {
    border: solid 1px;
    border-top: 0;
}

.accordion-card .notification {
    padding: 5px 10px;
    border-radius: 50%;
    background-color: red;
    color: white;
    font: 12px;
}
/*.k-dialog-wrapper {
    z-index: 10004;
}*/

.expandIcon, .expandIcon:focus, .expandIcon:hover {
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    outline: 0 !important;
    text-decoration: none;
    font: 25px Arial, sans-serif;
    color: black;
    text-align: left !important;
}

.space-left {
    margin-left: 10px;
}

.header-display {
    z-index: 999;
}

.nav-icons i {
    padding-right: 5px;
}

.onhoverhand {
    cursor: pointer;
}

#components-reconnect-modal {
    z-index: 10004 !important;
}

#library-content .k-animation-container {
    z-index: 10000 !important;
}

.blazored-toast-container {
    z-index: 100000000;
}

#sidebar-menu span.nav-link {
    color: #6c757d;
}

.testingWarning {
    color: var(--Peach700);
}

.text-danger {
    margin-left: 15px;
    margin-bottom: 20px;
}

.hide-card {
    display: none;
}

hr {
    background: #343a40;
}

.nav-logo {
    max-width: 150px;
}


.shadow-inset {
    -moz-box-shadow: inset 0 0 10px #0003;
    -webkit-box-shadow: inset 0 0 10px #0003;
    box-shadow: inset 0 0 10px #0003;
    /*border: 1px solid black;*/
}

.circle {
    display: inline-block;
    height: 35px;
    width: 35px;
    line-height: 30px;
    border: 3px solid rgb(56, 199, 80);
    border-radius: 18px;
    text-align: center;
    font-weight: 900;
    font-size: 20px;
    color: rgb(56, 199, 80);
}

.k-combobox.k-combobox-clearable .k-input,
.k-combobox .k-dropdown-wrap .k-input,
.k-dropdown .k-dropdown-wrap .k-input,
.k-textbox.form-control,
.k-numerictextbox .k-numeric-wrap .k-input,
.k-dateinput .k-dateinput-wrap .k-input, .k-dateinput .k-picker-wrap .k-input, .k-datepicker .k-dateinput-wrap .k-input, .k-datepicker .k-picker-wrap .k-input, .k-datetimepicker .k-dateinput-wrap .k-input, .k-datetimepicker .k-picker-wrap .k-input, .k-timepicker .k-dateinput-wrap .k-input, .k-timepicker .k-picker-wrap .k-input {
    height: 100%;
    padding: 0.25rem;
}

.form-control .telerik-blazor .k-numeric-wrap,
.k-numerictextbox .k-numeric-wrap {
    padding: 0;
    height: 100%;
}

.k-combobox .k-dropdown-wrap .k-clear-value {
    height: 1rem;
    top: 0.55rem;
}

.k-widget.k-combobox.k-header.k-combobox-clearable.form-control.telerik-blazor,
.k-textbox.form-control,
.k-widget .k-numerictextbox,
.k-dropdown .k-dropdown-wrap,
.k-datepicker .k-picker-wrap,
.k-widget.form-control,
.k-filtercell,
.k-filtercell-wrapper,
.k-textbox {
    height: 30px;
}


    .k-textbox.form-control {
        padding: 0.25rem !important;
    }

.k-widget.form-control,
.k-widget.k-combobox.k-header.k-combobox-clearable.form-control {
    padding: 0;
}

.k-list .k-item,
.k-list-optionlabel {
    padding: 0.25rem 1rem;
    font-size: 0.9rem;
}



.k-popup {
    border-color: #80bdff;
}

.k-list .k-item:hover.k-state-selected,
.k-list .k-item.k-state-hover.k-state-selected,
.k-list-optionlabel:hover.k-state-selected,
.k-list-optionlabel.k-state-hover.k-state-selected {
    color: black;
}

.nav-item-sub {
    margin-bottom: 2px;
}

.btn-danger-imp.k-button.telerik-blazor.k-button-icontext {
    background: var(--RedDanger);
    border-color: var(--RedDangerBorder);
    color: #fff;
}

    .btn-danger-imp.k-button.telerik-blazor.k-button-icontext:hover {
        color: #fff;
        background-color: var(--RedDangerHover);
        border-color: var(--RedDangerHover);
    }

.btn-primary-imp {
    color: #fff;
    background-color: var(--BluePrimary);
    border-color: var(--BluePrimaryBorder);
}

    .btn-primary-imp:hover {
        color: #fff;
        background-color: var(--BluePrimaryHover);
        border-color: var(--BluePrimaryHoverBorder);
    }

.border-tertiary {
    border-color: rgb(204, 204, 204);
}

.bg-tertiary {
    background-color: rgb(204, 204, 204);
}

.text-tertiary {
    color: rgb(204, 204, 204);
}

.btn-tertiary {
    background-color: rgb(204, 204, 204);
}

    .btn-tertiary:hover {
        background-color: rgb(236, 236, 236);
    }

.k-dropdown-operator .k-dropdown-wrap .k-select {
    height: auto;
}

.k-dropdown-operator {
    vertical-align: top !important;
}


.report-note,
.required {
    color: var(--RedDangerHover);
    font-size: 1em;
}

.filter {
    border-radius: 5px;
    padding: 2px 5px;
    margin: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.filter-on {
    background-color: var(--BluePrimary);
    border: 1px solid var(--BluePrimary);
    color: var(--White);
}

    .filter-on:hover {
        background-color: var(--BluePrimaryHover);
    }

.filter-off {
    background-color: var(--Grey200);
    border: 1px solid var(--Grey200);
}

    .filter-off:hover {
        background-color: var(--Grey300);
    }

.width-1200 {
    width: 1200px;
}

div.filterSmall th {
    font-weight: bold;
}

div.filterSmall .k-filter-row th {
    padding: 0.1rem;
}

.full-width .k-dropdown-wrap {
    width: 100% !important;
    height: 100% !important;
}

.k-button-icon, .k-filtercell .k-filtercell-operator > .k-button.k-clear-button-visible {
    height: auto;
}

div.filterSmall .k-dropdown-wrap {
    height: 20px;
    vertical-align: top;
}

div.filterSmall .k-filtercell-operator > .k-clear-button-visible {
    width: 20px;
    height: 20px;
    vertical-align: top;
}

.k-widget.form-control.reg {
    height: 100% !important;
}

    .k-widget.form-control.reg.k-state-invalid {
        height: 30px !important;
    }

    .k-widget.form-control.reg .k-input {
        padding: 6px 12px !important;
    }

div.filterSmall .k-filtercell-operator > .k-clear-button-visible {
    height: 20px !important;
}

div.filterSmall .orginal-size .k-dropdown-wrap {
    height: auto;
}

div.filterDDDefault .k-dropdown-wrap {
    width: auto;
}

div.filterSmall .k-dropdown-wrap .k-select {
    padding: 0.25rem;
    width: 1em;
}

/*div.filterSmall .k-filtercell-operator .k-icon-button {
    padding: 0.25rem;
}
*/
/*div.filterSmall .k-dropdown-wrap .k-select .k-icon, div.filterSmall .k-i-filter-clear {
    padding: 0.25rem;
    width: 1em;
}*/

div.filterSmall .k-filtercell-operator {
    width: 40px;
    height: 20px;
}

/*Currently used for showing html dropdown menus, not thead telerik dropdown*/
div.filterSmall tr.k-master-row td {
    overflow: visible;
}

div.filterSmall .k-numerictextbox, div.filterSmall .k-picker-wrap {
    padding-left: 0.25em;
    height: 20px;
}

    div.filterSmall .k-numerictextbox .k-numeric-wrap .k-link-increase .k-icon {
        bottom: -3px;
    }

    div.filterSmall .k-numerictextbox .k-numeric-wrap .k-link-decrease .k-icon {
        top: -3px;
    }

/*div.filterSmall .k-textbox {
    padding: 0.25em;
    height: 20px;
}*/

div.filterSmall .k-filtercell-wrapper {
    padding: 0.3rem;
}

div.no-default-cell-padding .k-master-row td,
div.no-default-cell-padding .k-grid-edit-row .k-table-td {
    padding: 0.1rem 0.2rem;
}

div.no-cell-padding .k-master-row td {
    padding: 0rem;
}

    div.no-cell-padding .k-master-row td .cell-padding {
        padding: 0.85rem 0.95rem;
    }

div.filterSmall .cell-padding {
    padding: .75rem .75rem;
}

.filterSmall {
    word-wrap: break-word;
}

.clickable {
    cursor: pointer;
}

.draggable {
    cursor: move;
}

.hover-effect:hover {
    font-weight: 600;
}

.no-style-li {
    list-style: none;
}

.center-grid {
    align-content: center;
    display: grid;
}


a.grid-link {
    color: var(--BluePrimary);
}

    a.grid-link:hover {
        color: var(--BluePrimaryHover);
    }

/* for "disabled" effect */
.disabled {
    pointer-events: none;
    opacity: 0.5;
    background: #CCC;
}

.menu-toggler {
    left: 0;
    position: absolute;
}

.menu-toggler-indicator {
    left: 0;
    position: absolute;
    height: 55px;
    background: blue;
    color: white;
    font-size: 35px;
    border-top: 0px !important;
}


.floorDays {
    width: 35px;
}

/* Normal sized dropdown to override globally reduced size */
div.filterSmall .orginal-size .k-dropdown-wrap,
div.filterSmall .orginal-size .k-picker-wrap {
    height: 100%;
    width: 100%;
    background-color: white;
}



.partial-component {
    overflow: auto;
    width: 100%;
    border: 1px solid black;
    border-top: 0px;
    border-radius: 0 0 0.25rem 0.25rem;
    background-color: var(--Grey100);
}


.text-right .k-input {
    text-align: right !important;
}


.stretch-card {
    align-items: stretch;
}

.k-i-collapse::before, .k-i-expand::before {
    font-size: 1.5em;
}

.lg-checkbox input[type=checkbox] {
    height: 2rem !important;
    width: 2rem !important;
}

.md-checkbox input[type=checkbox] {
    height: 1.2rem !important;
    width: 1.2rem !important;
}



.tag-instructions-grid .k-master-row > td {
    text-transform: uppercase;
}

.form-group.pi-form-group textarea.form-control {
    text-transform: uppercase;
}

.container .footer {
    position: relative;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.max-height-150 {
    max-height: 150px !important;
}

/* Somehow not part of the library for text-specific CSS rules? */
/* Though knowing this site, it's probably part of an updated library which we cannot use until updating to .NET8... */
.text-decoration-underline {
    text-decoration: underline !important;
}

/* TODO: Remove since we're not trying to adapt the spreadsheet mockups exactly? */
.sow-table {
    border: 1px solid #dee2e6;
    display: flex;
    font-size: 12px;
    position: relative;
}

    .sow-table .sow-table-header {
        align-items: stretch;
        border-bottom-width: 1px;
        border-color: #dee2e6;
        display: flex;
        flex: 0 0 auto;
        font-weight: bold;
    }

    .sow-table table {
        border-color: inherit;
        box-sizing: content-box;
        empty-cells: show;
        max-width: none;
        table-layout: fixed;
        width: 100%;
    }

    .sow-table thead {
    }

.down-component {
    background-color: #EFB600 !important;
    color: #343a40 !important;
    padding: 0.5rem;
}

.down-component-grid-row {
    background-color: #FFF3CD !important;
    color: #343a40 !important;
    padding: 0.5rem;
}

.premium-order-grid-row {
    background-color: #9866FF !important;
    color: #FFFFFF !important;
    /*padding: 0.5rem;*/
}

    .premium-order-grid-row a,
    .premium-order-grid-row .clickable,
    .premium-order-grid-row .clickable .text-primary {
        color: #FFFFFF !important;
    }

.division-indicator-smallparts {
    background-color: #538a33 !important;
}

    .division-indicator-smallparts:after {
        content: "";
        position: absolute;
        top: 0px;
        width: 25px;
        height: 0;
        border-top: 55px solid #538a33;
        border-right: 55px solid transparent;
    }

.division-indicator-armourliner {
    background-color: #e4ba43 !important;
}

    .division-indicator-armourliner:after {
        content: "";
        position: absolute;
        top: 0px;
        width: 25px;
        height: 0;
        border-top: 55px solid #e4ba43;
        border-right: 55px solid transparent;
    }

.division-indicator-hullsandlavs {
    background-color: #4447f5 !important;
}

    .division-indicator-hullsandlavs:after {
        content: "";
        position: absolute;
        top: 0px;
        width: 25px;
        height: 0;
        border-top: 55px solid #4447f5;
        border-right: 55px solid transparent;
    }

.division-indicator-powerpack {
    background-color: #8ae4fc !important;
}

    .division-indicator-powerpack:after {
        content: "";
        position: absolute;
        top: 0px;
        width: 25px;
        height: 0;
        border-top: 55px solid #8ae4fc;
        border-right: 55px solid transparent;
    }

.nav-menu-btn {
    width: 40px !important;
}

/*Special use case for the displayed Serial No., which can be extraordinarily long */
.serial-no-overflow {
    display: -webkit-box;
    line-clamp: 4;
    max-height: 126px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.box {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    border: 0.5px solid black;
    font-weight: 600;
    margin: 0 auto;
    font-size: 1.2em;
    padding: 3px;
}

.thumbnail {
    max-height: 100px;
    max-width: 100px;
    width: 100vw;
    height: 100vh;
    object-fit: contain
}

.img-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.upload-btn {
    background-color: DodgerBlue; /* Blue background */
    border: none; /* Remove borders */
    color: white; /* White text */
    padding: 4px 8px; /* Some padding */
    font-size: 16px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
}

    /* Darker background on mouse-over */
    .upload-btn:hover {
        background-color: RoyalBlue;
    }

.selectFile {
    display: none;
}

.border-4 {
    border-width: 4px !important;
}


.k-dropdownlist:not(.k-dropdown-operator) {
    width: 300px;
}

.k-input-inner {
    padding: 0;
}

.k-dropdownlist .k-input-value-text,
.k-dropdownlist .k-input-inner {
    padding: 4px 4px;
}

div.filterSmall .k-dropdown-operator .k-input-button,
div.filterSmall .k-dropdown-operator .k-icon-button,
div.filterSmall .k-dropdown-operator .k-input-button .k-button-icon,
div.filterSmall .k-dropdown-operator .k-icon-button .k-button-icon {
    height: 20px;
    padding: 0;
}

div.filterSmall .k-filtercell-operator .k-icon-button:not(.k-input-button) {
    top: -3px;
}

div.filterSmall .k-filtercell-operator .k-button-md.k-icon-button {
    padding: 0;
}

.k-numerictextbox,
.k-textbox,
.k-combobox,
.k-input-md,
.k-datepicker {
    width: 12.4em;
}

div.filterSmall .k-input {
    padding: 2px 4px;
    height: 30px;
}

.k-input.k-rounded-md, .k-dropdownlist.k-rounded-md {
    border-radius: 0.25rem;
}

.k-dropdownlist {
    border: 0;
}

div.filterSmall .k-button-md.k-icon-button .k-button-icon {
    min-height: inherit;
    min-width: inherit;
}

div.filterSmall .k-dropdownlist .k-input-inner, div.filterSmall .k-dropdownlist .k-input-button {
    height: 100%;
    width: 100%;
    background-color: white;
}

div.filterSmall .k-dropdownlist .k-input-button {
    padding: 0.25rem;
    width: 1em;
}

.k-picker.form-control, .k-datepicker {
    height: 30px;
}

.k-list-ul .k-list-item, .k-list-optionlabel {
    padding: 0.25rem 1rem;
    font-size: 0.9rem;
}

.k-list-content {
    scrollbar-width: thin;
    scrollbar-color: rgb(204, 204, 204);
}

    .k-list-content::-webkit-scrollbar {
        width: 8px;
        background: rgb(204, 204, 204);
    }

.k-list-item-text::before, .k-list-header-text::before, .k-list-optionlabel::before {
    content: "";
}

.k-list-ul .k-list-item:hover,
.k-list .k-item.k-state-hover,
.k-list-optionlabel:hover,
.k-list-optionlabel.k-state-hover {
    color: #16181b;
    background: linear-gradient(to right, #92BBDA, #D9EAF5);
}



.k-grid th, .k-grid td {
    padding: .25rem .5rem;
}

.k-grid th, th, .k-grid {
    font-size: 12px;
}

    .k-grid a.btn-link, .k-grid a.link-info {
        color: #0366d6;
        text-decoration: underline;
    }

.down-component-grid-row > td:not(.k-grid-content-sticky) {
    border-width: 0 0 1px 1px;
}

.k-grid-header .k-header {
    vertical-align: middle;
}


.k-numerictextbox .k-input-inner {
    padding: 0;
}


.telerik-blazor .form-row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.k-input-solid.k-valid {
    border-color: #86b7fe;
}

    .k-input-solid.k-valid:focus-within {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.k-input-solid:focus-within {
    border-color: #86b7fe;
    color: #212529;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.align-cb {
    margin-left: 15px;
}

.read-only-display {
    height: 38px;
    min-width: 225px;
    overflow: hidden;
    padding-block: 0.375rem; /* Top/down padding */
    text-overflow: ellipsis;
    white-space: nowrap;
}
