.ltr{
    direction: ltr !important;
    text-align: left !important;
}
.rtl{
    direction: rtl !important;
    text-align: right !important;
}
.form-switch .form-check-input {
    height: 3em !important;
    width: 6em !important;
}
.navbar-nav {
    display: -webkit-inline-box;
}
body{font-family: "iranyekan" !important;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{font-family: "iranyekan" !important}
.topnav { background: #ffffff !important; }
.content-page { margin-top: 30px !important; }
.topnav .navbar-nav .nav-link{
    font-size: 12px !important;
}
#admin-menu{
    height: 60vh;
    overflow-y: scroll;
}
/* Scrollbar */
/* width */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar:hover {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #72000e40;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #72000E;
}
/* End Scrollbar */
.color-sarak {
    color: #72000E !important;
}
.bg-sarak {
    background-color: #72000E !important;
}
.btn-sarak {
    background-color: #72000E !important;
    color: #ffffff !important;
    border-color: #72000E !important;
}
.btn-outline-sarak {
    background-color: #ffffff !important;
    color: #72000E !important;
    border-color: #72000E !important;
}
.bg-soft-sarak{
    background-color: #72000e40 !important;
}
.text-sarak {
    color: #72000E !important;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover {
    color: #72000E !important;
    text-decoration: none;
    background-color: #72000e40 !important;
}
.topnav .dropdown:hover>.dropdown-menu>.dropdown:hover>.dropdown-item {
    color: #72000E;
}
.table-bordered {
    border: 1px solid #434343 !important;
}
.tox.tox-tinymce {
    border-color: #434343;
}
/* custom-scrollbar-wrapper */
.custom-scrollbar-wrapper {
    position: relative;
    width: 100%;
}

/* تنظیم scroll-y داخل wrapper */
.custom-scrollbar-wrapper .table-responsive {
    overflow-y: hidden;
    max-height: none;
}

/* اضافه کردن scroll-x با overflow-x:auto */
.custom-scrollbar-wrapper .table-responsive::-webkit-scrollbar {
    height: 12px; /* ارتفاع نوار افقی */
    background: transparent;
}

/* استایل نوار اسکرول افقی */
.custom-scrollbar-wrapper .table-responsive::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
}

/* فیکس نوار اسکرول در پایین صفحه */
@media (min-width: 768px) {
    .custom-scrollbar-wrapper::after {
        content: '';
        display: block;
        height: 12px;
        background: transparent;
        position: fixed;
        bottom: 300px;
        left: 0;
        right: 0;
        z-index: 9999;
        pointer-events: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .custom-scrollbar-wrapper::after::-webkit-scrollbar {
        height: 12px;
        background: transparent;
    }

    .custom-scrollbar-wrapper::after::-webkit-scrollbar-thumb {
        background: #303030;
        border-radius: 6px;
        border: 3px solid transparent;
        background-clip: content-box;
    }
}
.select2-results__option[aria-selected=true]{
    background-color: #e7e7e7 !important;
    color: #008994 !important;
}
