html {
    font-size: 14px;
}

* {
    font-family: 'Kanit', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.text-muted {
    color: #777;
}

.pre-custom {
    padding: 10px;
    font-size: 11px;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.panel-control {
    text-align: right;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    vertical-align: middle;
}

    .table > tbody > tr > td > div > ul > li > a > i {
        margin-right: 10px;
    }



.wrap-error {
    height: calc(var(--vh, 1vh) * 100);
    height: auto;
}

    .wrap-error h1 {
        font-size: 6.875rem;
        letter-spacing: -13px;
        line-height: 1;
    }

        .wrap-error h1 span {
            text-shadow: -8px 0 0 #ababab;
        }



.modal-center .vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.modal-center .vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-center .modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.cs-content-table {
    overflow-x: scroll;
}

.cs-content-table::-webkit-scrollbar {
    display: none;
}



.cs-tab {
    /*margin: 1rem 0;*/
    padding: 0;
    overflow-x: scroll;
    height: 3rem;
}

    .cs-tab::-webkit-scrollbar {
        display: none;
    }

    .cs-tab > .cs-tab-inner {
        display: table;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .cs-tab > .cs-tab-inner > li > a {
            text-decoration: none !important;
        }


        .cs-tab > .cs-tab-inner > .cs-tab-inner-item {
            box-sizing: border-box;
            display: table-cell;
            vertical-align: middle;
            margin: 0;
            padding: 0 20px;
            font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
            text-align: center;
            height: 3rem;
            white-space: nowrap;
            background-color: #dceaff;
            cursor: pointer;
        }

            .cs-tab > .cs-tab-inner > .cs-tab-inner-item.active {
                background-color: #fff;
                box-shadow: inset 0 3px 0 0 #0a58ca;
            }


.tab-content {
    /*color: #999;*/
    background-color: #fff;
    /*font-size: 14px;*/
    /*letter-spacing: 1px;*/
    /*line-height: 25px;*/
    padding: 30px 25px 20px;
    border: 1px solid #e1e1e1;
}

.xzpopup-responsive {
    max-width: 80vw
}

@media only screen and (min-width: 768px) {
    .xzpopup-responsive {
        max-width: 60vw
    }
}

@media only screen and (min-width: 1024px) {
    .xzpopup-responsive {
        max-width: 40vw
    }
}

.table-responsive,
.dataTables_scrollBody {
    overflow: visible !important;
}


.cs-dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    float: right;
    margin-top: 8px;
    transform: rotate(270deg);
}

.align-webkit-baseline-middle {
    vertical-align: -webkit-baseline-middle;
}

.show-border {
    background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc4JyBoZWlnaHQ9JzgnPjxjaXJjbGUgY3g9JzEnIGN5PSc0JyByPScxJyBmaWxsPScjZDBkM2Q3JyAvPjwvc3ZnPg==);
    background-repeat: repeat-x;
    background-position: left 11.75pt;
}

.col-no-padding {
    padding: 0px 0px 0px 0px !important
}