﻿@charset "utf-8";

:root {
	--table-bg: #FCFCFC;
	--table-border: #B8C2CC;
	--table-head-color: #000;
	--table-head-bg: #F8F9FA;
	--table-danger-bg: rgba(255, 100, 100, 0.5);	
	--scrollbar-track-color: #D7DEE4;
	--scrollbar-thumb-color: #555;
	--scrollbar-thumb-hcolor: #333;
	--scrollbar-bg: #9A9A9A;
	--scrollbar-border: #000;
}

body, a, p, div, span, h1, h2, h3, h4, ul, li, table, th, tr, td, button, select {
	cursor: default;
	font-family: monospace, Verdana, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 18px;
	text-align: justify;
	text-decoration: none;
	word-wrap: break-word;
	color: #333;
	background-color: transparent;
	background-attachment: fixed;
}

body {
	margin: auto;
	min-width: 90%;
	width: 90%;
	max-width: 90%;
	min-height: 90%;
	height: 90%;
	max-height: 90%;
	overflow: hidden;
	color: #333;
	background-color: #EEE;
}

body::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	color: #000;
	background-color: var(--scrollbar-bg);
	border: 0 solid var(--scrollbar-border);
}

body::-webkit-scrollbar-track {
	color: var(--scrollbar-track-color);
	background-color: var(--scrollbar-track-color);
	border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
	background-color: var(--scrollbar-thumb-color);
	border-radius: 8px;
	border: 1px solid var(--scrollbar-bg);
}

body::-webkit-scrollbar-thumb:hover {
	background-color: var(--scrollbar-thumb-hcolor);
}

body::-webkit-scrollbar-thumb:active {
	background-color: var(--scrollbar-thumb-hcolor);
}

table {
	margin: 0;
	padding: 0;
	border: 0px solid;
	border-collapse: collapse;
	border-spacing: 0px;
	max-height: 80vh;
	min-width: 99%;
	width: 99%;
	max-width: 99%;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

table tr:has(hr) {
	display: none;
	font-size: 0;
	min-height: 0;
	height: 0;
	max-height: 0;
}

table tr {
	min-height: 2em;
	height: 2em;
	max-height: 2em;
	border-radius: 8px;
}

table tr th {
	min-height: 2em;
	height: 2em;
	max-height: 2em;
	text-align: center;
	vertical-align: middle;
	background-color: #EEE;
}

table tr th a {
	font-size: 18px;
	line-height: 20px;
	background-color: #EEE;
}

table tr th:last-child {
	display: none;
}

table tr td:last-child {
	display: none;
}

table tr td:nth-last-child(2) {
	font-size: 1.1em;
	font-weight: bold;
	text-align: right;
	width: 5em;
	max-width: 5em;
}

table tr td:nth-last-child(3) {
	padding: 4px;
	font-size: 0.85em;
	text-align: center;
	color: #00A;
	background-color: rgba(0, 0, 0, 0.025);
	width: 13em;
	max-width: 13em;
}

table tr td:nth-last-child(4) {
	font-size: 1.1em;
}

table tr td {
	padding: 4px;
	min-height: 2em;
	height: 2em;
	max-height: 2em;
	overflow: hidden;
}

table tr:hover {
	background-color: rgba(0, 0, 0, 0.075);
}

table tr th:first-child {
	min-width: 48px;
	width: 48px;
	max-width: 48px;
}

a {
	margin: 0;
	padding: 0.25em;
	color: #00F;
	text-decoration: none;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	transition: all ease-in-out .2s;
}

a:hover {
	color: #FFF;
	background-color: rgba(0, 0, 255, 0.8);
}

a:hover, a:active, a:focus, a:link, a:visited {
	text-decoration: none;
}

hr {
	margin: 2px;
	width: auto;
	height: 1px;
	background-color: #55C;
	border: 1px solid #55C;
}

p {
	padding: 2px;
	margin-bottom: 8px;
	text-indent: 24px;
}

h4 {
	font-size: 16px;
	line-height: 20px;
}

h3 {
	font-size: 18px;
	line-height: 22px;
}

h2 {
	font-size: 20px;
	line-height: 24px;
}

h1 {
	font-size: 22px;
	line-height: 26px;
}

button {
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin: 0px 4px;
	padding: 4px 12px;
	min-width: 70px;
	color: #000;
	background: #73C2FD;
	background: -moz-linear-gradient(90deg, #2E8CE3, #73C2FD);
	background: -webkit-gradient(linear, left top, left bottom, from(#73C2FD), to(#2E8CE3));
	border: 1px double #73C8F0;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 2px 2px 2px #999;
	transition: all .2s ease-in-out;
	text-shadow: 0px 0px 2px #FFF;
}

button:hover {
	color: #FFF;
	text-shadow: 0px 0px 2px #000;
}

button:active {
	margin: 2px 6px;
	padding: 2px 10px;
	background: #63B2ED;
	background: -moz-linear-gradient(90deg, #1E7CD3, #63B2ED);
	background: -webkit-gradient(linear, left top, left bottom, from(#63B2ED), to(#1E7CD3));
}

button[disabled] {
	color: #333;
	background-color: #888;
	font-size: 16px;
	cursor: default;
}

input {
	margin: 2px;
	padding: 4px;
	color: #000;
	background-color: #FFFFFF;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 3px 3px 2px #999;
	resize: none;
}

input:focus {
	background: #FFE;
	border: 1px solid #29B0D9;
}

textarea {
	margin: 2px;
	padding: 4px;
	font-size: 18px;
	line-height: 22px;
	color: #000;
	background-color: #FFFFFF;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 3px 3px 2px #999;
	resize: none;
}

textarea:focus {
	background: #FFE;
	border: 1px solid #29B0D9;
}

select {
	cursor: pointer;
	border: 1px solid #000;
}

.divHeader {
	margin: 8px;
	padding: 8px;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	color: #FFF;
	background-color: rgba(0,0,0,0.5);
	border-radius: 16px;
	font-size: 22px;
	font-weight: bold;
	line-height: 24px;
	cursor: pointer;
}

.table-scroll {
	border: 1px solid var(--table-border);
	overflow-y: auto;
	border-radius: 8px;
}

.table-scroll table {
	margin: 0;
	padding: 0;
	background-color: var(--table-bg);
}

.table-scroll table thead {
	position: sticky;
	top: 0;
	margin: 0;
	z-index: 1;
}

.table-scroll table thead tr {
	position: sticky;
	top: 0;
	margin: 0;
	padding: 0;
	border: 0 solid var(--table-border);
}

.table-scroll table thead tr th {
	position: sticky;
	top: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	height: 1px;
	color: var(--table-head-color) !important;
	background-color: var(--table-head-bg) !important;
	border: 0 solid var(--table-border);
	vertical-align: middle;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.table-scroll table thead tr th>div {
	/*display: table;*/
	margin: 0;
	padding: 0;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	border-top: 0 solid #000;
	border-bottom: 1px solid var(--table-border);
	border-left: 1px solid var(--table-border);
	border-right: 1px solid var(--table-border);
	vertical-align: middle;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.table-scroll table thead tr th>div>div {
	/*display: table-cell;*/
	margin: 0;
	padding: 4px;
	width: 95% !important;
	min-width: 95% !important;
	max-width: 95% !important;
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	vertical-align: middle;
	border-left: 0 solid var(--table-border);
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.table-scroll table thead tr th>div>div>span {
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.table-scroll table tbody tr td {
	overflow: hidden;
	text-overflow: ellipsis;
}

.table-scroll table tfoot {
	position: sticky;
	bottom: 0;
	margin: 0;
	text-overflow: ellipsis;
}

.table-scroll table tfoot tr {
	position: sticky;
	bottom: 0;
	margin: 0;
	text-overflow: ellipsis;
}

.table-scroll table tfoot td {
	position: sticky;
	bottom: 0;
	margin: 0;
	padding: 4px;
	text-overflow: ellipsis;
}

.table-fix-first-column tr>th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
}

.table-fix-first-column tr>td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
}

.noScroll {
	overflow: hidden;
}

.scrollBar::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	color: #000;
	background-color: var(--scrollbar-bg);
	border: 0 solid var(--scrollbar-border);
}

.scrollBar::-webkit-scrollbar-track {
	color: var(--scrollbar-track-color);
	background-color: var(--scrollbar-track-color);
	border-radius: 4px;
}

.scrollBar::-webkit-scrollbar-thumb {
	background-color: var(--scrollbar-thumb-color);
	border-radius: 8px;
	border: 1px solid var(--scrollbar-bg);
}

.scrollBar::-webkit-scrollbar-thumb:hover {
	background-color: var(--scrollbar-thumb-hcolor);
}

.scrollBar::-webkit-scrollbar-thumb:active {
	background-color: var(--scrollbar-thumb-hcolor);
}
