* {
    box-sizing: border-box;
}

.main-container {
    width: 96%;
    max-width: 900px;
    position: relative;
    margin: auto;
    border: 1px solid darkgray;
    border-radius: 5px;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

@media only screen and (max-width: 975px) {
    .main-container {
        border-top: 1px solid darkgray;
        border-bottom: 1px solid darkgray;
        border-left: none;
        border-right: none;
        border-radius: 0px;
        width: 100%;
        max-width: 975px;
        padding: 10px;
    }
}

.breadcrumb-container {
    margin-top: 20px;
    text-align: center;
}

.breadcrumbs {
    font-size: 90%;
}

.breadcrumbs a {
    vertical-align: text-bottom;
}

.box-notice {
    color: #000;
    background-color: #fd0;
    padding: 30px;
    margin: 10px 0;
    line-height: 1.4em;
}

.login-entry {
    margin-bottom: 10px;
}

.error-message {
    color: red;
    font-weight: bold;
}

.order-link {
    text-decoration: underline !important;
    color: steelblue !important;
}

.order-info {
    margin-bottom: 20px;
}

.order-item-comment {
    font-style: italic;
}

.spaced-out-items {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    margin-bottom: 7px;
    gap: 5px;
}

.spaced-out-items span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.grid-container {
    border: 1px solid lightsteelblue;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.14), 0px 1px 4px 0px rgba(0,0,0,0.24);
}

.form-container {
    border: 1px solid lightsteelblue;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.14), 0px 1px 4px 0px rgba(0,0,0,0.24);
}

.form-field {
    margin-bottom: 5px;
}

.wide-label {
    width: 100%;
    margin-bottom: 5px;
}

.panel-container {
    border: 1px solid lightsteelblue;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.14), 0px 1px 4px 0px rgba(0,0,0,0.24);
    margin-bottom: 10px;
}

.panel-header {
    background-color: #f3f7fc;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid lightsteelblue;
}

.panel-header:hover {
    background-color: aliceblue;
}

.panel-content {
    padding: 15px;
    display: grid;
    grid-template-rows: 1fr;
    transition: all 500ms ease-in-out;
}

.panel-content-container {
    overflow: hidden;
}

.panel-collapsed {
    padding: 0px;
    grid-template-rows: 0fr;
    transition: all 500ms ease-in-out;
}

.category-buttons {
    margin-top: 7px;
    margin-bottom: 10px;
    text-align: center;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    text-align: center;
}

.chips .k-chip {
    width: 225px;
    height: 25px;
    line-height: 1.5;
}

.add-to-bag-section {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    padding: 5px;
    position: sticky;
    top: 0px;
    background-color: white;
    border-bottom: 1px solid lightgray;
    z-index: 999;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid darkgrey;
    background-color: #f3f7fc;
    padding: 10px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
    padding: 10px;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.no-items-message {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

.item-card {
    border: 1px solid darkgrey;
    border-radius: 7px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.14), 0px 1px 4px 0px rgba(0,0,0,0.24);
}

.items-grid .item-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.items-list .item-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item-selected {
    border-color: blue;
    background-color: #f3f7fc;
}

.items-list .item-info {
    display: flex;
    flex-wrap: wrap;
}

.item-card-body {
    padding: 15px;
}

.items-grid .item-card-image {
    height: 150px;
    position: relative;
}

.items-list .item-card-image {
    margin-left: 10px;
    margin-bottom: 10px;
    width: 200px;
    position: relative;
}

.item-card-title {
    margin-top: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

.item-card-subtitle {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.item-pkg {
    margin-top: 3px;
    font-size: .75rem;
    font-style: italic;
}

.item-card-quantity {
    margin: 0px 7px 7px 7px;
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.items-list .item-card-quantity {
    align-self: end;
}

.item-qty-label {
    font-size: small;
    font-weight: bold;
}

.item-uom {
    height: 25px;
    border-color: lightgray;
    border-radius: 5px;
}

.search {
    display: flex;
    gap: 3px;
    align-items: center;
}

.search-box {
    display: flex;
    border: 1px solid lightgray;
    border-radius: 5px;
    overflow: hidden;
}

.search-box:focus-within {
    outline: 1px solid lightsteelblue;
}

.search-box-textbox {
    font-size: small;
    padding: 5px;
    width: 100px;
    border: none;
    margin: 0px;
}

.search-box-textbox:focus-visible {
    outline: none;
}

.search-box-button {
    display: flex;
    align-items: center;
    width: 25px;
    height: 27px;
    border: none;
    background-color: white;
    cursor: pointer;
}

.highlight {
    background-color: yellow;
}

.thumbnail {
    border-radius: 4px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2), 0 8px 22px 0 rgba(0, 0, 0, 0.19);
    display: block;
    max-width: 200px;
    max-height: 150px;
    margin: 10px auto 0px auto;
    position: relative;
    z-index: 998;
    transition: all 0.8s ease-in-out;
}

.thumbnail:hover {
    transform: scale(5);
    transition: all 0.8s ease-in-out;
    position: relative;
    z-index: 1000;
}

.thumbnail-image-not-found {
    border-radius: 4px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2), 0 8px 22px 0 rgba(0, 0, 0, 0.19);
    display: block;
    margin: 10px auto 0px auto;
    padding: 50px;
}

.image-not-available {
    position: absolute;
    top: 67%;
    left: 39%;
    text-align: center;
    font-size: small;
}

.highlight-row {
    background-color: yellowgreen !important;
}

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

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

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

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.pr-5 {
    padding-right: 5px;
}

@media print {
    #urmc-header-wrapper {
        display: none;
    }

    .breadcrumb-container {
        display: none;
    }

    .main-container {
        border: none;
        box-shadow: none;
    }

    .hide-when-printing {
        display: none;
    }
}

body {
    font-size: 15px;
    color: #333;
    font-family: 'Open Sans',sans-serif;
    text-rendering: optimizeLegibility;
    margin: 0px;
}

a:link, a:visited {
    color: #00589f;
}

a:hover {
    color: #000;
}

h1, h2 {
    color: #00548C;
}

h1:focus {
    outline: none;
}

h2 {
    margin-bottom: 5px;
}

label {
    font-weight: bold;
    display: inline-block;
    width: 125px;
}

.k-grid-header {
    background-color: #f3f7fc;
}

.k-table-thead {
    background-color: #f3f7fc;
}

.k-column-title {
    font-weight: bold;
}

.k-button {
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.14), 0px 1px 4px 0px rgba(0,0,0,0.24);
}

.k-grid th.center-wrap {
    justify-content: center;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
}

.k-grid th.center-wrap .k-column-title {
    white-space: normal;
}

.k-chip-outline-success:hover {
    background-color: #f3f7fc;
    color: black;
}

.k-chip-outline-success.k-selected:hover {
    background-color: #c1dc81;
}

.k-notification {
    font-size: 14px;
    line-height: 2;
    transform: translateY(135px);
}

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

.invalid {
    outline: 1px solid #e51610;
}

.validation-message {
    font-weight: bold;
    color: #e51610;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY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DggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
