@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* css reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: hide; /*當格子內是空值時，格子框要 show呈現、hide隱藏*/
    table-layout: fixed !important; /*固定格子大小，不改變*/
}

/* css reset */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px !important;
    white-space: nowrap;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.badge-Skyblue {
    color: #fff;
    background-color: rgb(76,185,218);
    border-color: rgb(76,185,218);
    padding: 8px !important;
    font-size: 12px;
}

.badge-Grayblue {
    color: #fff;
    background-color: rgb(157,195,230);
    padding: 8px 13px !important;
    font-size: 14px;
    border-radius: 0px;
}

.bg-gray {
    color: black;
    background-color: rgb(191,191,191);
    font-size: 24px;
    font-weight: bold;
}

.page {
    overflow: visible;
}

.content {
    padding: 0px !important;
    margin: 0px !important;
}

.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;
    }
/* Custom css */
.imageThumbnail {
    height: 200px;
    width: auto;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid red;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.HideFooter {
    display: none;
}

.listview-item {
    height: 150px;
    width: 600px;
    display: inline-block;
    margin: 10px;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
}

.nav-item a.active::after {
    content: " ";
    margin-left: 1em;
}

.k-textbox.telerik-blazor.textbox-hide {
    display: none;
}

.notification .k-notification-container .k-notification-wrap {
    height: 50px;
    font-size: 20px;
}

#demo-runner {
    height: 600px;
}

.k-drawer-content {
    padding: 25px;
    font-size: 18px;
}

.k-drawer-container {
    position: relative;
    width: 100%;
    height: 95%;
}

.k-drawer .k-drawer-item {
    white-space: nowrap;
    overflow: hidden;
    padding-left: 0;
}

.k-level-1 {
    padding-left: 20px;
}

.icon-customized {
    position: absolute;
    right: 0;
    line-height: inherit;
    margin: 10px 8px;
}

.custom-toolbar {
    width: 100%;
    color: white;
    background: rgb(55, 119, 175);
    line-height: 10px;
    border-bottom: inset;
    border-bottom-width: 0;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0px;
    z-index: 1000;
}


.k-command-cell .gridEdit {
    color: white;
    background-image: none;
    background-color: orange;
}

    .k-command-cell .gridEdit:hover {
        color: white;
        background-image: none;
        background-color: orange;
    }

.k-command-cell .gridDelete {
    color: white;
    background-image: none;
    background-color: darkred;
}

    .k-command-cell .gridDelete:hover {
        color: white;
        background-image: none;
        background-color: darkred;
    }

.k-command-cell .gridSave {
    color: white;
    background-image: none;
    background-color: cornflowerblue;
}

    .k-command-cell .gridSave:hover {
        color: white;
        background-image: none;
        background-color: cornflowerblue;
    }

.k-command-cell .gridCancel {
    color: white;
    background-image: none;
    background-color: rosybrown;
}

    .k-command-cell .gridCancel:hover {
        color: white;
        background-image: none;
        background-color: rosybrown;
    }

thead {
    background-color: #4472C4;
    color: white;
    font-size: 18px;
}

td {
    height:auto !important;
    font-size: 18px;
}

.k-calendar .k-content td {
    font-size: small;
}
/*background for the buttons in the toolbar*/
input.k-textbox {
    font-size: 18px;
}

span.k-switch {
    font-size: 18px;
}

span.k-input {
    font-size: 18px;
}

span.k-numeric-wrap {
    font-size: 18px;
}

div.k-numerictextbox {
    font-size: 18px;
}

button.k-button, button.k-button:hover {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #f2f2f2;
    /*padding: .375rem .75rem;*/
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-image: none;
}

button span.k-icon {
    color: white;
    font-size: 1rem;
}

button.btn-add {
    color: white;
    background-color: #28a745;
    border-color: #28a745;
}

    button.btn-add:hover {
        color: white;
        background-color: #218838;
        border-color: #1e7e34;
        box-shadow: 2px 3px 4px gray;
    }

button.btn-Edit {
    color: white;
    background-color: rgb(235,151,30);
    border-color: rgb(235,151,30);
}

    button.btn-Edit:hover {
        color: white;
        background-color: rgb(235,151,30);
        border-color: rgb(235,151,30);
        box-shadow: 2px 3px 4px gray;
    }

button.btn-Void {
    color: white;
    background-color: rgb(202,60,56);
    border-color: rgb(202,60,56);
    margin: 0px 5px;
    opacity: 1 !important;
}

    button.btn-Void:hover {
        color: white !important;
        background-color: rgb(202,60,56) !important;
        border-color: rgb(202,60,56) !important;
        box-shadow: 2px 3px 4px gray;
    }


button.btn-Save {
    color: white;
    background-color: rgb(76,185,218);
    border-color: rgb(76,185,218);
}

    button.btn-Save:hover {
        color: white;
        background-color: rgb(76,185,218);
        border-color: rgb(76,185,218);
        box-shadow: 2px 3px 4px gray;
    }

button.btn-Back {
    color: black;
    background: -webkit-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Firefox 3.6 - 15 */
    border-color: rgb(226,226,226);
}

    button.btn-Back:hover {
        color: black;
        background: -webkit-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Safari 5.1 - 6.0 */
        background: -o-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Opera 11.1 - 12.0 */
        background: -moz-linear-gradient(rgb(255,255,255), rgb(204,204,204)); /* Firefox 3.6 - 15 */
        border-color: rgb(226,226,226);
        box-shadow: 2px 3px 4px gray;
    }


.btn-Search {
    background-color: rgb(47,112,169) !important;
    border-color: rgb(47,112,169) !important;
    color: white !important;
}

    .btn-Search:hover {
        background-color: rgb(47,112,169) !important;
        border-color: rgb(47,112,169) !important;
        color: white !important;
        box-shadow: 2px 3px 4px gray;
    }

button.btn-Delete:hover {
    box-shadow: 2px 3px 4px gray;
}

button.btn-Enable {
    background-color: rgb(119,180,79);
    border-color: rgb(119,180,79);
    color: white;
    padding: 3px 10px;
    border-radius: 0px;
}
    button.btn-Enable:hover {
        background-color: rgb(119,180,79);
        border-color: rgb(119,180,79);
        color: white;
        border-radius: 0px;
        box-shadow: 2px 3px 4px gray;
    }

button.btn-Deactivate {
    background-color: rgb(245,127,50);
    border-color: rgb(245,127,50);
    color: white;
    padding: 3px 10px;
    border-radius: 0px;
}

    button.btn-Deactivate:hover {
        background-color: rgb(245,127,50);
        border-color: rgb(245,127,50);
        color: white;
        border-radius: 0px;
        box-shadow: 2px 3px 4px gray;
    }

button.btn-export {
    background-color: rgb(73,184,217);
    border-color: rgb(73,184,217);
    color: white;
    padding: 3px 10px;
}
    button.btn-export:hover {
        background-color: rgb(73,184,217);
        border-color: rgb(73,184,217);
        color: white;
        box-shadow: 2px 3px 4px gray;
    }

    ul.k-menu.TopMenu {
        position: sticky;
        display: flex;
        background: rgb(55, 119, 175);
        justify-content: flex-end;
        height: 45px;
        z-index: 1000;
        top: 0px;
    }

    ul.k-menu.TopMenu span {
        color: white;
        font-weight: bold;
    }

div.sidebar.cusom-sidebar {
    background-image: none;
}


.custom-row-colors .k-grid-table .k-master-row {
    background-color: #cfd5ea;
    color: black;
}

    .custom-row-colors .k-grid-table .k-master-row:hover {
        background-color: pink;
    }

    .custom-row-colors .k-grid-table .k-master-row.k-alt {
        background-color: #e9ebf5;
    }

        .custom-row-colors .k-grid-table .k-master-row.k-alt:hover {
            background-color: pink;
        }


.require:before {
    color: red;
    font-size: 24px;
    content: "\204e";
}

.fa-refresh:before {
    content: "\f021";
}

.k-dateinput-wrap > input {
    font-size: 18px;
}
/*span.k-column-title {
    font-size:20px;
}*/
/* Custom css */
/* new */
.shadow-box {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.k-drawer {
    border-right-width: 0px !important;
}

.k-drawer-wrapper {
    width: 100% !important;
    /*scrollbar-width: thin !important;*/
    transition-duration: 0ms !important;
    transition: all 300ms ease-in-out !important;
}

.nav-item {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    color: black !important;
    width: 250px;
    border-top: 2px solid white;
    border-bottom: 2px solid rgb(144,162,172);
    background: -webkit-linear-gradient(rgb(223,239,249), rgb(190,224,243)); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(rgb(223,239,249), rgb(190,224,243)); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(rgb(223,239,249), rgb(190,224,243)); /* Firefox 3.6 - 15 */
}

    .nav-item:hover {
        background: -webkit-linear-gradient(rgb(190,224,243), rgb(223,239,249)); /* Safari 5.1 - 6.0 */
        background: -o-linear-gradient(rgb(190,224,243), rgb(223,239,249)); /* Opera 11.1 - 12.0 */
        background: -moz-linear-gradient(rgb(190,224,243), rgb(223,239,249)); /* Firefox 3.6 - 15 */
    }

.k-drawer-item {
    padding: 0px !important;
}

.nav-item[b-h5xpu3izgy] a.active {
    background-color: rgba(70, 133, 209, 0.25) !important;
    color: black !important;
    border-radius: 0px;
}

.nav-item[b-h5xpu3izgy] a {
    color: black !important;
    height: 2rem !important;
    line-height: 2rem !important;
}

.nav-link {
    width: 250px !important;
}

.navbar {
    padding: .5rem 0rem !important;
    justify-content: space-between;
}

.title-box {
    padding: 3px 5px;
    width: 100%;
    position: sticky;
    z-index: 1000;
    top: 45px;
}

.top-box {
    position: sticky;
    width: 100%;
    z-index: 1000;
    top: 45px;
}

.topbtn-Group {
    background-color: white !important;
    padding: .3rem 3rem !important;
}

.top-box h2 {
    margin: 0px;
}

@media (min-width: 641px) {
    .main > div[b-4xgx7d48vu] {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
}

.cardtext-box {
    display: flex;
/*    align-items: center;*/
}

.block-Glasses {
    display: flex;
    align-items: center;
}

.Glasses-group {
    align-items: center;
}

.block-Glasses-title {
    padding: 3.5px 0px;
}

.Glasses-group > input {
    padding: 3.5px 5px;
}

.Right-title {
    padding: 6px 3px;
}

@media (max-width: 1000px) {
    .block-Glasses {
        display: block !important;
    }

    .Glasses-group-left {
        width: 95% !important;
        margin: auto;
        margin-bottom: 10px;
    }

    .Glasses-group-right {
        width: 84% !important;
        margin: auto;
    }
}

/*.table-Glasses {
    border-collapse: collapse;
    word-wrap: break-word;
}

    .table-Glasses > thead > tr > th {
        color: black !important;
        background-color: #deebf7 !important;
        border: none !important;
        padding: 5px 3px;
    }

    .table-Glasses > tbody > tr > th {
        width: 55px;
        padding: 5px 3px;
    }

    .table-Glasses > tbody > tr > td {
        border: 1px solid black;
        background-color: white;
        padding: 5px 3px;
    }


.table-Distance {
    margin-bottom: 0rem !important;
    border-collapse: collapse;
    word-wrap: break-word;
    table-layout: fixed;
}

    .table-Distance > thead > tr > th {
        color: black !important;
        background-color: #deebf7 !important;
        border: none !important;
        padding: 5px 3px;
    }

    .table-Distance > tbody > tr > th {
        border: 1px solid black;
        padding: 5px 3px;
    }

    .table-Distance > tbody > tr > td {
        border: 1px solid black;
        background-color: white;
        padding: 5px 3px;
    }*/
/*.table-Pay {
    border-collapse: collapse;
    word-wrap: break-word;
    table-layout: fixed;
}

.table-Pay td, .table-Pay th {
    border-top: 1px solid black !important;
}

.table-Pay > thead > tr > th {
    color: black !important;
    background-color: #deebf7 !important;
    border: none !important;
    padding: 5px 3px;
}

.table-Pay > tbody > tr > th, td {
    border: 1px solid black;
    padding: 5px 3px;
}*/
.credit-card {
    word-wrap: break-word !important;
    /*white-space: none !important;*/
}
/* radio-box */
/*    .radio-box {
    background-color: rgb(90,157,219);
    color: white;
    margin-left: 15px;
    padding: 6px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    }*/



/*.e-icons {
    color: black;
    font-size: 26px;
}
.e-tick:before {
    content: '\e718';
}*/

/* radio-box */





.form-inline {
    justify-content: flex-end;
}

.ipt-Group {
    font-size: 16px !important;
}

.k-grid {
    border-color: white !important;
}

.k-grid th {
    padding: 8px 9px !important;
}
/*    .k-grid tr, .k-grid td {
        border-color: black;
    }*/

/*    .k-grid tr {
        border: 1px solid black !important;
    }*/

/*    .k-grid tr td {
        border: 1px solid black !important;
        border-collapse: collapse !important;
    }*/


.k-notification-group {
    top: 120px !important;
}


.k-toolbar {
    border-color: white !important;
    color: white !important;
    background-color: white !important;
    padding: 8px 0px !important;
}

.amountChange {
    cursor: pointer;
}
/* new */
/* new topmenu */
@media (min-width: 641px) {
    .top-row[b-4xgx7d48vu] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: rgb(55, 119, 175) !important;
        color: white !important;
        font-weight: bold !important;
        height: 45px !important;
        border-bottom: none !important;
    }
}

@media (max-width: 641px) {

    .container-fluid {
        margin-top: 45px !important;
    }

    .top-row:not(.auth)[b-4xgx7d48vu] {
        display: block !important;
    }

    .custom-toolbar {
        position: fixed !important;
    }

    .custom-toolbar > span {
        display: none !important;
    }

    .top-row[b-4xgx7d48vu] {
        background-color: white !important;
        border-bottom: none !important;
        justify-content: flex-end;
        height: 0rem !important;
        position: absolute;
        top: 0px;
        right: 10px;
        z-index: 1000;
    }

    .top-row > ul {
        z-index: 1000;
        color: white;
        justify-content: space-around !important;
        position: fixed;
        right: 0px;
    }

    .k-drawer-content {
        padding: 0px !important;
    }

    .nav {
        display: -ms-flexbox;
        display: flex !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
        list-style: none !important;
        flex-direction: column !important;
        position: relative;
        width: 100%;

    }

    .k-icon-button, .k-button.k-button-icon {
        position: absolute;
        left: 0px !important;
    }

    .collapse:not(.show) {
        display: block;
        margin-top: 45px;
    }

    .k-drawer {
        width: 100%; 
    }

    .nav-item {
        width: 100% !important;
    }

        .nav-item[b-h5xpu3izgy] a.active {
            width: 100% !important;
        }
}

.top-row > ul > li {
    padding: 10px;
    text-align: center !important;
    display: block;
}

    .top-row > ul > li > a {
        color: white;
        text-decoration: none;
        margin-left: 0px !important;
    }

    .top-row > ul > li > select {
        background-color: rgb(55, 119, 175) !important;
        border: none !important;
        color: white;
        cursor: pointer;
        vertical-align: bottom !important;
    }

        .top-row > ul > li > select:active {
            background-color: rgb(55, 119, 175) !important;
            border: 1px solid rgb(55, 119, 175) !important;
            vertical-align: bottom !important;
        }

    .top-row > ul > li > select > option {
        padding: 10px 20px;
        text-align: center;
        background-color: white;
        color: black;
    }

.k-switch-on .k-switch-container {
    color: rgb(15,172,129) !important;
    background-color: rgb(15,172,129) !important;
}

span.k-switch {
    background: white !important;
    padding: 5px 10px !important;
    border-radius: 0px !important;
}


/* new topmenu */

.k-switch-off .k-switch-container {
    color: red !important;
    background-color: red !important;
}

.order-home {
    margin-left: 20px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding-top: 5px;
}

/*.k-grid table {
    border-collapse: collapse !important;
}*/