.grid-view {
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
}
.grid-view-header {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-bottom: 4px;
}
.grid-view-control {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.grid-view-loading::before {
	content: "\f110";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 20px;
	width: 21px;
	height: 23px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	animation: rotating 1.25s linear infinite;
}
@keyframes rotating {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.grid-view table {
	border:1px solid #ccc;
	margin:1em auto;
	border-collapse:collapse;
}

.grid-view table.items {
	border-collapse: collapse;
	font-family: 'Open Sans', sans-serif;
	font-size: small;
}

.grid-view table.items th, .grid-view table.items td
{
	font-size: 0.9em;
	padding: 0.3em;
}

.grid-view table.items td.red
{
	background: red;
}

.grid-view table.items td.redtxt
{
	color: red;
}

.grid-view table.items td.greentxt
{
	color: green;
}

.grid-view table.items th a
{
	color: #333;
	font-weight: bold;
	text-decoration: none;
}

.grid-view table.items th a:hover
{
	color: black;
}

.grid-view table.items th a.asc
{
	background:url(/css/up.gif) right center no-repeat;
	padding-right: 10px;
}

.grid-view table.items th a.desc
{
	background:url(/css/down.gif) right center no-repeat;
	padding-right: 10px;
}

.grid-view  tr.even
{
	background: white;
	background-color: rgba(255,255,255,0.75);
}

.grid-view  tr.odd
{
	background: lightgray;
	background-color: rgba(211,211,211,0.75);
}

.grid-view table.items tr.attention
{
	background-color: magenta;
}

.grid-view table.items tr.sumTop
{
	border-top: 2px solid darkgoldenrod ;
	border-right: 2px solid darkgoldenrod;
	border-left: 2px solid darkgoldenrod;
}

.grid-view table.items tr.sumBottom
{
	border-bottom: 2px solid darkgoldenrod;
	border-right: 2px solid darkgoldenrod;
	border-left: 2px solid darkgoldenrod;
}

.grid-view tr.red
{
	background: #FFA07A;
	background-color: rgba(255,160,122,0.75);
}

.grid-view tr.green
{
	background: #99FF99;
	background-color: rgba(153,255,153,0.75);
}

.grid-view table.items tr.yellow
{
	background: #FFFFCC;
}

.grid-view table.items tr.blue {
	background: #9999FF;
}

.grid-view table.items tr.selected
{
	background-color: #BCE774;
}

.grid-view table.items tr:hover
{
	background: #EEEEEE;
}

.grid-view table.items tr.selected:hover
{
	background-color: #9CC754;
}

.grid-view .link-column img
{
	border: 0;
}

.grid-view .button-column
{
	text-align: center;
	width: 60px;
	margin-left: auto;
	margin-right: auto;
}

.grid-view .button-column img
{
	border: 0;
}

.grid-view .checkbox-column
{
	width: 15px;
}

.grid-view .summary
{
	margin: 0 0 5px 0;
	text-align: left;
}

.grid-view .pager {
	display: flex;
	margin: 5px 0 5px 0;
	text-align: right;
}

.grid-view .pager a:link,
.grid-view .pager a:visited {
	border: 1px solid black;
	font-weight: normal;
	color: black;
	padding: 1px 6px;
	text-decoration: none;
	background-color: rgba(255,255,255,0.75);
}

.grid-view .pager .hidden a {
	border: 1px solid gray;
	font-weight: normal;
	color: gray;
	padding: 1px 6px;
	text-decoration: none;
}

.grid-view .pager .selected a {
	background-color: gray;
	color: white;
	font-weight: bold;
}

.grid-view .pager .hidden {
	visibility: visible;
}

.grid-view .pager .last {
	display: inline;
}

.grid-view .pager .first {
	display: inline;
}

.grid-view .empty
{
	font-style: italic;
}

.grid-view .filters input,
.grid-view .filters select {
	width: 100%;
	border: 0;
	background-color: white;
}

.grid-view td.nav_amount {
	text-align: right;
}

.grid-view table.items tr.extrarow {
	background: #BB7777;
}

.hide {display:none;}

.grid-view table.items tr.red_odd {
	background: #FFA07A;
}

.grid-view table.items tr.red_even {
	background: #FFC7A0;
}

.grid-view table.items tr.filters {
	background-color: rgba(200,200,200,0.75);
}

.grid-view select.pageSize {
    width: 75px;
    float: none;
}

@media (max-width: 1200px) {
	table.items {
		width: 920px;
		margin: unset;
	}
}
@media (min-width: 1201px) {
	table.items {
		width: 100%;
	}
}

.grid-view table.items th.narrow {
    width: 38px;
}

.grid-view table.items th.narrow2 {
    width: 68px;
}

.grid-view table.items table.table th {
    text-align: left;
}

.table>thead>tr>th {
	border: 1px solid #ddd;
}

.grid-view td {
    border-right: 1px solid #ccc;
}