body
{
	margin: 0;
	background: #CCC url('../images/background.png') repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
	color: #000;
}

form
{
	margin: 8px;
}

textarea
{
	width: 98%;
	max-width: 98%;
}

input[type=text], input[type=password], input[type=search], textarea, select
{
	float: right;
	display: inline-block;
	padding: 5px;
	font-size: 110%;
}

li a
{
	text-decoration: none;
	color: #000;
}

button
{
	border-width: 0px;
	border-radius: 3px;
	border-left: white 1px solid;
	border-top: white 1px solid;
	border-right: black 1px solid;
	border-bottom: black 1px solid;
	/*margin: 2px 5px;
	padding: 3px 5px;*/
	
	background: #08F url('../images/glass_gradient_clear_32.png') repeat;
	height: 32px;
	color: #FFF;
	text-shadow: 1px 1px #888;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	padding: 0 8px;
}

button:hover
{
	background-color: #0AF;
}

button:active
{
	background-color: #07D;
	border-left: black 1px solid;
	border-top: black 1px solid;
	border-right: white 1px solid;
	border-bottom: white 1px solid;
}

input[type="file"]
{
	display: none;
}

input[type=range]
{
	width: 98%;
}

progress
{
	accent-color: #08F;
	appearance: none;
	background-color: #EEE;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
	border-radius: 3px;
	border: none;
	width: 256px;
	height: 16px;
}

progress::-webkit-progress-bar
{
	background: #08F url('../images/glass_gradient_clear_16.png') repeat;
	border-radius: 3px;
	color: #5E5;
}
progress::-moz-progress-bar
{
	background: #08F url('../images/glass_gradient_clear_16.png') repeat;
	border-radius: 3px;
	color: #5E5;
}

h2
{
	margin: 0px;
}

h3
{
	margin-top: 8px;
}

hr
{
	color: rgba(0, 0, 0, 0.2);
}

.custom_label
{
	user-selection: none;
	position: relative;
	top: -6px;
}

.input_label
{
	line-height: 40px;
}

.layout_selector
{
	display: block;
	height: 87px;
	clear: both;
	margin: 4px 0;
}

.custom_input input
{
	display: none;
	opacity: 0;
}

input:checked ~ .custom_input_select
{
	border-radius: 2px;
	background-color: rgba(0, 0, 0, 0.2);
}

.custom_radio
{
	display: inline-block;
	background-image: url('../images/radiobutton.svg');
	background-size: cover;
	width: 22px;
	height: 22px;
}

input:checked ~ .custom_radio
{
	background-position: 100%;
}

.custom_check
{
	display: inline-block;
	background-image: url('../images/checkbox.svg');
	background-size: cover;
	width: 22px;
	height: 22px;
}

input:checked ~ .custom_check
{
	background-position: 100%;
}

.hidden_select:checked ~ .hidden_selected
{
	display: block;
}

.hidden_selected
{
	display: none;
}

.custom_toggle
{
	display: inline-block;
	background-image: url('../images/toggle.svg');
	background-size: cover;
	width: 48px;
	height: 32px;
	cursor: pointer;
}

.custom_toggle--on
{
	background-position: 100%;
}

.menu
{
	font-size: 128%;
	font-weight: bold;
	user-select: none;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.menu ul
{
	display: none;
	margin: 0;
	right: 0;
	width: 140px;
	padding: 8px;
	list-style:	none;
	position: absolute;
	z-index: 1;
	text-align: center;
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 2 2px 2px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.menu:hover ul
{
	display: block;
}

.menu ul li a
{
	margin: 2px;
	padding: 2px 8px;
	display: block;
}

.menu ul li a:hover
{
	background-color: rgb(255, 255, 255);
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 2px;
}

.menu_icon_mode
{
	width: 32px;
	height: 32px;
	background-image: url('../images/icon_light_mode_1.png');
	background-position: 0px 0px;
	background-repeat: no-repeat;
	cursor: pointer;
	user-select: none;
}

.menu_anchor
{
	font-size: 128%;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

#overlay {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(8px);
	background-color: #000;
  background-color: rgba(128, 128, 128, 0.5);
  text-align: center;
}

.button_32
{
	background: #08F url('/images/glass_gradient_clear_32.png') repeat;
	height: 32px;
	border-radius: 3px;
	color: #FFF;
	text-shadow: 1px 1px #888;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	padding: 0 8px;
	line-height: 32px;
	user-select: none;
	cursor: pointer;	
}
