/*
Red Lantern redesign
HFWD Chapter 1
http://headfirslabs.com/books/hfwd/ch01/stylesheets/screen.css
*/

/*
The font size here is set to 62.5% so that
1em = 10px. This makes adjusting our typography
a little easier
*/
body {
	margin: 0;
	padding: 0;
	background: #7a2122 url('../images/body_bg.gif') repeat-x top;
	font-family: Georgia;
	font-size: 60.5%;
	color: #333;
}

h1, h2, p, ul, li {

         margin: 2;
	padding: 1;
}

h4,h5 {
   font-size: 2em;
}
p {
	font-size: 1.4em;
	line-height: 1.4em;
}

ul {
	list-style-type: square inside;
        font-size: 1.2em
}

a:link, a:visited {
	color: #333;
	background: #fff;
}

/* This rule adds a nice style to our ampersands */
span.amp {
	font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
	font-weight: normal;
	font-style: italic;
}

/*
"margin: 0 auto" with a width will center the layout
in the browser window
*/
#masthead {
	margin: 0 auto;
	margin-top: 20px;
	width: 800px;
	color: #fff;
}

#masthead h1 {
	float: left;
}

#nav {
	float: right;
	margin: 50px 10px 0 0;
	font-size: 1.8em;
        font-weight: bold;
}

#nav li {
	display: inline;
	margin: 0 0 0 20px;
}

#nav li a {
	color: #fff;
	text-decoration: none;
	background: none;
}

/*
Because the header content is outside the wrap <div>,
we need to use the same "margin: 0 auto" trick to center
the layout
*/
#wrap {
	clear: both;
	margin: 0 auto;
	padding: 10px;
	width: 780px;
	background: #fff;
	border: 10px solid #5c0505;
}

#header img {
	border: 10px solid #ccc;
}

#header h1 {
	font-size: 2.5em;
	margin: 10px 0 0 0;
	padding: 10px;
	text-align: center;
	background: url('../images/tagline_bg.gif') repeat-x;
}

#content, #sidebar {
	width: 360px;
	margin: 20px 0 20px 0;
	padding: 10px;
}

#content {
	float: right;
}

#content h2 {
	font-size: 2.8em;
	margin: 0 0 10px 0;
}

#content p {
	margin: 0 0 10px 0;
}

#link-list {
	margin: 20px 0 0 0;
	font-size: 1.4em;
}

#link-list li {
	margin: 0 0 10px 0;
}

#sidebar {
	float: left;
	background: #fff;
}

#sidebar h2 {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	margin: 0 0 20px 0;
	padding: 5px;
}

#port li {
	margin: 0 10px 20px 0;
	float: left;
	border: 5px solid #ddd;
}

#footer {
	clear: both;
        background:#eee;
        padding: 10px;
	border-top: 2px solid #ddd;
	text-align: center;
         background-image: url{"../images/nsf1.gif"} top right;
         color: #777;
}
