﻿@charset "UTF-8";
/*
Template Name: 
Version: 1.0
Author: DuongNX
File: Customize Css File
*/

body {
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;

}
/*---------------- (chỉnh màu chữ: 31/01/2024)*/
:root {
    --ct-body-color: #333333;
    --ct-body-color-rgb: #242C3A;
    font-size:small;
}
.btn {
    --ct-btn-padding-y: 0.40rem !important;
    font-size:12px;
}

div {
    /*color: var(--ct-body-color)*/ /*phần này tắt do hiện thì phần hiện tổng tiền của bảng chứng từ bên trái không chuyển được thành màu khác*/
}

a {
    /*color: var(--ct-body-color)*/ /*phần này tắt do hiện thì các thẻ a có không chuyển được màu khác*/
}

.footer .footer-links a {
    color: var(--ct-body-color)
}

.horizontal-steps .horizontal-steps-content .step-item span {
    color: var( --ct-body-color);
}

.horizontal-steps .horizontal-steps-content .step-item label {
    color: var( --ct-body-color);
}

.breadcrumb-item.active {
    color: var( --ct-body-color);
}
/*--------begin xử lý chữ mờ--------*/
.table-striped > tbody > tr:nth-of-type(odd) > * {
    color: #333333 !important;
}

.nav-pills > li > a, .nav-tabs > li > a {
    color: #3688fc !important;
    font-weight: normal !important;
}

.text-title {
    color: #333333 !important;
}
.dropdown-item {
    color: #333333 !important;
}
label {
    font-weight: bold !important;
    font-size: 11.6px !important;
}
.form-control {
    color: #333333 !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: gray;
    opacity: 1; /* Firefox */
}

    .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: gray;
    }

    .form-control::-ms-input-placeholder { /* Microsoft Edge */
        color: gray;
    }
.app-search form .form-control::placeholder {
    color: aliceblue !important;
    opacity: 1; /* Firefox */
}
/*--------end xử lý chữ mờ--------*/
/*----------------*/
.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;
}

.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;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: 0px;
    margin-top: -6px;
}
/*
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ừ
*/
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #f6ea4b !important;
}
.container-fluid {
    max-width: 100% !important;
}
/*
fix login cuối trang
*/
.fixlogin {
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    border: none;
    background-color: transparent
}
.page-title-box .page-title {
    line-height: 50px !important
}
.page-title-box .page-title-right {
    margin-top: 10px !important
}
/*
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;
}
/*
  Fix sorting table
 */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    display: none;
}

.ATP_scrollbar::-webkit-scrollbar {
    width: 6px;
    background-color: #fff;
}

.ATP_scrollbar::-webkit-scrollbar-thumb {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: rgb(108, 172, 251, 0.95);
}

.dtfh-floatingparenthead {
    top: 130px !important;
}

.drp-selected {
    font-size: 16px !important;
}

.form-control:focus {
    color: #495057;
    border: 1.5px solid #80bdff;
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
 
/* Định dạng cho nút hình tròn cố định bên trái dưới */
#btn_suggest {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px; /* Ban đầu chỉ hiển thị icon */
    height: 40px;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0.8;
    overflow: hidden;
    transition: all 0.3s ease; /* Sử dụng transition cho tất cả thuộc tính */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    white-space: nowrap;
}

    /* Container cố định cho icon */
    #btn_suggest .icon-wrapper {
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Khi hover, mở rộng nút */
    #btn_suggest:hover {
        width: 110px;
        border-radius: 25px;
        opacity: 1;
    }

    /* Định dạng chữ trợ giúp */
    #btn_suggest .help-text {
        display: inline-block; /* Đảm bảo margin và opacity chuyển đổi mượt */
        opacity: 0;
        margin-left: 0;
        transition: all 0.3s ease; /* Chuyển đổi tất cả thuộc tính */
    }

    /* Khi hover, chữ trợ giúp xuất hiện */
    #btn_suggest:hover .help-text {
        opacity: 1;
        margin-left: 3px;
        margin-right: 3px;
    }
