html, body
{
	background: #222;
	height: 100%;
	
	margin: 0;
	font-family: "Roboto", Arial, Sans, Tahoma;
	color: white;
}

a
{
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

div.form-main
{
	width: 100%;
	max-width: 420px;
	
	margin: auto;
	padding-top: 25px;
	text-align: center;
}

div.form-main form
{
	display: block;
	
	width: 100%;
	background: #444;
	
	padding: 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	font-size: 0;
}

div.form-main form h1
{
	font-weight: 100;
	margin-bottom: 0;
	font-size: 36px;
}

div.form-main form hr
{
	background: #666;
	width: 100%;
	height: 1px;
	
	margin: 15px 0;
	border: 0;
}

div.form-main form input
{
	width: 100%;
	border: 1px solid #555;
	
	padding: 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	font-size: 15px;
	border-radius: 10px;
	
	background: #333;
	color: #ededed;
	
	outline: none;
	font-weight: 100;
	font-family: "Roboto", Arial, Sans, Tahoma;
	
	margin-bottom: 10px;
}

div.form-main form input:last-of-type
{
	margin-bottom: 0;
}

div.form-main form button.button,
a.form-btn
{
	border: 1px solid #00a1df;
	border-radius: 5px;
	padding: 8px;
	
	font-weight: 400;
	font-family: "Roboto", Arial, Sans, Tahoma;
	font-size: 16px;
	
	color: white;
	background: #00c6ff;
	
	cursor: pointer;
}

div.form-main form button.button:hover,
a.form-btn:hover
{
	background: #00a1df;
	border-color: #0088ca;
	text-decoration: none;
}

div.form-main form ~ div
{
	text-align: left;
	margin-top: 10px;
	margin-left: 10px;
}

div.form-main form ~ div a
{
	color: white;
	font-weight: 100;
	font-size: 12px;
}

div.form-main form a
{
	display: inline-block;
	width: 49%;
	
	margin-right: 2%;
	margin-bottom: 10px;
	border-radius: 10px;
	color: white;
	text-align: center;
	
	background: #333;
	border: 1px solid #555;
	padding: 10px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	vertical-align: top;
	font-size: 16px;
}

div.form-main form a:hover
{
	text-decoration: none;
	background: #222;
}

div.form-main form a.inactive
{
	background: #900;
}

div.form-main form a img
{
	width: 60%;
	padding-bottom: 10px;
	display: block;
	margin: auto;
}

div.form-main form a:nth-child(2n)
{
	margin-right: 0;
}

div.form-main form a:nth-last-of-type(1),
div.form-main form a:nth-last-of-type(2)
{
	margin-bottom: 0;
}

@media all and (min-width:421px)
{
	div.form-main form
	{
		border-radius: 10px;
	}
}

div.nav
{
	width: 100%;
	background: #444;
	font-size: 0;
}

div.nav a
{
	display: inline-block;
	padding: 10px;
}

div.nav a:hover
{
	background: #068;
}

div.nav a.active
{
	background: #00c6ff;
}

div.nav a.inactive
{
	background: #900;
}

div.nav a img
{
	height: 40px;
}

div.tiles
{
	font-size: 0;
	padding: 10px;
}

div.tiles a.form-btn
{
	margin: 0px 10px 0 0;
	display: inline-block;
}

div.tiles table a.form-btn
{
	margin-top: 0;
}

div.tiles a.form-btn:last-child
{
	margin-right: 0;
}

a.tile
{
	display: inline-block;
	padding: 5px;
	background: #333;
	
	margin: 5px;
}

a.tile img
{
	height: 78px;
}

div.tiles table
{
	max-width: 700px;
	width: 100%;
	
	margin: auto;
	font-size: 16px;
}

div.tiles table.full
{
	max-width: 100%;
	min-width: 700px;
}

.fill.red
{
	background: #a00;
}

.fill.red .blacklisted
{
	color: white;
	

}

div.tiles table tr:nth-child(2n)
{
	background: #333;
}

div.tiles table tr th,
div.tiles table tr td
{
	padding: 6px 10px;
}

div.tiles table tr td.highlighted
{
	background: #383;
}

div.tiles table tr td span
{
	opacity: 0.3;
	display: inline-block;
	
	padding: 2px 6px;
	border-radius: 5px;
	margin-right: 10px;
}

div.tiles table tr td span.active
{
	opacity: 1;
}

div.tiles table tr td span.active:nth-child(1)
{
	background: #f00;
}

div.tiles table tr td span.active:nth-child(2)
{
	background: #1c7;
}

div.tiles table tr td span.active:nth-child(3)
{
	background: #f82;
}

div.tiles table tr td span.active:nth-child(4)
{
	margin-right: 0;
	background: #00c6ff;
}

div.alert
{
	text-align: center;
	padding: 5px 0;
}

div.alert.info
{
	background: #00a6df;
	text-align: left;
	
	padding: 10px 25px;
}

div.alert.success
{
	background: #00cf75;
}

div.alert.error
{
	background: #cf0000;
}

div.panel
{
	width: 100%;
	max-width: 950px;
	
	border: 1px solid #060606;
	border-radius: 5px;
	background: #333;
	
	margin: 15px auto;;
	
	overflow: hidden;
	
	font-size: 0;
	
	padding: 10px;
}

div.panel.narrow
{
	max-width: 450px;
}

div.panel-left
{
	display: inline-block;
	vertical-align: top;
	
	width: 330px;
	font-size: 16px;
	
	margin: 0 10px 0 0;
}

div.panel-left div.image
{
	padding: 10px;
	background: #444;	
}

div.panel-left div.image img
{
	width: 100%;
}

div.panel-right
{
	display: inline-block;
	vertical-align: top;
	
	width: 610px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	padding-left: 10px;
	border-left: 1px solid #444;
}

div.panel label
{
	display: block;
	font-size: 16px;
	margin: 15px 10px 5px;
}

div.panel label:first-child
{
	margin-top: 0;
}

div.panel input,
div.panel textarea
{
	font-size: 16px;
	border: 1px solid #111;
	background: #444;
	color: white;
	width: 100%;
	
	padding: 10px 10px;
	border-radius: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	resize: none;
}

div.panel input[type="date"]
{
	padding: 7px 10px;
}

div.panel div.part
{
	border-bottom: 1px solid #444;
}

div.panel div.twothird
{
	display: inline-block;
	vertical-align: top;
	
	width: 67%;
	padding: 10px 5px 10px 0;
	border-right: 1px solid #444;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

div.panel div.onethird
{
	display: inline-block;
	vertical-align: top;
	
	width: 33%;
	padding: 10px 0 10px 5px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

div.panel div.onethird iframe
{
	border: 1px solid #111;
	border-radius: 5px;
	
	width: 100%;
	height: 120px;
	
	margin-top: 10px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

div.panel div.onethird iframe[src=""],
div.panel div.onethird iframe[src="undefined"]
{
	display: none;
}

div.panel div.half
{
	display: inline-block;
	vertical-align: top;
	
	width: 50%;
	padding: 10px 5px 0;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

div.panel div.part div.half
{
	padding: 0 5px 0;
}

div.panel div.half:first-child
{
	padding-left: 0;
}

div.panel div.half:last-child
{
	padding-right: 0;
}

.hfile-upload input[type="file"]
{
	position: absolute;
	opacity: 0;
	width: 0;
	bottom: 100%;
}

.hfile-upload div.buttons
{
	margin-top: 10px;
}

button.form-btn
{
	padding: 5px 15px;
	border-radius: 5px;
	border: 1px solid #111;
	
	background: #414141;
	color: white;
	font-size: 16px;
	
	margin-top: 10px;
	cursor: pointer;
}

button.form-btn.active
{
	background: #00c6ff;
}

button.form-btn:hover
{
	background: #313131;
}

div.radio-selector input
{
	display: inline-block;
	width: auto;
	position: relative;
	
	cursor: pointer;
}

div.radio-selector input#single
{
	margin-right: 50px;
}

div.radio-selector input:after
{
	content: attr(value);
	position: absolute;
	top: 0;
	left: -2px;
	
	display: block;
	background: #333;
	border: 2px solid #00c6ff;
	
	padding: 6px 10px;
}

div.radio-selector input:hover:after
{
	background: #006380;
}

div.radio-selector input:first-child:after
{
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	
}

div.radio-selector input:last-child:after
{
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

div.radio-selector input:checked:after
{
	background: #00c6ff;
}

div.quarter
{
	display: inline-block;
	width: 15%;
	margin: 0;
	
	vertical-align: top;
	text-align: left;
}

div.tquarter
{
	display: inline-block;
	width: 30%;
	margin: 0;
	
	vertical-align: top;
	text-align: left;
}

div.quarter input,
div.tquarter input
{
	width: auto;
	position: relative;
	margin-bottom: 20px;
}

div.quarter input[type="checkbox"]:after,
div.tquarter input[type="checkbox"]:after
{
	position: absolute;
	top: 0;
	left: 0;
	
	display: block;
	border-radius: 5px;
	background: #333;
	
	border-color: inherit;
	content: attr(display-before);
	white-space: nowrap;
	
	padding: 5px;
}

div.quarter input[type="checkbox"]:checked:after,
div.tquarter input[type="checkbox"]:checked:after
{
	background: inherit;
	border-color: inherit;
}

input[readonly]
{
	opacity: 0.5;
	cursor: not-allowed;
}

/*
*BEGIN HRs
*/

hr			{border: 0px;}

	/*
	Widths
	*/

hr.full		{width:		100%;}
hr.wide		{width: 	80%;}
hr.half		{width:		60%;}
hr.narrow	{width:		40%;}

	/*
	Heights
	*/

hr.thin		{height: 	1px;}
hr.normal	{height:	3px;}
hr.bold		{height:	5px;}
hr.thick	{height:	7px;}

	/*
	Margins
	*/
	
hr.tiny		{margin: 1px 0px;}
hr.small	{margin: 3px 0px;}
hr.medium	{margin: 5px 0px;}
hr.large	{margin: 10px 0px;}
hr.huge		{margin: 20px 0px;}
hr.centered	{margin-left: auto; margin-right: auto;}

	/*
	Colors
	*/
	
hr.black	{background-color: black;}
hr.darker	{background-color: #333;}
hr.dark		{background-color: #555;}
hr.darkgray	{background-color: #777;}
hr.gray		{background-color: #aaa;}
hr.lightgray{background-color: #ccc;}
hr.light	{background-color: #eee;}
hr.white	{background-color: white;}

@media all and (max-width: 374px)
{
	a.tile img
	{
		height: auto;
		width: 100%;
	}
	
	a.tile
	{
		width: calc(100% - 10px);
		box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
}

h1
{
	text-align: center;
}

div.editor
{
	margin: auto;
	max-width: 1000px;
	width: 100%;
}

div.editor textarea
{
	width: 100%;
	background: #333;
	padding: 25px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: white;
	
	font-family: Arial;
	line-height: 20px;
	font-size: 18px;
	
	border: 0;
}

div.edit-wrapper
{
	width: 600px;
	max-width: 100%;
	
	margin: auto;
}

div.edit-wrapper div.section:not(:last-of-type)
{
	border-bottom: 1px solid #555;
}

div.edit-wrapper div.section div.title
{
	background: #333;
	color: white;
	
	padding: 15px;
	font-size: 30px;
}

div.edit-wrapper div.section div.items a
{
	background: #111;
	color: white;
	
	text-decoration: none;
	display: block;
	
	padding: 10px 10px 10px 35px;
}

div.edit-wrapper div.section div.items a:hover
{
	background: #00c6ff;
	
	transition-duration: 0.2s;
}

div.edit-wrapper div.section div.items a:not(:last-of-type)
{
	border-bottom: 1px solid #393939;
}