* {
	margin: 0;
	padding: 0;
}

/*
 * General
 */
body {
	@import url('https://fonts.googleapis.com/css2?family=David+Libre&family=Oxygen+Mono&display=swap');
	background-color: #202124;
	color: #EFEFEF;
	font-family: 'Oxygen Mono', monospace;
	min-width: 256px;
	max-width: 1024px;
	margin: 0 auto;
}

a {
	position: relative;
	display: inline-block;
	color: #9292ff;
	text-decoration: none;
	z-index: 1;
}

a::after {
	content: "";
	position: absolute;
	display: block;
	left: 0;
	bottom: 0;
	width: 0px;
	height: 1px;
	background-color: #EFEFEF;
	transition: ease 0.2s;
}

a::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 0;
	height: 100%;
	background-color: #EFEFEF;
	transition: ease 0.2s;
	opacity: 0.1;
	z-index: -1;
}

a:hover::after {
	width: 100%;
}

a:hover::before {
	width: 100%;
}

/*
 * Header
 */
header#login {
	text-align: center;
	padding: 8px;
	margin-bottom: 16px;
}

header nav {
	background-color: #282a2e;
}

header nav .userMessage {
	display: block;
	float: right;
}

header nav ul {
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-start;
	list-style-type: none;
	overflow: hidden;
}

header nav ul li a, header nav .userMessage{
	display: block;
	text-decoration: none;
	color: #EFEFEF;
	padding: 8px;
}

header nav ul li a {
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

header nav ul li a::after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	display: block;
	width: 100%;
	height: 0px;
	background-color: #EFEFEF;
	transition: ease 0.2s;
}

header nav ul li a::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 0;
	background-color: #EFEFEF;
	transition: ease 0.5s;
	opacity: 0.2;
	z-index: -1;
}

header nav ul li a:hover::after {
	height: 5px;
}

header nav ul li a:hover::before {
	height: 100%;
}

/*
 * Footer
 */
footer {
	text-align: center;
	padding: 8px;
	margin-top: 16px;
}

/*
 * Main
 */
main {
	padding: 8px;
}

/*
 * Forms
 */
form {
	background-color: #282a2e;
	padding: 32px 8px;
}

form label {
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: calc(92% - 16px);
	margin: 4px auto;
	padding: 8px;
	border: none;
	color: #EFEFEF;
	font-family: 'Oxygen Mono', monospace;
	text-align: center;
}

form label span {
	display: inline-block;
	padding: 8px;
	text-align: left;
	width: 20%;
	min-width: 120px;
	horiz-align: center;
}

form label input, form label textarea, form .buttons button {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 8px;
	border: none;
	background-color: #34363c;
	color: #EFEFEF;
	font-family: 'Oxygen Mono', monospace;
	width: 100%;
}

form label textarea {
	height: 150px;
}

form .buttons button {
	width: 25%;
	transition: ease 0.2s;
}

form .buttons {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

form label.submit_label{
	width: 25%;
}

form label input[type=submit] {
	position: relative;
	margin: 0 auto;
	transition: ease 0.2s;
}

form label input[type=submit]:hover, form .buttons button:hover {
	background-color: #484A4F;
	transform: scale(1.02);
	box-shadow: inset 0px 0px 0px 2px #EFEFEF;
}

#login_page form {
	width: 32%;
	margin: 0 auto;
}

#login_page form label.submit_label {
	width: 100%;
}

#login_page form label {
	display: block;
	width: calc(92% - 16px);
}

main#login_page form input {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: calc(92% - 16px);
	margin: 8px auto;
	padding: 8px;
	border: none;
	background-color: #34363c;
	color: #EFEFEF;
	font-family: 'Oxygen Mono', monospace;
	text-align: center;
}

#login_page form label input {
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 92%;
	margin: 8px auto;
	padding: 8px;
	border: none;
	background-color: #34363c;
	color: #EFEFEF;
	font-family: 'Oxygen Mono', monospace;
	text-align: center;
}

form input:first-of-type {
	margin-top: 0 !important;
}

form input:last-of-type {
	margin-bottom: -4px !important;
}

/*
 * Dashboard page
 */
#dashboard_page ul {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	justify-content: flex-start;
	list-style: none;
	width: 100%;
	margin: 16px;
}

#dashboard_page ul li a {
	position: relative;
	display: block;
	background-color: #34363c;
	color: #EFEFEF;
	padding: 16px;
	font-size: 2em;
	text-decoration: none;
	transition: ease 0.2s;
}

#dashboard_page ul li a::before {
	background-color: transparent;
}

#dashboard_page ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: transparent;
	transition: ease 0.2s;
}

#dashboard_page ul li a:hover::after {
	box-shadow: inset 0px 0px 0px 2px #EFEFEF;
}

#dashboard_page ul li a:hover {
	background-color: #484A4F;
	transform: scale(1.02);
}

/*
 * Edit Command page
 */
#editcommand_page form {

}

/*
 * Commands page
 */
.divTable {
	display: table;
	width: 80%;
}

.divTableRow {
	display: table-row;
}

.divTableRow:nth-of-type(even) {
	background-color: #34363c;
}

.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	border: 1px solid #999999;
	display: table-cell;
	padding: 3px 10px;
}

.divTableHeading {
	background-color: #282a2e;
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	background-color: #282a2e;
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}
