﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');
@import url('switcher-resources/theme-switcher.css?v=1.0.1');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*   
    This is for the lable and control layouts for detail areas.
     style="font-size: 85%;"
*/
.detail-background {
    background-color: #F2F3F4;
    border: thin;
    border: solid;
    border-color: white;
}

.detail-label {
    margin: 8px 0px 7px 0px;
    font-size: 90%;
}

.detail-data {
    margin: 4px 0px 4px 0px;
}




/*   
    ---------------------------------------------------------------------------------
    Spinner Styles
    ---------------------------------------------------------------------------------
*/

#cover-spin {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    z-index: 9999;
    display: none;
    animation: fadeIn ease 1;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
    -ms-animation: fadeIn ease 1s;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: darkslateblue;
    border-top-color: transparent;
    border-width: 2px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*   
    Kiosk Styles
*/
.kiosk-detail-background {
    /* background-color: #F2F3F4;*/
    border: 1px;
    border: solid;
    border-color: lightblue;
    border-radius: 5px;
}

.kiosk-detail-label {
    margin: 8px 0px 7px 0px;
    font-size: 26px;
}

.kiosk-detail-data {
    margin: 4px 0px 4px 0px;
}


/*

button:disabled,
button[disabled] {
    border: 1px solid #999999 !important;
    background-color: #cccccc !important;
    color: #666666 !important;
}*/

.header {
    padding: 1px 0px 0px 10px;
    text-align: left;
    background: #909497;
    color: white;
    font-size: 20px;
    border: 5px solid #909497;
    height: 40px;
    /*    border-radius: 3px;*/
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}



/*    Syncfusion Grid   */
.e-grid td.e-active {
    background-color: #DAF7A6;
}



/*    Dialog     */
.e-dialog.e-control.e-popup, .e-dialog.e-control.e-popup .e-dlg-header-content {
    background-color: #d9edf7;
}

.e-dialog .e-dlg-header {
    color: black;
    font-size: 20px;
    font-weight: normal;
}

.e-dialog .e-dlg-content {
    color: black;
    font-size: 10px;
    font-weight: lighter;
    line-height: normal;
}



/*    CheckBox customizations     */
.e-customsize.e-checkbox-wrapper .e-frame {
    height: 30px;
    width: 30px;
    padding: 8px 0;
}

.e-customsize.e-checkbox-wrapper .e-check {
    font-size: 20px;
}

.e-customsize.e-checkbox-wrapper .e-ripple-container {
    height: 52px;
    top: -11px;
    width: 47px;
}

.e-customsize.e-checkbox-wrapper .e-label {
    line-height: 30px;
    font-size: 20px;
}




/*CSS FOR CUSTOM SWITCH CONTROL*/
.toggle-control {
    display: block;
    position: relative;
    /*padding-left: 100px;*/
    /*margin-bottom: 12px;*/
    cursor: pointer;
    font-size: 12px;
    color: darkgrey;
    align-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .toggle-control input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

        .toggle-control input:checked ~ .control {
            background-color: dodgerblue;
        }

            .toggle-control input:checked ~ .control:after {
                content: "	Yes";
                left: 55px;
            }

    .toggle-control .control {
        position: absolute;
        top: 0;
        left: 0;
        height: 20px;
        width: 100px;
        /*border-radius: 25px;*/
        background-color: darkgray;
        -webkit-transition: background-color 0.3s ease-in;
        transition: background-color 0.3s ease-in;
    }

        .toggle-control .control:after {
            content: "No";
            position: absolute;
            /*left: 5px;*/
            /*top: 5px;*/
            width: 40px;
            height: 20px;
            /*border-radius: 25px;*/
            background: white;
            -webkit-transition: left 0.3s ease-in;
            transition: left 0.3s ease-in;
        }

.ui-state-default {
    border: 0px !important;
}



a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.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;
    }

.multiselect-container {
    width: 100% !important;
}


@media (min-width: 1400px) {
    .col-xlg-4 {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 33.33333% !important;
        flex: 0 0 33.33333% !important;
        max-width: 33.33333% !important;
    }

    .col-xlg-8 {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 66.666667% !important;
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }
}

.shed-modal-popup .modal-body {
    padding: 0.5rem;
}

.customer-card .card-body .customer-grid.dxbs-gridview .card.dxgvCSD.dxbs-grid-vsd,
.pickup-card .card-body .pickup-grid.dxbs-gridview .card.dxgvCSD.dxbs-grid-vsd,
.drop-card .card-body .drop-grid.dxbs-gridview .card.dxgvCSD.dxbs-grid-vsd {
    min-height: 120px;
    height: auto;
    max-height: 220px;
}

.customer-card .card-body, .pickup-card .card-body, .drop-card .card-body, .check-call-card .card-body {
    padding: 0.5rem;
}

.grid, .grid .btn, .grid input[type='text'], .grid .dropdown-item {
    font-size: 12px !important;
}

/* My session css*/
.checkbox-div {
    display: flex;
    justify-content: space-between;
}

.right-sidebar-hidden {
    display: none !important;
}

.right-sidebar-show {
    display: block !important;
}

fieldset {
    display: block;
    margin-left: 2px !important;
    margin-right: 2px !important;
    margin-bottom: 0.5em !important;
    padding-top: 0.35em !important;
    padding-bottom: 0.625em !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    border: 1px solid lightgray !important;
}

    fieldset legend {
        font-size: inherit;
        width: auto;
    }
