﻿@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

html {
    font-size: 14px;
}

html, body {
    font-family: 'Poppins', sans-serif;
}

/* clears the 'X' from edge & ie */
input[type=text]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=text]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.inputIcon {
    position: absolute;
    top: 9px;
    right: 26px
}

.min-vh-100 {
    /* mobile viewport bug fix */
    min-height: 100vh !important; /* Fallback for browsers that do not support Custom Properties */
    min-height: calc(var(--vh, 1vh) * 100) !important;
}

.hidden {
    display: none;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7rem;
}

.card p {
    line-height: 1.4rem;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

.close {
    float: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

#cookieConsent {
    border-radius: 0;
    z-index: 100;
    width: 100%;
}

.text-primary {
    color: #0047ED !important;
}

.text-iah-light {
    color: #B7C2D1;
}

.header-left {
    text-align: left;
}

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

.btn:focus {
    box-shadow: none;
}

textarea{
    min-height:400px;
}

.required:after {
    content: " *";
    color: red;
}

.demo-banner {
    background-color: #d0021b;
    z-index: 998;
    color: #fff;
}

.websocket-banner {
    background-color: #d0021b;
    z-index: 998;
    color: #fff;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    background: #fff;
}

    .wrapper.anon {
        background: rgb(0,138,255);
        background: linear-gradient(135deg, rgba(0,138,255,1) 0%, rgba(0,71,237,1) 100%);
        color: #fff;
    }

.wrapper-slim a {
    color: #fff;
}

#sidebar {
    width: 15rem;
    background-color: #0047ED;
    color: #fff;
    transition: all 0.3s;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
}

    #sidebar .sidebar-top, #sidebar .sidebar-middle {
        justify-self: flex-start;
    }

    #sidebar .sidebar-bottom {
        justify-self: flex-end;
    }

    #sidebar.closed {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        #sidebar.closed .sidebar-header h3,
        #sidebar.closed .CTAs,
        #sidebar.closed .nav-text {
            display: none;
        }

        /*        #sidebar.closed .sidebar-header strong {
            display: block;
        }*/

        #sidebar.closed .sidebar-header img#smallLogo {
            display: block;
            width: 35px;
            padding-bottom: 80px
        }

        #sidebar.closed .sidebar-header img#largeLogo {
            display: none;
        }

        #sidebar.closed .sidebar-header img {
            display: block;
        }

    #sidebar ul li a {
        text-align: left;
    }

    #sidebar.closed ul li a {
        padding: 15px 10px;
        text-align: center;
    }

        #sidebar.closed ul li a i {
            margin-right: 0;
            display: block;
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

    #sidebar.closed ul ul a {
        padding: 10px !important;
    }

    #sidebar.closed .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar .sidebar-header {
        margin: 0 auto;
        padding: 20px 0;
        text-align: center;
        cursor: pointer;
    }

        /*        #sidebar .sidebar-header strong {
            display: none;
            font-size: 1.8rem;
        }*/

        #sidebar .sidebar-header img#smallLogo {
            display: none;
        }

        #sidebar .sidebar-header img#largeLogo {
            margin: 0 auto;
            display: block;
            padding-bottom: 80px;
            width: 145px;
        }

        #sidebar .sidebar-header img {
            display: none;
        }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li a {
        padding: 10px;
        display: block;
        color: #fff;
    }

        #sidebar ul li a:hover {
            color: #0047ED;
            background: #fff;
        }

        #sidebar ul li a i {
            margin-right: 10px;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background-color: rgba(0, 0, 0, 0.15);
    }

    #sidebar .sidebar-bottom {
        margin-top: auto;
    }

    #sidebar.active .sidebar-bottom {
        margin: 0;
    }

    #sidebar ul li svg {
        width: 40px;
    }

    #sidebar.active ul li svg {
        width: inherit;
    }

ul ul a {
    font-size: 0.9rem !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    position: relative;
    display: flex;
    flex-flow: nowrap;
    flex-direction: column;
    align-items: stretch;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    align-items: center;
}

#login, #register {
    margin: 5rem 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

    #login form#account,
    #register form#account {
        width: 100%;
        max-width: 325px;
    }

    #login .field-validation-error,
    #register .field-validation-error {
        margin-top: 0.1rem;
        font-size: 0.75rem;
        color: #DD1C1D;
        background-color: #F0D2D6;
        border-radius: 0.2rem;
        padding: 0.2rem 0.3rem;
    }

    #login .validation-summary-errors,
    #register .validation-summary-errors {
        
    }

    #login .validation-summary-errors ul,
    #register .validation-summary-errors ul {
        list-style: none;
        font-size: 0.875rem;
        margin: 0;
        padding: 0;
    }

.validation-summary-valid {
    display: none;
}


/* ---------------------------------------------------
    CONTENT HEADER STYLE
----------------------------------------------------- */

#content .header .store-name {
    color: #0047ED;
    font-weight: 600;
}

#content .header .store-address {
    color: #8994A3;
    font-weight: 500;
}

/* ---------------------------------------------------
    LIST STYLE
----------------------------------------------------- */

.list .header {
    font-size: 0.8rem;
    color: #b7c2d1;
    font-weight: 500;
}

.list .list-item {
    background-color: #F4F7FB;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #8994A3;
    border: 2px solid #F4F7FB;
}

    .list .list-item:hover {
        filter: brightness(99%);
    }

    .list .list-item.active {
        background-color: #FFFFFF;
        border: 2px solid #0047ED;
    }

/* ---------------------------------------------------
    ORDERS STYLE
----------------------------------------------------- */

#order-list.list .list-item:hover {
    cursor: pointer;
}

#order-list.list .list-item .orderno {
    font-weight: 600;
    background-color: #EBEFF5;
    min-width: 7rem;
    border-radius: 0.25rem;
}

.order .active .name {
    color: #0047ED;
}

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

    .order .actions a {
        margin: 0.1rem 0;
    }

.order .status {
    text-transform: uppercase;
    border-radius: 0.25rem;
}

#orders-map .orders-map {
    z-index: 999;
}

#orders-map .map-toggle {
    position: absolute;
    z-index: 1000;
    top: 0;
    right: 0;
}

#orders-map #order-panel {
    display: none;
    position: absolute;
    z-index: 1002;
    bottom: 0;
    border-radius: 1rem 1rem 0 0;
    border-top: 2px solid #EBEFF5;
    border-left: 2px solid #EBEFF5;
    border-right: 2px solid #EBEFF5;
    background-color: #fff;
}

    #orders-map #order-panel a.link {
        text-decoration: underline;
    }

    #orders-map #order-panel .panel-header {
        border-bottom: 2px solid #EBEFF5;
    }

#order-panel .card {
    border: none;
}

#order-panel .card-footer {
    background: transparent;
}

#order-panel .input-group-btn {
    border-bottom: 2px solid #0047ED;
}

#chat-input {
    background-color: #fcfdff;
    border: none;
    border-bottom: 2px solid #0047ED;
    border-radius: 0;
    height: calc(1.5em + .5rem + 5px);
}

#chat-submit {
    box-shadow: none;
}

#map-panel-close {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1001;
    background-color: #B7C2D1;
    color: #fff;
    padding: 0.25rem;
    height: 2rem;
    width: 2rem;
    border-radius: 0.25rem;
    text-align: center;
}

/* Buttons */
.btn .badge {
    color: #fff;
    background-color: #B7C2D1;
    font-size: 90%;
    font-weight: 600;
}

    .btn .badge.badge-danger {
        color: #fff;
        background-color: #dc3545;
    }

.btn.active .badge {
    color: #495564;
    background-color: #fff;
    font-size: 90%;
}

.btn.active .badge.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.btn-login,
.btn-signup {
    border: 2px solid #fff;
    border-radius: 0.25rem;
    font-weight: 600;
    padding: 10px 0;
    width: 50%;
}

.btn-login {
    background-color: #fff;
    color: #0047ED;
}

    .btn-login:active,
    .btn-login:focus,
    .btn-login:hover {
        color: #0047ED;
        background-color: rgba(255, 255, 255, 0.85);
    }

.btn-signup {
    background-color: transparent;
    color: #fff;
}

    .btn-signup:active,
    .btn-signup:focus,
    .btn-signup:hover {
        color: #fff;
        filter: brightness(95%);
    }

.btn-iah-primary,
.btn-iah-secondary,
.btn-iah-outline-primary {
    border: 2px solid #0047ED;
    font-weight: 600;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.btn-iah-primary {
    color: #fff;
    background-color: #0047ED;
    border-color: #0047ED;
}

    .btn-iah-primary:active,
    .btn-iah-primary:focus,
    .btn-iah-primary:hover {
        color: #fff;
        background-color: #002ED4;
        border: 2px solid #0047ED;
    }

    .btn-iah-primary:hover {
        background-color: #002ED4;
    }

[class*="btn-iah-outline-"] {
    border-width: 2px;
}

.btn-iah-outline-primary,
.btn-iah-outline-secondary {
    color: #0047ED;
    font-weight: 600;
}

.btn-iah-outline-secondary {
    border: 2px solid #ebeff5;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

    .btn-iah-outline-primary:active:not(:disabled),
    .btn-iah-outline-primary:focus:not(:disabled),
    .btn-iah-outline-primary:hover:not(:disabled),
    .btn-iah-outline-secondary:active:not(:disabled),
    .btn-iah-outline-secondary:focus:not(:disabled),
    .btn-iah-outline-secondary:hover:not(:disabled) {
        color: #fff;
        background-color: #0047ED;
        border: 2px solid #0047ED;
    }

    .btn-iah-outline-secondary .text-iah-light {
        transition: color 0.3s;
    }

    .btn-iah-outline-secondary:active .text-iah-light,
    .btn-iah-outline-secondary:focus .text-iah-light,
    .btn-iah-outline-secondary:hover .text-iah-light {
        color: #fff;
    }

.btn-iah-secondary {
    background-color: #F4F7FB;
    color: #0047ED;
}

    .btn-iah-secondary:active:not(:disabled),
    .btn-iah-secondary:focus:not(:disabled),
    .btn-iah-secondary:hover:not(:disabled) {
        background-color: #e7ebee;
        color: #0047ED;
        border: 2px solid #0047ED;
    }

.btn-group-item {
    background-color: #EBEFF5;
    color: #8994A3;
    border: none;
}

    .btn-group-item.active {
        background-color: #0047ED !important;
        filter: brightness(95%);
        color: #fff !important;
    }

    .btn-group-item:active:not(.active),
    .btn-group-item:focus:not(.active),
    .btn-group-item:hover:not(.active) {
        background-color: #818d9b;
        color: #EBEFF5 !important;
    }

.btn-group.order-status a {
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-change-status {
    background-color: #EBEFF5;
    color: #0047ED;
}

    .btn-change-status:active,
    .btn-change-status:focus,
    .btn-change-status:hover {
        background-color: #EBEFF5 !important;
        filter: brightness(95%);
        color: #0047ED !important;
    }

.btn-iah-large {
    padding: 0.5rem 0.75rem;
}

.btn-iah-xlarge {
    padding: .75rem 1.8rem;
    font-size: 1.5rem;
}


.btn-square-sm {
    height: 3.6rem;
    width: 3.6rem;
    padding: 0.3rem;
}

.btn-square {
    height: 4.55rem;
    width: 4.55rem;
    padding: 0.75rem;
}

.btn-round {
    border-radius: 100%;
}

.location-btn {
    display: none;
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    font-size: 1.2rem !important;
    font-weight: 600;
    padding: 0.5rem 2rem;
}

    .location-btn.-active {
        display: block;
    }

.btn.disabled,
.btn:disabled {
    opacity: 1;
    color: #B7C2D1;
    background-color: #EBEFF5;
    border-color: transparent;
    cursor: not-allowed;
}

.border-light {
    border-color: #EBEFF5 !important;
}

/* ---------------------------------------------------
    FORM STYLE
----------------------------------------------------- */
form .form-control {
    height: calc(1.5rem + .75rem + 5px);
    font-size: 0.9rem;
    border: 1px solid #EBEFF5;
    border-bottom-width: 2px;
    border-bottom-color: #B7C2D1;
    border-radius: 3px 3px 0 0;
    background-color: #fcfdff;
    transition: border-color .3s ease-in-out, box-shadow .15s ease-in-out;
}

form select.form-control {
    border: 1px solid #EBEFF5;
    border-bottom-width: 1px;
    border-bottom-color: #ebeff5;
    border-radius: 3px;
    background-color: #fcfdff;
}

.form-control:focus {
    box-shadow: none;
    border-color: #EBEFF5;
    border-bottom-color: #0047ed;
}

select.form-control:focus {
    border-bottom-color: #EBEFF5;
}

.form-control.checkbox {
    height: calc(1.5rem + .75rem + 5px);
    font-size: 0.9rem;
    color: #0047ED;
    background-color: #0047ED;
    border: 2px solid #0047ED;
    border-radius: 3px;
    transition: border-color .3s ease-in-out, color 0.3s ease-in-out;
}

    .form-control.checkbox:focus {
        box-shadow: none;
    }

#login .form-control:active,
#login .form-control:focus {
    border-bottom-color: #0047ed;
    background-color: #fff;
}

form .form-group {
    margin-bottom: 0.5rem;
}

form label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #B7C2D1;
}

/*form .btn-iah-primary, 
form .btn-iah-secondary {
    font-size: 0.9rem;
}*/

.form-control:disabled,
.form-control[readonly] {
    cursor: not-allowed;
}

    .form-control.disabled ~ .input-group-append,
    .form-control[readonly] ~ .input-group-append {
        color: inherit;
    }

.form-control.has-appended-control {
    border-right: none;
}

.input-group-text {
    border: 1px solid #F4F7FB;
    border-bottom: 2px solid #ced4da;
    border-bottom-right-radius: 0;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #0047ED;
}

/* ---------------------------------------------------
    DROPZONE STYLE
----------------------------------------------------- */
.dropzone {
    border: 2px solid #0047ED;
    border-radius: .25rem;
    width: 10rem;
    height: 10rem;
    min-width: 10rem;
}

    .dropzone .dz-preview {
        width: 10rem;
        height: 10rem;
        min-height: 10rem;
        margin: 0;
    }

        .dropzone .dz-preview .dz-image {
            border-radius: .25rem;
            width: 10rem;
            height: 10rem;
        }
.dz-remove,
.dz-progress,
.dz-details,
.dz-success-mark,
.dz-error-mark {
    /* progress bar covers file name */
    display: none !important;
}

.upload-wrapper {
    /*flex-wrap: nowrap;*/
    flex-wrap: wrap;
}
@media (max-width: 992px) {
    .upload-wrapper {
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------------
    SELECT2 STYLE
----------------------------------------------------- */
.select2 span {
    display: unset;
}

.select2-container--bootstrap .select2-selection {
    border: 1px solid #EBEFF5;
    border-bottom-width: 1px;
    border-bottom-color: #ebeff5;
    border-radius: 3px;
    background-color: #fcfdff;
    box-shadow: none;
}

.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
    height: calc(1.5em + .75rem + 2px);
}

.select2-container--bootstrap .select2-results__option {
    color: #B7C2D1;
    font-size: 0.9rem;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
    border: none;
    outline: none;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    padding: 0 6px 0 0;
}


/* intl-tel-input
-------------------------------------------------- */
.iti {
    display: block;
}

.iti__country-name,
.iti__dial-code,
.iti__flag-box {
    color: #8994a3;
}

.iti__selected-dial-code {
    color: #495057;
}

.iti__flag {
    background-image: url("../img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("../img/flags@2x.png");
    }
}

/* chat */
.chat-widget {
    max-height: 300px;
}

.customer-chat-box {
    display: none;
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

#customer-chat-box .chat-widget {
    min-height: 100%;
}

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .chat .avatar {
        vertical-align: middle;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .chat li {
        margin: 20px 0 20px 0;
        padding-bottom: 5px;
    }

        .chat li:first-child {
            margin-top: 0;
        }

        .chat li:last-child {
            margin-bottom: 10px;
        }

    .chat .message-avatar {
        display: inline-block;
    }

    .chat .message-body {
        display: inline-flex;
        flex-direction: column;
        padding: 0;
        vertical-align: top;
        max-width: 70%;
    }

        .chat .message-body p {
            border-radius: 3px;
            font-size: 14px;
            margin: 0;
            padding: 5px 10px 5px 12px;
        }

        .chat .message-body .timestamp {
            color: #747474;
            display: block;
            font-size: 12px;
            margin: 8px 0 0;
        }

    .chat .message.incoming .message-body {
        align-items: flex-start;
    }

        .chat .message.incoming .message-body p {
            background: #f4f7fb none repeat scroll 0 0;
            color: #646464;
        }

    .chat .message.outgoing {
        text-align: right;
    }

        .chat .message.outgoing .message-body {
            align-items: flex-end;
            padding: 0;
        }

            .chat .message.outgoing .message-body p {
                background: #0047ED none repeat scroll 0 0;
                color: #fff;
                text-align: left;
            }

.card-body {
    overflow-y: auto;
}

.chat-button-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.fullscreen-panel {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.fullscreen-panel-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
}

.fullscreen-panel .chat-widget,
.fullscreen-panel .customer-order-info,
.fullscreen-panel .store-order-info {
    max-height: 100vh;
    height: 100%;
}

.fullscreen-panel #chat-messages {
    padding-top: 3rem;
}

.close-panel {
    position: absolute;
    top: 0;
    right: 0;
}

.change-status-dropup {
    display: none;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 991.98px) {
    .hidden-mobile {
        display: none;
    }

    #sidebar {
        min-width: 100%;
        max-width: 100%;
    }

        #sidebar.closed {
            min-width: 60px;
            max-width: 60px;
            text-align: center;
            margin-left: -60px !important;
        }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar.closed {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

        #sidebar ul li a span {
            font-size: 0.85rem;
        }

        #sidebar ul li a i {
            margin-right: 0;
            display: block;
        }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3rem;
    }

    #sidebar {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }

    .list .header.row {
        display: none;
    }

    .list .content.row [class*='col-md'] {
        padding: 5px 15px;
    }

    #order-list .actions {
        text-align: left;
    }

    #orders-map .orders-map {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
    }

    #orders-map .map-toggle {
        display: none;
    }

    #orders-map #map-panel-close {
        display: block;
    }

    .location-btn {
        width: 100%;
        max-width: 85%;
    }

    .header-right { /* force left for mobile on some rows ~ hacky */
        text-align: left;
    }

    .change-status-dropup {
        display: flex;
    }
}

.location-map {
    height: 260px;
    z-index: 1050;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    color: #fff;
    display: flex;
    background-color: rgba(11, 14, 25, 0.4);
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

/* iPhone landscape*/
@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) and (orientation : landscape) {
    /*#map {
        display: none;
    }

    #orders .map-toggle {
        display: none;
    }*/
    /*#orders #order-panel {
        display: none;
    }*/
}

