* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bahaji';
    list-style: none;
    text-decoration: none !important;
}

@font-face {
    font-family: 'material-icons';
    src: url(../fonts/material-icons.ttf) format("truetype");
}

@font-face {
    font-family: 'B Nazanin';
    src: url(../fonts/BNazanin.ttf);
}

@font-face {
    font-family: 'Calibri';
    src: url(../fonts/calibri.ttf);
}

@font-face {
    font-family: 'B Titr';
    src: url(../fonts/BTitr.ttf);
}

@font-face {
    font-family: 'iran_yekan';
    src: url(../fonts/iran_yekan.ttf);
}

@font-face {
    font-family: 'Bahaji';
    src: url(../fonts/Bahaji.ttf);
}

span.ico {
    font-family: 'material-icons' !important;
    user-select: none;
}

:root {
    /* --bg1: #4e73df; */
    /* --bg1: #203864; */
    --bg1: #0E1621;
    --wh: #fff;
    /* --lg: #feffff; */
    --lg: #f8f9fa;
}

body {
    direction: rtl !important;
    text-align: right;
    height: 100vh;
}

.btn {
    padding-bottom: 3px;
}

a:hover {
    text-decoration: none !important;
}

.pagination {
    width: 100%;
    justify-content: center !important;
    direction: ltr !important;
}

.dt-buttons {
    width: 50%;
    float: left;
    text-align: left;
}

.dataTables_filter {
    padding-top: 3px !important;
}

.dataTables_paginate {
    float: left;
}

.dataTables_paginate .pagination {
    text-align: left !important;
    justify-content: start !important;
}

.dataTables_info {
    float: right;
    text-align: right;
}

.dataTables_info,
.dataTables_paginate {
    width: 45% !important;
}

.dt-buttons .btn {
    margin: 0 3px;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 10px;
    color: var(--wh);
    background: var(--bg1);
    z-index: 5;
}

.top-nav #menu-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    color: var(--wh);
    transition: all .4s;
}

.top-nav #menu-btn.act {
    transform: rotate(360deg);
}

.top-nav #menu-btn:hover,
.top-nav .notif-icon .ico:hover {
    background: rgb(255, 255, 255, .3);
}

.top-nav .notif-icon {
    position: absolute;
    right: 260px;
}

.top-nav .notif-icon .ico {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    color: var(--wh);
    transition: all .4s;
}

.top-nav .notif-icon .badge {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px !important;
    padding: 3px 5px 1px 5px !important;
}

.top-nav .notif-box {
    position: absolute;
    top: 80px;
    right: 265px;
    width: 280px;
    background: var(--bg1);
    z-index: 6;
    opacity: 1;
    visibility: hidden;
    transition: all .4s;
}

.top-nav .notif-box::before {
    position: absolute;
    content: '';
    top: -8px;
    right: 4px;
    border-bottom: 8px solid var(--bg1);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    z-index: 1;
}

.top-nav .notif-box .close {
    cursor: pointer;
}

.top-nav .notif-box.act {
    top: 65px;
    visibility: visible;
    opacity: 1;
}

.top-nav .notif-box .card-body {
    max-height: 150px;
    overflow-y: auto;
}

.top-nav .notif-box .card-body .student {
    cursor: pointer;
}

.font-bt {
    font-family: 'B Titr';
}

.top-nav .logout-btn {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.top-nav .shortcuts {
    background: var(--bg1);
}

.top-nav .shortcuts li {
    display: inline-block;
}

.top-nav .shortcuts li a {
    border: 1.8px solid #feffff;
    border-radius: 35px;
    padding: 2px 15px;
    margin: 0 5px !important;
    transition: .4s;
}

.top-nav .shortcuts li a:hover {
    background: #596066;
}

.top-nav .sh-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: .4s;
    display: none;
}

.top-nav .sh-icon:hover {
    background: rgb(255, 255, 255, .1);
}

.side-bar {
    position: fixed;
    top: 55px;
    right: 0;
    width: 255px;
    height: 100%;
    transition: all .4s;
    background: var(--bg1);
    overflow-x: hidden;
    z-index: 5;
}

.side-bar::-webkit-scrollbar {
    display: none;
}

.side-bar.act {
    width: 55px;
}

.side-bar .user-profile {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100px;
    display: grid;
    place-items: center;
    background: var(--bg1) !important;
    transition: all .4s;
    z-index: 10;
}

.side-bar .user-profile.act {
    height: 60px;
}

.side-bar .user-profile.act a {
    padding-left: 0;
}

.side-bar .user-profile.act a span {
    display: none;
}

.side-bar .user-profile.act a img {
    width: 40px;
    height: 40px;
}

.side-bar .user-profile a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: var(--wh);
    font-size: 22px;
    padding-left: 20px;
}

.side-bar .user-profile a img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--wh);
    transition: all .4s;
}

.side-bar li a {
    position: relative;
    display: flex;
    width: 255px;
    height: 45px;
    align-items: center;
    color: var(--wh);
    transition: all .4s;
    font-size: 17px;
}

.side-bar li a::before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    border-left: 15px solid var(--lg);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    display: none;
}

.side-bar li a .ico {
    width: 55px;
    text-align: center;
    font-size: 24px;
}

.side-bar li a .ico.arr {
    position: absolute;
    left: 0;
    transition: .4s;
    font-size: 18px;
}

.side-bar li a .ico.arr.act {
    transform: rotate(90deg);
}

.side-bar .sub {
    display: none;
    margin-bottom: 0 !important;
    background: #16202e;
}

.side-bar .sub li a {
    font-size: 15px;
    height: 40px;
}

.side-bar .sub li a .ico {
    font-size: 14px;
}

.side-bar li a:hover {
    background: rgb(255, 255, 255, .1);
}

.side-bar li a:hover::before {
    display: block;
}

.bt-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    outline: none !important;
    border: none;
    z-index: 10;
}

.back-btn.r {
    right: 30px;
    border: none;
    outline: none
}

.container-fluid {
    padding: 70px 270px 15px 15px;
    transition: all .4s;
}

.edit-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
}

.container-fluid.act {
    padding: 70px 70px 0 15px;
}

.student-card {
    width: 300px;
    height: 400px;
    position: relative;
    border: 3px solid var(--bg1);
    overflow: hidden;
    text-align: center;
    /* overflow: hidden; */
}

.student-photo-input {
    position: relative;
}

.student-photo-input::before {
    position: absolute;
    content: attr(data-text);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #28a745;
    color: var(--wh);
    cursor: pointer;
}

.student-card .cover {
    width: 400px;
    height: 400px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translate(-50%, -40%);
    border-radius: 0 0 100% 100%;
    background: var(--bg1);
    color: #fff;
}

.student-card .cover .title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -30%);
    z-index: 10;
    color: var(--wh);
    font-size: 20px;
}

.student-card .cover::before {
    position: absolute;
    content: '';
    left: 0;
    top: 15px;
    width: 100%;
    height: 100%;
    background: rgb(32, 56, 100, .4);
    border-radius: 0 0 100% 100%;
}

.student-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.student-card .data {
    width: 80%;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, -50%);
}

.student-card h5 {
    color: var(--bg1);
    font-family: 'B Titr';
}

.table .tds {
    vertical-align: middle;
}

.table tr td {
    vertical-align: middle !important;
}

.student-card .address {
    position: absolute;
    right: 10px;
    bottom: 0;
    color: var(--bg1);
    font-size: 12px;
    z-index: 3;
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    z-index: 10;
}

@media (max-width: 760px) {
    .top-nav .notif-icon {
        right: 42px;
    }
    .top-nav .dt {
        margin-right: 15px;
    }
    .top-nav .notif-box {
        right: 65px;
    }
    .side-bar {
        width: 55px;
    }
    .side-bar .user-profile {
        height: 60px;
    }
    .side-bar .user-profile a {
        padding-left: 0;
    }
    .side-bar .user-profile a span {
        display: none;
    }
    .side-bar .user-profile a img {
        width: 40px;
        height: 40px;
    }
    .side-bar.act {
        width: 250px;
    }
    .side-bar .user-profile.act {
        height: 100px;
    }
    .side-bar .user-profile.act a {
        padding-left: 30px;
    }
    .side-bar .user-profile.act a span {
        display: block;
    }
    .side-bar .user-profile.act a img {
        width: 60px;
        height: 60px;
    }
    .container-fluid {
        padding-right: 70px !important;
    }
    .pagination {
        display: none;
    }
    .dataTables_info {
        display: none !important;
    }
    footer {
        position: relative !important;
    }
    footer .row {
        display: block !important;
        text-align: center !important;
    }
    footer .row div {
        text-align: center !important;
    }
}

@media print {
    * {
        margin: 0 !important;
    }
    @page {
        size: a4;
    }
    body.pt-3 {
        padding: 0 !important;
    }
    body.d-flex {
        display: block !important;
    }
    .breadcrumb {
        display: none !important;
    }
    .no-print {
        display: none !important;
    }
    .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }
    .fees-bel {
        margin: 0 !important;
    }
    .fees-bel .card-body {
        padding: 10px !important;
    }
    .fees-bel .table tr th,
    .fees-bel .table tr td {
        padding: 5px 10px !important;
    }
    .pagination,
    .dt-buttons {
        display: none;
    }
     ::-webkit-scrollbar {
        display: none;
    }
    .dataTables_info {
        display: none !important;
    }
    .dataTables_filter {
        display: none !important;
    }
    .alert {
        display: none !important;
    }
    .card {
        box-shadow: none !important;
    }
}

@media (max-width:1450px) {
    .top-nav .d-flex #time {
        display: none !important;
    }
}

@media (max-width:1380px) {
    /* .top-nav .notif-icon {
        display: none !important;
    } */
    .top-nav .sh-icon {
        display: block;
    }
    .top-nav .shortcuts {
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        width: 220px;
        border-radius: 0 0 5px 0;
        display: none;
    }
    .top-nav .shortcuts li {
        display: block;
    }
    .top-nav .shortcuts li a {
        display: block;
        width: 100%;
        border: none;
        border-radius: 0;
        padding: 8px 15px;
        border-radius: 0;
        margin: 0 !important;
    }
    .top-nav .sh-icon {
        display: block !important;
    }
}

@media (max-width: 460px) {
    .top-nav .dt {
        display: none !important;
    }
    footer {
        display: none !important;
    }
}