@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/Bakh/woff/YekanBakh-Thin.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-thin.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Bakh/woff/YekanBakh-Light.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-Light.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/Bakh/woff/YekanBakh-Regular.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-Regular.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Bakh/woff/YekanBakh-SemiBold.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/Bakh/woff/YekanBakh-Bold.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-Bold.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Bakh/woff/YekanBakh-ExtraBold.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/Bakh/woff/YekanBakh-Black.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-Black.woff2') format('woff2');
}

@font-face {
    font-family: Yekan Bakh;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/Bakh/woff/YekanBakh-ExtraBlack.woff') format('woff'),
    url('../fonts/Bakh/woff2/YekanBakh-ExtraBlack.woff2') format('woff2');
}

:root {
    --bs-font-sans-serif: "Yekan Bakh";
    --bs-primary: #046776;
    --bs-primary-active: #046776;
    --bs-text-primary: #046776;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

body, html, h1, h2, h3, h4, h5, h6 {
    font-family: "Yekan Bakh", serif;
}

@media (min-width: 992px) {
    .admin-bar[data-kt-app-header-fixed=true] .app-header, .admin-bar[data-kt-app-header-fixed=true] .app-sidebar {
        top: 32px !important;
    }

    .admin-bar[data-kt-app-header-sticky=on] .app-header, .admin-bar[data-kt-app-header-sticky=on] .app-sidebar {
        top: 32px !important;
    }
}

@media (max-width: 991.98px) {
    .admin-bar[data-kt-app-header-fixed-mobile=true] .app-header, .admin-bar[data-kt-app-header-fixed-mobile=true] .app-sidebar {
        top: 32px !important;
    }

    .admin-bar[data-kt-app-header-sticky=on] .app-header, .admin-bar[data-kt-app-header-sticky=on] .app-sidebar {
        top: 32px !important;
    }
}

.admin-bar .drawer {
    /*top: 32px;*/
}

/* icons */
.ki-black-left:before {
    content: "\e9f9"
}

.ki-black-right:before {
    content: "\e9f6"
}

.ki-arrow-left .path2::before {
    right: -5px;
    left: auto;
}

.ki-briefcase .path2::before {
    right: 0;
    left: auto;
}

.ki-badge .path2::before, .ki-badge .path3::before, .ki-badge .path4::before, .ki-badge .path5::before {
    right: 0;
    left: auto;
}

.ki-row-vertical .path2::before {
    left: auto;
    right: 0;
}

/* icons */

/* select2 */
.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected::after {
    right: auto;
    left: 1.25rem;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice {
    margin-right: 0;
    margin-left: .5rem;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    left: 7px;
}

.select2-container--bootstrap5 .select2-selection__clear {
    right: auto;
    left: 3rem;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results > .select2-results__options {
    max-height: 310px;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option {
    text-align: right;
}

/* select2 */

/* metronic */
.tooltip {
    --bs-tooltip-max-width: 300px;
}

.app-header {
    background-color: var(--bs-app-header-minimize-bg-color);
}

/* metronic */

/* custom metronic */
.form-control:read-only {
    color: var(--bs-gray-500);
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-300);
    opacity: 1;
}

.dashboart-segments-count.blockui .blockui-overlay {
    background-color: rgba(255, 255, 255, 0.7);
}

/* custom metronic */

/* custom */
.dashboart-input-unit::after {
    content: attr(data-unit);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}


/* custom */

/* date picker */
.ndk-rfm-datepicker-calendar .daterangepicker::before,
.ndk-rfm-datepicker-calendar .daterangepicker::after {
    display: none;
}

.ndk-rfm-datepicker-calendar .daterangepicker {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    width: 100%;
    margin-top: 0;
    border: none;
    box-shadow: none;
    background-color: var(--bs-app-bg-color);
}

.daterangepicker .drp-calendar .calendar-table {
    background: var(--bs-app-bg-color);
    border-color: var(--bs-app-bg-color);
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
    border-color: var(--bs-text-gray-800) !important;
}

.ndk-rfm-datepicker-calendar .daterangepicker .drp-calendar {
    max-width: 100%;
    flex: 1;
}

.ndk-rfm-datepicker-calendar.is-compare {
    display: none;
}

.ndk-rfm-datepicker-calendar .daterangepicker td.active:not(.off), .ndk-rfm-datepicker-calendar .daterangepicker td.active:not(.off):hover {
    background-color: var(--user-main);
}

.ndk-rfm-datepicker-calendar .daterangepicker td.in-range:not(.active) {
    background-color: var(--user-main-opa);
}

.ndk-rfm-datepicker-calendar.is-compare .daterangepicker td.active, .ndk-rfm-datepicker-calendar.is-compare .daterangepicker td.active:hover {
    background-color: var(--user-compare);;
}

.ndk-rfm-datepicker-calendar.is-compare .daterangepicker td.in-range:not(.active) {
    background-color: var(--user-compare-opa);
}

.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
    background-color: transparent !important;
}

/* date picker */


/* rfm */
.ndk-dash-rfm-segment-compare {
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    padding: 2px 8px;
    direction: ltr;
    display: flex;
    align-items: center;
}

.segment-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
}

.ndk-dash-rfm-segment-tooltip {
    position: absolute;
    top: 30%;
    background-color: rgba(22, 23, 38, 0.9);
    width: 100%;
    z-index: 2;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.ndk-dash-rfm-transition-tooltip {
    font-weight: 300;
    width: 250px;
    white-space: normal;
}

.ndk-dash-rfm-segment:hover .ndk-dash-rfm-segment-tooltip {
    visibility: visible;
    opacity: 1;
}

.ndk-dash-rfm-segment-tooltip-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ndk-dash-rfm-segment-tooltip p, .ndk-dash-rfm-transition-tooltip p {
    font-size: 12px;
    font-weight: 300;
}

.ndk-dash-rfm-segment-tooltip ul, .ndk-dash-rfm-transition-tooltip ul {
    margin: 0;
    padding-right: 0;
    border-top: 1px solid #3e3d3d;
    padding-top: 10px;
}

.ndk-dash-rfm-segment-tooltip ul + ul {
    margin-top: 10px;
}

.ndk-dash-rfm-transition-tooltip ul.segment-transitions {
    margin-top: 10px;
}

.ndk-dash-rfm-segment-tooltip li, .ndk-dash-rfm-transition-tooltip li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ndk-dash-rfm-segment-tooltip li:last-of-type, .ndk-dash-rfm-transition-tooltip li:last-of-type {
    margin-bottom: 0;
}

.segment-date {
    opacity: 0.5;
}

.trends-bullet {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 3px;
    border-radius: 1px;
}

.trends-bullet.is-dash::before {
    content: '';
    position: absolute;
    right: calc(50% - 3px);
    background-color: var(--bs-app-bg-color);
    height: 8px;
    width: 6px;
    top: -2px;
}

.ndk-table-show-next {
    cursor: pointer;
}

.ndk-table-show-next.is-active i {
    transform: rotate(-90deg);
}

/* rfm */


.ndk-retention-table td small {
    opacity: 0.7;
}

.ndk-dash-empty-box {
    height: 100%;
}
