@font-face {
    font-family: IranSans;
    src: url(../font/IranSans.ttf);
}

* {
    font-family: IranSans;
}

.direction-rtl {
    direction: rtl !important;
}

.direction-ltr {
    direction: ltr !important;
}

.layout-fixed .main-sidebar {
    right: 0;
}

.brand-image {
    float: right;
}

.content-wrapper, .main-footer, .main-header {
    margin-left: 0px;
    margin-right: 250px;
}

.mr-auto-navbav {
    margin-right: auto !important;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}

[class*=icheck-] > input:first-child:checked + input[type=hidden] + label::after,
[class*=icheck-] > input:first-child:checked + label::after {
    right: 15px;
    left: auto;
}

.nav-sidebar .nav-link > .right,
.nav-sidebar .nav-link > p > .right {
    left: 1rem;
    right: auto;
}

    .nav-sidebar .nav-link > .right:nth-child(2),
    .nav-sidebar .nav-link > p > .right:nth-child(2) {
        left: 2.2rem;
        right: auto;
    }

.small-box .icon > i {
    left: 15px;
    right: auto;
}

.dropdown-menu {
    min-width: 300px;
}

.div-container {
    width: 100%;
    height: 100vh;
    background-color: #f4f6f9;
    direction: rtl;
    text-align: right;
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.card-title {
    float: right;
}

.txtLabel {
    font-size: 13px
}

.nav-item p {
    font-size: 13px
}

.lblValidation {
    color: red;
    font-size: 13px;
    width: 100%;
    float: right;
    margin: 10px 0;
}

.GetList-Table {
    font-size: 14px;
}

    .GetList-Table th {
        color: dimgray;
        font-weight: 100;
    }

.span-validation {
    color: red;
    font-size: 12px;
    float: right;
    margin-top: 10px;
}

.btn, button {
    font-size: 14px;
}

input[type="text"], input[type="checkbox"], p, textarea, select, form-group, .chb-title {
    font-size: 14px !important;
}
 
.form-group label {
    font-size: 12px;
    font-weight: 1 !important;
    color:darkgray
}

.form-control {
    text-align: center;
    overflow: hidden !important;
}

.form-control-rtl {
    text-align: right;
    overflow: hidden !important;
}

.form-control-ltr {
    text-align: left;
    overflow: hidden !important;
}



.form-group textarea {
    line-height: 30px;
     
}
 
#myCanvas {
    margin-top: -8px;
}

.text-validation-danger {
    color: red;
    font-size: 12px;
    text-align: right;
    float: right;
    direction: rtl;
    margin-top: -10px;
    margin-bottom: 10px;
    display: inline-block;
}

.login-box {
    margin-top: 20vh;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-19 {
    font-size: 19px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-21 {
    font-size: 21px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-23 {
    font-size: 23px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-26 {
    font-size: 26px !important;
}

.fs-27 {
    font-size: 27px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-29 {
    font-size: 29px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.select-item-success {
    border: 2px solid green;
}

.swal2-content {
    font-size: 14px
}

.c-p {
    cursor: pointer;
}

.text-abedi {
    color: #FC0394 !important;
}

.bg-abedi {
    background-color: #FC0394 !important;
}

.w-100 {
    width: 100%;
}

#example1 tr {
    font-size: 13px !important;
}

#example1 {
    text-align: center;
}

#example1_wrapper {
    font-size: 12px !important;
}

.nav-link p {
    font-size: 12px !important;
}

#iframemain {
    width: 100%;
    border: none;
    padding: 10px;
    background-color: #f4f6f9;
    min-height: calc(100vh - 125px);
    overflow: hidden;
}

.treeview-item {
    background-color: #45494c;
}

.sidebar-item a {
    color: white !important;
}

.sidebar-item li a {
    cursor: pointer !important;
}

    .sidebar-item li a i {
        font-size: 15px !important;
        color: whitesmoke !important;
    }

.min-width-th-actions {
    min-width: 200px;
}

.table-responsive {
    overflow-x: scroll;
}

.table-striped {
    min-width: 800px;
}

.reply-div {
    width: 100%;
    background-color: whitesmoke;
    padding: 7px;
    text-align: justify;
}

.side-reply-div {
}

.input-fileupload {
    width: 100%;
    margin-bottom: 20px;
    padding: 0.5em;
    border: 2px dashed #bbb;
    background-color: #fff;
    transition: border-color .25s ease-in-out;
    &::file-selector-button

{
    padding: 0.5em 1em;
    border-width: 0;
    background-color: lightgray;
    color: black;
    transition: all .25s ease-in-out;
    cursor: pointer;
    margin: 1em;
}

&:hover {
    border-color: dimgray;
    &::file-selector-button

{
    background-color: gray;
}

}
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem !important;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .main-sidebar, .main-sidebar::before {
        box-shadow: none !important;
        margin-right: -250px;
    }

    .content-wrapper, .content-wrapper::before, .main-footer, .main-footer::before, .main-header, .main-header::before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before {
        margin-right: 0;
    }
}

@media (max-width: 500px) {
    #example1_info {
        margin: 15px 0 !important;
    }
}

/* start page-loader*/
#page-loader {
    width: 100%;
    height: 100%;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    background-color: rgba(0,0,0,0.7);
}

.loader {
    --size: 20px;
    position: relative;
    top: calc(50% - calc(var(--size) * 5)/2);
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 10px; */
    gap: calc(var(--size) / 2);
    /* height: 100px; */
    height: calc(var(--size) * 5);
}

    .loader div {
        /* width: 20px; */
        width: var(--size);
        /* height: 20px; */
        height: var(--size);
        /* border-radius: 20px; */
        border-radius: var(--size);
        background-color: #ffd700;
        animation: wave 2s infinite ease-in-out;
    }

@keyframes wave {
    /* 0%, 100% {
    height: 20px;
    background-color: #ffd700;
  } */

    25% {
        /* height: 100px; */
        height: calc(var(--size) * 5);
        background-color: #fc00ff;
    }

    50% {
        /* height: 20px; */
        height: var(--size);
        background-color: #9c73f8;
    }
    /* 100% {
    height: 20px;
    background-color: #ffd700;
  } */
}

/* .loader :nth-child(1) {
  animation-delay: 0s;
} */

.loader :nth-child(2) {
    animation-delay: 0.2s;
}

.loader :nth-child(3) {
    animation-delay: 0.4s;
}

.loader :nth-child(4) {
    animation-delay: 0.6s;
}

.loader :nth-child(5) {
    animation-delay: 0.8s;
}
/* end page-loader*/

.show-details p{
    border-top : 1px solid lightgray;
    padding : 5px;
    border-radius:3px;
}