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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content-stretch {
    min-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

html, body {
    font-family: sofia-pro, sans-serif;
    margin: 0;
    padding: 0;
}

.width-100 {
    width: 100%;
}

h1:focus {
    outline: none;
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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+PHBhdGggZD0iTTI2My41MDYgN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LjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.white-space-break {
    white-space: break-spaces;
    word-wrap: anywhere;
}

.white-space-pre {
    white-space: pre-wrap;
}

.search-order-loading {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
}

.search-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2%;
    padding: 0px;
}

.search-contents {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    align-content: space-around;
    flex-wrap: wrap;
}

.search-entry {
    display: flex;
    width: 33%;
    align-items: baseline;
    justify-content: space-between;
}

.search-button {
    font-size: 1rem;
}

.search-info-icon {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.search-need-help {
    font-size: 85%;
    color: #0071c1;
    text-decoration: underline;
    cursor: pointer;
}

.search-font-size {
    font-size: 1rem;
}

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

.font-size-125per {
    font-size: 125%;
}

.font-size-150per {
    font-size: 150%;
}

.font-size-1dot5em {
    font-size: 1.5em;
}

.font-weight-bold {
    font-weight: bold;
}

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

.cursor-pointer {
    cursor: pointer;
}

.sticky-footer {
    position: fixed;
    left: 0;
    bottom: 0;
}

.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

    .sticky-navbar > div > span > a {
        color: #F26522;
        text-decoration: underline;
    }

        .sticky-navbar > div > span > a:hover {
            color: #F26522;
        }

.main-navbar {
    width: 100%;
    background: #464d55;
}

.main-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
    align-items: center;
    align-content: center;
    height: 3em;
    color: white;
    background: #464d55;
    max-width: 2330px;
}

.main-subheader {
    display: flex;
    width: 100%;
    flex-direction: row;
    margin-top: 10px;
    max-width: 2000px;
}

.main-subheader-mobile {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
    align-items: center;
}

.main-contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    width: 85%;
    max-height: 45px;
    max-width: 450px;
}

.main-logo-a {
    width: 85%;
    max-height: 45px;
    max-width: 450px;
    padding-right: 3em;
}

.mobile-logo {
    width: 25%;
    margin-left: 10px;
}

.mobile-100 {
    width: 100%;
}

.main-left-subheader {
    width: 42.5%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-left-subheader-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.main-center-subheader {
    width: 20%;
    text-align: center;
}

.main-right-subheader {
    width: 42.5%;
    /* text-align: left; */
    padding-left: 3em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main-right-subheader-mobile {
    width: 100%;
    text-align: center;
}

.main-subheader-search {
    width: 60%;
    max-width: 400px;
}

.main-subheader-search-mobile {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.main-subheader-search-icon {
    color: white;
    background: #F26522;
}

.main-desktop-icon {
    font-size: 35px !important;
    color: white;
}

.main-mobile-icon {
    font-size: 35px !important;
    color: #F26522;
}

.main-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    /*margin-bottom: 10px;*/
    height: 250px;
    justify-content: space-evenly;
}

.main-footer-t5-logo {
    width: 150px;
}

.main-footer-store-logo {
    width: 65px;
}

.main-footer-store-names {
    margin-bottom: 30px;
}

.max-width-100 {
    width: 100px;
}

.details-header-desktop {
    margin-bottom: 15px;
    background-color: black;
    color: white;
    font-weight: bold;
}

.details-header-desktop-line {
    border-bottom: solid lightgray 0.5px;
    margin-bottom: 10px;
    font-weight: bold;
}

.details-header-mobile {
    border-bottom: solid lightgray 0.5px;
    font-weight: bold;
    width: 50%;
}

.details-total {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.details-header-border-top {
    border-top: solid 0.5px lightgrey;
    padding-top: 10px;
    margin-top: 15px;
}

.details-mobile-status {
    font-size: 1.25rem;
    padding: 10px 40px;
    margin-top: 5px;
    text-align: center;
    border: solid lightgrey 0.5px;
}

.details-mobile-section {
    border-top: lightgrey 1px solid;
    padding: 10px 0px;
}

.details-mobile-back {
    margin-bottom: 5%;
    display: flex;
    align-items: flex-start;
    font-size: 20px;
    color: #F26522;
}

.details-mobile-product-scroll {
    /*    max-height: 300px;
    overflow: auto;*/
}

.product-image-mobile {
    width: 100%;
}

.section-width-70 {
    width: 70vw;
}

.section-hide {
    height: 0px;
    overflow: hidden;
    border-top: solid lightgray 1px;
    border-left: solid lightgray 1px;
    border-right: solid lightgray 1px;
    padding: 0px 10px;
}

.section-show {
    height: 10rem;
    padding: 10px;
    border: solid lightgray 1px;
}

.section-show-large {
    height: 18rem;
    padding: 10px;
    border: solid lightgray 1px;
}

.section-show-xlarge {
    height: 24rem;
    padding: 10px;
    border: solid lightgray 1px;
}

.section-icon-expand-more {
    transform: rotate(0);
}

.section-icon-expand-less {
    transform: rotate(180deg);
}

.transform {
    transition: all .5s ease;
}

/*https://stackoverflow.com/questions/2812770/add-centered-text-to-the-middle-of-a-horizontal-rule*/
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: dimgray;
    font-style: italic;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid dimgray;
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }


.single-order-width {
    width: 65%;
}

.single-order-display {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

@media screen and (min-width: 530px) {
    .only-display-mobile {
        display: none !important;
    }

    .otp-window.k-window {
        width: 410px;
    }

    .details-back-desktop {
        font-size: 1.25rem;
        font-weight: bold;
    }
}

@media screen and (max-width: 530px) {
    .only-display-desktop {
        display: none !important;
    }

    .only-display-tablet {
        display: none !important;
    }

    .main-subheader-search {
        width: 80%;
    }

    .search-font-size {
        font-size: 100%;
    }

    .k-window {
        width: 85%;
    }

    .single-order-width {
        width: 100%;
    }

    .single-order-display {
        display: block;
    }

    .search-button {
        font-size: 1rem;
        margin-top: .5rem;
    }

    .customer-balance-main-layout.k-grid-layout {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}
