@font-face {
    font-family: 'Farsi' ;
    font-style: normal;
    font-weight: 300;
    src: url("../webfonts/stedad/Estedad-Regular.woff2") format("woff2"),
    url("../webfonts/stedad/Estedad-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --kt-card-color:var(--kt-text-gray-800) !important;
}

html,body {
    font-family: Farsi ;
    font-style: normal;
    direction: rtl !important;
    font-size: small!important;
}

.tooltip-inner{
    font-family: Farsi !important; ;
}

.form-check-input {
    cursor: pointer !important;
}


.form-floating label {
    padding-left: 1.5rem ;
}

td .form-floating label {
    padding-left: 0.5rem!important; ;
}

/*.main-menu-swiper i {
    color: white!important;
}*/

/*horizontal*/
.horizontalKanbanScroll::-webkit-scrollbar {
    height: 25px;
    cursor: pointer !important;
}
.horizontalKanbanScroll::-webkit-scrollbar-track {
    background-color: transparent;
    cursor: pointer !important;
}
.horizontalKanbanScroll::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 10px;
    border: 6px solid transparent;
    background-clip: content-box;
    cursor: pointer !important;
}

.request-kanban .kanban-item {
    cursor: pointer !important;
}

.selected-menu-parent {
    color: #0a6aa1 !important;
}

.selected-menu i {
    color: var(--kt-primary) !important;
}

th {
    cursor: pointer!important;
}

.menu-item-hover:hover{
    background: #f5f8fa !important;
    border-radius: 0.475rem;
}

.selected-menu-parent:hover{
    background: #f5f8fa !important;
}
 .bg-hovered {
     background: #f5f8fa !important;
 }

.editor-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 800px) {

    .hide-bg-sm {
        background-image: unset !important;
    }

    .table.dataTable {
        width: 300% !important;
    }
}

.timeline-label::before {
    right: 67px!important;
 }

.timeline-label .timeline-badge {
    margin-right: 0.7rem !important;
}

.has-action {
    position: relative;
}

.has-action:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0077b5;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -5px;
}

.dtrg-group {
    text-align: center;
    background: var(--kt-dark-light) !important;
}

thead {
    font-weight: 600 !important;
}

@media (max-width: 1550px) and (min-width:1300px) {

    .dataTable {
        font-size: 12px !important;
    }
}

.dataTables_empty {
    text-align: center;
    padding: 30px !important;
    background: var(--bs-gray-100) !important;
    border-radius: 4px;
}

.form-check-custom .form-check-label {
    margin-right: .55rem !important;
}

.over-content {
    position: absolute;
    bottom: 0;
    z-index: 999;
    width: 100%;
    background-color: rgba(3, 3, 3, 0.49);
    color: #fff;
}

.hover-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    display: none;
    color: rgb(255, 255, 255);
}

.c-pointer,
.input-sm {
    cursor: pointer !important;
}

.collection-image-selected {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #7fffd4b0;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

.englishOnly {
    direction: ltr !important;
}


.englishOnly.form-control:focus ~ label,
.englishOnly.form-floating > .englishOnly.form-control:not(:placeholder-shown) ~ label,
.englishOnly.form-floating > .form-control-plaintext ~ label,
.englishOnly.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: translateY(-0.7rem) !important;
    font-size: 0.9rem;
}

.input-hint {
    padding-left: calc(1.5em + 1.55rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%2350cd89'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%2350cd89' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.3875rem) center;
    background-size: calc(0.75em + 0.775rem) calc(0.75em + 0.775rem);
}

.englishOnly.input-hint {
    padding-right: calc(1.5em + 1.55rem) !important;
    background-position: right calc(0.375em + 0.3875rem) center !important;
}

.englishOnly.form-floating label {
    padding-right: 1.5rem ;
}

td .englishOnly.form-floating label {
    padding-right: 0.5rem!important; ;
}

td.action button {
    margin-left: 0.15rem !important;
    margin-right: 0.15rem !important;
}

td.action a {
    margin-left: 0.15rem !important;
    margin-right: 0.15rem !important;
}

#toastr-container > div {
    width: 100% !important;
}

#toastr-container > .toastr-error {
    background-image : unset !important;
}

.dataTables_length,.dataTables_paginate,.dataTables_info {
    margin-top: 5rem !important;
}






.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 10px; padding-right: 10px }
.dd-collapsed .dd-list { display: none; }



.dd-handle:hover {
    color: var(--kt-primary);
    background: #fff;
    cursor: move !important;
}

.dd-item > button {
    display: none;
}

.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }

.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
    box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

/**
 * Nestable Extras
 */

.nestable-lists { display: block; clear: both; padding: 30px 0; width: 100%; border: 0; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; }

.dd-hover > .dd-handle { background: #2ea8e5 !important; }

/**
 * Nestable Draggable Handles
 */

.dd3-content { display: block; height: 30px; margin: 5px 0; padding: 5px 10px 5px 40px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd3-content:hover { color: #2ea8e5; background: #fff; }

.dd-dragel > .dd3-item > .dd3-content { margin: 0; }

.dd3-item > button { margin-left: 30px; }

.dd3-handle { position: absolute; margin: 0; left: 0; top: 0; cursor: pointer; width: 30px; text-indent: 100%; white-space: nowrap; overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:    -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:         linear-gradient(top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 3px; width: 100%; text-align: center; text-indent: 0; color: #fff; font-size: 20px; font-weight: normal; }
.dd3-handle:hover { background: #ddd; }

/**
 * Socialite
 */

.socialite { display: block; float: left; height: 35px; }


table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover, table.dataTable thead > tr > td.dt-orderable-asc:hover, table.dataTable thead > tr > td.dt-orderable-desc:hover {
    outline: 1px solid rgba(0, 0, 0, 0.05) !important;
    outline-offset: -2px;
    border-radius: 4px !important;
}

.dt-info {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.dt-processing {
    opacity:0 !important; ;
}

.tbl-row-reorder .selectable {
    cursor: move !important;
}


.nav-item .active {
    --kt-bg-rgb-color: var(--kt-primary-rgb);
    background-color: rgba(0, 96, 100, 0.73) !important;
    color: white !important;
}

.nav-item.active.tab-colse {
    color: white !important;
}
