@charset "utf-8";
html, body, .alert, .brand, .btn-simple, .h1, .h2, .h3, .h4, .h5, .h6, .navbar, .td-name, a, body, button.close, h1, h2, h3, h4, h5, h6, p, td{font-family: "Helvetica", "Arial", "DejaVu Sans", "Liberation Sans", "Freesans", "sans-serif"; color: #333;}
html, body {
    touch-action: manipulation; /* Ngăn hành động pinch-to-zoom trên thiết bị cảm ứng */
    overscroll-behavior: none;  /* Ngăn zoom khi kéo quá nội dung */
}
.sidebar .nav>.nav-item a p{font-weight: 500; color: #333;}
.nav-pills.nav-danger .nav-link, .nav-pills.nav-default .nav-link, .nav-pills.nav-info .nav-link, .nav-pills.nav-primary .nav-link, .nav-pills.nav-secondary .nav-link, .nav-pills.nav-success .nav-link, .nav-pills.nav-warning .nav-link, 
.btn-bordered, .form-group-default{border-color: #cacaca !important;}
ul{margin: 0; padding: 0; list-style-type: none;}
a, a:hover, a:focus{color: inherit; text-decoration: none;}

/* CORE */
select.form-control:not([size]):not([multiple]){height: auto;}
/* INPUT NUMBER */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
input[type=number] {-moz-appearance: textfield;}
.is-loading{pointer-events: none;}
.is-loading.btn-xs:after{top: calc(50% - 1rem/2); left: calc(50% - 1rem/2);}
.is-loading.btn-xs:after{width: 1rem; height: 1rem; border-width: 2px;}
.cursor-pointer{cursor: pointer;}

/* ERP CUSTOM */
.d-hidden{position: absolute; top: 0; left: 0; z-index: 0; width: 1px; height: 1px; opacity: 0;}
.swal-title{font-size: 20px !important;}
.swal-text{font-size: 14px !important; text-align: center;}
.txtQuantity{max-width: 80px; text-align: center;}
.price-table th:not([class*="table"]) {background: #d1d1d1;}
.price-table .table th, .price-table .table td{border-top-width: 1px;}
.price-table .day{margin: -0.75rem; padding: 10px 0; background: rgba(238, 238, 238, 0.3); font-weight: 600;}
.price-table.full-week .day{margin-bottom: 10px; border-bottom: 1px solid #ebedf2;}
.price-table.full-week th{width: 14.2857142%;}
.btn-bordered{border: 1px solid #ddd; color: #333; background-color: #fff;}
label.error{margin-bottom: 0 !important;}
label.error.valid{margin-top: 0 !important;}
.hidden-file-input{position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;}
.is-loading .hidden-file-input, .is-loading .btn-delete, .is-loading .d-hidden{opacity: 0 !important;}
.image-gallery .item{position: relative;}
.image-gallery .img-thumbnail{object-fit: cover; width: 175px; height: 130px; cursor: move;}
.image-gallery .btn-delete{opacity: 0; position: absolute; z-index: 1; top: 0; right: 0.5rem; padding: 5px; background-color: rgba(255, 255, 255, 0.65); text-shadow: 0 1px rgba(255, 255, 255, 1); cursor: pointer;}
.image-gallery:hover .btn-delete{opacity: 1;}
.fs-avatar{object-fit: cover; width: 250px; height: 170px;}

/* MODAL & CARD */
.modal .modal-content .modal-header{padding: 10px 25px; background: #177dff;}
.modal .modal-content .modal-header .modal-title {color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px rgba(0, 0, 0, 0.3);}
.modal-body{padding-left: 25px; padding-right: 25px;}
/* #insertForm .card, #editForm .card{padding-left: 10px; padding-right: 10px;} */
.card .form-group:not(.form-group-default), .modal .form-group:not(.form-group-default){padding-left: 0; padding-right: 0;}
.card .form-check{padding-left: 0;}
.card .form-check label{font-weight: 400 !important;}
.my-form .form-group-default label{text-transform: none !important;}
/* .arrayItem:last-child .card-header{border-bottom: 0px !important;} */
.arrayItem.error{border: 1px  solid red;}
.arrayItem.error + .arrayItem.error{border-top: 0;}
.arrayItem .card-header{padding: 0.8rem 1rem !important;}

/* FORMS */
/* Disable blur text */
.form-group label{font-weight: bold !important; -webkit-backface-visibility: visible !important; backface-visibility: visible !important;}

/* Select2 */
.select2-selection--single {height: 40.69px !important;}
#search-nav .select2-selection--single {font-weight: bold;}
.select2-selection--single .select2-selection__rendered {line-height: 38px !important;}
.select2-selection--multiple {min-height: 40.69px !important;}
.select2-selection--multiple .select2-selection__rendered {line-height: 25px !important;}
.select2-selection.form-control-sm {height: 30px !important;}
.select2-selection.form-control-sm {height: 30px !important;}
.select2-selection.form-control-sm .select2-selection__rendered {line-height: 18px !important;}
.select2-container--default .select2-selection--single .select2-selection__arrow{top: 6px;}
.select2-selection.form-control-sm .select2-selection__arrow{top: 1px;}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple{border-color: #ebedf2;}
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--focus .select2-selection--multiple{border-color: #3e93ff;}
/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {pointer-events: none;touch-action: none;}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection {background: #eee;box-shadow: none;}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {display: none;}
.select2-selection__clear{display: none;}
/*Select2 ReadOnly End*/
/* .mySelect2.select2-hidden-accessible{display: none;} */

.columLabel{font-size: 0.7rem; text-transform: uppercase; font-weight: bold; opacity: 0.7;}
.text-orange{color: #ff6700; font-weight: 400;}
.text-orange:hover{color: #ff3b00; font-weight: 500;}
.text-red{color: #ff0000; font-weight: 400;}
.text-green{color: #008300; font-weight: 400;}
.text-blue{color: #007bff; font-weight: 400;}
.text-inherit{color: inherit !important;}
.note-editor.note-frame .note-btn.note-link-btn{padding: 7px 13px; border-radius: 5px; background: #177dff!important;}
.alert [data-notify=title]{font-weight: normal !important;}

.buildingLock[disabled]{opacity: 0.55; pointer-events: none;}
.buildingLock:not(.btn){max-height: none !important;}
.buildingLock:not(.btn)::after{display: block; content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.5);}

.my-form .media-image{max-width: 80px; max-height: 80px; float: right; padding-top: 9px;}

.color-picker ~ .bg-color-picker{position: absolute; width: 25px; height: 25px; right: 12px; bottom: 4px; border: 1px solid #000; background: url('../img/transparency.png') no-repeat top / 100px;}

.sidebar .nav .nav-section .text-section{font-size: 12px !important; color: #000 !important; padding: 10px 30px !important; background: #ebebeb;}

.card-link[aria-expanded="true"] .fa-angle-down:before{content: "\f106";}

.form-group-default{border-color: #ddd;}
.form-group-default.active{border-color: #45b0ff !important; background: #edf5ff;}
.form-group-default.active label{opacity: 1;}
.form-group-default.disabled{background: #e8e8e8!important;}
.my-form .select2-selection{padding-left: 0 !important; margin-top: 3px; background: transparent; border: 0;}
.my-form .select2-selection__rendered{padding-left: 0 !important;}
.select2-container--open:not(.select2-container--below){margin-top: 4px;}
.select2-search__field{font-size: 16px;}
.nav-one-line{display: block;}
.nav-one-line .nav-item{display: inline-block;}
.scroll-x {overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none;}
.nice-x-scrollbar {padding-bottom: 8px; max-width: 100vw; position: relative; scrollbar-color: #dfdfdf #c0c0c0; scrollbar-width: thin; -ms-overflow-style: none; }
.pseduo-track { background-color: #f1db9d; height: 2px; width: 100%; position: relative; top: -3px; z-index: -10; }
@media (any-hover: none) {
    .pseduo-track { display: none; }
}
.nice-x-scrollbar::-webkit-scrollbar { height: 5px; }
.nice-x-scrollbar::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0); }
.nice-x-scrollbar::-webkit-scrollbar-thumb { height: 5px; background-color: #dfdfdf; }
.nice-x-scrollbar::-webkit-scrollbar-thumb:hover { background-color: #c0c0c0; }
.nice-x-scrollbar::-webkit-scrollbar:vertical { display: none; }
.product-tags .copy-content{padding: 5px 10px;}
.product-tags .card-title{padding-right: 12px; font-size: 13px; line-height: normal;}
.product-tags .product-item{flex: 1; position: relative; margin: 8px 8px 0 0; border: 1px solid #2f80ed; background: #fff4de;}
.product-tags .product-item:hover{background: #fbf2f3;}
.product-item:last-child{margin-right: 0;}
.product-item .btn-copy{display: none; position: absolute; top: 5px; right: 5px;}
.product-item .btn-copy:active{background-color: #ddd;}
.product-item:hover .btn-copy{display: inline-block;}
.product-item .product-name {
    color: #459b43;
    font-weight: 600;
    background: radial-gradient(
        circle at 100%,
        #008848,
        #459b43 85%,
        #008848 90%,
        #7ea091 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animatedTextGradient 2s linear infinite;
}
@keyframes animatedTextGradient {to {background-position: 200% center;}}
.form-control.bg-transparent{background: transparent !important;}
.pagination-left .dataTables_wrapper .row:last-child > div:first-child{display: none !important;}

/* Consulting */
.product-category button, .product-category button:hover, .product-category button:focus{text-decoration: none !important; color: inherit;}
.product-category .btn-detail{margin: 0 0 10px 0; width: 110px; max-width: 110px; white-space: normal; transition: 0.2s;}
.product-category .image{padding: 5px 5px; width: 75px; height: 75px; background-color: #eee; object-fit: contain; object-position: center center; border-radius: 50%; transition: 0.2s;}
.product-category .btn-detail:hover, .product-category .btn-detail.active{transform: translateY(-3px);}
.product-category .btn-detail:hover .image, .product-category .active .image{background-color: rgba(255, 61, 0, 0.8);}
.product-category .btn-detail:hover .name, .product-category .active .name{color: #ff3d00;}
@media (hover: none) {
    .product-category .btn-detail:not(.active):hover .image{background-color: #eee;}
    .product-category .btn-detail:not(.active):hover .name{color: inherit;}
}
.product-category .tab-content.show{width: 100%;}

.txt-consulting-paid-wrapper .dropdown{position: absolute; z-index: 2; top: 0; right: 0; max-height: 100%; background: transparent; border: 0;}
#txt-consulting-paid{padding: 5px 3px 5px 3px;}
#txt-consulting-paid[readonly], #txt-consulting-paid[disabled] {pointer-events: none; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; cursor: default;}
.modifier-selectors .item{position: relative; margin-bottom: 15px; padding: 5px 3px 5px 3px; width: 100%; border: 1px solid #e5e5e5; background-color: #fff; border-radius: 4px; overflow: hidden;}
.modifier-selectors .item:last-child{margin-bottom: 0;}
.modifier-selectors .item:hover, .modifier-selectors .active{border: 1px solid #ffd600; background: #fffcee;}
@media (hover: none) {
    .modifier-selectors .item:not(.active):hover{border: 1px solid #e5e5e5; background-color: #fff;}
}
.modifier-selectors .item::before{position: absolute; content: ""; display: none; background-color: #d9232e; width: 20px; height: 40px; -webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); top: -15px; right: -10px;}
.modifier-selectors .item::after{position: absolute; content: ""; display: none; border-right: 1px solid #fff; border-bottom: 1px solid #fff; width: 4px; height: 8px; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); top: 0; right: 3px;}
.modifier-selectors .active::before, .modifier-selectors .active::after{display: block;}

/* Skeleton loading */
.xt-skeleton {width: 100%; height: 50px;}
.xt-skeleton .line {height: 16px; margin-top: 25px; border-radius: 6px; background-image: linear-gradient(90deg, #f4f4f4 0px, rgba(229, 229, 229, 0.9) 40px, #f4f4f4 80px); background-size: 25%; animation: shineLines 25s infinite ease-out;}
.xt-skeleton .line ~ .line {background-color: #ddd;}
@keyframes shineLines {0% {background-position: -100px;} 40%, 100% {background-position: 100%;}}
@keyframes shineCover {0% {background-position: -32px;} 40%, 100% {background-position: 100%;}}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
    input[type="text"], input[type="number"], input[type="tel"], input[type="password"], textarea, select {
        font-size: 16px !important;
    }
    input::placeholder {font-size: 13px;}
}

@media screen and (max-width: 992px) {
    .product-category{justify-content: center !important;}
}

@media screen and (max-width: 768px) {
    .ticket-list-item{width: 33.33333%;}
    .txt-consulting-paid-wrapper .dropdown{padding-right: 5px;}
}

@media screen and (max-width: 650px) {
    .ticket-list-item{width: 50%;}
}

@media screen and (max-width: 640px){
	.product-category .btn-detail{margin-left: 3px; margin-right: 3px; width: 80px;}
	.product-category .image{width: 55px; height: 55px;}
}

@media screen and (max-width: 500px) {
    .ticket-list-item{width: 100%;}
}

@media screen and (max-width: 400px){
	.modifier-selectors .item{font-size: 13px;}
}
