html, body {
	margin: 10px 20px;
	background-color: #169fff;
}

* {
	font-family: Arial, sans-serif;
	font-size: 16px;
	box-sizing: border-box;
}

#main {
	width: 60%;
	background-color: #f1f1f1;
	margin: 0 auto;
	padding: 10px;
	border: 2px solid #000000;
	position: relative;
}

#testing-bar {
	position: absolute;
	margin-inline: auto;
	width: fit-content;
	color: #ff0000;
	font-size: 45pt;
	z-index: 1;
	letter-spacing: 15px;
	font-weight: bold;
	margin-top: -15px;
}

.warning {
	color: #ff0000;
	font-size: 26px;
	font-weight: bold;
	padding: 8px;
	width: 500px;
	height: 50px;
	background-color: #cccccc;
	margin: -10px auto 20px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid #ff0000;
	border-radius: 5px;
}

.warning:before, .warning:after {
	content: '\f071';
	margin-right: 10px;
	margin-left: 10px;
	font: normal normal normal 28px/1 FontAwesome;
}

.success {
	color: #00cc00;
	font-weight: bold;
	margin-bottom: 15px;
	display: block;
}

.success:before {
	content: '\f00c';
	margin-right: 4px;
	font: normal normal normal 16px/1 FontAwesome;
}

.error {
	color: #ff0000;
	font-weight: bold;
	margin-bottom: 15px;
	display: block;
}

.error:before {
	content: '\f00d';
	margin-right: 4px;
	font: normal normal normal 16px/1 FontAwesome;
}

.clipboard_field {
	width: 60%;
	height: 100px;
	outline: 0;
	padding: 3px;
	background-color: #ffffff;
	border: 2px solid #aaaaaa;
	border-radius: 5px;
}

.clipboard_field:hover {
	border: 2px solid #000000;
}

.clipboard_copy {
	font-size: 18px;
	padding-left: 7px;
	padding-top: 7px;
	color: #169fff;
}

.clipboard_copy:hover {
	color: #4db5ff;
	cursor: pointer;
}

#login-form {
	width: 40%;
	display: block;
	margin: 0 auto;
	text-align: center;
}

#login-form input {
	margin: 5px auto;
	display: block;
	border: 2px solid #aaaaaa;
	border-radius: 5px;
	padding: 4px;
	outline: 0;
	background-color: #ffffff;
}

#login-form input:hover {
	border: 2px solid #000000;
}

#login-form input[type=submit] {
	width: 105px;
	border: 2px solid #1a1a1a;
	background-color: #169fff;
	font-weight: bold;
	color: #ffffff;
	border-radius: 5px;
}

#login-form input[type=submit]:hover {
	background-color: #4db5ff;
	cursor: pointer;
}

a:link, a:visited {
	text-decoration: none;
	color: #169fff !important;
}

a:hover {
	text-decoration: underline;
	color: #4db5ff !important;
}

#top-menu {
	width: 100%;
	margin: 0 auto;
	display: block;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 10px;
	row-gap: 5px;
	z-index: 998;
}

#top-menu * {
	z-index: 999;
}

#top-menu a {
	width: 85px;
	padding: 3px;
	border: 2px solid #1a1a1a;
	cursor: pointer;
	font-weight: bold;
	background-color: #169fff;
	color: #ffffff !important;
	text-align: center;
	outline: 0;
	border-radius: 5px;
}

#top-menu a.active {
	background-color: #0077cc;
}

#top-menu a:hover {
	background-color: #4db5ff;
	text-decoration: none;
}

h3 {
	margin-top: 0;
}

.overview-table {
	width: 90%;
	margin-bottom: 20px;
}

.overview-header {
	width: 100%;
	padding: 5px;
	font-weight: bold;
	background-color: #169fff;
	border: 2px solid #1a1a1a;
	color: #ffffff;
	display: flex;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.overview-line {
	width: 100%;
	padding: 5px;
	background-color: #ffffff;
	border: 2px solid #1a1a1a;
	border-top: 0px;
	display: flex;
}

.overview-line:last-child {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.overview-line:hover {
	background-color: #f1f1f1;
}

.overview-line-item {
	overflow-wrap: break-word;
}

.overview-line a {
	margin-right: 10px;
}

form-field {
	display: inline-block;
	width: 115px;
	vertical-align: middle;
	border-right: 2px solid #cccccc;
	border-bottom: 2px solid #cccccc;
	margin-right: 4px;
	padding-bottom: 2px;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

form-field i {
	margin-left: 4px;
	font-size: 10px;
	vertical-align: super;
}

.redeem-imgs {
	vertical-align: top;
}

.redeem-imgs img {
	margin-right: 5px;
	vertical-align: top;
	border-radius: 4px;
}

.image-preview {
	vertical-align: top;
	max-width: 158px;	
}

.form-viewer {
	display: inline-block;
	margin-left: 5px;
}

.form-instruction {
	display: none;
	font-size: 14px;
	margin-left: 5px;
}

.data-form i.action-icon {
	margin-left: 4px;
	cursor: pointer;
	font-size: 18px;
	vertical-align: top;
}

.data-form input {
	border: 2px solid #aaaaaa;
	background-color: #ffffff;
	padding: 3px;
	outline: 0;
	width: 150px;
	border-radius: 5px;
	vertical-align: top;
}

.data-form input:hover, .data-form textarea:hover, .data-form select:hover {
	border: 2px solid #000000;
}

.data-form input[type=checkbox], .data-form input[type=radio] {
	width: initial !important;
	cursor: pointer;
}

.data-form input[type=number] {
	width: 75px;
	text-align: center;
}

.data-form textarea {
	width: 150px;
	height: 100px;
	outline: 0;
	padding: 3px;
	vertical-align: top;
	background-color: #ffffff;
	border: 2px solid #aaaaaa;
	border-radius: 5px;
}

.data-form select {
	width: 160px;
	outline: 0;
	padding: 3px;
	background-color: #ffffff;
	border: 2px solid #aaaaaa;
	border-radius: 5px;
}

.upload-box {
	height: 55px;
	width: 150px;
	background-color: #ffffff;
	padding: 3px;
	font-weight: bold;
	overflow-wrap: anywhere;
	border: 2px solid #aaaaaa;
	border-radius: 5px;
	display: inline-flex;
	text-align: center;
	align-items: center;
	justify-content: space-evenly;
	vertical-align: top;
	cursor: pointer;
}

.upload-box.active i {
	font-size: 30px;
}

.upload-box i {
	font-size: 25px;
}

.toggle-switch-div {
	width: 75px;
	height: 25px;
	padding: 2px 0px;
	border-radius: 25px;
	background-color: #ffffff;
	display: inline-flex;
	border: 2px solid #aaaaaa;
	cursor: pointer;
	align-items: center;
}

.toggle-switch-button {
	display: flex;
	width: 35px;
	height: 21px;
	border-radius: 25px;
	border: 2px solid #aaaaaa;
	background-color: #169fff;
	justify-content: center;
	align-items: center;
	padding: 2px;
	vertical-align: top;
	color: #f1f1f1;
	font-weight: bold;
	user-select: none;
}

.toggle-switch-div:hover {
	border: 2px solid #000000;
}

.data-form input[type=submit], .data-form input[type=button] {
	width: 75px;
	border: 2px solid #1a1a1a;
	cursor: pointer;
	font-weight: bold;
	background-color: #169fff;
	color: #ffffff;
}

.data-form input[type=submit]:hover, .data-form input[type=button]:hover {
	background-color: #4db5ff;
}

.button {
	width: 75px;
	padding: 3px;
	border: 2px solid #1a1a1a;
	cursor: pointer;
	font-weight: bold;
	background-color: #169fff;
	color: #ffffff;
	outline: 0;
	border-radius: 5px;
}

.button:hover {
	background-color: #4db5ff;
}

@media only screen and (max-width: 347px) {
	html, body {
		margin: 10px 0;
	}
	
	#main {
		width: 95% !important;
		padding: 10px 5px;
	}

	#login-form {
		width: 95%;
	}

	.overview-table {
		width: 95%;
	}

	.data-form input, .data-form textarea {
		width: 125px;
	}

	.overview-line a {
		margin-right: 5px;
	}

	.overview-line-item:last-child {
		display: flex;
		justify-content: center;
	}
}

@media only screen and (min-width: 348px) and (max-width: 1710px) {
	#main {
		width: 95%;
	}
}
