* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html {
	height: 100%;
	width: 100%;
}

body {
	background:white;
	color: slategrey;
	font: 16px/1.2 arial;
	height: 100%;
	width: 100%;
	border: 1px solid lightgrey;
	overflow: hidden;
	/* background-image: linear-gradient(to bottom right, steelblue, lightblue); */
}

/* Titlebar */
.light {
	background: #fff;
	color: #2b2b2b
}

.dark {
	background: #2b2b2b;
	color: #d3d3d3
}

.blue {
	background: #4682b4;
	color: #fff;
}

.red {
	background: #b22222;
	color: #fff;
}

header {
	height: 30px;
	width: 100%;
	text-align: center;
	font-size: 1.5rem;
	margin: 10px 0;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
	text-align: center;
	font-size: 14px;
	padding: 5px;
	border: 1px solid #d3d3d3;
	border-top: none;
}
 
a {
	text-decoration:none;
	color:slategrey;
}
.border {
	border: 1px solid lightgrey;
}
.center {
	text-align:center;
}

pre {
	padding:10px;

}
code {
	font-size:10px;
}
/* .caption {
	width: 100%;
	height: 30px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin: 10px auto;
	padding: 0;
} */

/* Modal */
#modal-overlay {
	background: rgba(0, 0, 0, 0.2);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	transition: all 1s ease;
	z-index: 999;
}

#modal-wrapper {
	position: relative;
	background: white;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 5px;
	box-shadow: 20px 20px 50px 15px grey;
}

#modal-close {
	position: absolute;
	top: 0px;
	right: 5px;
	width: 20px;
	padding: 0;
	background: transparent;
	font-size: 30px;
	color: #2b2b2b;
	font-weight: normal;
	margin-left: auto;
	margin-top: 0;
	margin-right: 5px;
	cursor: pointer;
	border: 0;
}

#modal-content {
	padding: 20px 40px;
	width: 100%;
}

#modal-caption {
	text-align: center;
	margin-top: 40px;
	font-size: 20px;
}

.visible {
	visibility: visible;
	opacity: 1;
}

.hidden {
	visibility: hidden;
	opacity: 0;
}

/* Buttons */
.buttons {
	width:100%;
	height: 80px;
	text-align:center;
	padding: 10px 0;
}
button {
	width:120px;
	min-width: 80px;
	height: 40px; 
	padding:10px;
	border:1px solid lightgrey;
	background:white;
	color:slategray;
	margin: 10px;
}
button:hover {
	cursor:pointer;
	background: lightgrey;
	color:slategrey;
}
/* Table */
#table-container {
	width: 80%;
	max-width: 600px;
	height: calc(100% - 100px);
	margin: 0 auto;
	overflow: auto;
	border:1px solid lightgrey;

}

#table-container::-webkit-scrollbar {
	display: none;
}

#table {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
	font: normal 12px arial;
	padding: 0;
}

tr {
	width: 100%;
	height: 30px;
}

tr.record:hover {
	background: cornsilk;
}

thead {
	position: sticky;
	top: 0px;
}

tfoot {
	position: sticky;
	bottom: 0px;
}

tbody {
	background:white;
}

th {
	text-align: center;
	padding: 3px;
	color:slategrey;
	font: normal 16px arial;
	line-height: 30px;
}

th:first-child {
	width: 100px;
}

tr th input[type=text] {
	width: 100%;
	height: 30px;
	text-align: left;
	padding: 3px;
	border: 1px solid lightgrey;
	background: white;
	outline: none;
}

td {
	/* white-space: nowrap; */
	text-align: left;
	vertical-align: top;
	padding: 3px;
	border: 1px solid LightGrey;
	border-left:none;
	border-right:none;


}

tr th input[type=text]:focus {
	border: 1px solid lightGrey;
}

/* tr th:first-child{
  width:60px;
} */

tfoot td input[type=text] {
	width: 100%;
	height: 30px;
	text-align: left;
	padding: 3px;
	border: 1px solid LightGrey;
	background: white;
	outline: none;
}

::placeholder {
	color: LightGrey;
	opacity: 0.8;
}

.stars {
	color: gold;
	font-size: 20px;
}

.table {
	display: table;
	width: 100%;
}

.row {
	display: table-row
}

.cell {
	display: table-cell;
	width:calc(100% - 120px);
	padding: 0 5px 10px 0;
}

.right {
	width: 120px;
	text-align: right;
	vertical-align:top;
}

textarea {
	width:100%;
	height:140px;
	font:normal 16px arial;
	border:1px solid lightgrey;
	outline:none;
	text-align:left;
	padding:0;
	resize:none
}
