html {
	height: 101%;
}
body, html {
	margin: 0;
	padding: 0;
}

body {
	background: #808080;
	font-family: 'trebuchet ms', helvetica, sans-serif;
	font-size: 95%;
}

img {
	border: 0;
}

a:focus {
  outline: none;
}

.clear-both {
	clear: both;
}

#top-container {
	background: #fff;
}
#header {
	position: relative;
	width: 1008px;
	height: 360px;
	margin: 0 auto;
	background: url('../images/header.png') bottom center;
	color: white;
	text-align: center;
	z-index: 30;
}
#header_box {
	position: absolute;
	top: 70px;
	left: 129px;
	width: 310px;
	height: 170px;
	background: url('../images/header_box.png');
	overflow: hidden;
	
	font-family: arial, "lucida console", sans-serif;
	color: #cbcbcb;
}
#header_box .content, #header_box .content-js {
	position: absolute;
	width: 1500px;
	left: 0;
	top: 0;
	padding: 20px;
	text-align: left;
	font-size: 250%;
}
#header_box .content-js {
	left: 500px;
}
#header_box .content .sub {
	float: left;
	width: 290px;
}
#header_box .content .sub .word {
	position: absolute;
}

#header .menu {
	position: absolute;
	width: 770px;
	height: 35px;
	/*bottom: 32px;*/
	top: 293px;
	left: 160px;
	text-align: left;
}
#header .menu a {
	display: block;
	float: left;
	height: 23px;
	min-width: 75px;
	padding: 6px 12px;
	color: #cca;
	font-size: 130%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}
#header .menu a.selected {
	color: #eee;
	background: url('../images/menu_selected_rectangle.png') repeat-x;
}
#header .menu a .round {
	position: absolute;
	top: 17px;
	margin: 0 auto;
	width: 75px;
	height: 18px;
	background: url('../images/menu_selected_round.png') bottom center no-repeat;
	z-index: -1;
}
#header .menu img.seperator {
	float: left;
}

#main {
	width: 1008px;
	margin: 0 auto;
	color: #000;
}
#main a {
	text-decoration: none;
	color: #f32;
}
#main a:hover {
	color: #aa0;
}
#main {
	width: 920px;
	margin: 30px auto 0 auto;
}
#main .letters {
	position: absolute;
	margin-left: 50px;
	margin-top: -90px;
	width: 284px;
	height: 166px;
	background: url('../images/letters.png') no-repeat;
	z-index: 10;
}

#main .content-wrap {
	margin-right: 14px;
	background: #fff;
}
#main .content-wrap .top_fade {
	position: absolute;
	height: 78px;
	width: 902px;
	margin-top: -5px;
	margin-left: -5px;
	background: url('../images/content_top_fade.png') repeat-x;
	z-index: 12;
}
#main .content-wrap .content {
  position: relative;
	padding: 30px;
	padding-top: 20px;
	z-index: 15;
	color: #333;
}

/* drop shadows around content */
#main .border_tl {
	background: url('../images/corner/cl.png') no-repeat 0% -14px;
}
#main .border_tr {
	margin-left: 14px;
	background: url('../images/corner/cr.png') no-repeat 100% -14px;
}
#main .border_t {
	position: relative;
	height: 14px;
	margin-right: 14px;
	background: url('../images/corner/horiz.png') repeat-x 0 -14px;
}
#main .border_l {
	background: url('../images/corner/l.png') top left repeat-y;
}
#main .border_r {
	margin-left: 14px;
	background: url('../images/corner/r.png') top right repeat-y;
}

/* 3 columns */
#main .content .three-columns {
	background: url('../images/three_columns.png') top center repeat-y;
}
#main .content .three-columns h2 {
	margin-top: 0;
	text-align: center;
	font-weight: bolder;
	color: #888;
	letter-spacing: 2px;
}
#main .content .column {
	float: left;
	padding: 30px;
	padding-top: 0;
	padding-bottom: 0;
	width: 237px;
}

#main .content #column-left { padding-left: 0; }
#main .content #column-right {	padding-right: 0; }

/* make the content box look mirrory */
#footer .content-box-extension {
	width: 920px;
	margin: 0 auto;
}
#footer .border_l {
	background: url('../images/corner/fl.png') top left repeat-y;
}
#footer .border_r {
	margin-left: 14px;
	background: url('../images/corner/fr.png') top right repeat-y;
}
#footer .border_bl {
	background: url('../images/corner/cl.png') no-repeat 0% 0px;
}
#footer .border_br {
	margin-left: 14px;
	background: url('../images/corner/cr.png') no-repeat 100% 0px;
}
#footer .border_b {
	margin-right: 14px;
	height: 14px;
	background: url('../images/corner/horiz.png') repeat-x 0 0px;
}
#footer .content-box-extension .empty-space {
	margin-right: 14px;
	height: 20px;
	background: url('../images/footer_box_back.png');
}
#footer .content {
	text-align: center;
	color: #eee;
	padding: 30px;
}

/* misc */
div.clearb {
	clear: both
}

.error {
	color: #f22;
}
