@font-face {
    font-family: 'mainFont';
    src: url('fonts/Vazir.eot?#') format('eot'), /* IE6–۸ */ url('fonts/Vazir.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('fonts/Vazir.ttf') format('truetype');  /* Saf3—۵, Chrome4+, FF3.5, Opera 10+ */
}

html {
    font-family: mainFont, serif;
}

body {
    text-align: right;
    font-family: mainFont, serif;
}

.sidebar .nav-item .nav-link {
    text-align: right;
}

.sidebar .nav-item .nav-link[data-toggle="collapse"]::after {
    float: left;
    content: '\f107';
}

.sidebar .nav-item .nav-link[data-toggle="collapse"].collapsed::after {
    content: '\f104';
}



.topbar .dropdown .dropdown-menu {
    text-align: right;
}

.sidebar .nav-item .nav-link i {
    margin: 5px 0 0 5px;
}

.sidebar-heading {
    text-align: right;
    font-size: 12px;
    color: white;
}


.modal {
    direction: rtl;
}


#flex-menu {
    direction: rtl;
    padding: 0;
}

#flex-menu ul {
    list-style: none;
    margin: 0;
    padding: 1px;

    background: white;
}

#flex-menu ul li ul li {
    padding: 5px 10px;
    background: #f1f1f1;
    margin: 2px 0;
    cursor: pointer;
}

#flex-menu ul li ul li:hover {
    background: #fAfAfA;
}

#flex-menu a {
    text-decoration: none;
    width: 100%;
}

#flex-menu a:hover {
    color: #0d6aad;
}


#flex-menu ul .title {
    background: #447641;
    color: white;
    border-radius: 5px;
    padding: 7px;
    margin: 1px 0;
    cursor: pointer;

}

.modal .modal-header {
    display: unset;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    /*color: #ca2819;*/
    color: white;
    background: #1cc88a;
}

.card-header {
    text-align: center;
    color: #be2222;
}

th {
    text-align: center;
    color: #ca2819;
}

.modal-content {
    border: 0;
}


input[type=radio] {
    width: 15px;
    height: 15px;
}



.page-item:last-child .page-link {
    margin-left: 0;
    border-top-left-radius: .35rem;
    border-bottom-left-radius: .35rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.page-item:first-child .page-link {
    border-top-right-radius: .35rem;
    border-bottom-right-radius: .35rem;
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

}


.btn-purple {
    color: #ffffff;
    background-color: #479ef4;
    border-color: #F45c47;
}

.btn-purple:hover {
    color: #f1f1f1;
}


.text-purple {
    color: #8b0c8b;
}

.sidebar .sidebar-brand{
    margin: 10px;
}

input {
    text-align: center;
}
