﻿/*Theme the Tabulator element*/
.GridData {
    background-color: #f2f2f2;
    border: 1px solid #dbdbe1;
    font-size: 12px !important;
    font-family: Verdana;
}

.number-format {
    text-align: right;
}
/*Theme the header*/
.GridData .tabulator-header {
    background-color: #f3f4f5;
    color: #fff;
}

    /*Allow column header names to wrap lines*/
    .GridData .tabulator-header .tabulator-col,
    .GridData .tabulator-header .tabulator-col-row-handle {
        white-space: normal;
        background-color: #F3F4F5;
        color: #000000;
    }

/*Color the table rows*/
.GridData .tabulator-tableHolder .tabulator-table .tabulator-row {
    color: #000000;
    background-color: #fff;
}

    /*Color even rows*/
    .GridData .tabulator-tableHolder .tabulator-table .tabulator-row:nth-child(even) {
        background-color: #f0f0f0;
    }

.tabulator-row.tabulator-selected {
    background-color: #9abcea !important;
}

.tabulator-footer {
    background-color: #f3f4f5 !important;
    border-top: 1px solid #dbdbe1 !important;
}

.tabulator-group {
    background-color: #D7D7D7 !important;
    padding: 0px 8px !important;
}

.tabulator-row .tabulator-cell {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 4px;
    border-right: 1px solid #dbdbe1;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tabulator-row.tabulator-group {
    box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #d7d7d7;
    border-top: 1px solid #d7d7d7;
    padding: 5px;
    padding-left: 10px;
    background: #ccc;
    font-weight: 700;
    min-width: 100%;
}

    .tabulator-row.tabulator-group span {
        margin-left: 10px;
        color: #000;
    }

.tabulator .tabulator-footer .tabulator-page {
    display: inline-block;
    margin: 0 0px;
    padding: 2px 5px;
    border-radius: 0px;
    background: hsla(0,0%,100%,.2);
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
}

    .tabulator .tabulator-footer .tabulator-page.active {
        color: #fff;
        background-color: #0092DD;
        border: none;
    }

.tabulator .tabulator-footer .tabulator-page-size {
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
    border: 1px solid #aaa;
    border-radius: 0;
}

.btn-group-xs > .btn, .btn-xs {
    line-height: 18px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    border: 1px;
}

th, td {
    vertical-align: middle !important;
}

.dataTables_length select {
    display: contents;
}

@media (max-width: 991px) {
    .modal-dialog {
        width: 100%;
    }

    .page-content {
        padding-top: 4px !important;
    }
}

@media (max-width: 639px) {
    .dataTables_wrapper .col-xs-6 {
        width: 100% !important;
        text-align: center !important;
    }

    .dataTables_filter, .dataTables_paginate {
        text-align: center !important;
        display: block;
    }
}

@media (min-width: 992px) {
    .modal-dialog {
        width: 55%;
    }

    .bootbox .modal-dialog {
        width: 40%;
    }
}

.modal-body {
    padding: 5px 15px;
}

.main-content {
    margin-top: 14px;
}

.tieu-de-trang {
    padding-left: 8px;
    font-weight: bold;
}

.modal-footer {
    padding: 0px 12px;
    text-align: right;
    background: #f7f9f9;
}

.nenmaunau {
    background-color: #9585BF;
    padding: .2em .4em .3em;
    font-size: 12px;
    line-height: 1;
    height: 18px;
    color: #FFF;
    display: inline-block;
}

.searchCss {
    border-top: 1px solid #CCC;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    height: 28px !important;
    width: 250px;
}

    .searchCss:focus {
        border-top: 1px solid #009DCC;
        border-left: 1px solid #009DCC;
        border-right: 1px solid #009DCC;
        border-bottom: 1px solid #009DCC;
    }

    .searchCss:hover {
        border-top: 1px solid #009DCC;
        border-left: 1px solid #009DCC;
        border-right: 1px solid #009DCC;
        border-bottom: 1px solid #009DCC;
    }

.ob_iTL {
    height: 27px !important;
}

.ob_iCboIC {
    margin-top: -2px !important;
}

table.calendarMonthDefault {
    margin-left: -3px;
}

.calendarCalendarDefault {
    height: 200px;
}

table.dogmaBottomLineTable {
    display: none;
}

.dogmaBottomLineContainer {
    border-top: 1px solid grey;
}

.select2-container--default .select2-selection {
    border-color: #ddd;
    border-radius: 3px;
}

.select2-link {
    border-radius: 0px !important;
    width: 100%;
    background-color: #2E8965 !important;
    text-align: left;
    line-height: 18px;
    font-size: 12px;
    font-family: inherit;
}

.tabulator-selected {
    background: #38b8e6 !important;
}

input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], textarea {
    border-radius: 0.375rem;
    color: #858585;
    background-color: #fff !important;
    border: 1px solid #d5d5d5;
    padding: 5px 4px 6px;
    font-size: 12px;
    font-family: inherit;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-transition-duration: .1s;
    transition-duration: .1s;
}

.input-edit {
    color: #696969;
    border: 1px solid #f59942 !important;
    border-color: #f59942 !important;
    border-radius: 4px !important;
}

input.ob_iDdlIE {
    border: 0px !important;
    background: unset !important;
    border-radius: 0px !important;
}

.nenmaunau {
    background-color: #9585BF;
    padding: .2em .4em .3em;
    font-size: 12px;
    line-height: 1;
    height: 18px;
    color: #FFF;
    display: inline-block;
}

.searchCss {
    border-top: 1px solid #CCC;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    height: 28px !important;
    width: 250px;
}

    .searchCss:focus {
        border-top: 1px solid #009DCC;
        border-left: 1px solid #009DCC;
        border-right: 1px solid #009DCC;
        border-bottom: 1px solid #009DCC;
    }

    .searchCss:hover {
        border-top: 1px solid #009DCC;
        border-left: 1px solid #009DCC;
        border-right: 1px solid #009DCC;
        border-bottom: 1px solid #009DCC;
    }

.ob_iTL {
    height: 27px !important;
}

.ob_iCboIC {
    margin-top: -2px !important;
}

table.calendarMonthDefault {
    margin-left: -3px;
}

.calendarCalendarDefault {
    height: 200px;
}

table.dogmaBottomLineTable {
    display: none;
}

.dogmaBottomLineContainer {
    border-top: 1px solid grey;
}


.khungvien {
    border: 1px solid #f0f0ff;
    margin-top: 10px;
    padding: 8px 15px 10px 15px;
    border-radius: 4px;
    min-inline-size: inherit;
    box-shadow: 0 0.125rem 0.25rem 0 rgb(124 128 244 / 40%);
}

.khungvienGrid {
    border: 1px solid #DBDBE1;
    margin: 0;
    border-radius: 4px;
    min-inline-size: inherit;
    padding: 0px 9px 9px 9px;
}

.bootbox .modal-header {
    display: unset !important;
}

    .bootbox .modal-header .close {
        background-color: unset !important;
        color: white;
        border-radius: 0.5rem;
        opacity: 1;
        padding: 0.635rem;
        box-shadow: 0 0.125rem 0.25rem rgb(161 172 184 / 40%);
        transition: all 0.23s ease 0.1s;
        transform: translate(15px, 2px);
        border: none;
        padding: 0px 7px;
        font-size: 20px !important;
    }

.validation::after {
    content: '*';
    color: red;
}

.margin-bottom-4px {
    margin-bottom: 4px !important;
}

.form-group label {
    padding-top: 8px !important;
}

.bootbox h4 {
    font-size: 15px !important;
}

.tabulator .tabulator-footer .tabulator-paginator {
    font-weight: 100 !important;
}

#labelLeftInMD {
    line-height: 0px;
    float: left;
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
}

.navbar-nav .dropdown-item {
    font-size: 13px;
}
/*custom pagnigation*/
.tabulator .tabulator-footer .tabulator-page {
    margin: 0 2px !important;
    border: unset !important;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
}

    .tabulator .tabulator-footer .tabulator-page:hover {
        background: #d9d9d9 !important;
        color: #337ab7 !important;
    }

    .tabulator .tabulator-footer .tabulator-page.active {
        background: #007bff !important;
        color: #fff !important;
    }

.tabulator-paginator label {
    margin-right: 7px;
}

.modal .select2-container {
    z-index: 10050;
}

/*custom select2 with css*/
.select2-container--default .select2-results > .select2-results__options {
    overflow-x: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: #009DCC;
}

.select2-selection--multiple .select2-search__field {
    display: none;
}

.select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    outline: none !important;
    background: unset !important;
    border: none !important;
    padding: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #206bc4 !important;
    border: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    color: #fff !important;
}



/*.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid rgba(249, 249, 255, 0.54) !important;
}*/

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid var(--bs-blue) !important;
}

#layout-navbar {
    background-color: transparent !important;
}
