html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: url(background.jpg) 50% 250px;
	font-family: "Minion Pro", palatino, georgia, serif;
	color: #524e42;
	font-size: 90%;
}

a {
	color: #222;
}

div.screen {
	width: 950px;
	margin: 0 auto;
}

#header {
	height: 125px;
	background: url(header.jpg) 50% 100% repeat-x;
}

body.day #header {
	background-image: url(header_day.jpg);
}

body.home #header {
	height: 250px;
}

#header .screen {
	height: 100%;
	position: relative;
	background: url(moon_small.jpg) 100% 100% no-repeat;
}

body.day #header .screen {
	background-image: url(sun_small.jpg);
}

body.home #header .screen {
	background-image: url(moon.jpg);
}

body.home.day #header .screen {
	background-image: url(sun.jpg);
}

#header h1 {
	position: absolute;
	top: 100%;
	left: 0;
	height: 100px;
	width: 100%;
	margin: 25px 0 0;
	text-indent: -500em;
	background: url(title.jpg) 0 100% no-repeat;
}

#header h1 a {
	display: block;
	height: 65px;
	overflow: hidden;
	width: 550px;
}

#header p {
	display: none;
}

body.home #header p {
	display: block;
	height: 100%;
	padding: 0;
	margin: 0;
	width: 50%;
	background: url(intro.jpg) 50% 50% no-repeat;
	height: 250px;
	color: #d8dbcc;
	text-indent: -500em;
}

#header p br {
	display: none;
}

#header ul#navigation {
	position: absolute;
	top: 100%;
	right: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul#navigation li {
	float: left;
	margin-top: 38px;
	margin-left: 10px;
	background: url(nav_left.gif) 0 50% no-repeat;
}

#header ul#navigation li a {
	display: block;
	height: 41px;
	line-height: 41px;
	min-width: 100px;
	overflow: hidden;
	background: url(nav_right.gif) 100% 50% no-repeat;
	/* text-indent: -500em; */
}

#header ul#navigation li a span {
	display: block;
	margin: 13px 30px 12px;
	height: 16px;
	text-indent: -500em;
	overflow: hidden;
	background: 0 0 no-repeat;
}

#header ul#navigation li a:hover span {
	background-position: 0 -16px;
}

#header ul#navigation li.register a span {
	width: 77px;
	background-image: url(nav_register.gif);
}

#header ul#navigation li.login a span {
	width: 60px;
	background-image: url(nav_login.gif);
}

#header ul#navigation li.logout a span {
	width: 79px;
	background-image: url(nav_logout.gif);
}

#header .user {
	width: auto;
	color: #d8dbcc;
	padding: 20px;
	position: absolute;
	left: 0;
	bottom: 0;
}

#header .user a {
	color: #d8dbcc;
}

body.home #header .user {
	display: none;
}

body.day #header .user {
	color: #292a24;
}

#middle {
	background: url(inner_background.jpg) 50% 250px;
}

#content {
	padding: 125px 0 0;
	background: url(content_top.jpg) 50% 0 repeat-x;
}

#content .screen {
	width: 920px;
	background: url(content.jpg) 50% 0 repeat-y;
	overflow: hidden;
	_overflow: auto;
	_height: 1%;
}

/*
#content .screen:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
*/


#content #main {
	width: 576px;
	padding: 15px 45px 0;
	float: left;
	background: url(beta.png) 99% top no-repeat;
	/*
	margin-left: -100px;
	padding-left: 145px;
	*/
}

#content #side {
	width: 164px;
	padding: 15px 45px 0;
	min-height: 50px;
	float: right;
	font-size: 0.85em;
}

#content #side p {
	line-height: 1.764em;
	padding-bottom: 17px;
}

#content h2 {
	color: #962218;
	font-variant: small-caps;
	font-size: 1.5em;
	margin-top: 0;
	background: url(divider.jpg) 50% 100% repeat-x;
}

#content p {
	margin: 0;
	padding-bottom: 15px;
	line-height: 1.5em;
}

#footer {
	background: url(footer.jpg) 50% 0 repeat-x;
}

#footer .screen {
	width: 980px;
	padding-top: 75px;
	min-height: 125px;
	background: url(inner_footer.jpg) 50% 0 no-repeat;
}

#footer ul {
	list-style: none;
	text-align: center;
	margin: 0;
	padding: 25px 0 0;
}

#footer ul li {
	display: inline;
	padding: 0 10px;
}

#footer ul li a {
	text-decoration: none;
}

#twitter_news,
#twitter_updates {
	background: url(divider.jpg) 50% 100% no-repeat;
	margin: 0 -20px 10px;
	padding: 0 20px;
}

form#login label {
  display: block;
  float: left;
  width: 80px;
}

form#contact label {
  display: block;
  float: left;
  width: 80px;
}

form#profile label {
  display: block;
  float: left;
  width: 80px;
}

.error {
  color: #600;
}

.twitter {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twitter li {
	margin: 0 0 12px;
	padding: 0 0 10px;
	clear: both;
	background: url(divider.jpg) 50% 100% no-repeat;
}

.twitter li img {
	float: left;
	margin: 0 10px 0 0;
	border: solid 1px #524e42;
	width: 24px;
	height: 24px;
}

.twitter li a {
	text-decoration: none;
}

.twitter li a:active,
.twitter li a:hover {
	text-decoration: underline;
}

p.twitter_link {
	background: url(divider.jpg) 50% 100% no-repeat;
	line-height: 22px;
	margin: 0 -20px 10px !important;
}

p.twitter_link a {
	display: block;
	background: url(twitter.gif) 0 0 no-repeat;
	padding-left: 42px;
	text-decoration: none;
	font-size: 1.2em;
}

div.phase.morning,
div.phase.afternoon {
	background: url(phase_day.gif) 100% 0 no-repeat;
}

div.phase.night {
	background: url(phase_night.gif) 100% 0 no-repeat;
}


