﻿:root {
	--body-bg: white;
	--body-color: #000000;
	--border-color: rgba(0, 0, 0, 0.07);
	--sidebar-bg: #222e3c;
	--card-bg: #ffffff;
	--cf-yellow: rgb(255, 191, 38);
	--cf-red: rgb(201, 19, 6);
}

/* Light mode */
/*@media (prefers-color-scheme: light) {
	:root {
		--body-bg: #f6f9fa;
		--body-color: #000000;
		--border-color: rgba(0, 0, 0, 0.07);
		--sidebar-bg: #222e3c;
		--card-bg: #ffffff;
	}
}*/

/* Dark mode */
/*@media (prefers-color-scheme: dark) {
	:root {
		--body-bg: #000000;
		--body-color: #FFFFFF;
		--border-color: rgba(255, 255, 255, 0.2);
		--sidebar-bg: #000000;
		--card-bg: rgb(12,12,12);
	}
}*/

body, main, footer.footer, input, select, .form-control, .navbar-bg, .input-group-navbar .btn, .input-group-navbar .form-control, .btn.btn-default.dropdown-toggle, input:focus, .form-control:focus {
	background-color: var(--body-bg);
	color: var(--body-color);
}

.content, .btn.btn-default.dropdown-toggle {
	background-color: rgba(255, 255, 255, 0.1);
}

.card, .card-header, .table, .modal-content {
	border-color: var(--border-color);
	/*background-color: var(--card-bg);
	color: var(--body-color);*/
}

.card-header {
	border-bottom: none;
}
.navbar-bg {
	background: #fff !important;
}

.card-body {
	overflow-x: auto;
}

.sidebar, .sidebar-content, .sidebar-link, a.sidebar-link {
	background-color: var(--sidebar-bg);
}

/* UL LIST LIKE TABLE */
.table-list {
	list-style: none;
	padding: 0;
}

	.table-list li {
		margin: 0;
		border-bottom: solid 1px #f5f7fb;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.table-list li:first-child {
		border-top: solid 1px #f5f7fb;
	}


	/* TEXT ADJUSTMENTS */
	.text-right {
		text-align: right;
	}


/*.btn.btn-default.dropdown-toggle {
	border: 1px solid rgba(0, 0, 0, 0.07);
	background-color: white;*/
	/*border-radius: 4em;*/
/*}*/

.text-body {
	color: #495057;
}


.card .card-header .card-controls {
	float: right;
	margin-top: -3px;
	color: #939ba2;
}

.card-controls a {
	color: #939ba2;
}

.breadcrumb {
	white-space: nowrap;
	flex-wrap: nowrap;
	overflow-x: scroll;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
	.breadcrumb::-webkit-scrollbar {
		display: none;
	}


.sidebar-brand img {
	width: 234px;
	margin-left: -12px;
}

/* Search */
.autocomplete-suggestions {
	padding: .5rem 0;
	margin: 0;
	font-size: .875rem;
	color: #495057;
	text-align: left;
	list-style: none;
	background-color: #f3f6fa;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: .2rem;
}

.autocomplete-suggestion {
	padding: 8px;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}

.autocomplete-selected {
	background: #fff;
}
/*.autocomplete-suggestions strong { font-weight: normal; color: #3b7ddd; }*/

/* Data-tables 
------------------------------------
*/
#spinner {
	display: block;
	text-align: center;
	padding: 10px;
	margin-left: 48%;
}
.table.dataTable.no-footer {
	border: none;
}

.dataTables_scroll:hover .dataTables_scrollBody:before {
	content: "";
	top: 0;
	height: 0;
}

.dataTables_scrollBody {
	overflow-y: auto;
	border: none !important;
}

	.dataTables_scrollBody:before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 60px;
		bottom: 0;
		background: transparent;
	}

.dataTables_wrapper .dataTables_paginate {
	float: right;
}

	.dataTables_wrapper .dataTables_paginate ul > li.disabled a {
		opacity: .5;
	}

	.dataTables_wrapper .dataTables_paginate ul > li > a {
		padding: 5px 10px;
		color: #626262;
		opacity: .35;
		-webkit-transition: opacity 0.3s ease;
		transition: opacity 0.3s ease;
	}

		.dataTables_wrapper .dataTables_paginate ul > li > a:hover {
			opacity: .65;
		}

	.dataTables_wrapper .dataTables_paginate ul > li.next > a,
	.dataTables_wrapper .dataTables_paginate ul > li.prev > a {
		opacity: 1;
	}

	.dataTables_wrapper .dataTables_paginate ul > li.disabled a {
		opacity: .35;
	}

		.dataTables_wrapper .dataTables_paginate ul > li.disabled a:hover {
			opacity: .35;
		}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
	margin-top: 25px !important;
}

.dataTables_paginate.paging_bootstrap.pagination {
	padding-top: 0;
	padding-right: 20px;
}

.dataTables_wrapper .dataTables_info {
	clear: none;
	font-size: 12px;
	padding: 0 33px;
	color: #626262;
}

.dataTables_wrapper .dataTables_paginate ul > li {
	display: inline-block;
	padding-left: 0;
	font-size: 11px;
}

.dataTables_scrollHeadInner {
	padding-right: 0 !important;
}

.export-options-container {
	position: relative;
}

.dataTables_wrapper .dataTables_paginate ul > li.active > a {
	font-weight: bold;
	color: #626262;
	opacity: 1;
}

.export-options-container a {
	color: inherit;
	opacity: 1;
}

.exportOptions .DTTT.btn-group a {
	display: block !important;
}

/*table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting:after, table.dataTable thead .sorting_desc:after {
	content: none !important;
}
table.dataTable thead .sorting:after {
	content: none !important;
}*/

table.dataTable thead .sorting_asc:after {
	background-image: url("/assets/plugins/jquery-datatable/media/images/sort_asc.png");
}

table.dataTable thead .sorting_desc:after {
	background-image: url("/assets/plugins/jquery-datatable/media/images/sort_desc.png");
}

table.dataTable thead .sorting:after {
	background-image: url("/assets/plugins/jquery-datatable/media/images/sort_both.png");
}

table.dataTable thead .sorting_asc_disabled:after {
	background-image: url("/assets/plugins/jquery-datatable/media/images/sort_asc_disabled.png");
}

table.dataTable thead .sorting_desc_disabled:after {
	background-image: url("/assets/plugins/jquery-datatable/media/images/sort_desc_disabled.png");
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
	bottom: 12px;
	content: "";
	width: 19px;
	height: 19px;
	background-position: center center;
	opacity: 1;
}

table.dataTable.table-condensed .sorting:after,
table.dataTable.table-condensed .sorting_asc:after,
table.dataTable.table-condensed .sorting_desc:after {
	top: 12px;
}
/* Demo classes */
.demo-table-search thead th:nth-child(1) {
	width: 20%;
}

.demo-table-search thead th:nth-child(2) {
	width: 22%;
}

.demo-table-search thead th:nth-child(3) {
	width: 24%;
}

.demo-table-search thead th:nth-child(4) {
	width: 15%;
}

.demo-table-search thead th:nth-child(5) {
	width: 19%;
}

.demo-table-dynamic thead th:nth-child(1) {
	width: 25%;
}

.demo-table-dynamic thead th:nth-child(2) {
	width: 30%;
}

.demo-table-dynamic thead th:nth-child(3) {
	width: 20%;
}

.demo-table-dynamic thead th:nth-child(4) {
	width: 25%;
}

.table-invoice th {
	border-top: 0;
}

.dataTables_wrapper .row {
	width: 100%;
}

	.dataTables_wrapper .row > div {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		width: 100%;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

.dataTables_wrapper#tableWithDynamicRows_wrapper > div {
	width: 100%;
}
/* Responsive Handlers : Tables */
@media (max-width: 991px) {
	.dataTables_wrapper .dataTables_info {
		float: left;
	}

	.dataTables_paginate.paging_bootstrap.pagination {
		float: right;
	}
}

@media (max-width: 767px) {
	.content {
		padding: 10px;
	}
	.table-responsive {
		border: 1px solid #ddd;
	}

	.dataTables_wrapper .row {
		margin: 0;
	}

		.dataTables_wrapper .row > div {
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
		}

	.dataTables_wrapper .dataTables_info,
	.dataTables_wrapper .dataTables_paginate {
		margin-top: 0 !important;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 10px;
	}

		.dataTables_wrapper .dataTables_info ul,
		.dataTables_wrapper .dataTables_paginate ul {
			padding: 0;
		}

	.breadcrumb-item + .breadcrumb-item {
		padding-left: 1.5rem;
	}
}

@media only screen and (max-width: 768px) {
	.form-control {
		font-size: 16px !important;
	}
}
@media (max-width: 480px) {
	.dataTables_wrapper .dataTables_info,
	.dataTables_wrapper .dataTables_paginate {
		float: none;
		text-align: left;
		clear: both;
		display: block;
	}
}