﻿.navbar-inverse {
    background-color: #03566e;
    border-color: #015d81;
}

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

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

.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{
    padding: 8px 15px;
}

.input-table tbody tr td {
    padding: 0px;
    height: 36px;
}

.input-table tbody tr td input,
.input-table tbody tr td select,
tr td,
td .form-check,
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 {
    margin-bottom: 0.5rem;
    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;
}