﻿/*
SampleRate Blog
HFWD Chapter 5
http://headfirslabs.com/books/hfwd/ch05/stylesheets/screen.css
*/

body {
	margin: 0;
	padding: 0;
	background: #fff url('../../images/main_bg.jpg') no-repeat top left;
	border-top: 10px solid #222;
	font-family: Helvetica, sans-serif;
	font-size: 62.5%;
	color: #333;
}






h1, h2, p, ul, li {
	margin: 0;
	padding: 0;
}
ul {
	list-style-type: none;
}
p {
	font-size: 1.4em;
	line-height: 1.4em;
}
#header {
	background: url('../../images/brhs79header.jpg');
	height: 75px;
	width: 1500px;
}
#header img {
	float: left;
}
#header #logo {
	margin: 0 auto;
	width: 800px;
}

#nav {
	float: left;
	width: 660px;
	height: 75px;
	font-size: 1.4em;
}

/* IE users need this rule to avoid the stair-step effect */
#nav li {
	display: inline;
}

/* This link rules gives the nav a block effect */
#nav li a {
	float: left;
	width: 104px;
	height: 65px;
	padding: 10px 0 0 10px;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #777;
}

#nav li a.active {
	background: #222;
}
#subnav2 {
	background: #829E84;
	border-top: 2px solid #439E5B;
}

/*
This rule makes that subnav2 appear as if it's
part of the main wrap.
*/
#subnav2 ul {
	margin: 0 auto;
	padding: 20px 10px 19px 10px;
	width: 800px;
	list-style-type: none;
}

#subnav2 ul li {
	display: inline;
}

#subnav2 ul li a {
	padding: 10px 20px 20px 20px;
	text-decoration: none;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

#subnav2 ul li a.active {
	background: #eee;
	color: #333;
	font-size: 16px;
	border-top: 2px solid #ccc;
}

/*
Slightly darker borders (compared to page backgrounds)
gives nice contrast for the eye.
*/
#wrap {
	margin: 0 auto;
	width: 900px;
	background: #eee;
	border-left: 10px solid #560000;
	border-right: 10px solid #560000;
}

#masthead {
	margin: 20px 20px 0 20px;
	border: 10px solid #ddd;
}

/* More standard floated columns */
#content {
	float: left;
	height: 1000;
	margin: 5px 5px 5px 5px;
	padding: 0 0 0 0;
	width: 600px;
}
#content td{
	font-size: 1.5em;
	font-weight: bold;
}



#sidebar {
	float: right;
	margin: 5px 5px 10px 0px;
	padding: 0 0 5px 0;
	width: 235px;
	height: 253px;
	font-size: 15px;
	font-weight: bold;


}
#sidebar iframe.announcements {
	width: 232px;
	height: 253px;
	
}
#sidebar iframe.ads{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	pad: 
	width: 232px;
	height: 100px;
	
}
#sidebar iframe.buttons {
	width: 200px;
	height: 77px;
	
}

#footer {

	height: 40px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	clear: both;
	background: #4B0082;
	text-align: center;
	color: #fff;
}
#footer p {
	float: bottom;
	margin: 0 0 0 0;
	font-size: small;

}
#footer a.home{
	background: #eee;
	color: #333;
	border-top: 2px solid #ccc;
	}
#footer ul {
	margin: 0 auto;
	width: 800px;
	padding: 0px 0px 0px 0px;
	list-style-type: none;
}
#footer ul li {
	display: inline;
	color: #000;
	float: center;
	margin: 0;
	padding: 15px 10px 15px 10px;
	font-size: 1.2em;
}

#footer li a {
	text-decoration: none;
	color: #FFD700;
	font-weight: bold;
}



