/*
-----------------------------------------------
Style Sheet

Css Mastery Book
Author: Cameron Moll
Adapted: Martin Gregory
----------------------------------------------- */

html, body, div, p {
	font-family: Verdana, Arial, sans-serif;
	color: #000000;
}
body {
	margin: 0px;
	padding: 0px;
}
* html .minwidth {
	border-left:600px solid #800;
}
/*
LINKS --------------------- */
a:link, a:active, a:visited {
	color: #48546A; 
}
a img {
	border-width: 0; 
	border-style: none;
}
.shell1 a {
	color: #ffffff;
}

#title h2 a {
	color: #3074A4;
	text-decoration:none;
	margin: 0px;
	padding: 0px;
}
/*
COMMON --------------------- */
br {
	clear: both;
}
hr {
	display: none;
}
p {
	margin: 0; 
	padding-top: 1em; 
	line-height: 150%;
}
/*
MASTHEAD + SUBMAST --------------------- */
h1 {
	margin: 0;
	position: absolute;
	top: 12px;
	left: 325px;
	z-index: 3;
	width: 430px;
	text-indent: -9000px;
	height: 102px;
}
h1 a {
	display: block;
	height: 102px;
}
/*
MISC --------------------- */
#container {
	margin: 0px;
	padding: 0px;
}

/* 'margin: 0 auto' is necessary so the layout stays centered on screen when browser width is more than 1200px */
#container, #footer {
	margin: 0px;
	min-width: 740px;
	max-width: 1200px;
	padding: 0px;
}

#mast-content {
	position: absolute;
	top: 104px;
	z-index: 4;
	left: 25px;
	font: normal medium/1px Arial, Helvetica, sans-serif;
	margin: 0px;
	padding: 0px;
}	
#masthead {
	position: relative;
	height: 120px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	background-color: #5172a3;
}

#meta {
	margin: 35px 50px 0 0;
	font: 0.6em Georgia, serif;
	color: #CCCCCC;
	padding: 3px;
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#main-image {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	height: 120px;
	background: #3074A4;
	padding: 0px;
	margin: 0px 0px 0px 29%;
}

/*
MAIN CONTENT --------------------- */

#content {
	width: 60%;
	padding: 0 0 1em;
	font-size: .7em;
	margin: 0px 0px 0px 420px;
}

#content h2 {
	position: relative;
	margin: 0 0px;
	padding: 10px 0 5px 0px;
	width: 100%;
	font: normal 3em Georgia, serif;
	color: #d7d7d7;
	letter-spacing: -1px;
	
}
#content p {
}

#title {
	background: url(../img/cont_top.jpg) repeat-x;
}


/*
SIDEBAR --------------------- */

 #flashbox {
	width:386px;
	height:247px;
	background: url(images/paperback.jpg);
	padding: 0px;
	float: left;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	 }
 #flash {
	width:370px;
	height:230px;
	margin: 0px;
	padding: 6px 0px 0px 7px;
	 }

/* Two widths are used, the second being a hack for Internet Explorer */
#sidebar {
	width: 390px;
	font-size: .7em;
	margin: 30px 0px 0px 10px;
	padding: 0px;
	float: left;
	position: absolute;
	top: 120px;
	height: 505px;
}

/*
FOOTER --------------------- */

#footer {
	padding: 5px 0px;
	margin: 8px 0px 1em;
	text-align: right;
}

#footer p {
	font-size: 10px;
	color: #666666;
	margin: 0px;
	padding: 5px 40px 5px 0px;
}

#footer a:link, a:active, a:visited {
	color: #ffffff; 
}

.shell {
	width: 45%;
	float: left;
	margin: 0px 0px 0px 0%;
}
.shell1 {
	width: 45%;
	margin: 0 0px 0px 50%;
}

/*
P.I.E. FLOAT CLEARING
See http://www.positioniseverything.net/easyclearing.html 
--------------------- */

.clearfix:after {
  content: ".";
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
}
.clearfix {
  display: inline-block; /* Fixes IE/Mac */
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */		
.clear {
 clear:both;
 height:0;
}
