﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


.mytable tr td {
    padding: 1px !important;
    margin: 1px !important;
}

.mytable th {
    padding: 1px !important;
    margin: 1px !important;
}



::-webkit-scrollbar {
    background: transparent;
    height: 8px;
    /*    overflow: visible;*/
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #bbbbbb;
    -webkit-border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #93918b;
    }

::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}


/*:-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {*/
/*  background: rgb(234, 234, 234);*/
/*border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgb(136, 136, 136);*/
/*    background: rgb(0, 0, 0);*/
/*border-radius: 8px;*/
/* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, rgb(122,153,217)), color-stop(0.72, rgb(73,125,189)), color-stop(0.86, rgb(28,58,148)));*/
/*}

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(100, 100, 100);
        border-radius: 8px;
    }

    ::-webkit-scrollbar-thumb:active {
        background: rgb(68, 68, 68);
        border-radius: 8px;
    }*/
html, body {
    /*    min-height: 100%;
    height: 100%;*/
    /*    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*       overflow-y: scroll;
    -ms-overflow-style: scrollbar;*/
    /*  overflow-y: hidden;*/
    /*    -ms-overflow-style: scrollbar;*/
    /*   -ms-overflow-style: none;
    overflow: hidden;
    overscroll-behavior: none;
    margin: 0;*/

    -ms-overflow-style: none;
    overscroll-behavior-y: none;
    /*overflow: hidden;*/
    /*    overscroll-behavior: none;*/


    font-family: 'Sarabun', sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 30px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    /*  left: 300px;*/
    right: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 350px;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#parent {
    overflow-y: scroll;
    /*    has to be scroll, not auto -webkit-overflow-scrolling: touch;*/
}

.modaal-fullscreen #modaal-close {
    background: #afb7bc;
    right: 19px;
    top: 33px;
}
/* 
    below styles were copied from bootstrap 4.5.0 and renamed to be compatible with blazor
    - '.validation-message' == bootstrap '.invalid-feedback'
    - '.invalid' == bootstrap '.is-invalid'
*/
.validation-message {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.invalid ~ .validation-message {
    display: block;
}

.form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-control.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-check-input.invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.invalid ~ .validation-message {
    display: block;
}

@media (min-width: 768px) {
    .form-group.row > .col-form-label {
        text-align: right;
    }
}

.form-control-xs {
    height: calc(1em + .375rem + 6px) !important;
    padding: .125rem .25rem !important;
    font-size: .75rem !important;
    line-height: 1.5;
    border-radius: .2rem;
    margin: 0px 2px;
}

tr.border_bottom td {
    border-bottom: 0.5px solid rgba(0,0,0,.125);
}

@media (max-width: 768px) {
    .fc-header-toolbar {
        font-size: 10px;
        padding: 1px 1px 1px 1px;
    }
}

.modal-header {
    padding: 2px 10px;
}


.mytable tr td {
    padding: 1px !important;
    margin: 1px !important;
}

.mytable th {
    padding: 1px !important;
    margin: 1px !important;
}








@media only screen and (max-width: 768px) {

    body {
        background-color: #FFFFFF;
    }

    .logo-content-1 .login-logo-1 {
        width: 160px;
    }

    .main-section {
        padding-bottom: 60px;
    }

    .header-desktop {
        display: none !important;
    }

    .desktop-meun {
        display: none !important;
    }

    /* .footer-desktop {
        display: none;
    }*/

    .header-mobile {
        display: block !important;
    }

    .mobile-foot {
        display: block !important;
    }


    .mobile-hide {
        display: none;
    }

    .desktop-hide {
        display: block !important;
        ;
    }

    .right-content {
        border: none;
        padding: 0px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .content-profile {
    }

    .payment-head .detail {
        text-align: left;
    }

    .login-content .form-login {
        padding-left: 0px;
        padding-right: 0px;
    }

    .dash-list {
        margin-top: 60px;
    }

        .dash-list .dash-block .dash-item {
            width: 145px;
            height: 145px;
            padding-top: 45px;
        }

        .dash-list .dash-block .dash-item {
            border: 1px solid #EFEFEF;
        }

    .deposit-head {
        margin-bottom: 6px;
    }

    .payment-head {
        margin-bottom: 6px;
    }
}




@media only screen and (max-width: 992px) {
    .modal-dialog {
        max-width: 95%;
    }
}

.content-wrapper > .content {
    padding: 0px;
}










.layout-navbar-fixed.text-sm .wrapper .content-wrapper {
    margin-top: calc(2.93725rem - 1px);
}

.wrapper .content-wrapper {
    height: 100%;
}

.wrapper .content-wrapper {
    min-height: calc(100vh - calc(3.5rem + 1px) - calc(3.5rem + 1px) - 6px);
}


/* Fix height and enable scrolling */
.grid {
    height: 16.5rem;
    overflow-y: auto;
}

    .grid ::deep table {
        min-width: 100%;
    }

/* Sticky header while scrolling */
::deep thead {
    position: sticky;
    top: 0;
    background-color: #eee;
    z-index: 1;
}

/* For virtualized grids, it's essential that all rows have the same known height */
::deep tr {
    height: 30px;
}

::deep tbody td {
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    text-overflow: ellipsis;
}





.text-icon-light {
    color: #e9ecef;
}





