/* layout */

html {
	background:#000000;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	background:#000000;
}

#wrap1 {
	width: 1000px;
	margin: 0 auto;
	background:url('bg1.jpg');
}

#wrap2 {
}

#fakemargin {
	height: 10px;
}

/* heading h1 is reprogrammed as the site banner, so belongs in layout.css not typography.css */

h1 {
	margin: 0;
}

h1 a {
	display: block;
	width: 1000px;
	height: 100px;
	text-indent: -9999px;
	overflow: hidden;
	background: url('header.jpg') no-repeat !important;
}

/* horizontal rules devide sections when viewing without CSS, but are hidden when using the CSS, so we keep them in layout.css */

hr {
	display: none;
}

/* main */

#wrap3 {
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

/* navigation, we hide the heading since we only use it for without the CSS. */

#nav h2 {
	display: none;
}

#nav ul {
	list-style: none;
	margin: 0;
	padding: 0 4px;
	height: 28px;
	font-family:Arial, Helvetica, sans-serif;
	background: url('nav.jpg') no-repeat;
}

#nav ul li {
	display: block;
	margin: 0;
	padding: 3px 0 0 0;
	float: left;
}

#nav ul li a {
	color:#FFFFFF !important;
	text-decoration: none;
	display: block;
}

#nav ul li a:hover, #nav ul li.selected a, #nav ul li.over a {
	color: none !important;
	}

#nav ul li a span {
	display: block;
	height: 28px;
	line-height: 27px;
	padding: 0 12px 0 11px;
}

#nav ul li a:hover span, #nav ul li.selected a span, #nav ul li.over a span {
	background:none;
}

#nav ul li ul li span, #nav ul li ul li a {
	background-image: none !important;
}

#nav li ul {
	display: none;
	position: absolute;
	top: 1em;
	left: 0;
	background: #333;
	border-top: 1px solid #777;
	border-left: 1px solid #777;
	border-right: 1px solid #111;
	border-bottom: 1px solid #111;
	height: auto;
	padding: 0 0 3px 0;
}

#nav li > ul {
	top: auto;
	left: auto;
}

#nav li ul li {
	display: block;
	width: 12em;
	float: none;
}

#nav li.over ul {
	display: block;
}

#nav li.selected ul li a, #nav li.selected ul li a span {
	background: none;
}

#nav li ul li a:hover {
	background: #242528;
}

#nav li ul li a:hover span, #nav li ul li.selected a span {
	background: none;
}

#nav ul li ul li a span {
	color: white !important;
}

#nav ul li ul li a:hover span {
	color: none !important;
}

#right {
	padding: 0 16px 16px 16px;
	margin-top: -16px;
}

/* main content */

#main {
	padding: 0 16px 16px 16px;
	margin-top: -16px;
}

/* footer */

#footer {
	background:url('footer.jpg');
	padding: 7px 16px 6px 16px;
}

/* typography */

body {
	color: black;
	font-family:Arial, Helvetica, sans-serif;
}

a {
	color:#CC9900;
}

a:hover{
	color:#CC6600;
}

a img {
	border: none;
	vertical-align: top;
}

h2 {
	font-size: 24px;
	color: #FFFFFF;
	padding: 10px;
	margin: 16px -16px 0 -16px;
	text-transform: uppercase;
	text-align: left;
	background: url('h2bg.jpg');
	background-repeat: repeat-x;
}

h3 {
	font-size: 22px;
	margin: 16px 0 0 0;
}

h4 {
	font-size: 20px;
	margin: 16px 0 0 0;
}

h5 {
	font-size: 16px;
	margin: 16px 0 0 0;
}

h6 {
	font-size: 14px;
	margin: 16px 0 0 0;
}

p, ul, ol, dl {
	line-height: 22px;
	margin-top: 16px;
	margin-bottom: 0;
}

dt {
	font-weight: bold;
	margin-bottom: 10px;
}

#footer p {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}

.alleft {
	text-align: left;
}

.alright {
	text-align: right;
}

.alcenter {
	text-align: center;
}

.floatleft {
	float: left;
	margin-right: 16px;
	margin-bottom: 16px;
}

.floatright {
	float: right;
	margin-left: 16px;
	margin-bottom: 16px;
}

.clearleft {
	clear: left;
}

.clearright {
	clear: right;
}

.clear {
	clear: both;
}

#pagenav {
	height: 22px;
}

#pagenav .previous {
	width: 350px;
	float: left;
}

#pagenav .next {
	width: 350px;
	float: right;
	text-align: right;
}

.roster_group {
	margin-right: -40px;
}

.roster_group img {
	vertical-align: top;
}

.roster_group a {
	margin-right: 40px;
}

.history_scroller {
	width: 722px;
	overflow: auto;
}

.history_scroller p {
	white-space: nowrap;
	margin-bottom: 16px;
}

.history_scroller a:hover {
	background: none !important;
}

.history_scroller img {
	vertical-align: top;
	margin: 0 12px;
}

.profile_thoughts {
	margin-left: 416px;
}

.aligned label {
	display: block;
	float: left;
	width: 160px;
	text-align: right;
	padding-right: 12px;
}

.errorlist {
	list-style: none;
	display: block;
	padding: 4px 4px 4px 32px;
	border: 1px solid #baba45;
	background: #f5f5b5 url('error.png') no-repeat 5px 3px;
	color: black;
	margin: 22px 0 0 0;
}

.messagelist {
	list-style: none;
	display: block;
	padding: 4px 4px 4px 32px;
	border: 1px solid #baba45;
	background: #f5f5b5 url('information.png') no-repeat 5px 3px;
	color: black;
	margin: 22px 0 0 0;
}

#id_username, #id_password, #id_nickname, #id_height, #id_weight, #id_home_town,
#id_style, #id_finishing_moves, #id_thoughts {
	width: 350px;
}

.submit {
	margin-left: 172px;
}

.pimg {
	line-height: 30px;
	margin-top: 8px;
}

.pimg span {
	padding-left: 172px;
}

#voteform label {
	padding-left: 4px;
}

#vote_results {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#vote_results li {
	margin: 0;
	padding: 0;
}

#vote_results div {
	background: #FFED5C;
	border-left: 1px solid #FFED5C;
	height: 12px;
	line-height: normal;
	overflow: hidden;
	margin: 4px 0;
}


