/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	padding-left: 3em;
}

ol li,
ul li {
	margin-bottom: 0.5em;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}

/* =Style
-------------------------------------------------------------- */

html, body {
	background: #f0f0f0;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.95em;
	color:#4d4948;
}

h1 {
	margin: 0;
	text-align: left;
	font-size: 150%;
	padding: 0px;
}

h2 {
	margin: 0;
	margin-top: 1.5em;
	margin-bottom: 0.8em;
	text-align: left;
	font-size: 120%;
	font-weight:bold;
	padding: 0px;
}

h3 {
    font-weight:bold;
	margin: 0;
	font-size: 105%;
	padding: 0px;
	padding-bottom:1em;
}

a {
	color:#4d4948;
}

#top {
	margin: 0 auto 0 auto;
	width: 100%;
	max-width:1024px;
	background:url('images/top-bg.jpg') repeat-x;
	color:#fff;
	width:100%;
	height:100px;
}

#logo-text {
	padding:10pt;
	padding-left:2em;
	padding-top: 2em;
}

#logo {
	margin: 0 auto 0 auto;
	background:url('images/latest-build.gif');
	width: 155px;
	height: 124px;
}

#content {
	background:#fff;
	margin: 0 auto 0 auto;
	padding-top:2em;
	padding-bottom:2em;
	width: 100%;
	max-width:1024px;
	border:1px solid #e0e0e0;
	overflow:hidden;
}

#content #nav {
	width:160px;
	margin-left:3em;
	margin-bottom:2em;
	margin-right:2em;
	float:left;
	font-size:95%;
}

#content #nav ul {
	padding:0 0 50px 0;
	margin:0;
	float:left;
}

#content #nav ul li {
	padding:0;
	margin-bottom:0.5em;
	list-style:none;
}

#content #nav ul li a {
	text-decoration:none;
}

#content #nav ul li a:hover {
	color:#ff0505;
	text-decoration:underline;
}

#content #main {
	float:left;
	padding-left:1em;
	padding-right:1em;
	max-width:700px;
	width:70%;
	font-size:90%;
}

#content #main #regbox {
	padding: 0 0 0 0;
}

p {
	margin-top:1em;
	margin-bottom:0.5em;
}

#content #main #regbox label,
#content #main .setting-box label {
	width:130px;
	float:left;
	display:block;
	clear:left;
}

table.admin {
	border-collapse:collapse;
}

table th {
	font-weight:bold;
}

table td {
	padding:0.5em;
	border:1px solid #e0e0e0;
}

table.admin td,
table.admin th {
	text-align:left;
	vertical-align: top;
	padding-right: 1.5em;
}

input {
	height:1.4em;
}

#error {
	display:block;
	margin:5px;
	color:#4d4948;
	background-color:#fffebe;
	border: 1px solid #cbcbcb;
	font-size:90%;
}

#success {
	margin:5px;
	color:#4d4948;
	background-color:#bce9b5;
	border: 1px solid #7ace6c;
	font-size:90%;
}

.setting-box,
.log {
	margin:1em;
	padding:1em;
	width:280px;
	border-radius:2px;
	border-left: 1px solid #e5e5e5;
	border-top: 1px solid #e5e5e5;
	border-bottom: 2px solid #e5e5e5;
	border-right: 2px solid #e5e5e5;
	overflow:hidden;
	float:left;
}

.log {
	width:auto;
}

.log ul {
	padding:0;
	margin:0;
}

.log ul  li {
	padding:0;
	margin-bottom:1pt;
	list-style:none;
}

.slider{
	margin-bottom:1em;
	width: 270px;
}

input.submit {
	margin:1em;
	height:2.5em;
	position:relative;
	float:right;
	right:1em;
}

/* =Responsive Structures
----------------------------------------------- */

@media only screen and (max-width: 640px) {
	#content,
	#top {
		margin:0;
		width:100%;
	}
	#content #nav {
		float:none;
	}
	
	#content #main {
		width:100%;
		float:none;
		clear:both;
	}
	
	.setting-box {
		max-width:300px;
	}
	.setting-box,
	.log {
		margin:0em;
		margin-bottom:1em;
		margin-left:-1em;
		padding:1em;
		width:100%;
		clear:both;
		float:none;
	}
}