﻿@charset "UTF-8";
/*
Template Name: 
Version: 1.0
Author: DuongNX
File: Customize Css File
*/

thead tr{
    position:sticky;
    top:0;
    background-color:white;
}
.cursor_1:hover {
    cursor: pointer;
}
.wrapper {
    min-height: 100vh;
}
.spinner {
    height: 60px;
    width: 60px;
    margin: auto;
    top: 20%;
    display: flex;
    position: fixed;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}
#overlay {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}
.IMSNotesWrapper
{
    text-align:center;
    margin-top:15px;
    color:red;
}
.fixlogin {
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    border: none;
    background-color: transparent
}
.app-search .dropdown-lg {
    width: auto !important;
}
.row-pagination
{
    width: 100%;
    float:right;
}
.row-p-info {
    width: 50%;
    float: left;
}
.row-p-num {
    width: 50%;
    float: left;
}

[id^="tbldata"] > thead > tr > th[class*="sort"]::after, [id^="tbldata"] > thead > tr > th[class*="sort"]::before {
    display: none
}
.atp-nowrap {
    white-space: nowrap;
}
.input-border-bottom-50w {
    width: 50px;
    border: 0;
    border-bottom: 1px solid #bccee4;
    border-radius: 0;
}
.select2-container .select2-selection--multiple .select2-selection__rendered
{
    padding: 0 !important;
}
/*
Xử lý lệch tiêu đề bảng
*/
table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc {
    padding-left: 0.5rem !important;
}
/*
Xử lý độ rộng menu dọc
*/
.side-nav-link
{
    padding: 5px !important;
}
.side-nav .side-nav-link i
{
    width: 30px !important;
}
/*
Begin Chứng từ
*/
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: aliceblue;
}
#z_right_ct .card .card-body {
    padding: 0px 10px !important;
}

#z_right_ct .card .card-header {
    padding: 5px 10px !important;
}

#z_left_ct .card .card-body {
    padding: 0px 10px !important;
}

#z_left_ct .card .card-header {
    padding: 5px 10px !important;
}
/*
End Chứng từ
*/
/* Ép phần scroll body có chiều cao cố định để luôn hiện scrollbar */
.dataTables_scrollBody {
    max-height: 500px !important; /* hoặc chiều cao tùy bạn */
    overflow-x: scroll !important;
    overflow-y: hidden !important;
}

/* Tùy chọn: luôn chừa khoảng cho thanh cuộn */
.dataTables_scroll {
    scrollbar-gutter: stable both-edges;
}
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #f6f7fb !important;
}
.container-fluid {
    max-width: 100% !important;
}
/*
    for detail
*/
#tbldataChungTu_Left tbody {
    min-height: 250px;
}
table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
    padding-right: 0px !important;
}

.bigdrop {
    width: 300px !important;
}
.bigdrop500 {
    width: 520px !important;
}

table.dataTable tbody tr.selected, table.dataTable tbody th.selected, table.dataTable tbody td.selected {
    color: inherit;
}

.xxx .row-p-num {
    width: 100%;
}

.card .header-title {
    text-transform: none !important;
}

@media (max-width: 960px) {
    .tienTrinh {
        display: none;
    }

    .tienTinhMobile {
        font-size: 12px;
    }
}

.input-nhap {
    width: 100%;
    border: 0;
    border-radius: 0;
    color: var(--ct-body-color);
    border-bottom: 1px solid #dee2e6;
    background-color: transparent;
}
.input-nhap:focus {
    outline: 0;
}
.input-lable {
    width: 100%;
    border: 0;
    border-radius: 0;
    color: var(--ct-body-color);
    background-color: transparent;
}
.input-lable:focus {
    outline: 0;
}
/*
Mobile
*/
@media only screen and (max-device-width: 600px) {
    .row-p-info {
        width: 100%;
        text-align:left
    }

    .row-p-num {
        width: 150%;
        display:flex !important;
    }
    .row-pagination {
       margin-bottom: 6px;
    }
    .container-fluid {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
    .btn
    {
        width: 100%;
    }
    .card {
        --ct-card-spacer-y: 6px;
        --ct-card-spacer-x: 6px;
    }
    .btn-fly {
        margin-right: 0px !important;
        margin-top: 8px;
    }
}
/*
    Ipad mini
*/
@media only screen and (max-device-width: 768px) {
    .page-title-box .page-title {
        display: none
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

/*
    Pointer
*/
i:hover {
    cursor: pointer;
}

#standard-modal {
    z-index: 1060 !important;
}

    #confirm-modal + .modal-backdrop {
        z-index: 1059 !important;
    }

.modal-open .modal-backdrop {
    opacity: 0.5;
}

    .modal-open .modal-backdrop + .modal-backdrop {
        opacity: 0.3;
    }