* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn';
    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 Titr';
    src: url(../fonts/BTitr.ttf);
}

@font-face {
    font-family: 'Vazirmatn';
    src: url(../fonts/Vazirmatn.ttf);
}

@font-face {
    font-family: 'Bahaji';
    src: url(../fonts/Bahaji.ttf);
}

span.ico {
    font-family: 'material-icons' !important;
    user-select: none;
}

:root {
    --bg1: #253544;
    --wh: #fff;
    --lg: #f8f9fa;
}

body {
    direction: rtl !important;
    text-align: right;
    height: 100vh;
    background: var(--lg);
}

.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;
}

.eye {
    cursor: pointer !important;
}

.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);
}

.select2 {
    width: 100% !important;
}

.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;
}

.side-bar {
    position: fixed;
    top: 55px;
    right: 0;
    width: 255px;
    height: 100%;
    transition: all .4s;
    background: var(--bg1);
    overflow-x: hidden;
    z-index: 5;
    padding-bottom: 50px;
}

.side-bar::-webkit-scrollbar {
    appearance: none;
    width: 10px;
    background: #16202e;
}

.side-bar::-webkit-scrollbar-thumb {
    appearance: none;
    width: 10px;
    border-radius: 30px;
    background: #556a7e;
}

.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: 4px solid var(--wh);
    transition: all .4s;
}

.side-bar li a {
    position: relative;
    display: flex;
    width: 255px;
    height: 42px;
    align-items: center;
    color: var(--wh);
    transition: all .4s;
    font-size: 16px;
}

.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: 20px;
}

.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;
}

.container-fluid {
    padding: 70px 270px 15px 15px;
    transition: all .4s;
}

.container-fluid.act {
    padding: 70px 70px 0 15px;
}

.table .tds {
    vertical-align: middle;
}

.table tr td {
    vertical-align: middle !important;
}

.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 .dt {
        margin-right: 15px;
    }
    .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;
    }
    .dataTables_length {
        display: none !important;
    }
    .container-fluid {
        padding: 0 !important;
        margin: 0 !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: 460px) {
    .top-nav .dt {
        display: none !important;
    }
    footer {
        display: none !important;
    }
}