@font-face {
    font-family: 'NotoSansArabic';
    src: url('../assets/fonts/NotoSansArabic.woff') format('woff');
    font-weight: thin;
    font-style: normal;
}

body {
    margin: 0;
    /* font-family: 'NotoSansArabic' !important; */
}

a {
    text-decoration: none;
}

th,
td {
    text-align: center;
    vertical-align: middle;
}


/* *********************** */

nav {
    margin: 0;
    padding: 0;
    width: 100px;
    background-color: #2f77e4;
    position: fixed;
    height: 100%;
    z-index: 3
}

nav a {
    display: block;
    color: #fff;
    font-weight: bolder;
    font-size: 20px;
    padding: 16px;
    text-decoration: none
}

nav a.selected {
    background-color: #0fbd14;
    color: #fff
}

nav a:hover:not(.selected) {
    background-color: #fff;
    color: #2f77e4
}


/* ***************** */

.content {
    margin-top: 60px;
    margin-right: 100px;
    padding: 30px 2% 50px;
    z-index: 0
}


/* ***************** */

.top-warning {
    background-color: rgb(233, 217, 0);
    position: fixed;
    margin-right: 100px;
    width: 100%;
    z-index: 0;
    height: 30px;
}

.top-warning p {
    text-align: center;
}

.top-error {
    background-color: rgb(255, 0, 0);
    position: fixed;
    margin-right: 100px;
    width: 100%;
    z-index: 0;
    height: 30px;
}

.top-error p {
    text-align: center;
}


/* *********************** */

.topnav {
    margin: 0;
    padding-right: 100px;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 4;
    height: 60px;
}

.topnav a {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px
}

.topnav .right {
    float: right;
}

.topnav .left {
    float: left;
}

.topnav a:hover {
    background-color: #ddd;
    color: #000
}

.topnav a.active {
    background-color: #4caf50;
    color: #fff
}

.dropbtn {
    padding: 0;
    margin: 0;
    border: none
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 3px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1d1d1d;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block
}

.dropdown-content a:hover {
    background-color: #ddd
}

.dropdown:hover .dropdown-content {
    display: block
}

.dropdown:hover .dropbtn {
    background-color: #fff;
    color: #000
}


/* ********************** */

.dropsidebtn {
    color: #fff;
    border: none
}

.dropside {
    position: relative;
    display: block;
    z-index: 6
}

.dropside-content {
    display: none;
    position: absolute;
    background-color: #2f77e4;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    z-index: 6;
    width: 160px;
    right: 100%;
    top: 0
}

.dropside-content a {
    color: #fff;
    padding: 12px 16px;
    display: block
}

.dropside-content a:hover {
    background-color: #2600ff
}

.dropside:hover .dropside-content {
    display: block
}

.dropside:hover .dropsidebtn {
    background-color: #fff;
    color: #2f77e4
}


/* ****************** */

.badge {
    position: relative;
    top: -10px;
    left: 0px;
    padding: 5px 10px;
    border-radius: 50%;
    background-color: red;
    color: red
}

.no-badge {
    color: #2f77e4
}


/* *************** */

.to-left {
    float: left !important;
    padding: 5px 10px 10px !important;
    width: 50%;
    text-align: end;
}

.to-left .form-select-sm {
    direction: ltr;
}

.to-right {
    float: right !important;
    padding: 5px 10px 10px !important;
    width: 50%;
    text-align: start;
}

.dataTables_wrapper {
    text-align: center;
}

.width100 {
    margin: auto;
    width: 100%;
}

.width90 {
    margin: auto;
    width: 90%;
}

.width80 {
    margin: auto;
    width: 80%;
}

.width70 {
    margin: auto;
    width: 70%;
}

.width60 {
    margin: auto;
    width: 60%;
}

.width50 {
    width: 50%;
    margin: auto;
}

tbody td {
    vertical-align: middle;
    text-align: center;
}


/* ..................... */

.dropsidebtn2 {
    color: #fff;
    border: none
}

.dropside2 {
    position: relative;
    display: block;
    z-index: 6
}

.dropside-content2 {
    display: none;
    position: absolute;
    background-color: #2f77e4;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    z-index: 6;
    width: 160px;
    right: 100%;
    top: 0
}

.dropside-content2 a {
    color: #fff;
    padding: 12px 16px;
    display: block
}

.dropside-content2 a:hover {
    background-color: #2600ff
}

.dropside2:hover .dropside-content2 {
    display: block
}

.dropside2:hover .dropsidebtn2 {
    background-color: #fff;
    color: #2f77e4
}


/* **************** */

.modal {
    display: none;
    /*Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 20%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    background-color: #ffc107;
    margin: auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
}

.table>thead {
    vertical-align: bottom;
    position: sticky !important;
    top: 60px;
    z-index: 1;
    background-color: white;
    /* box-shadow: 0px 5px 5px 0px rgba(82, 63, 105, 0.08); */
}