


.ES_table {
	border-collapse: separate;
	border-spacing: 0 10px;
	color: var(--dark-grey);
	font-family: Trebuchet MS, sans-serif;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 90%;
}

.ES_table tr {
	box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.2);
	cursor: context-menu; 
	transition: background-color 0.25s;
}

.ES_table tr:hover {
	background-color: var(--light-grey);
	transition: background-color 0.25s;
}

.ES_table thead tr:hover {
	background-color: var(--emphasis);
	transition: background-color 0.25s;
}

.ES_table td, .ES_table th {
	border-left: 1px solid var(--light-grey);
}






.ES_table th {
	padding: 0.5em;
}

.ES_table th {
	border-bottom: 1px solid var(--light-mid-grey);
	border-top: 1px solid var(--light-mid-grey);
}

.ES_table th:first-child {
	border-left: 1px solid var(--light-mid-grey);
}

.ES_table th:last-child {
	border-right: 1px solid var(--light-mid-grey);
}






.ES_table td {
	font-size: smaller;
	padding: 1em;
}

.ES_table td:first-child {
	border-left: none;
}







.ES_table button {
	background-color: var(--white);
	border: 1px solid var(--light-mid-grey);
	color: var(--mid-grey);
	cursor: pointer;
	font-size: smaller;
	margin: 1px;
	padding-bottom: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 0.5em;
	transition: box-shadow 0.25s, color 0.25s;
}

.ES_table button:hover {
	box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.2);
	color: var(--dark-grey);
	transition: box-shadow 0.25s, color 0.25s;
}

.ES_table button:active, .ES_table button:focus {
	border-color: var(--emphasis);
}

.ES_table .active_btn {
	border-color: var(--emphasis);
	color: var(--emphasis);
}






.ES_table .paging button {
	padding: 5px;
}







.ES_table hr {
	width: 100%;
	height: 1px;
	background: var(--light-grey);
	border: 0;
	margin: 0;
}







/* unvisited link */
.ES_table a:link {
	color: var(--mid-grey);
	font-size: smaller;
	/*text-decoration: none;*/
	transition: color 0.25s;
}

/* visited link */
.ES_table a:visited {
	color: var(--mid-grey);
	/*text-decoration: none;*/
}

/* mouse over link */
.ES_table a:hover {
	/*font-weight: bold;*/
	color: var(--dark-grey);
	/*text-decoration: none;*/
	transition: color 0.25s;
}

/* selected link */
.ES_table a:active {
	color: var(--emphasis);
	/*text-decoration: none;*/
}











.ES_table .search th, td{
/* 	padding: 0; */
	position: relative;
	/*height: 100%;*/
}

.ES_table .search th {
	border-top-color: var(--emphasis);
	border-bottom-color: var(--emphasis);
}

.ES_table .search th:first-child {
	border-left-color: var(--emphasis);
}

.ES_table .search th:last-child {
	border-right-color: var(--emphasis);
}

.ES_table .search .search_input input,
.ES_table .search .search_input select,
.searchgrid .search_input button {
	width: 100%;
	height: 100%;
	border: 0;
	background: 0;
	padding: 0.5em;
	box-sizing: border-box;

	text-align: center;
	text-transform: uppercase;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: var(--dark-grey);
}

.ES_table .search .search_input input::placeholder {
	opacity: 0.6;
}

.ES_table .search .search_input button {
	box-shadow: none;
	width: 3em;
	border-left: 1px var(--light-grey) solid;
	margin: 0;
	opacity: 0.6;
	transition: opacity 0.25s;
}

.ES_table .search .search_input button:hover {
	opacity: 1;
	transition: opacity 0.25s;
}

.ES_table .search .search_input:not(:first-of-type)::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--light-grey);
}

.ES_table .search .search_input {
	display: flex;
	position: relative;
}

.ES_table .search .search_input .mode_button {
	text-align: center;
	background-color: var(--emphasis);
	color: rgba(0 0 0 0.25);
	font-weight: normal;
	padding-top: 0.25em;
	padding-bottom: 0.25em;

	right: 100%;
	width: 3em;
	height: calc(100% + 1px);

	display: flex;
	justify-content: center;
	flex-direction: column;

	visibility: hidden;
	border-top: 1px solid var(--light-grey);
	border-left: 1px solid var(--light-grey);
	border-bottom: 1px solid var(--light-grey);
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	position: absolute;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s;
}

.ES_table .search .search_input:hover .mode_button {
	visibility: visible;
	opacity: 1;
}

.ES_table .search option,
.ES_table .search optgroup {
	font-size: small;
}

.ES_table .search label {
	font-size: smaller;
	display: flex;
	flex-direction: row;
}






/*-------------------------------------------------------------------*/



.tooltip {
	border-bottom: 1px dotted black;
	display: inline-block;
	position: relative;
}

.tooltip .tooltiptext {
	background-color: var(--dark-grey);
	border-radius: 6px;
	bottom: calc(100% + 8px);
	color: var(--white);
	left: 50%;
	margin-left: -60px;
	opacity: 0;
	padding: 5px 0;
	position: absolute;
	text-align: center;
	transition: opacity 0.3s;
	visibility: hidden;
	width: 120px;
	z-index: 1;
}

.tooltip .tooltiptext::after {
	border-color: var(--dark-grey) transparent transparent transparent;
	border-style: solid;
	border-width: 5px;
	content: "";
	left: 50%;
	margin-left: -5px;
	position: absolute;
	top: 100%;
}

.tooltip:hover .tooltiptext {
	opacity: 1;
	visibility: visible;
}



/*-------------------------------------------------------------------*/



.tooltipedit {
	border-bottom: 1px dotted black;
	display: flex;
	display: inline-block;
	flex-direction: column;
	position: relative;
	width: 100%;
}

.tooltipedit .tooltipedittext {
	background-color: var(--dark-grey);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	box-sizing:border-box;
	color: var(--white);
	cursor: pointer;
	font-size: smaller;
	left: 50%;
	min-width: 6em;
	opacity: 0;
	padding: 5px;
	position: absolute;
	text-align: center;
	top: 100%;
	transform: translateX(-50%);
	transition: opacity 0.3s;
	visibility: hidden;
	width: 100%;
	z-index: 1;
}

.tooltipedit .tooltipedittext a {
	display: block;
}

.tooltipedit:hover .tooltipedittext {
	opacity: 1;
	visibility: visible;
}

/* unvisited link */
.tooltipedit a,
.tooltipedit a:link {
	color: var(--light-grey);
	/*text-decoration: none;*/
	transition: color 0.25s;
}

/* visited link */
.tooltipedit a:visited {
	color: var(--light-grey);
	/*text-decoration: none;*/
}

/* mouse over link */
.tooltipedit a:hover {
	/*font-weight: bold;*/
	color: var(--light-grey);
	/*text-decoration: none;*/
	transition: color 0.25s;
}

/* selected link */
.tooltipedit a:active {
	color: var(--emphasis);
	/*text-decoration: none;*/
}