body {
    background: #fff !important;
    font-family: Vazirmatn, sans-serif !important;
    direction: rtl;
    text-align: right;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

#footer {
    background-image: linear-gradient(rgba(64, 79, 67, 0), rgba(64, 79, 67, 0), rgba(64, 79, 67, 1));
    background-color: #000f0c;
    color: #e0eca5;
    font-size: 0.7rem;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6, .page-title, .title, .header {
    font-family: Lalezar, Serif !important;
}

a {
    cursor: pointer;
}

.loading {
    display: inline-block;
    min-width: 24px;
    min-height: 24px;
    text-align: center;
    background: url(../img/loading.gif) no-repeat center center;
}

.custom-control-input:checked,
.custom-control-label::before {
    /*border-color: Green !important;*/
    /*background-color: Green !important;*/
}

.line-through {
    text-decoration: line-through;
    color: #b8bb85;
}

.my-bg-dark, .bg-dark {
    background-color: #404f43 !important;
}
.bg-none {
    background: none !important;
}
.border-none {
    border: none !important;
}

.my-text-dark, .text-dark {
    color: #404f43 !important;
}

.my-bg-light, .bg-light {
    background-color: #e0eca5 !important;
}

.my-text-light, .text-light {
    color: #bce709 !important;
}

.my-text-secondary {
    color: #cee957;
}

.my-bg-secondary-light {
    background-color: #cee957 !important;
}

.my-btn-dark {
    background-color: #404f43 !important;
    border-color: #404f43 !important;
    color: #e0eca5 !important;
}

.my-btn-outline-dark {
    background: none !important;
    border-color: #404f43 !important;
    color: #e0eca5 !important;
}

.my-btn-outline-dark:hover, .my-btn-outline-dark.active {
    background: #404f43 !important;
}

.my-btn-light {
    background-color: #cee957 !important;
    border-color: #cee957 !important;
    color: #404f43 !important;
}

.my-btn-light:hover, .my-btn-light.active {
    background-color: #e0eca5 !important;
}

.my-btn-outline-light {
    background: none !important;
    border-color: #cee957 !important;
    color: #404f43 !important;
}

.my-btn-outline-light:hover, .my-btn-outline-light.active {
    background: #cee957 !important;
}

a {
    color: #3a7a47;
}

a:hover {
    color: #404f43;
    font-weight: bold;
    text-decoration: none;
}

.none-decoration {
    text-decoration-thickness: 0;
}

/* Navbar Section */
div.navbar-top {
    margin: 0;
    padding: 1px;
}

a.navbar-link {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    color: #e0eca5;
}

a.navbar-link:hover, a.navbar-link.active {
    /*background: #73584f;*/
    color: #fffe9f;
}

.navbar-default, .navbar-dark {
    /*background-image: linear-gradient(#404f43, #4d8558);*/
    background-image: linear-gradient(rgba(64, 79, 67, 1), rgba(64, 79, 67, 1), rgba(64, 79, 67, 0));
    background-color: #000f0c;
    color: #bce709;
}

.navbar-dark .navbar-toggler {
    border: none;
}

div.form {
    padding: 10px;
    background: #eee;
}

div.form input, select {
    padding: 5px;
}

.header-logo {
    height: auto;
    margin: 30px auto 25px 20px;
}

.header-logo img {
    width: 120px;
}

.header-logo p {
    /*width: 120px;*/
    margin: 0 0 5px 5px;
    color: #effabb;
    font-size: 0.7rem;
    text-transform: capitalize;
}

/* End Navbar Section */
.modal-header .close {
    margin: -1rem auto -1rem -1rem;
}

/* dataTable classes */
table.dataTable thead th {
    text-align: right !important;
}

.dataTables_filter {
    text-align: left !important;
}

.dataTables_length {
    text-align: right !important;
}

.page-link {
    color: #3a7a47;
}

.page-link:hover {
    color: #404f43;
}

.paginate_button.active a.page-link {
    background-color: #404f43;
    color: #cee957;
    border-color: #404f43;
}

tr,td {
    text-align: right;
}

.page-item:first-child .page-link {
    border-radius: 0;
    margin-right: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.page-item:last-child .page-link {
    border-radius: 0;
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.page-item .page-link.active {
    background: #404f43;
    color: #cee957;
}