html,body {
	height: 100%;
	margin: 0;
	padding: 0;

	background: #161616 url('bg.png') repeat-x;
	font-family: sans-serif;
}

#container {
	position: relative;
	width: 1000px;
	height: auto !important;
	min-height: 100%;
	margin: 0 auto;

	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;
}

#logo {
	position: absolute;
	left: 0px;
}

#slogan {
	float: left;
	width: 400px;
	padding-top: 175px;

	text-align: center;
	font-size: 100%;
	color: #ffc000;
}

#login {
	height: 55px;
	width: 355px;
	padding-top: 170px;
	float: right;
}

#login > span {
	position: relative;
	top: 5px;
	color: #ffc000;
	font-size: 80%;
}

	#login > span > a {
		color: #bb8000;
	}

	#login > span > a:hover {
		color: #ffc000;
	}

#login > form {
	position: relative;
}

	#login > form > input[type="text"],
	#login > form > input[type="password"] {
		width: 132px;
		height: 16px;
		margin: 0;
	}

	#login > form > input[type="submit"] {
		width: 54px;
		margin: 0;
	}

input[type="text"],
input[type="password"] {
	background-color: #300;
	border: 1px solid #ffc000;
	outline: none;
	padding: 4px;
	color: #ffc000;
	font-size: 80%;
	margin: 3px;
}

input[type="submit"] {
	padding: 4px;
	background-color: #300;
	border: 1px solid #ffc000;
	font-weight: bold;
	color: #ffc000;
	font-size: 80%;
	margin: 3px;
}

select {
	border-color: #777;
	background: #444;
	color: #bbb;
	font-size: 80%;
	margin-left: 0px;
	margin-right: 0px;
	padding: 4px;
}

#content textarea {
	background-color: #300;
	border: 1px solid #ffc000;
	outline: none;
	padding: 4px;
	color: #ffc000;
	font-size: 80%;
	margin: 0px 3px;

	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;

	width: 100%;
}

#content input[type="text"],
#content input[type="submit"],
#content input[type="password"],
#content textarea {
	border-color: #777;
	background: #444;
	color: #bbb;

	margin-left: 0px;
	margin-right: 0px;
}

#menu {
	display: block;
	padding: 0;
	margin: 0;

	border-bottom: 1px solid #000;
	-webkit-box-shadow: 0px 0px 20px #000;
			box-shadow: 0px 0px 20px #000;
}

	#menu > li {
		display: block;
		float: left;

		width: 25%;
		height: 45px;
	}

		#menu > li > a {
			display: block;

			width: 100%;
			height: 45px;
			line-height: 45px;

			color: #ffc000;
			text-decoration: none;
			font-size: 130%;
			font-weight: bold;
			vertical-align: middle;

			background-color: #900;
			background-image: linear-gradient(bottom, rgb(170,0,0) 100%, rgb(119,0,0) 0%);
			background-image: -o-linear-gradient(bottom, rgb(170,0,0) 100%, rgb(119,0,0) 0%);
			background-image: -moz-linear-gradient(bottom, rgb(170,0,0) 100%, rgb(119,0,0) 0%);
			background-image: -webkit-linear-gradient(bottom, rgb(170,0,0) 100%, rgb(119,0,0) 0%);
			background-image: -ms-linear-gradient(bottom, rgb(170,0,0) 100%, rgb(119,0,0) 0%);
			background-image: -webkit-gradient(
				linear,
				left bottom,
				left top,
				color-stop(1, rgb(170,0,0)),
				color-stop(0, rgb(119,0,0))
			);
			
			text-align: center;
			text-shadow: 1px 1px 0px #000;
		}

		#menu > li > a:hover {
			color: #fff;
			background: #600;
		}

#content {
	padding: 20px;

	color: #999;
	background: #333;
	-webkit-box-shadow: 0px 0px 20px #000;
			box-shadow: 0px 0px 20px #000;
}

#content h1, #content h2, #content h3 {
	color: #ffc000;
	font-weight: normal;
	margin: 0;
	padding: 0;

	text-shadow: 1px 1px 0px #000;
}

#content hr {
	border-bottom: 1px solid #444;
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #111;
}

#content table td,
#content table th {
	border: 0px;
	padding: 5px;
	color: #aaa;
}

#content a {
	color: #bb8000;
	text-decoration: none;
}

#content a:hover {
	color: #ffc000;
}

#content span.red {
	color: red;
}

img.inline-icon {
	position: relative;
	top: 2px;
	margin-right: 5px;
}

#spaceholder {
	height: 50px;
}

#footer {
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 37px;
	text-align: center;
}

#footer > span {
	color: #777;
	font-family: sans-serif;
	font-size: 70%;

}

.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}

.cf {
	*zoom: 1;
}
