/* General */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ul, li, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0px;
	padding:0px;
	border:0px; 
}
html,body {
	height:100%;
}
body {
	background:#E1E3DD url(/images/grid.png) repeat-y center top;
	font-family:Verdana, sans-serif;
}
iframe {
	width:70px;
}
.box iframe {
	width:200px;
}
ol ol {
    margin-top:18px;
}
ol li {
    padding-left:5px;
}
/* Headers */
h1, h3, h2, h1 a, h3 a, h2 a, p.large, p.large a, ol {
	color:#545452;
	font-weight:normal;
}
h1 {
	line-height:54px;
	font-size:32px;
}
p.large {
	line-height:36px;
	font-size:24px;
}
h3 {
	font-size:20px;
	margin-bottom:9px;
}
h2 {
	font-size:14px;
	text-transform:uppercase;
}
h3, h2 {
	line-height:27px;
}
h1.showlinks a {
	border-color:inherit;
}

/* Tables */
th, td {
	height:27px;
	line-height:27px;
	font-size:13px;
	border-bottom:1px solid #A6A8A3;
	padding-right:20px;
	text-align:left;
}
table {
	margin:0px 10px 18px;
	border-collapse:collapse;
}
td.small, th.small {
	width:5px;
}

/* Images */
img.folio {
	border:1px solid #9A9A9E;
}
img.overlap {
	margin-top:-20px;
}


/* Links (anchors) */
a {
	padding-bottom:2px;
	color:#444494;
	/*border-bottom:1px solid transparent;*/
	text-decoration:none;
}
a:hover {
	/*border-bottom:1px solid;*/
	text-decoration:underline;
}
#lightbox a, a.noline {
	border-bottom:0px;
}
#lightbox a:hover, a.noline:hover {
	border-bottom:0px;
	text-decoration:none;
}
a[rel] {
	border-bottom:0px;
}

/* Forms */
form {
	line-height:27px;
}
label, input {
	display:block;
	float:left;
}
input {
	width:133px;
}
label {
	width:83px;
	line-height:18px;
}
form label span {
	margin-left:0px;
}
input, textarea, select {
	background-color:#E8E8E0;
	border:1px solid #A6A8A3;
	padding:1px;
	font-family:verdana, sans-serif;
	font-size:13px;
}
input.submit {
	margin-left:83px;
	margin-top:9px;
	height:27px;
	width:auto;
	float:none;
}

input[type="hidden"], form.inline input[type="hidden"] {
	display:none;
}
form span {
	/*float:left;*/
	line-height:18px;
	margin-bottom:-5px;
	margin-left:5px;
}
.captcha {
	float:left;
	position:relative;
	top:-4px;
	margin-bottom:-9px;
	z-index:-1; 
}

/* Content elements (p, form etc.) */
p, ul, pre, ol {
	line-height:18px;
}
ul.spaced li, ol li {
	margin-bottom:18px;
}
pre, .codebox {
	background-color:#D9DCD4;
	padding:9px;
	border:1px solid #A6A8A3;
	color:#434342;
}
ul {
    margin-left:27px;
}
ol {
    margin-left:31px;
}
ul, ol {	
	margin-bottom:18px;
	font-size:13px;
	margin-right:10px;
}
ul {
    list-style-type:square;
}
p, ul, label, input, span, table, select, textarea, .selected, ol {
	color:#545452;
}
p.italic {
	font-style:italic;
	color:#888887;
}
p.italic a {
	color:#7777A4;
}
p.byline + p, p.followed + p {
	margin-top:9px;
}
.following {
	margin-top:9px;
}
p.followed {
	margin-bottom:0px;
}
p.byline {
	margin-top:-18px;
	margin-bottom:-9px;
}
ul.invisible {
	list-style-type:none;
	margin-left:10px;
}

/* Boxes */
/*.box h1 {
	font-size:30px;
}*/
.box h1, .box h1 a, .box p.large, .box p.large a {
	color:#F0F0F0;
}
.box h3 {
	color:#E1E3DD;
}
.box h2, .box h2 a {
	color:#8A8A8E;
	margin-bottom:0px;
}
.box p {
	color:#CBCBCB;
}
.box {
	background-color:#545452;
	padding:10px 0px;
	margin-bottom:30px;
}


.box a {
	color:#9A9AFF;
}

/* Spacing (grid system 9 * 80) */
.spans-1 { width: 80px; } .spans-2 { width:160px; } .spans-3 { width:240px; }
.spans-4 { width:320px; } .spans-5 { width:400px; } .spans-6 { width:480px; }
.spans-7 { width:560px; } .spans-8 { width:640px; } .spans-9 { width:720px; }
.spans-10 { width:800px; } .spans-11 { width:880px; } .spans-12 { width:960px; }
.columns {
	float:left;
	clear:none;
	/*border:1px solid #FF0000;*/
}
.container {
	margin:0px;
}
.box, p, form, h1, h3, h2, pre {
	margin-left:10px;
	margin-right:10px;
	margin-bottom:18px;
}
.error p {
	margin-bottom:0px;
}
#container .error {
	background-color:#FFBBBB;
}
#container .error p {
	color:#663333;
}
#menu ul#load {
	float:right;
	height:27px;
	line-height:25px;
	/*display:none;*/
}
#menu ul#load li {
	float:right;	
	margin-right:0px;
}
.last, .spans-12 {
	clear:right;
}
.box, p, form {
	font-size:13px;
}
.clear {
	margin-bottom:-1px;
	height:1px;
	float:none;
	clear:both;
	display:block;
}

.box ul {
	color:#CBCBCB;
}

/* ========================STRUCTURE======================== */
div#container {
	width:960px;
	margin:0px auto 96px;
}

/* Header */
div#header, div#footer {
	background-color:#262625;
}
div#header {
	padding:20px 10px 30px;
}
div#header p {
	width:940px;
	margin:0px auto;
}

/* Footer */
div#menu, div#footer div {
	background-color:#b6b8b3;
	border:1px solid #a0a19d;
}
div#nonfooter {
	position: relative;
	min-height: 100%;
}

div#footer {
	position:relative;
	height:36px;
	margin-top:-36px;
}
div#footer div {
	width:940px;
	position:relative;
	top:-14px;
	margin:0px auto;
	height:27px;
	border-width:5px 0px 0px;
	overflow:hidden;
}

#footer p {
	height:27px;
	line-height:25px;
	color:#545452;
}

/* Menu */
div#menu {
	border-width:0px 0px 5px;
	height:27px;
	width:920px;
	margin:0px auto 54px;
	padding:0px 10px;
	margin-top:-18px;
}

div#menu ul {
	list-style:none;
	margin:0px auto;
	/*width:940px;*/
}
#menu li {
	float:left;
	height:27px;
	line-height:25px;
	font-size:13px;
	margin-right:40px;
}
#menu a, #load a {
	text-decoration:none;
	color:#545452;
}
#menu a:hover {
	border-bottom:0px;
}
#menu li:hover {
	border-bottom:5px solid #7a7b78;
}
.bold {
	font-weight:bold;
}
.italic {
	font-style:italic;
}
.codebox {
    font-family:"courier new", sans-serif;
    display:block;
    margin-top:9px;
}
.underlined_a a {
	text-decoration:underline;	
}