@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

div.apexcharts-canvas *, .apexcharts-text tspan {font-family: 'Kanit' !important;}

input[type=radio]:disabled + span.form-selectgroup-label
{
    color: #b9b9b9;
    cursor: default;
}

body.theme-dark  input[type=radio]:disabled + span.form-selectgroup-label
{
    color: #383838;
    cursor: default;
}


div[data-tippy-root] > div{
    min-width: 300px;
    padding: 0.5em;
    border: #0a53be 1px solid;
    background: #fafafa;
    color: #050000;
}

div.content {
    width: 100%;
}

.item-center{
    inset: 0;
    margin: auto;
}
div#note-coin-list {
    display: none;
    margin-left: 4.5rem;
}

i.flag.disabled{
    filter: grayscale(0.9);
    opacity: 0.5;
}

@media (max-width: 650px) {

    table.x-responsive thead {
        display: none;
    }

    table.x-responsive td {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 15ch auto auto;
        padding: 0.5rem 1rem;
        text-align: left;
    }

    table.x-responsive td:first-child {
        padding-top: 2rem;
    }

    table.x-responsive td:last-child {
        padding-bottom: 3rem;
    }

    table.x-responsive td::before {
        content: attr(data-cell) " : ";
        font-weight: 700;
        text-transform: capitalize;
    }

}


.btn-green-circle {
    background-color: #2fb244;
    border: none;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 50%;
    position: fixed;
    inset: auto auto 5rem 0.5rem;
}

a.btn-green-circle:hover {
    color: white;
}

.till-header {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-content: center;
}

.till-header-item {
}

.till-header-item-rate {
    margin-left: auto;
}


ul.validation-errors > li.validation-message {
    color: red;
}

div#blazor-error-ui {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    margin-top: -50px;
    margin-left: calc(-100px - 20em);
    background: #f95353;
    padding: 10em;
}

i.flag {
    font-size: 1.5em;
}

tr.transaction-void {
    text-decoration: line-through;
    color: red;
}

select:invalid {
    border-color: red;
}

div.validation-message {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0.5em;
    color: #f64c4c;
    font-size: 0.8em;
    font-style: italic;
}

div.input-group-flat > div.form-select > span.me-2 {
    margin-top: 0.5em;
}

.popover {
    max-width: 600px;
    min-width: 400px;
}

i.ml-2 {
    margin-left: 0.5em !important;
}

i.mr-2 {
    margin-right: 0.5em !important;
}

i.lar {
    font-size: 1.8em;
}

i.la, i.lab,i.ti {
    font-size: 1.5em;
}

i.la.mr-2 {
    margin-right: 0.5em !important;
}

i.lab.mr-2 {
    margin-right: 0.5em !important;
}

.text-right {
    text-align: right;
}

.overflow-y {
    overflow-y: scroll;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-body .bootstrap-datetimepicker-widget {
    position: fixed;
    top: 100px !important;
    left: 40% !important;
}

.hover-selector {
    border-color: red !important;
    border-width: thick !important;
    border-style: dashed !important;
    background-color: #f0f0f0 !important;
    color: #1b1e21;
}

/* Standard syntax */
:fullscreen {
    background-color: whitesmoke;
}

a.full-screen:fullscreen {
    font-size: 1.5em;
    display: none;
}

a.close-full-screen:fullscreen {
    font-size: 1.5em;
}

td.thead-light {
    color: #656d77;
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.6;
    padding-top: .5rem;
    padding-bottom: .5rem;
}


@media print {
    ::-webkit-input-placeholder { /* WebKit browsers */
        color: transparent !important;
        text-shadow: none !important;
    }

    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: transparent;
    }

    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: transparent;
    }

    :-ms-input-placeholder { /* Internet Explorer 10+ */
        color: transparent;
    }
}

body.theme-light a.change-theme-light {
    display: none;
}

span.popover {
    background: #d1e8ff;
    padding: 2em;
    min-width: 200px !important;
    left: 25px !important;
}

.bg-gray {
    background: #626262;
    color: white;
}

.bg-gray-lt {
    background: #c5c5c5;
}

img.logo-small-full-dark {
    display: none;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    cursor: default;
}

select[placeholder]:invalid {
    color: orangered !important;
}

table.sticky thead,
table.sticky tfoot {
    position: sticky;
}

table.sticky thead {
    inset-block-start: 0; /* "top" */
}

table.sticky tfoot {
    inset-block-end: 0; /* "bottom" */
}