﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    background-color: #fafafa;
}

/*body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .4;
    z-index: -1;
    background: url(../images/bg.png);
}
*/
a, .btn-link {
    color: #0366d6;
}

h2 {
    background-image: url(../images/bg.png);
    padding: 25px;
    color: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.e-btn {
    margin-right: 5px;
    color: #fff !important;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.error {
    color: red;
    background-color: whitesmoke;
    z-index: 100;
    font-size: large;
    position: fixed;
    padding: 50px;
    border: 1px solid #cecece;
}

.loading-main {
    background-color: #03A2EA;
    color: #fff;
    font-size: large;
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

    .loading-main .center-in-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.loading-main a {
    color: lime;
}

.btn-primary-not-blue {
    background-color: #fea305;
}

.center-in-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-row {
    height: 2.2rem;
    display: flex;
    align-items: center;
}

    .top-row a {
        color: #222;
    }

    .top-row .nav-link {
        color: #222;
    }

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #1784EA;
        color: #fff;
        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%);*/
    background-color: #1784EA;
}

    .sidebar .top-row {
        background-color: #0366d6;
    }

    .sidebar .navbar-brand {
        font-size: 1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 0.9rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 1rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 0.2rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 0.2rem;
        }

        .sidebar .nav-item a {
            color: #fff;
            display: flex;
            align-items: center;
            line-height: 1.2rem;
        }

            .sidebar .nav-item a.active {
                background-color: #0366d6;
                color: #fff;
            }

            .sidebar .nav-item a:hover {
                background-color: #efefef;
                color: #202124;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-dark .navbar-toggler-icon {
}

.navbar-toggler {
    background-color: rgba(217, 48, 37, 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;
    }

@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 {
        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;
    }
}

.margin-right {
    margin-right: 5px;
}

.margin-top {
    margin-top: 10px;
}

.hidden {
    display: none;
}

.component-datalist-table {
}

.component-datalist-table-header-tr {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #1784EA;
    color: #fff;
    font-weight: normal !important;
}

.component-datalist-table-header-tr th {
    font-weight: normal;
}

.component-datalist-table-th {
    padding-left: 1rem;
    padding-right: 1rem;
}

.component-datalist-table-td {
    padding-left: 1rem;
    padding-right: 1rem;
}

.component-datalist-table-tr-selected {
    background-color: #d6d5d5;
    color: #202124;
}

.component-datalist-table-tr:hover {
    background-color: #F1F3F4;
    color: #202124;
}

.component-datalist-table-tr-alt {
    background-color: #F8F9F9;
}

.order-viewer label {
    width: 200px;
}

.right {
    text-align: right;
}

.navbar-dark .navbar-brand {
    color: #fff
}

.navbar-brand {
    padding: 0;
}

h1 {
    font-size: 1.5rem;
}

.dashboard td {
    height: 200px;
    text-align: center;
}

.dashboard {
    border-spacing: 20px;
    border-collapse: separate;
}

.data-list-container {
/*    max-height: 300px;
    overflow: auto;
*/}

.btn-add-list {
    margin-top: 5px;
    margin-bottom: 15px;
}

.tr-alt {
    background-color: aquamarine;
}

.social-login {
    padding: 10px;
}

.space-left {
    margin-left: 1.75em
}

.space-right {
    margin-right: 1.75em
}

.space-top {
    padding-top: 1.75em
}

.space-bottom {
    padding-bottom: 1.75em
}

.clear {
    clear: both;
}


input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    margin: 5px;
}

.label-preview {
/*    max-width: 300px;
*/    border: 1px solid #adb5bd;
    vertical-align: top;
    background-color: white;
    padding-left: 0;
    padding-right: 0;
    display: block;
}


.search-box {
    min-width: 300px;
    position: absolute;
    background-color: white;
    z-index: 1000
}

.search-list {
    min-height: 100px;
    max-height:300px;
    overflow: auto;
    border-style: solid;
    border-color: lightgray;
    border-width: 1px;
}

.search-item {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.7em;
    padding-right: 0.5em;
    cursor: default;
}

.search-item-selected {
    background-color: #bfbfbf;
    color: #202124;
}


.search-item:hover {
    background-color: #efefef;
    color: #202124;
}

.address-search {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 650px;
}

.address-search-list {
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    padding: 4px;
}

.address-search-list-item {
    cursor: pointer;
}

.address-search-list-item:hover {
    cursor: pointer;
    background-color: #cecece;
}

.pointer {
    cursor: pointer;
}

.fullscreen {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    height: 100%;
    z-index: 100;
    padding: 10px;
}

.fullscreen-link {
    color: #888;
    font-size: 1.2rem;
}

.sidebar hr {
    background-color: #0366d6;
    margin-top: 7px;
    margin-bottom: 0;
}

.component-datalist-highlight-page {
    color: red;
}


.user-dropdown {
    border-color: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

.e-dropdown-menu {
    background-color: #fff;
}

.e-dropdown-menu li {
    color: #222;
}

.field-properties-button {
    cursor: pointer;
}

.field-properties {
    display: block;
    top: 0;
    position: absolute;
    background-color: #fff;
    width: 300px;
    border: 1px solid #013F6B;
    z-index: 1;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 5px 5px 8px #888888;
    left: 25px;
}

.sample-product {
    max-width: 300px;
}

.preview {
    width: 30%;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

@media(max-width: 768px) {
    .field-properties {
        display: block;
        position: absolute;
        background-color: #fff;
        border: 1px solid #013F6B;
        z-index: 1;
        padding: 5px;
        border-radius: 5px;
        box-shadow: 5px 5px 8px #888888;
        left: 0;
        top: 25px;
        width: 100%;
    }

    .control-label {
        font-weight: bold;
    }

    .preview {
        width: 100%;
        box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    }
}

.spinner {
    background-color: white;
    border: 1px solid #333;
    border-radius: 3px;
}

.space-bottom {
    margin-bottom: 15px;
}

.product-description {
    max-width: 80%;
}

.product-list {
}

.product-list-item {
    position: relative;
    z-index: 1;
    padding: 5px;
    margin: 5px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    text-align: center;
    display: flex; /*this applies the flexbox display property to the div so we can use the properties below*/
    align-items: center; /*this vertically aligns everything to the center*/
    justify-content: center; /*this horizontally aligns everything to the center*/
}

.product-list-item a {
    text-decoration: none;
    color: #212529;
    font-weight: 400;
    background-color: white;
    border-radius: 3px;
}
 
.product-list-item-bg {
    background-size: cover;
    opacity: 0.75;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb {
}

.breadcrumb span {
    padding-right: 5px;
}

.breadcrumb a {
    padding-right: 5px;
}


.modal-dialog {
    min-width: 650px !important;
}

.order-viewer-summary {
    margin-top: 15px;
}

.view-order {
}
@media(max-width: 768px) {
    .view-order {
    }
}

.view-order-item {
    background-color: powderblue;
/*    width: 500px;
*/    padding: 10px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    overflow-y: auto;
}

    .popup-wider .modal-dialog {
        width: 80% !important;
    }

.view-order-item-container {
    height: calc(100vh - 150px);
    height: calc(100dvh - 150px);
    display: flex;
    flex-direction: column;
}

.view-order-item-header {
    flex: 0 0 auto; /* Fixed height */
    padding: 1rem;
}

.view-order-item-footer {
    flex: 0 0 auto; /* Fixed height */
    padding: 1rem;
}

.view-order-item-content {
    flex: 1 1 auto; /* Take remaining space */
    overflow-y: auto; /* Scrollable area */
    padding: 1rem;
/*    border-radius: 5px;
    border: 2px solid #0366d6;
*/}

@media (min-width: 576px) {
    .popup-wider .modal-dialog {
        max-width: 100% !important;
    } 
}
       
    .view-order-item .col-sm-2 {
    /*flex: 0 0 32%;*/
    max-width: 32%;
}

        .view-order-item .col-sm-4 {
            flex: 0 0 56%;
            max-width: 56%;
        }

        .view-order-item .preview {
            width: 60%;
        }

.view-order-item-preview {
    border: 1px solid #333;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    --max-height: 350px;
    /* Set a baseline width for your element */
    width: 100%;
    /* And limit it with our function above */
    max-width: calc(var(--max-height, 100px) * var(--img-ratio, 1));
    display: flex;
    flex-direction: column;
}

.view-order-item-preview-batch {
    border: 1px solid #333;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    --max-height: 100px;
    /* Set a baseline width for your element */
    width: 100%;
    /* And limit it with our function above */
    max-width: calc(var(--max-height, 50px) * var(--img-ratio, 0.5));
}

.component-datalist-table-tr-highlight {
    background-color: coral;
    color: white;
}

.status-Processing {
    background-color: yellowgreen;
    color: white;
    padding: 5px;
}

.status-ProcessingFailed {
    background-color: orangered;
    color: white;
    padding: 5px;
}

.status-Processed {
    background-color: limegreen;
    color: white;
    padding: 5px;
}

.label-builder {
    background-color: white;
    border: 1px solid #333;
    max-width: 450px;
}

.label-builder-textarea {
    border: none;
    margin-top: 10px;
}

@font-face {
    font-family: 'Arial';
    src: url('../api/font/arial/false/false');
}

@font-face {
    font-family: 'Arialb';
    src: url('../api/font/arial/true/false');
}

@font-face {
    font-family: 'Ariali';
    src: url('../api/font/arial/false/true');
}

@font-face {
    font-family: 'Arialbi';
    src: url('../api/font/arial/true/true');
}

@font-face {
    font-family: 'Times';
    src: url('../api/font/times/false/false');
}

@font-face {
    font-family: 'Timesb';
    src: url('../api/font/times/true/false');
}

@font-face {
    font-family: 'Timesi';
    src: url('../api/font/times/false/true');
}

@font-face {
    font-family: 'Timesbi';
    src: url('../api/font/times/true/true');
}

@font-face {
    font-family: 'Avant Garde';
    src: url('../api/font/avantgarde/false/false');
}

@font-face {
    font-family: 'Avant Gardeb';
    src: url('../api/font/avantgarde/true/false');
}

@font-face {
    font-family: 'Avant Gardei';
    src: url('../api/font/avantgarde/false/true');
}

@font-face {
    font-family: 'Avant Gardebi';
    src: url('../api/font/avantgarde/true/true');
}

@font-face {
    font-family: 'Juncur';
    src: url('../api/font/juncur/false/false');
}

@font-face {
    font-family: 'Juncurb';
    src: url('../api/font/juncur/false/false');
}

@font-face {
    font-family: 'Juncuri';
    src: url('../api/font/juncur/false/false');
}

@font-face {
    font-family: 'Juncurbi';
    src: url('../api/font/juncur/false/false');
}

@font-face {
    font-family: 'Curro';
    src: url('../api/font/curro/false/false');
}

@font-face {
    font-family: 'Currob';
    src: url('../api/font/curro/false/false');
}

@font-face {
    font-family: 'Curroi';
    src: url('../api/font/curro/false/false');
}

@font-face {
    font-family: 'Currobi';
    src: url('../api/font/curro/false/false');
}

@font-face {
    font-family: 'Verdana';
    src: url('../api/font/verdana/false/false');
}

@font-face {
    font-family: 'Verdanab';
    src: url('../api/font/verdana/true/false');
}

@font-face {
    font-family: 'Verdanai';
    src: url('../api/font/verdana/false/true');
}

@font-face {
    font-family: 'Verdanabi';
    src: url('../api/font/verdana/true/true');
}

@font-face {
    font-family: 'ABC';
    src: url('https://merchantportal.azurewebsites.net/api/font/ABC/false/false');
}

@font-face {
    font-family: 'ABCb';
    src: url('https://merchantportal.azurewebsites.net/api/font/ABC/true/false');
}

@font-face {
    font-family: 'ABCi';
    src: url('https://merchantportal.azurewebsites.net/api/font/ABC/false/true');
}

@font-face {
    font-family: 'ABCbi';
    src: url('https://merchantportal.azurewebsites.net/api/font/ABC/true/true');
}

@font-face {
    font-family: 'Chroma SSK2';
    src: url('https://merchantportal.azurewebsites.net/api/font/Chromassk2/false/false');
}

@font-face {
    font-family: 'Chroma SSK2b';
    src: url('https://merchantportal.azurewebsites.net/api/font/Chromassk2/true/false');
}

@font-face {
    font-family: 'Chroma SSK2i';
    src: url('https://merchantportal.azurewebsites.net/api/font/Chromassk2/false/true');
}

@font-face {
    font-family: 'Chroma SSK2bi';
    src: url('https://merchantportal.azurewebsites.net/api/font/Chromassk2/true/true');
}

@font-face {
    font-family: 'Comic';
    src: url('https://merchantportal.azurewebsites.net/api/font/Comic/false/false');
}

@font-face {
    font-family: 'Comicb';
    src: url('https://merchantportal.azurewebsites.net/api/font/Comic/true/false');
}

@font-face {
    font-family: 'Comici';
    src: url('https://merchantportal.azurewebsites.net/api/font/Comic/false/true');
}

@font-face {
    font-family: 'Comicbi';
    src: url('https://merchantportal.azurewebsites.net/api/font/Comic/true/true');
}

.manifest {
    background-color: #fff;
    height: 100%;
    border: 1px solid #ced4da;
    padding: 20px;
    border-radius: 0.25rem;
}

.manifest-table {
    border: 1px solid #000;
    font-size: 14pt;
}

.manifest-table tr {
    padding-top: 15px;
    border-bottom: 1px solid #000;
}

    .manifest-table td {
        padding-left: 5px;
        padding-right: 5px;
        border-right: 1px solid #000;
    }

    .manifest-table th {
        padding-left: 5px;
        padding-right: 5px;
        border-right: 1px solid #000;
    }

@media print {
    body {
        visibility: hidden;
    }

    #printable {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        border: none;
    }
}
.e-rte-dropdown-btn-text {
    color: #212529;
}

.WhiteLink
{
    cursor: pointer;
}

.center-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 75%;
    border: 1px #333 solid;
    z-index: 10000;
}

.edit-order-item {
    padding-left: 1rem;
    font-size: 1.25rem;
    color: royalblue;
}
.remove-order-item {
    padding-left: 1rem;
    font-size: 1.25rem;
    color: orangered;
}

.image-library {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.image-library-image {
    display: flex;
    flex-direction: column;
    border: 2px solid;
    margin: 4px;
}

.image-library-image img {
    max-width: 150px;
    margin: 4px;
    padding: 4px;
    background-color: lightseagreen;
}

.image-library-image span {
    margin: 4px;
    padding: 4px;
    padding-left: 15px;
}

.image-library-image-selected {
    display: flex;
    flex-direction: column;
    border: 4px solid #1784EA;
}

.image-library-image-selected img {
    max-width: 150px;
    margin: 4px;
    padding: 4px;
    background-color: lightsalmon;
}

.image-library-image-selected span {
    margin: 4px;
    padding: 4px;
    padding-left: 15px;
}

.stock-image-sample {
    max-width: 400px;
}

.no-wrap {
    white-space: nowrap;
}

.order-content-form-top {
    margin-top: 25px;
    width: 100%;
    font-size: 14pt;
}

.order-content-form-top td {
    width: 50%;
}

.order-content-form-detail {
    width: 100%;
    border: 1px solid black;
    font-size: 14pt;
}

    .order-content-form-detail tr {
        border-bottom: 1px solid black;
    }

    .order-content-form-detail td {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

.order-group-content-form-detail {
    width: 100%;
    border: 1px solid black;
    font-size: 14pt;
}

.order-group-content-form-detail tr {
    border-bottom: 1px solid black;
}

.order-group-content-form-detail td {
    padding-left: 5px;
    padding-right: 5px;
}

.order-history tr {
    border-bottom: 1px solid #ccc;
}
.order-history td {
    padding-right: 10px;
}
..e-colorpicker-popup .e-container.e-color-picker {
    float: left;
}


.delivery-collection-container {
    padding: 10px;
    margin: 5px;
    border: 2px solid #ced4da;
    border-radius: 4px;
    width: 100%;
}

.delivery-collection-container label {
    width: 100% !important;
}

.delivery-collection-container .form-group {
    width: 100% !important;
}

.delivery-collection-container .form-group .province {
    width: 50% !important;
}

.delivery-collection-container input[type=radio] {
    margin-right: 5px;
}

.add-product {
    color: #007bff;
    font-size: 14px;
    line-height: 1.5;
}

.add-product-container {
    background-color: #fff;
    border: 1px solid rgb(222, 226, 230);
    max-height: 500px;
    overflow: auto;
    padding: 10px;
}

.sidebar {
    overflow-y: auto;
}

.div-dropdown {
    position: absolute;
    z-index: 1;
    background-color: #fff;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.3em;
}

.div-dropdown li {
    list-style: none;
    cursor: default;
}

.div-dropdown li:hover {
    background-color: Highlight;
    color: HighlightText;
}

@media print {
    .pagebreak {
        clear: both;
        page-break-after: always;
    }
}


.e-container .e-palette .e-tile {
    border: 0.5px solid rgba(0, 0, 0, 0.2) !important;
}

#mapDiv {
    width: 100%;
    height: 400px;
}


.img-type-container {
    padding: 5px;
}

.img-type-text {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
    cursor: pointer;
}

.image-type-text-selected {
    background-color: #0069d9;
    border-color: #0062cc;
}

.img-type-rad {
    display: none;
}

.img-list {
    border: 1px solid #333;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    margin: 2px;
    width: 75px;
    cursor: pointer;
}

.order-edit-device {
    background-color: deeppink;
    color: white;
    border-radius: 3px;
    font-weight: bold;
    padding: 3px;
}

.seo-h1 {
    font-weight: bold;
    font-size: larger;
}

.seo-h2 {
    font-weight: bold;
}

.seo-list {
    max-height: 300px;
    overflow: auto;
}
.seo-container {
    display: flex;
}

.list-group-item-action {
    cursor: pointer;
}

.e-spinner-inner {
    background-color: white;
    padding: 5px;
    border: 1px solid #ced4ea;
    border-radius: 3px;
}

.multi-image-table {
    border: 1px solid #dee2e6;
}

.product-sample-image {
    max-width: 500px;
}

.constrain-viewheight {
    height: calc(90vh - 150px);
    overflow: auto;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}