/* TWO COLUMN LAYOUT */


body {
	text-align:center; /* IE6 needs this to center the layout in the browser window */
	}
#main_wrapper {
	max-width:960px; /* sets max layout width */
	min-width:720px; /* sets min layout width */
	margin-left:auto;  /* centers layout in browser */
	margin-right:auto; /* centers layout in browser */
	text-align:left; /* resets the centering hack for IE6 on the body tag */
	background:url(../../../stylin2_chapters/chapter_5/images/2_col_faux_art.gif) repeat-y;
	}
#header {
	}
#nav {
	width:140px; /* the content margin must match this value */
	float:left; /* floats on nav and content divs make them sit side by side */
	}
#content {
	margin-left:140px; /* margin = width of nav column */
	}
#footer {
	clear:both; /* makes the footer sit below whichever column is longest */
	background:#DDC; /* TEMP - REMOVE OR RESTYLE  */
	}
#header_inner, #nav_inner, #content_inner, {
	overflow:hidden; /* clips oversize elements that would otherwise expand divs and break the layout */
	}
#header_inner { 
	padding:1em 2em; /* creates space between the box  and the content */
	position: relative;
	}
#nav_inner {
	padding:1.5em .5em; /* creates space between the box and the content */
	}
#content_inner { 
	padding:1.5em 1em 1em 1.5em; /* creates space between the box and the content */
	}
#footer_inner {
	padding:1.8em 1em; /* creates space between the box and the content */
	text-align:center;
	}

#image_right {
  float: right;
  padding: 0 0 1em 1em;
  }

/* a fix for IE6 only - see Star Hack in Stylin' with CSS to see how the comments and * html hide this hack from other browsers \*/
* html * {
	zoom:100%; 
/* triggers IE6 "haslayout" - google 'IE6 haslayout' for details*/
	}
/* without the above hack, IE6 does not draw the header until the page is resized */
/* the problem is triggered by the universal * selector below that resets the margins, but I need to do that, hence the hack */
* {
  margin:0;
  padding:0;
  }
body {
  font: 1em Arial, Lucida, sans-serif; /* 1em = 16pts */
  }
.float_left {float:left; margin: 0 .4em .3em 0;}      /* apply this class to any image or element with width - text will wrap it to the right */
.float_right {float:right;  margin: 0 0 .3em .4em;} /* apply this class to any image or element with width  - text will wrap it to the left */

/* DEFAULT TAG STYLES - font sizes, margins, padding, etc. */
/* NOTE: text colors follow below */
body {background-color:#fff;}
#main_wrapper {background-color:#fff;}
#header {background-color:#fff; border-bottom: 2px solid #0d1668;}
#nav {background:url(../images/bg-content.jpg) repeat-x;}
#content {background:url(../images/bg-content.jpg) repeat-x;}
#content_inner {border-left: 1px dotted #0d1668;}
#promo {background-color:#CCCC8F;}
#footer {background:url(../images/bg-footer.jpg) repeat-x; border-top: 1px dotted #0d1668;}

h1, h2, h3, h4, h5, h6, ul, ol, dl, td, th {
  font-family: 'Trebuchet MS', Verdana,  serif;
  } 

/*FONT COLORS*/

h1, h2, h4, h5, h6, td, th {
  color:#0d1668;
  }
h3 {
  color: #ff8800; /*#4e588c;*/
  }
p {
  color:#666;
  }
p.reference span {font-style:italic; color:#0d1668;}

ul, ol, dl, blockquote, cite {
  color:#0d1668;
  }
#nav ul, #nav a {
  color:#01284d;
  }
table, form {
  color: #666;
  }
a {
  color:#01284d;
  }
a:hover {
  color:#ff9900;
  }	
#nav a:hover {
  color:#ff9900;
  }

/* FONT SIZES */
h1 {font-size:1.5em; /* 24pt */
	}
h2 {font-size:1.3em; /* 22pt */
	line-height:1.25;
	padding:.5em 0 .5em 0;	
	}
h3 {font-size:1.1em; /* 18pt */
	line-height:1.25;
	padding:.5em 0 .2em 0;	
	}
h4 {font-size:.9em; /* 18pt */
padding:.5em 0 0 0;	
}
h5 {font-size:.75em; /* 16pt */
padding:.5em 0 .5em 0;	
}
h6 {font-size:.6em; /* 14pt */
	}
p  {
  font-size: .8em; /* 12pt */
  line-height:1.25; /* on 15pt */
  margin-bottom:.75em; /* 12pts of space */
   }
a {
	
  }
a:hover {
  text-decoration:none;
  }
  
.indent {
	margin-left: 1em;
}

.small {font-size: .7em; 
  }

/* basic list styling - more-styled lists in list.css */
ul, dl, ol {
  margin:0 1em .75em 1em; /* lists without specific classes */
  font-size:.8em;
  line-height:1.5;}
li, dd {
  padding:0em 0; /* lists without specific classes */
  margin-left:2em;
  }

#nav ul, #nav dl, #nav ol {
  margin:.5em 1em .75em 1em; /* lists without specific classes */
  }
#nav li {
  list-style-type:none;
  margin-left:0
  }

dt {font-weight:bold;}

code {font-size:1.25em;}
* html code {font-size:1.1em;} /* default size is smaller in IE */
	
cite {
	font-size:.85em;
	font-style:italic;
	}
blockquote {
	border-top:2px solid;
	border-bottom:2px solid;
	width:50%;
	margin:1em 0 1em 20%;
	padding:.3em 1em;
	}
blockquote p {
	margin-bottom:.1em;
	}
blockquote p:before { /* IDWIMIE 6 and 7 */
	content: open-quote;
	color:#cccc8f;
}
blockquote p:after {  /* IDWIMIE 6 and 7 */
	content: close-quote;
	color:#366;
}
blockquote cite {
	font-size:.85em;
	}
abbr, acronym {
	border-bottom:1px dashed #000;
	cursor:default;
	}
address {
	margin:0 1em .75em 1em;
	}
img {
	border:0;
	}

/* basic table styling  - more-styled tables in tables.css */
table caption {
	font-weight:bold;
	font-size:1em;
	margin-top:.6em;
	}
table {
	margin: .3em 1em 1em 1em;
	border-collapse:collapse;
	font-size:.8em;
	}
table th	{
	padding: .3em .5em .3em .5em;
}

table td	{
	padding: .3em .5em .3em .5em;
	
	}
/* THE ALSETT CLEARING METHOD */
	.clearfix:after {
 content: “.”;
 display: block; 
 height: 0;
 clear: both;
 visibility: hidden;
}
.clearfix {display: inline-table;}
/* backslash hack hides from IE mac \*/ LEAVE THIS COMMENT RIGHT HERE! 
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* end backslash hack */ 

#image_box {
	border: 1px solid #999;
	width: 320px;
	height: 320px;
	padding: 23px;
	text-align: center;
	display: table;
	overflow: hidden;
	float: left;
	margin-bottom: 10px;
	position: relative;
	}


#image_grid {
	float: left;
	margin: 0px 5px 5px 15px;
}

.clearthefloats {clear: both}
.horiz_nav {
    font-family: 'Trebuchet MS', Verdana,  serif;
    color: #0d1668; 
}