.sidebar-green {
    background-color: #205291;
}

.btn-xam.active {
    background: rgba(77, 89, 149, .06);
}

.main-header .nav-link:hover {
    background-color: rgba(77, 89, 149, .06);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #007c7e;
}

.nav-pills .nav-link {
    color: #ffffff;
}

.nav-pills .nav-link:not(.active):hover {
    color: white;
    background: #007c7e;
}

.nav-header {
    color: rgb(164, 184, 254);
    border-top: 1px solid rgb(110, 110, 110);
}

.main-footer {
    position: fixed;
    bottom: 0%;
    width: 100%;
}

.img-size-25 {
    width: 25px;
}

.dropdown-menu-user {
    max-width: 320px;
    min-width: 350px;
    padding: 0;
}

.user_hover:hover {
    background-color: #205291;
}

.ic_of_user i {
    padding: 10px;
}

a i {
    font-size: 14px;
}

.btn-white {
    background: white;
    box-shadow: rgb(233 237 232) 1px 2px 1px 2px;
}

.progress {
    height: 10px !important;
    border-radius: 99px;
}

.btn-green {
    font-size: 14px !important;
    background-color: #205291 !important;
    color: #fff !important;
}

.btn-vien-trai {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.btn-vien-phai {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.btn-check:focus+.btn,
.btn:focus {
    box-shadow: none !important;
}

button.btn.btn-green.btn-vien-trai,
button.btn.btn-green.btn-vien-phai {
    font-size: 10px !important;
    padding: 9px 16px;
    font-weight: 100;
}

.content-header {
    padding: 8px !important;
}

.sidebar p {
    color: #fff;
}

.text-14 {
    font-size: 14px !important;
}

.text-12 {
    font-size: 12px !important;
}

.border-bottom {
    border-bottom: 1px solid #d3d3d3;
}

#tab_card_banlamviec .nav-link.active {
    border: 1px solid #d3d3d3 !important;
    border-radius: 0px !important;
    border-top: 0px !important;
    background: rgb(255 54 54 / 85%) !important;
    color: white !important;
}

.label-light-success {
    color: #39aea9;
    background-color: #c9f7f5;
}

.label {
    padding: 0.15rem 0.75rem;
    border-radius: 0.42rem;
    border-top-left-radius: 0.42rem;
    border-top-right-radius: 0.42rem;
    border-bottom-right-radius: 0.42rem;
    border-bottom-left-radius: 0.42rem;
    width: 65%;
    text-align: center;
}

.tab_thong_tin_dv {
    border-bottom: dotted 1px #d3d3d3;
}

@media screen and (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }
}

.react-bootstrap-table {
    overflow-x: auto;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table.table-foot-custom tfoot td,
.table.table-foot-custom tfoot th,
.table.table-head-custom thead th,
.table.table-head-custom thead tr {
    font-weight: 600;
    color: #000!important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1rem;
}

tbody tr td,
tbody tr th {
    font-size: 12px;
    text-align: center;
}

tbody {
    border-left: 1px solid #d3d3d3 !important;
    border-right: 1px solid #d3d3d3 !important;
}

.table thead th {
    vertical-align: bottom;
    text-align: center;
    border-bottom: 1px solid #dee2e6 !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(222, 226, 230);
}

.nav_congviec .nav-item a {
    color: black;
}

.nav_congviec .active {
    color: #39aea9 !important;
    border-bottom: 1px solid;
    margin-bottom: -3px;
}

.search_box th {
    padding: 3px 10px !important;
}

.form-control:focus {
    box-shadow: none !important;
}

.form-control-sm {
    padding: 0rem 0.5rem !important;
    font-size: 12px !important;
}

.custom-select {
    padding: 0rem 0.5rem !important;
    font-size: 12px !important;
    height: calc(1.8em + (0.5rem + 2px));
}

td,
th {
    border-left: 1px solid #d3d3d3 !important;
}

tfoot tr th {
    padding: 5px !important;
}

.table th,
.table td {
    vertical-align: middle;
}

.select-checkbox {
    text-align: -webkit-center;
}

tfoot th {
    border-top: 1px solid #d3d3d3 !important;
    border-bottom: 1px solid #d3d3d3 !important;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody th.select-checkbox:before {
    content: " ";
    margin-top: -2px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody td.select-checkbox:after,
table.dataTable tbody th.select-checkbox:before,
table.dataTable tbody th.select-checkbox:after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

table.dataTable tr.selected td.select-checkbox::after,
table.dataTable tr.selected th.select-checkbox::after {
    content: "✓";
    font-size: 20px;
    margin-top: -19px;
    margin-left: -6px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody td.select-checkbox:after,
table.dataTable tbody th.select-checkbox:before,
table.dataTable tbody th.select-checkbox:after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable td:first-child {
    border-left-width: 1px;
}

table.dataTable tbody td.select-checkbox,
table.dataTable tbody th.select-checkbox {
    position: relative;
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
    border-bottom-width: 1px;
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
    border-left-width: 0;
}

table.dataTable td,
table.dataTable th {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.table-bordered>:not(caption)>*>* {
    border-width: 0 1px;
}

.table>:not(caption)>*>* {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

table.dataTable.table-striped>tbody>tr.odd {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1) {
    --bs-table-accent-bg: transparent;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.table-bordered>:not(caption)>* {
    border-width: 1px 0;
}

div#table_hop_dong_length,
div#table_hop_dong_filter,
span.select-info {
    display: none;
}

div#table_khach_hang_length,
div#table_khach_hang_filter,
span.select-info {
    display: none;
}

td.dataTables_empty {
    text-align: left !important;
}

div#table_hop_dong_paginate a,
div#table_hop_dong_info {
    font-size: 12px;
}

div#table_khach_hang_paginate a,
div#table_khach_hang_info {
    font-size: 12px;
}


/* switch button */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #205291;
}

input:focus+.slider {
    box-shadow: 0 0 1px #205291;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}