﻿/* Override bootstrap - DataTable
-------------------------------------------------- */
.quartz-data-table {
	--bs-table-striped-color: #212529;
	--bs-table-striped-bg: rgba(179, 229, 222, 0.4);
	--bs-table-active-color: #212529;
	--bs-table-active-bg: rgba(0, 0, 0, 0.1);
	--bs-table-hover-color: #212529;
	--bs-table-hover-bg: rgba(0, 0, 0, 0.075);
}

	.quartz-data-table tbody tr:nth-of-type(odd) td {
		background-color: rgba(203, 247, 241, 1);
	}

	.quartz-data-table tbody tr:hover td {
		cursor: pointer;
		background-color: #dddddd;
	}

	.quartz-data-table .table-dark {
		--bs-table-bg: #041343;
	}

	.quartz-data-table tr.detail-view td {
		background-color: #fff;
	}

	.quartz-data-table .quartz-datatable-column-filter {
		padding: 4px;
		width: 300px;
	}

.quartz-table-spreadsheet {
	height: 400px;
	overflow: auto;
}

	.quartz-table-spreadsheet .table thead tr th {
		position: sticky;
		top: 0;
		z-index: 2;
		background-color: var(--bs-table-bg);
	}

	.quartz-table-spreadsheet #table-filter-info {
		position: sticky;
		left: 0;
		z-index: 1;
		width: 100%;
		overflow: hidden;
	}

	.quartz-table-spreadsheet .table tbody tr td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-wrap: nowrap;
		background-color: #fff;
	}

	.quartz-table-spreadsheet .table tbody tr:nth-of-type(odd) td {
		background-color: rgba(203, 247, 241, 1);
	}

	.quartz-table-spreadsheet .table tbody tr:hover td {
		cursor: pointer;
		background-color: #dddddd;
	}

.table-footer .page-item {
	cursor: pointer !important;
}

.table-per-page-dropdown, .table-per-page-menu {
	min-width: 4rem;
}

	.table-per-page-menu .active {
		background-color: #6c757d !important;
		color: #ffffff !important;
	}

.table-filter-active {
	background-color: #efefef !important;
}

.table-filter-menu {
	width: 100%;
}

.table-filter-body {
	max-height: 400px;
	overflow: auto;
}


@media (min-width: 768px) {
	.table-filter-menu {
		width: 40rem;
	}
}

.table-filter-menu .accordion-button {
	font-weight: bold;
}

	.table-filter-menu .accordion-button:not(.collapsed) {
		background-color: #ffffff !important;
	}

	.table-filter-menu .accordion-button:focus {
		box-shadow: none !important;
	}

.table-filter-menu .accordion-body {
	background-color: #efefef !important;
}
/* End Override bootstrap */

.quartz-validator-hidden {
	position: absolute;
	top: -50px;
	left: -500px;
	width: 10px;
	height: 10px;
}

.quartz-editor-button {
	background: #ccc;
	border: 1px solid #ccc;
	color: #000;
	border-bottom-left-radius: var(--bs-border-radius-sm);
	border-bottom-right-radius: var(--bs-border-radius-sm);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

	.quartz-editor-button:hover {
		background: #666;
		border: 1px solid #ccc;
		color: #fff;
	}


@media (min-width: 768px) {
	.quartz-currency-input-wrapper {
		width: 250px;
	}

	.quartz-percentage-input-wrapper {
		width: 150px;
	}
}
