/** ------- general ------- **/

* {
	font-family: 'Lato', sans-serif;
}

/* width */
::-webkit-scrollbar {
	width: 10px;
}
  
/* Track */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}
  
/* Handle */
::-webkit-scrollbar-thumb {
	background: #888;
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}

input,
textarea,
select,
.custom-file-input,
button
a.btn,
button {
	border-radius: 0 !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0 !important;
}

.select2 {
	width:100% !important;
}

.select2-container .select2-selection--single {
	height: 32px !important;
}



/** ------- navbar ------- **/

nav {
	background-color: #000;
	color: #fff;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .75);
    box-shadow: inset -1px 0 0 rgb(0 0 0 / 25%);
}

.navbar-nav .dropdown-menu {
	position: absolute;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

nav#sidebarMenu .nav-link {
	padding: .3rem 1rem !important;
	margin-top: .1em;
	margin-bottom: .1em;
	color: #fff;
}

nav#sidebarMenu .nav-link:focus, 
nav#sidebarMenu .nav-link:hover {
	background-color: #fff;
	color: #007bff;
}

nav#sidebarMenu .nav-item.active {
	background-color: #fff;
}

nav#sidebarMenu .nav-item.active > a,
nav#sidebarMenu .nav-item.active > a:hover {
	color: #007bff;
}

nav#sidebarMenu .navbar-nav .dropdown-menu {
	position: absolute;
}

nav#sidebarMenu > div > ul.isadmin-1,  
nav#sidebarMenu > div > ul.isadmin-2 {
	overflow: auto;
	height: 90vh;
}

nav#sidebarMenu > div > ul.isadmin-0 {
	overflow: auto;
}

nav#sidebarMenu > div > ul > li {
	margin-right: 10px;
	width: 100%;
}



/** ------- sidebar ------- **/

.sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	padding: 48px 0 0;
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  	.sidebar {
    	top: 2.1rem;
  	}
}

.sidebar-sticky {
  	position: relative;
  	top: 0;
  	height: calc(100vh - 48px);
  	padding-top: .5rem;
  	overflow-x: hidden;
  	overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  	.sidebar-sticky {
    	position: -webkit-sticky;
    	position: sticky;
  	}
}




/** ------- footer ------- **/

footer {
	background-color: #d1cece;
}

.fixed-bottom {
    z-index: 99 !important;
}



/** ------- general navs ------- **/

.list-group-item.active {
	color: #234c72;
	font-weight: bold;
	background-color: inherit;
	border-color: inherit;
}


/** ------- utilities ------- **/

/** button sizes **/
.btn-xs {
	padding: .10rem .3rem;
    font-size: 0.775rem;
    line-height: 1.5;
    border-radius: 0;
}


/** background colors **/
.bg-blue {
	background-color: #234c72 !important;
}

.bg-gray {
	background-color: #eee;
}

.bg-gray-500 {
	background-color: var(--bs-gray-500);
}



/** border colors **/
.border-gray {
	border-color: #eee;
}


/** button colors **/
.btn-blue {
	background-color: #234c72;
	color: #fff;
}

.btn-blue:hover {
    background-color: #2c70ad;
    color: #fff;
}

.btn-gray {
	background-color: #ccc;
	color: #000;
}

.btn-gray:hover {
	background-color: #aaa;
	color: #000;
}


/** text colors **/

.text-blue {
	color: #234c72;
}

.text-black {
	color: #000000;
}

.text-lightgray {
	color: var(--bs-dark-bg-subtle);
}



/** font sizes **/
small, .fs-small {
    font-size: 80%;
    font-weight: 400;
}




/** datatables **/

.left-col {
    float: left;
    width: 50%;
    text-align: left;
}
 
.right-col {
    float: right;
    width: 50%;
    text-align: right;
}

.bottom {
	border-top: 1px solid black;
	padding-bottom: 7em;
}

div.dataTables_wrapper div.dataTables_filter input {
	margin-left: 0;
}

.table>:not(caption)>*>* {
	background-color: #eeeeee;
}

table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>td:first-child:before, 
table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>th:first-child:before {
	top: 1.2em !important;
}

div.dataTables_wrapper div.dataTables_filter {
	text-align: left;
}

div.dataTables_wrapper .top {
	padding-bottom: 2em;
}

#optionsList {
	overflow-x: hidden;
	overflow-y: auto;
	height: 60vh;
}

#optionsList .list-group-item {
    cursor: pointer;
	margin-bottom: 0;
}

#optionsList .list-group-item input[type="checkbox"] {
    display: none;
}

#optionsList .list-group-item.active {
	background-color: #007bff;
	color: white;
}

.table-dark > tr > th {
	background-color: var(--bs-table-bg) !important;
}