﻿.text-inherit {
    color: inherit !important;
}

.invalid-feedback {
    margin-top: 0;
}

/*valid form*/
.fv-plugins-message-container {
    margin-top: 0;
}

.flatpickr-day.today {
    color: var(--bs-danger);
}

.flex-flow-nowrap {
    flex-flow: nowrap;
}

/*ẩn icon sort datatable*/
table.dataTable > thead .sorting_asc:after {
    display: none !important;
}

.badge-light-orange {
    color: #ff8535;
    background-color: #ffd7a04a;
}
[data-bs-theme=dark] .badge-light-orange {
    background-color: #875a1c4a;
}

.badge-light-pink {
    color: #ff29d1;
    background-color: #f7b2fb36;
}

[data-bs-theme=dark] .badge-light-pink {
    background-color: #9d3da336;
}

/*upload file*/
.dropzone.dropzone-queue .dropzone-item .dropzone-progress {
    width: 60px !important;
    min-width: 60px !important;
}

/*.dz-processing .dropzone-progress .progress .progress-bar {
    background: linear-gradient(to right, var(--bs-danger) 20%, var(--bs-warning) 40%, var(--bs-success) 60%, var(--bs-primary) 80%, var(--bs-info) 100%);
    background-size: 300% 100%;
    animation: animate-processing 2s linear infinite;
}

@keyframes animate-processing {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}*/

.dz-processing .dropzone-progress .progress .progress-bar {
    -webkit-animation-name: animate-processing;
    animation-name: animate-processing;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

@keyframes animate-processing {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

.dz-processing .dropzone-toolbar .dropzone-start {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.dz-processing .dropzone-toolbar .dropzone-delete {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.daterangepicker.show-calendar .ranges {
    height: auto !important;
}

.right-0 {
    right: 0;
}

.form-select {
    --bs-form-select-bg-img: none;
}

.card .card-header .card-title .select2-dropdown li {    
    font-size: small !important;
}

table.dataTable.cell-border > tbody > tr > th, table.dataTable.cell-border > tbody > tr > td {
    border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
table.dataTable.cell-border > tbody > tr > th:not(:last-child), table.dataTable.cell-border > tbody > tr > td:not(:last-child) {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

[data-kt-indicator=on] > .indicator-label {
    display: none !important;
}

.form-control:disabled {
    /*color: var(--bs-gray-500);*/
    background-color: var(--bs-gray-100);
}

.timeline {
    --bs-timeline-icon-size: 38px;
    --bs-timeline-icon-space: 0.35rem;
}

.timeline.timeline-border-dashed .timeline-line {
    border-left-style: dashed !important;
}

.timeline .timeline-line {
    display: block;
    content: " ";
    justify-content: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: var(--bs-timeline-icon-size);
    bottom: 0;
    transform: translate(50%);
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: var(--bs-gray-300);
    width: var(--bs-timeline-icon-size);
    margin-top: var(--bs-timeline-icon-space);
    margin-bottom: var(--bs-timeline-icon-space);
}

.timeline.timeline-border-dashed .timeline-icon {
    border-style: dashed !important;
}

.timeline .timeline-icon {
    z-index: 1;
    flex-shrink: 0;
    margin-right: 1rem;
    width: var(--bs-timeline-icon-size);
    height: var(--bs-timeline-icon-size);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-gray-300);
    border-radius: 50%;
}

.w-33 {
    width: 33.33%;
}

.select2.select2-container span.select2-selection {
    min-height: 43.56px;
}

/*.daterangepicker .applyBtn {
    display: none;
}*/