@import url(font/css/fontiran.css);

/* ---------- elements ---------- */

body {
    position: relative;
    font-family: iranyekan, 'Roboto', tahoma;
    line-height: 1.8;
    color: #555767;
    text-align: right;
    background-color: #F6F7FB;
    font-size: 0.9rem;
    word-spacing: -0.1rem;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

h1,
.h1 {
    font-size: 1.9rem;
    line-height: 2.8rem;
}

h2,
.h2 {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

h3,
.h3 {
    font-size: 1.19rem;
    line-height: 2rem;
}

h4,
.h4 {
    font-size: 1.1rem;
    line-height: 1.9;
}

h5,
.h5 {
    font-size: 1.05rem;
    line-height: 1.8;
}

h6,
.h6 {
    font-size: 0.95rem;
    line-height: 1.8;
}

.display-5 {
    font-size: 0.85rem;
    line-height: 1.8;
}

.display-default {
    font-size: 0.9rem;
    line-height: 1.8;
}

.lazy {
    transition: all 0.5s;
}

ul,
li {
    list-style-type: none;
    padding: 0;
}

hr {
    border-color: #e6ecf5;
    margin: 0;
}

img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: auto;
    font-size: 0.7rem;
}

li img,
h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
p img,
button img,
span img {
    display: inline;
    font-size: 5px;
}

/* -------- classes ------- */

.whole:before,
.whole:after {
    display: table;
    content: " ";
}

.whole:after {
    clear: both;
}

.eng {
    font-family: 'Roboto', sans-serif;
    direction: ltr;
}

.ltr {
    direction: ltr !important;
}

.rtl {
    direction: rtl !important;
}

.overflow-hidden {
    overflow: hidden;
}

.col-mb {
    margin-bottom: 30px;
}

.break-col-padding {
    margin-left: -15px;
    margin-right: -15px;
}

.h-100vh {
    min-height: 100vh;
}

.dropdown-box {
    background-color: #fff;
    width: 160px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    max-width: 80vw;
}

.dropdown-box li {
    line-height: 30px;
    border-bottom: 1px solid #eee;
    background-color: transparent;
}

/* form */
.form-control,
.custom-select,
.input-group-text {
    border: 1px solid #e6ecf5;
    font-size: 0.9rem;
    color: #7e8195;
}

custom-file-input {
    color: #7e8195;
}

.custom-file-label {
    border: 1px solid #e6ecf5;
}

.custom-file-label::after {
    left: 0;
    right: auto;
    border-right: 1px solid #e6ecf5;
    border-left: 0px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
}

.form-control:focus,
.custom-select:focus,
.input-group-text:focus,
.custom-file-input:focus ~ .custom-file-label {
    color: #495057;
    background-color: #fff;
    border-color: #0f9aee;
    outline: 0;
    box-shadow: 0 0 1px 1px #0f9aee;
}

.custom-select.is-valid:focus,
.form-control.is-valid:focus,
.was-validated .custom-select:valid:focus,
.was-validated .form-control:valid:focus {
    border-color: #0f9aee;
    box-shadow: 0 0 1px 1px #0f9aee;
}

.custom-select.is-valid,
.form-control.is-valid,
.was-validated
.custom-select:valid,
.was-validated .form-control:valid {
    border-color: #e6ecf5;
    box-shadow: 0 0 0px 0px rgba(230, 236, 245, 0);
}

.custom-file-input:focus ~ .custom-file-label::after {
    border-color: #0f9aee;
}

.form-group button {
    margin-top: 33px;
}

.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
    border-color: #ff3c7e;
}

.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated
.custom-select:invalid:focus,
.custom-select.is-invalid:focus {
    border-color: #ff3c7e;
    box-shadow: 0 0 1px 1px #ff3c7e;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child), .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 0;
    padding-right: 1.5rem;
}

.custom-control-label::before {
    margin-top: 1px;
    right: -1.5rem;
    left: auto;
}

.custom-control-label::after {
    margin-top: 1px;
    right: -1.5rem;
    left: auto;
}

/* thumb-size */
.thumb-size-logo {
    max-height: 60px;
}

/* text color */

.text-danger {
    color: #ff3c7e !important;
}

a.text-danger:hover, a.text-danger:focus {
    color: #ff3c7e !important;
}

.text-info,
.text-hover-info:hover {
    color: #0f9aee !important;
}

a.text-info:hover, a.text-info:focus {
    color: #3773ee !important;
}

.text-primary {
    color: #7774e7 !important;
}

.text-success {
    color: #37c936 !important;
}

a.text-success:hover, a.text-success:focus {
    color: #37a936 !important;
}

.text-dark,
.text-hover-dark:hover {
    color: #4a4d62 !important;
}

.text-warning {
    color: #ffc353 !important;
}

a.text-warning:hover, a.text-warning:focus {
    color: #ffc353 !important;
}

.badge-warning {
    color: #212529;
    background-color: #ffc353;
}

.badge-warning[href]:hover, .badge-warning[href]:focus {
    color: #212529;
    text-decoration: none;
    background-color: #ffc353;
}

/* bg */

.bg-primary {
    background-color: #7774e7 !important;
    color: #fff;
}

.bg-success {
    background-color: #37c936 !important;
    color: #fff;
}

.bg-danger {
    background-color: #ff3c7e !important;
    color: #fff;
}

.bg-info {
    background-color: #0f9aee !important;
    color: #fff;
}

.bg-warning {
    background-color: #ffc353 !important;
    color: #231f20;
}

.bg-secondary {
    background-color: #e6ecf5 !important;
}

/* breadcrumb */
.breadcrumb {
    background: transparent;
    font-size: 0.8rem;
    color: #555;
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-item {
    color: #555;
    transition: all 0.5s;
}

.breadcrumb-item:hover {
    color: #0f9aee;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
    padding-right: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0;
    padding-left: 0.5rem;
    color: #7e8195;
    content: "/";
}

.breadcrumb-item.active {
    color: #7e8195;
}

/* pagination */
.pagination {
    justify-content: center;
    margin: 0;
    direction: ltr;
}

.page-link {
    color: #7774e7;
    border-color: #e6ecf5;
    transition: all 0.5s;
    font-size: 1rem;
    font-weight: bold;
}

.page-link:hover {
    z-index: 2;
    color: #7774e7;
    text-decoration: none;
    background-color: #e6ecf5;
    border-color: #e6ecf5;
}

.page-link:focus {
    box-shadow: 0 0 0 0rem rgba(0, 123, 255, 0.25);
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #7774e7;
    border-color: #7774e7;
}

.page-item.disabled .page-link {
    color: #7e8195;
    border-color: #e6ecf5;
}

/* border */
.border,
.border-top,
.border-right,
.border-bottom,
.border-left {
    border-color: #e6ecf5 !important;
}

.border-dark {
    border-color: #000 !important;
}

.border-2px {
    border-width: 2px !important;
}

/* table */
.table {
    border-color: #e6ecf5 !important;
}

.table th,
.table td,
.table thead th,
.table tbody + tbody,
.table-bordered,
.table-bordered td {
    border-color: #e6ecf5;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #F6F7FB;
}

/* mdi */
.mdi {
    position: relative;
}

.top-1 {
    top: 0.1rem;
}

.top-2 {
    top: 0.15rem;
}

.top-3 {
    top: 0.25rem;
}

.top-4 {
    top: 0.3rem;
}

.mdi-80px {
    font-size: 60px;
}

/* count */
.count {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff;
    background-color: #ff3c7e;
    height: 20px;
    min-width: 20px;
    line-height: 20px;
    border-radius: 50%;
    padding-right: 3px;
    padding-left: 3px;
    text-align: center;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

/* btn */
.btn {
    font-size: 0.9rem;
    padding-top: 0.4rem;
    padding-bottom: 0.57rem;
    font-weight: bold;
}

.btn.rounded {
    border-radius: 20px !important;
}

.btn-sm {
    font-size: 0.8rem;
    padding-top: 0.10rem;
    padding-bottom: 0.28rem;
}

.btn-primary {
    color: #fff;
    background-color: #7774e7;
    border-color: #7774e7;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #fff;
    background-color: #8c8aeb;
    border-color: #8c8aeb;
}

.btn-warning {
    background-color: #fed166;
    border-color: #fed166;
    color: #000000;
}

.btn-warning:active,
.btn-warning:focus,
.btn-warning:hover {
    background-color: #fec353;
    border-color: #fec353;
    color: #000000;
}

.btn-success {
    color: #fff;
    background-color: #37c936;
    border-color: #37c936;
}

.btn-success:active,
.btn-success:focus,
.btn-success:hover {
    color: #fff;
    background-color: #4bce4a;
    border-color: #4bce4a;
}

.btn-info {
    color: #fff;
    background-color: #0f9aee;
    border-color: #0f9aee;
}

.btn-info:active,
.btn-info:focus,
.btn-info:hover {
    color: #fff;
    background-color: #25a4f1;
    border-color: #25a4f1;
}

.btn-danger {
    color: #ffffff;
    background-color: #ff3c7e;
    border-color: #ff3c7e;
}

.btn-danger:hover,
.btn-danger:focus {
    color: #ffffff;
    background-color: #ff568f;
    border-color: #ff568f;
}

.btn-light {
    background-color: #eee;
    border-color: #eee;
}

.btn-light:hover {
    background-color: #eaeaea;
    border-color: #eaeaea;
}

.btn:focus,
.bt-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0);
}

.btn .mdi {
    line-height: 1;
}

/* header */
header {
    background-color: #fff;
    color: #7e8195;
    height: 50px;
}

#top-nav {
    background-color: #fff;
}

#top-nav .nav {
    margin: 0;
    padding: 0;
    padding-top: 5px;
    height: 50px;
}

#top-nav .nav-item {
    position: relative;
    height: 40px;
}

#top-nav .nav > .nav-item > .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 40px;
}

#top-nav .notifications {
    position: absolute;
    right: 10px;
    top: 52px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s 0.2s;
}

#top-nav .notifications.active {
    opacity: 1;
    visibility: visible;
}

#top-nav .user-menu {
    position: relative;
    height: 50px;
    padding-top: 7px;
    padding-right: 15px;
    padding-left: 15px;
}

#top-nav .user-menu > a {
    height: 36px;
    width: 36px;
    line-height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-nav .user-menu img {
    height: 36px;
    max-width: none;
}

.user-menu .dropdown-box {
    position: absolute;
    left: 2px;
    top: 56px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s 0.2s;
}

#top-nav > .d-md-none .user-menu .dropdown-box {
    top: 42px;
}

.user-menu:hover .dropdown-box,
.user-menu .dropdown-box.active {
    opacity: 1;
    visibility: visible;
}

.logo {
    width: 185px;
    border-left: 1px solid #e6ecf5;
    padding-top: 5px;
    height: 50px;
}

#side-menu-btn {
    margin-top: 3px;
}

/* side menu */
#side-menu {
    position: fixed;
    max-width: 100%;
    width: 200px;
    top: 51px;
    right: 0px;
    bottom: 0px;
    background-color: #fff;
    border-left: 1px solid #e6ecf5;
    overflow: hidden;
    color: #888da8;
    font-size: 0.85rem;
    word-spacing: -0.15rem;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    transition: all 0.5s;
    z-index: 1030;
}

#side-menu.active {
    right: 0px;
}

#side-menu li {
    position: relative;
    padding: 5px;
    transition: all 0.5s;
}

#side-menu li a {
    cursor: pointer;
}

#side-menu li.active,
#side-menu li.current-page {
    color: #515365;
}

#side-menu li.by-dropdown::before {
    position: absolute;
    content: "\f141";
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    height: 18px;
    width: 18px;
    top: 5px;
    left: 10px;
    transition: all 0.5s;
}

#side-menu li.by-dropdown.active::before,
#side-menu li.by-dropdown.current-page::before {
    transform: rotate(-90deg);
    top: 10px;
}

#side-menu a {
    position: relative;
    display: block;
    padding-right: 30px;
    padding-left: 15px;
    line-height: 30px;
}

#side-menu a > .mdi {
    position: absolute;
    width: 18px;
    right: 5px;
}

#side-menu .sub-menu {
    font-size: 0.8rem;
    color: #727793;
    display: none;
}

#side-menu li.by-dropdown.active .sub-menu,
#side-menu li.by-dropdown.current-page .sub-menu {
    display: block;
    color: #515365;
}

#side-menu .sub-menu a {
    line-height: 20px;
    padding-right: 25px;
}

#side-menu.mCS-dir-rtl > .mCSB_outside + .mCS-minimal.mCSB_scrollTools_vertical,
#side-menu.mCS-dir-rtl > .mCSB_outside + .mCS-minimal-dark.mCSB_scrollTools_vertical {
    right: 0;
    left: auto;
}

/* page-body */
#page-body {
    padding-right: 215px;
}

/* box */
.box {
    position: relative;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

.box-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 9;
    background: rgba(232, 232, 232, 0.7);
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auto-complete-box {
    position: absolute;
    top: -2px;
    left: -1px;
    right: -1px;
    z-index: 10;
    border: 2px solid #0f9aee;
    border-top-width: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 2px 3px rgba(17, 17, 17, 0.15);
    overflow: hidden;
}

.auto-complete-box li {
    padding: 0.5rem;
    border-top: 1px solid #e6ecf5;
    cursor: pointer;
}

footer {
    height: 35px;
    background-color: #F6F7FB;
}

/*********** media query ************/

/* Larg devices and smaller devices */
@media (max-width: 1199.98px) {
}

/* Medium devices and smaller devices */
@media (max-width: 991.98px) {
}

/* Small devices and smaller device */
@media (max-width: 767.98px) {

    header {
        height: 100px;
    }

    #page-body {
        padding-right: 15px;
    }

    .logo {
        padding-top: 5px;
        height: 40px;
        width: auto;
        font-size: 16px;
        border-left-width: 0px;
    }

    #side-menu {
        right: -200px;
        top: 100px;
    }

    #top-nav .nav {
        padding: 0;
        height: 40px;
    }

    #top-nav .company-profile img {
        margin-top: -9px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .nav-link {
        display: block;
        padding: .5rem 0.75rem;
    }

    .count {
        right: 5px;
    }
}
