@charset "utf-8";
 
/**********
** Global
**********/

html {
	overflow-y: scroll;
}

body {
	background: url("/layout/images/background.png") repeat-x fixed;
}

#wrapper {
	position: relative;
	
	margin: 0px auto;
	width: 1020px;
	
}

#wrapper>div,#wrapper>img {
	display: block;
}

#page-middle {
	position: relative;
	background: url("/layout/images/page-middle.png") repeat-y;
}

#page {
	position: relative;
	margin: 0px 30px;
	top: 17px;
	width: 940px;
	padding: 10px;
}

#content {
	padding: 20px;
	
	min-height: 400px;
}

/*Logo*/
#header h1 {
	font-size: 81.5px;
	color: #333;
	margin-bottom: 0px;
}

#header img {
	padding: 0 10px;
	float: left;
}

/*Take out some height*/
#header {
	position: absolute;
	top: -34px; 
	
	width: 100%;
}

#menu {
 	margin-top: 67px;
}

/*Ads*/
#ads {
	margin-bottom: 10px;
}
#ads>div {	/*Wrapper*/
	width: 728px;
	margin: 0px auto;
}

/*Footer*/
#footer {
}
#footer p {
	margin: 0;
	text-align: center;
}

/********/
/* Misc */
/********/

/*Box*/
.box {
	display: block;
	padding: 5px;
	
	margin: 10px;
	
	border: 1px solid #bbb;
}

.box a img {
	display: block;
}

.box p{
	margin-bottom: 0px;
	margin-top: 5px;
	
	color: #333;
}

#content>div>p:first-child .box {	/*Make the first picture on the page be on top*/
	margin-top: 0px;
}

/*Floats*/

.float-right {
	float: right;
	margin-right: 0px;
}

.float-left {
	float: left;
	margin-left: 0px;
}

/*Image sets*/
p.images:after, p.images:before { /*Clear both sides so images don't escape*/
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

p.images {
	margin-bottom: 20px;
}

p.images .box {
	margin-bottom: 0;
}

p.images img {
	float:left;
	margin-left: 0px;
}

p.stacking .box {
	clear: both;
	margin-top: 0px;
}

/*Tables*/
table {
	width: 100%;
}

td, th {
	padding: 0 0.5em;
}

table tr:hover {
	background: #eee;
}

table {
	margin-bottom: 15px;
}
