﻿body, .btn, th, td, .control-label, button {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 14px;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
    color: gray;
}

h4 {
    font-size: 20px;
    color: gray;
}

h5 {
    font-size: 17px;
}

.navbar-inverse {
    /*background-color: #03566e;
    border-color: #015d81;*/
    background-color: #1f3f4f;
    /*#032f3c*/
    /*#1f3f4f*/
    /*#013f5f*/
}

.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link,
.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link > span,
.navbar-inverse .container-fluid .navbar-nav .nav-item .form-inline .nav-link,
.navbar-inverse .container-fluid > a
{
    color: #ddd;
}

.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link:hover,
.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link:focus,
.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link > span:hover,
.navbar-inverse .container-fluid .navbar-nav .nav-item .nav-link > span:focus,
.navbar-inverse .container-fluid .navbar-nav .nav-item .form-inline .nav-link:hover,
.navbar-inverse .container-fluid .navbar-nav .nav-item .form-inline .nav-link:focus,
.navbar-inverse .container-fluid > a:hover,
.navbar-inverse .container-fluid > a:focus 
{
    color: #fff;
    background-color: transparent;
}

.navbar-nav .dropdown-menu::before,
.navbar-nav .dropdown-menu::after {
    display: none; /*Removes the arrow in the dropdown in navbar*/
}


.table-index > tbody > tr > td > a
{
    text-decoration: none;
}

.table-bordered > tbody > tr > td > input,
.table-bordered > tbody > tr > td > select,
.table-bordered > tbody > tr > td > .ts-wrapper /*for dynamic table to support tom-select*/
{
    border: none;
}

.nav {
    border: 0;
}

.nav-tabs .nav-item .nav-link {
    border: 0;
    border-bottom: 2px solid gray;
    color: gray;
    background-color: transparent;
}

.nav-tabs .nav-item .nav-link:hover {
    color: black;
}

.nav-tabs .nav-item .nav-link.active {
    color: black;
    border-radius: 0;
    border-bottom: 3px solid #008cba;
    background-color:transparent;
}

.fixTableHead {
    overflow-y: auto;
    max-height: 500px;
}

.fixTableHead thead th {
    position: sticky;
    top: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,td {
    padding: 2px 2px;
}

.index-table th:last-child,
.index-table td:last-child {
    white-space: nowrap;
    text-align: center;
}

.input-table tbody tr td {
    padding: 0px !important;
    height: 35px;
}

.input-table tbody tr td input,
.input-table tbody tr td select,
.input-table tbody tr td,
.input-table tbody td .form-check,
.input-table thead tr th
{
    text-align: center;
}

.input-table tbody tr td button,
.input-table tbody tr th button {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration:none;
    cursor: pointer;
    height:35px;
}

.input-table-btn-add,
.input-table-btn-delete {
    color: var(--bs-link-color);
    background-color: transparent;
    border: none;
}

.input-table-btn-add:disabled,
.input-table-btn-delete:disabled {
    color: grey;
    opacity:1;
    background-color: #EEEEEE;
    border: none;
}

th a {
    color: green !important;
    text-decoration: none;
}

.input-table tbody tr td .form-control,
.input-table tbody tr td .form-select,
.input-table tbody tr td a {
    height: 36px;
}

.input-table tbody tr td .form-check-input {
    height: 20px;
    width: 20px;
    margin-top:7px;
}

.table-dynamic thead {
    background-color: whitesmoke;
}

/*This is to fix the issue that arises in dd when using dir="rtl" with the normal ltr css files*/
dd,
dt
{
    margin-bottom: 0.5rem;
    min-height: 25px;
    margin-left: 0;
    margin-right: 0;
}

/*For Tom-Select because the empty option height is small*/
.ts-dropdown-content div[data-selectable] {
    min-height: 30px;
}

#loading-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#loading-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid navy; /* Change border color to navy */
    border-top: 2px solid transparent; /* Make top border transparent */
    border-radius: 50%; /* Make it a circle */
    width: 30px; /* Adjust width to make it smaller */
    height: 30px; /* Adjust height to make it smaller */
    animation: spin 1s linear infinite; /* Add animation */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

