﻿body {
    background-color: #F5F8FA;
}
.body_nav {
    /*padding-top: 57px;*/
}

td {
    position: relative !important;
}
/* Left Nav */
.left-side-nav {
    background: linear-gradient(179.5deg, #4F5A63 0.64%, #3C454E 70.81%);
}
.link-support {
    color: #FDA369 !important;
    font-weight: 600 !important;
}
.link-support i {
    font-weight: 600 !important;
}
.left-side-nav .notification {
    left: 26px;
    right: auto;
}
/* Top Nav Bar*/
.notification {
    background: #ffffff !important;
    color: #EB5757 !important;
    border-radius: 8px;
    box-shadow: none;
    right: 3px;
    top: 5px;
    position: absolute;
}
.side-nav .collapsible .fal {
    font-size: .8rem;
    margin-right: 13px;
}
.main-nav-bar {
    background: linear-gradient(2.06deg, #FF1300 -62.92%, #F47320 125.14%);
    box-shadow: 0px 2px 10px rgba(8, 12, 18, 0.2);
}

.form-label-header {
    font-size: 0.75rem;
    color: #757575;
}

.form-select-header {
    position: absolute;
    font-size: 0.75rem;
    z-index: 1 !important;
    top: 0.65rem;
    -webkit-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    cursor: text;
    color: #757575;
}


.form-select-oltline-header {
    position: absolute;
    font-size: 0.65rem;
    z-index: 1 !important;
    top: -0.65rem;
    left: 1.4rem;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    -webkit-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    cursor: text;
    color: #757575;
    font-weight: 500;
}

.form-select-oltline-header-sm {
    position: absolute;
    font-size: 0.65rem;
    z-index: 1 !important;
    top: -0.45rem;
    left: 1.4rem;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    -webkit-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    cursor: text;
    color: #757575;
    font-weight: 500;
}

.form-select-oltline-header-lg {
    position: absolute;
    font-size: 0.65rem;
    z-index: 1 !important;
    top: -0.8rem;
    left: 1.4rem;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    -webkit-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    cursor: text;
    color: #757575;
    font-weight: 500;
}

.grid_cell_note {
    position: absolute;
    top: -12px;
    right: -10px;
    z-index: 2;
    border-width: 0px;
    background-color: transparent !important;
}

/*BACKGROUND COLOR*/
.bg_cell_label {
    background-color: #f2f2f2 !important;
}

.bg_day_t7 {
    background-color: #fffcf9 !important;
}

.bg_day_cn {
    background-color: #fff9f9 !important;
}

.bg_day_le {
    background-color: #ffe6e6 !important;
}

.bg_day_black {
    background-color: #595959 !important;
}

/*DISPLAY SIZE*/
.dsp_64x64 {
    width: 64px !important;
    height: 64px !important;
}

.dsp_h80 {
    height: 80px !important;
}

.dsp_40x80 {
    width: 40px !important;
    height: 80px !important;
}

.dsp_80x80 {
    width: 80px !important;
    height: 80px !important;
}
/*FONT SIZE*/

.fs-4xl {
    font-size: 200%;
}

.fs-3xl {
    font-size: 180% !important;
}

.fs-xxl {
    font-size: 160%;
}

.fs-xl {
    font-size: 140%;
}

.fs-l {
    font-size: 120%;
}

.fs-s {
    font-size: 90%;
}

.fs-xs {
    font-size: 80%;
}

.fs-xxs {
    font-size: 70%;
}

.fs-3xs {
    font-size: 60%;
}

.fs-4xs {
    font-size: 50%;
}

.w030 {
    min-width: 30px !important;
    max-width: 30px !important;
}

.w035 {
    min-width: 35px !important;
    max-width: 35px !important;
}

.w050 {
    min-width: 50px !important;
    max-width: 50px !important;
}

.w060 {
    min-width: 60px !important;
    max-width: 60px !important;
}

.w070 {
    min-width: 70px !important;
    max-width: 70px !important;
}

.w080 {
    min-width: 80px !important;
    max-width: 80px !important;
}

.w090 {
    min-width: 90px !important;
    max-width: 90px !important;
}

.w100 {
    min-width: 100px !important;
    max-width: 100px !important;
}

.w110 {
    min-width: 110px !important;
    max-width: 110px !important;
}

.w120 {
    min-width: 120px !important;
    max-width: 120px !important;
}

.w180 {
    min-width: 180px !important;
    max-width: 180px !important;
}

.w200 {
    min-width: 200px !important;
    max-width: 200px !important;
}


/* Checkbox */
.custom-control-highlight {
    display: inline;
}

    .custom-control-highlight .custom-control-label {
        background: transparent;
        border: 1px solid transparent;
        padding: 10px 10px 10px 34px;
        border-radius: 6px;
    }

    .custom-control-highlight .custom-control-input:checked ~ .custom-control-label {
        background: #f44336;
        border-color: #f44336;
        color: #ffffff;
    }

    .custom-control-highlight .custom-control-label::before {
        top: 14px;
        left: 10px;
    }

/* Dropdown */
.dropdown-boxshadow {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    border: none;
}

.navbar-righttop > .nav-item .nav-link {
    color: #ffffff;
    font-weight: 500;
}

    .navbar-righttop > .nav-item .nav-link i {
        color: #ffffff;
        font-weight: 500;
    }

/* Card */
.card {
    box-shadow: none;
}
    .card .activator {
        font-size: 12px;
        color: #ffffff;
        right: 1.25rem;
        z-index: 1;
    }

    .dx-icon-trash:before {
        font-family: "Font Awesome 5 Pro";
        content: "\f2ed" !important;
        font-weight: bold;
        color: #e91e63;
    }

.dx-icon-edit:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f044" !important;
    color: #2196f3;
    font-weight: bold;
}
/* Button */
.btn-common-icon {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/* dx tree */
.dx-treeview-toggle-item-visibility:before {
    height: 18px;
    width: 18px !important;
    content: url(../../img/chevron-right.svg) !important;
    transition: 0.3s linear;
}

.dx-treeview-toggle-item-visibility.dx-treeview-toggle-item-visibility-opened:before {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#treeview .dx-treeview-node-is-leaf {
    padding-left: 0;
}
/* Status of Form */
.form-comfirm-success {
    background-color: #E2FFEE;
    color: #006644;
    padding: 12px;
    border-left: 2px solid #006644;
}

.form-comfirm-danger {
    background-color: #FFEBE5;
    color: #DE350B;
    padding: 12px;
    border-left: 2px solid #DE350B;
}
/* show Sum detail */
.custom-label-text .custom-text {
    color: #172B4D;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}
/* Thong bao page */
.thongbao-dong-popup {
    display: none;
}

    .thongbao-dong-popup svg {
        width: 18px;
        height: 18px;
    }

/* Breadcrumb */
.breadcrumb{
    background-color: transparent;
}
.breadcrumb-item > a {
    color: #212529;
}

.breadcrumb-item i {
    margin-right: 4px;
}

.breadcrumb-item {
    font-weight: 500;
}

    .breadcrumb-item.active {
        color: #0092ff;
    }
/* Tabs */

.main-nav-tabs.nav-tabs .nav-item .nav-link.active, .main-nav-tabs.nav-tabs .nav-item.show .nav-link {
    background-color: transparent;
    border-color: transparent;
}

.main-nav-tabs.nav-tabs .nav-item .nav-link {
    color: #42526E !important;
    font-weight: 500;
    font-size: 14px;
}

    .main-nav-tabs.nav-tabs .nav-item .nav-link.active {
        color: #F47320 !important;
        position: relative;
    }
        .main-nav-tabs.nav-tabs .nav-item .nav-link.active:after {
            content: '';
            width: 100%;
            height: 3px;
            position: absolute;
            bottom: 0;
            left: 0;
            box-shadow: inset 0 -3px 0 0 #F47320;
            display: inline-block;
        }
/* Grid view */
.section-block-title {
    font-weight: 600;
    font-size: 16px;
    color: #6B778C;
    margin-bottom: 20px;
    margin-top: 10px;
}

.grid-view-item {
    background-color: #ffffff;
    border-radius: 3px;
    padding: 32px;
    text-align: center;
    height: 140px;
    margin-bottom: 30px;
}

.grid-view-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 32px;
    color: #483F3F;
}
/* Row view */
.row-view-item {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 3px;
    margin-bottom: 12px;
}

.row-view-title {
    font-size: 14px;
    color: #172B4D;
    padding: 10px 0 10px 24px;
}
/* Table */
.table-section{
    padding-bottom: 4rem;
}
.dx-header-row > td > .dx-datagrid-text-content {
    font-weight: 500;
}
.dx-selectbox-popup-wrapper .dx-popup-content {
    height: 150px !important;
}

table.table-hover tbody tr.col-TongPhucLoi:hover {
    background-color: transparent;
}

.col-TongPhucLoi span {
    line-height: 30px;
}

.col-TongPhucLoi > td {
    border-top: none !important;
}
.col-TongPhucLoi .md-form.form-sm label {
    font-size: .75rem;
    font-size: .8rem;
    -webkit-transform: translateY(-140%);
    -ms-transform: translateY(-140%);
    transform: translateY(-140%);
}
.team-section .badge {
    box-shadow: none !important;
    font-size: 14px;
    padding: 8px 10px;
}

/* typography */
.small-text-detail {
    font-size: 12px;
    color: #757575;
}

/* Status */
.status-green {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #E2FFEE;
    color: #006644;
    border: 1px solid #006644;
    text-transform: uppercase;
    line-height: 20px;
}
.status-yellow {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #FFF9E0;
    color: #E2B52D;
    border: 1px solid #E2B52D;
    text-transform: uppercase;
    line-height: 20px;
}
.status-red {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #FFE2D9;
    color: #C85E3C;
    border: 1px solid #C85E3C;
    text-transform: uppercase;
    line-height: 20px;
}

.status-red-noborder {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #FFE2D9;
    color: #C85E3C;
    border: 1px solid transparent;
    text-transform: uppercase;
    line-height: 20px;
}

.status-purple {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #DFE1E6;
    color: #42526E;
    border: 1px solid #42526E;
    text-transform: uppercase;
    line-height: 20px;
}
.status-grey-noborder {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    padding: 1px 0;
    width: 100px;
    background: #DFE1E6;
    color: #42526E;
    border: 1px solid transparent;
    text-transform: uppercase;
    line-height: 20px;
}
.badge.status-payroll-green {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    background: #E2FFEE !important;
    border: 1px solid #006644 !important;
    color: #006644 !important;
}
    .badge.status-payroll-green i {
        color: #006644 !important;
        font-size: 10px;
    }

    .badge.status-payroll-green * {
        color: #006644 !important;
    }

.badge.status-payroll-yellow {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    background: #FFF9E0 !important;
    border: 1px solid #E2B52D !important;
    color: #E2B52D !important;
}

    .badge.status-payroll-yellow i {
        color: #E2B52D !important;
        font-size: 10px;
    }

    .badge.status-payroll-yellow * {
        color: #E2B52D !important;
    }

.badge.status-payroll-red {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    background: #FFE2D9 !important;
    border: 1px solid #C85E3C !important;
    color: #C85E3C !important;
}

    .badge.status-payroll-red i {
        color: #C85E3C !important;
        font-size: 10px;
    }

    .badge.status-payroll-red * {
        color: #C85E3C !important;
    }

.badge.status-payroll-blue {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    background: #DEEBFF !important;
    border: 1px solid #0747A6 !important;
    color: #0747A6 !important;
}

    .badge.status-payroll-blue i {
        color: #0747A6 !important;
        font-size: 10px;
    }

    .badge.status-payroll-blue * {
        color: #0747A6 !important;
    }

.badge.status-payroll-purple {
    border: 1px solid;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    background: #EAE6FF !important;
    border: 1px solid #9B51E0 !important;
    color: #9B51E0 !important;
}

    .badge.status-payroll-purple i {
        color: #9B51E0 !important;
        font-size: 10px;
    }

    .badge.status-payroll-purple * {
        color: #9B51E0 !important;
    }

.empty_information {
    height: 3em;
    width: 100%;
    background-color: #DFE1E6;
    border-radius: 4px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1.5em;
}
/* Modal */
.modal-footer {
    border-top: none;
}
@media only screen and (max-width: 767px) {
    /* Responsive Thong bao page */
    #thongbao-chitiet {
        position: fixed;
        height: 85%;
        left: 15px;
        right: 15px;
        top: 80px;
        overflow: auto;
    }

    .thongbao-dong-popup {
        display: block;
    }

    #thongbao-noidung .treeview-leaf-subheader {
        flex-direction: column;
    }

    #thongbao-noidung .treeview-leaf-datetime {
        margin: 8px 0;
    }

    #thongbao-tieude {
        font-size: 18px;
    }
}
/* Left Card body */
.card-scroll {
    height: 240px;
    overflow: hidden;
    overflow-y: auto;
}
.text-branch {
    font-size: 16px;
}
.text-date{
    font-size: 12px;
}
.text-position{
    font-size: 14px;
    font-weight: 600;
}
.text-department {
    font-size: 14px;
}
.PHU_CAP_PHUCAPTIENGUIXE{
    width: 80px;
}
.index-col {
    font-size: 10px;
}

.header-right-block {
    position: sticky;
    top: 52px;
    width: 100%;
}
    .header-right-block .nav-item .nav-link {
        background-color: #ffffff;
        font-size: 14px;
        line-height: 20px;
        padding: 14px 16px;
        color: #234361;
        border: 1px solid #E4E7EB;
    }
        .header-right-block .nav-item .nav-link.active {
            background-color: #FEF6F6;
            border: 1px solid #FAE2E2;
            border-left-color: #EB5757;
        }
    @media only screen and (min-width: 767px) {
        #thongbao-chitiet {
        position: sticky;
        top: 87px;
    }
}
