@font-face{
    font-family: 'NotoSans';
    src:url('NotoSans/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Biome';
    src: url('Biome/Biome.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans-Light';
    src: url('NotoSans/NotoSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans-Bold';
    src: url('NotoSans/NotoSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans-Thin';
    src: url('NotoSans/NotoSans-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans-Semibold';
    src: url('NotoSans/NotoSans-SemiBold.ttf') format('truetype');
}

html, body{
    font-family: NotoSans, Arial, sans-serif;
    font-size:1rem;
    line-height:1.5rem
}

h1, .h1{
    font-family: NotoSans-Light;
    font-size:2.5rem
}

h2 {
    font-family: NotoSans;
    font-size: 1.5rem;
    line-height: 1.3
}
p{color:#111;}

h2 small{
    font-size:1.1rem;
}

h5 small{
    font-size:1rem
}

h5 {
    font-size: 1.25rem;
}
a, .btn-link {
    color: #0071c1;
}
td,th{
    font-size:1rem;
}

/* Some hackery to get Greek letter onto a table header */
div.lowercase-header th {
    text-transform: none !important;
}

.navbar-dark {
    background-color: var(--primary-color) !important;    
    box-shadow:0px -4px 4px 5px #000;
}

.navbar-dark > a {
    color: var(--primary-text-color);
}

.navbar-brand > img {    
    height: 50px;
}

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

.nav-item-header {    
    padding-bottom: 0.5rem;    
}

.nav-link-tab {
    color: #646d75
}
    .nav-link-tab:hover {
        color: #282c30;
    }

.nav-link-header{color:#fff;}
.nav-link-header:hover {
    color: #999;
}

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

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

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

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

    .nav-item ::deep a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
.nav-swap {
    display: none;
}

.footer {
    background-color: var(--primary-color) !important;
}

.footer, .footer p, .footer a{
    color:#fff !important;
}

.pow-row-link {
    text-decoration: none;
    color: black;
}

.pow-row-link:hover {
    color: #666;
}


.pow-expand {
    display:none;
    cursor: pointer;
    font-size: .8rem
}

.pow-row:hover .pow-expand {
    display:inline-block;
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: #fff; /* Black fallback color */    
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

@media (min-width: 641px) {
    .navbar-toggler, .navbar-toggler-container {
        display: none;
    }

    .nav-swap{
        display:block;
    }

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

}

.top-row.auth{
    padding-left:0px !important;
}
.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000000'/%3e%3c/svg%3e");
}

.form-check-input:checked {
    background-color: #fff;
    border-color: var(--primary-border-color);
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--primary-color);
}

.form-switch .form-check-input, .form-switch .form-check-input:focus {
    background-color: var(--form-border-color);
    border-color: var(--form-border-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    color: var(--primary-text-color);
    background-color: var(--primary-color);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button {
    color: var(--primary-text-color);
    background-color: var(--primary-color);
}

.accordion-body .accordion-button {
    color: var(--primary-text-color);
    background-color: var(--form-border-color);
}

.accordion-body .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.btn, .btn:hover {
    color: #333;
    border-color: var(--primary-border-color);
}

.btn:hover {
    border-color: var(--form-border-color);
}

.btn.disabled {
    border-color: var(--primary-border-color);
    color: var(--disabled-color);
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
    color: var(--primary-text-color);
    background-color: var(--primary-btn-color);
    border-color: var(--primary-btn-color);
}

.btn-primary.disabled, .btn-secondary.disabled,
.btn-primary.disabled:hover, .btn-secondary.disabled:hover {
    color: var(--primary-text-color);
    background-color: var(--disabled-color);
    border-color: var(--disabled-color);
}

.btn-primary:hover, .btn-check:focus + .btn-primary, .btn-primary:focus {
    color: var(--primary-text-color);
}

.btn-success, .btn-success:hover, .btn-danger, .btn-danger:hover {
    color: #fff;
}
.btn-default{
    background:#fff;
}
.btn-secondary, .btn-secondary:hover {
    color: var(--secondary-text-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-border-color);
}

.btn-secondary:hover {
    color: var(--secondary-text-color);
    border-color: var(--secondary-border-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--primary-text-color);
}

.bg-black p, .bg-black a, .bg-black{
    color:#fff;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--secondary-text-color);
}

.text-primary {
    color: var(--primary-text-color) !important;
}

.text-secondary {
    color: var(--secondary-text-color) !important;
}

/**/

.table table{
    margin-bottom:0;
    border:1px solid var(--secondary-border-color);
}

.table table th{
    background-color:#ddd !important;
    padding:0px !important;
    text-align:center
}

.tile{
    min-height:unset !important;
    margin-bottom:2rem;
}

.table table td{
    text-align:center;
    padding:0px !important;
}

.table table tr:hover, tr.no-hover:hover{
    background-color: transparent !important;
    --bs-table-accent-bg: transparent !important;
}

.row-img {
    min-width: 150px;
    max-height: 112px;
    width: 100%;
    border-radius:.5rem;
    box-shadow: 0px 1px 5px -1px;
}
.price{
    font-size:1.1rem;
}
.modal-title{
    text-transform:uppercase;
    font-size:1.2rem;
}
.detail-img {    
    max-width:300px;
    box-shadow: 0px 1px 5px -1px;
    border-radius:.5rem
}

.detail-content {
    min-height:200px; 
    position:relative
}

.detail-banner {
    border-bottom: 1px solid #ddd;
}

.content {
    padding-top: 1.1rem;
}

.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;
    }

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

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

.quote-num{
    width:100%;
    max-width:80px;
}

.list-group-small {
    font-size: .8rem;
}

.list-group-small > .list-group-item {
    padding: 0.25rem .5rem;
}

.bottom-row {
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.cart-count{
    font-size: 10px;
    color: black;
    background-color: white;
    margin-left: -5px;
}


@media only screen and (min-width: 992px){
    .detail-btns {
        position:absolute;
        bottom:0;
    }
}


@media print {
    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    a:not(.btn) {
        text-decoration: underline;
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #adb5bd;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .btn {
        display: none
    }

    @page {
        size: A3;
        margin: 0.5cm;
    }

    body {
        min-width: 992px !important;
    }

    .container {
        min-width: 992px !important;
    }

    .badge {
        border: 1px solid var(--primary-color);
    }

    .table {
        border-collapse: collapse !important;
    }

        .table td,
        .table th {
            background-color: #fff !important;
        }

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6 !important;
    }

    .table-dark {
        color: inherit;
    }

        .table-dark th,
        .table-dark td,
        .table-dark thead th,
        .table-dark tbody + tbody {
            border-color: #dee2e6;
        }
}