@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #BFBFBF; /* #b0bfc2;*/
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}

/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/


/* 	note (dhc) this is the overall container, centered in the browser, that contains the document
	and sidebar1 (and sidebar2, which is not being used).  The background image included here provides the background
	for the full length of the sidebar column and the white background for mainContent. A background the extend across
	mainContent is necessary, otherwise the background will be the background defined in the body style

 */

.thrColElsHdr #container { 
	width: 60em;  /* 46em this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	background: #FFFFFF;
	background:url(images/header-base2.gif) repeat-y;  /* added (dhc)*/
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
.thrColElsHdr #header { 
	background:url(images/dpc_back3.png) repeat-x;	/* #DDDDDD; header_bg.gif */
	background-position: 0 -90px;
	padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	border: 2px solid #FFFFFF; /* testing */
} 
.thrColElsHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 15px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

.thrColElsHdr #header p {
	font-family:Arial, Helvetica, sans-serif;
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 5px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	font-style:italic;
	color:#FFFFFF;
	font-size:.75em;
}

.thrColElsHdr #header a {
	color:#FFFFFF;
}


/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColElsHdr #sidebar1 p" rule.
*/
.thrColElsHdr #sidebar1 {
	float: left; 
	width: 15em; /* 11em since this element is floated, a width must be given */
	background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
}
.thrColElsHdr #sidebar2 {
	float: right; 
	width: 15em; /* 11em since this element is floated, a width must be given */
	background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
}
.thrColElsHdr #sidebar1 h3, .thrColElsHdr #sidebar1 p, .thrColElsHdr #sidebar2 p, .thrColElsHdr #sidebar2 h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

/* (dhc) separated the following from the above to center the header text */
.thrColElsHdr #sidebar1 h3 {
	text-align:center;
}


/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/

.thrColElsHdr #mainContent {
 	margin: 0 2.5em 0 17em; /*  0 12em 0 12em the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
/* 	padding-top:100pt; */

} 

.doc_banner {
	margin .5em 0;
	/* border: 1px solid #ddd; */
	background:url(images/banner_blank.jpg) 5px 5px no-repeat;
	padding-top: 150px;
	padding-right:0;
	
}	


.thrColElsHdr #footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	/* background: #387A9B; */
	border-top: #000000 1px solid;
	background:url(images/dpc_back3.png) repeat-x;	/* #DDDDDD; header_bg.gif */
	background-position: 0 -90px;
} 

.thrColElsHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */

	color: #fff;		/* the following were added */
	padding: 5px 10px;
	text-align: right;
	font-size: 80%;


}

/* Miscellaneous classes for reuse */

.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: left;
	width: 170px;				/*added */
	margin-right: 8px;
	margin-left: 0px;			/* added */
	margin-bottom: 8px;			/* added */
	background: #F6F6F6;
	border-top: 2px solid #5F5FDC;
	border-bottom: 2px solid #5F5FDC;	
}

.fltrt { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: right;
	width: 170px;				/*added */
	margin-right: 10px;
	margin-left: 8px;			/* added */
	margin-bottom: 8px;			/* added */
	background: #F6F6F6;
	border-top: 2px solid #5F5FDC;
	border-bottom: 2px solid #5F5FDC;	
}


.office { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: right;
	width: 170px;				/*added */
	margin:0;
	padding:0;
	background: #F6F6F6;
}

.office p {
	font-size:.7em;
}


/* .side_para2 {font-family:Arial, Helvetica, sans-serif; font-size:.7em; margin-top:1px; margin-bottom:3px;}	*/


/* added  for middle class doc; used for the resource box */
.fltrt p.side_para2  {
	font-family:Arial, Helvetica, sans-serif;
	font-size:.7em;
	margin:5px;
	margin-left:1em;
}

.fltrt h3 {
	font-size:.8em;
	margin: 3px 
	color:#333366; 
	text-align:center;
}


.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

/* styles added for the middle class doc */

.main_head { 
	font-family:Arial, Helvetica, sans-serif; 
	font-size:1.6em; 
	color:#333366;  /* #333366; */
	margin-left:30px; 
	margin-right:30px;
	
	
}

.sub_head { 
	font-family:Arial, Helvetica, sans-serif; 
	text-align:center;
	font-size:1.2em; 
	color:#333366; 
	margin-left:30px; 
	margin-right:30px;
	margin-top: 30px;
}

p {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:.9em;
	line-height:125%;
	color:#000000;
	margin:0;
	margin-top:15px;
	margin-bottom:15px;
	padding:0;
}

p.ital {
	/* font-family:Arial, Helvetica, sans-serif; */
	font-style:italic;
}

h3 {font-size:.9em; color:#5F5FDC; margin-bottom:4px; }

h4 {font-size:.9em; color:#000000; margin-left:10px; margin-right:10px; margin-bottom:1px}

.side_para {font-family:Arial, Helvetica, sans-serif; font-size:.8em; color:#000000; margin-top:1px; margin-bottom:3px;}

.info_text {
	font-family:Arial, Helvetica, sans-serif; 
	font-size:.9em; 
	color:#000000; 
	background-color:#F2F2F2;
	margin:0;
	padding:0;
}

.left_sidebar {border-left:hidden; border-top:hidden; border-right-color:#000000; border-bottom:hidden}

/* this defines the class of the div that is in the left margin -- ends up being positioned in the left margin,
	even though the div is inserted between two <p> tags
*/
.side_box {
	position:absolute;
	left:5px;
	padding:5px;
	background-color:#FFFFFF;
	z-index:10;
	width: 20%;
}

/* this is the class for the pull quote text that appears on the left margin */
.box_para {
	font-family:Arial, Helvetica, sans-serif;
	font-style:italic;
	color:#5F5FDC;
	font-size:15px;
	font-weight:bold;
	margin-top:1px;
	margin-bottom:3px;
	margin-left: 10px;	
	padding-top:8px;
	padding-bottom:8px;
}

/* this is the class for the text that appears on the right margin -- same as box_para but text right aligned */
.box_para_right {
	font-family:Arial, Helvetica, sans-serif;
	font-style:italic;
	color:#5F5FDC;
	font-size:15px;
	font-weight:bold;
	margin-top:1px;
	margin-bottom:3px;
	margin-left: 8px;
	margin-right:10px;	
	padding-top:8px;
	padding-bottom:8px;
	text-align:right;
}

/*  additional resources info box */  
.resource_box {
	background-color:#E8E8E8;
	padding-top:1px;
	padding-bottom:5px;
	}

/*  video info box, located in sidebar1 */  
.video_box {
	/* background-color:#FFFFFF; */
	background-color: #EBEBEB;
	padding-top:1px;
	padding-bottom:5px;
	/* border: 1px solid #000000; */
	border-top:4px solid #000000;
	width:220px;
	margin-top:10px;
	margin-bottom:15px;
}

.video_box p {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height:1.1em;
	font-size:.7em;
	margin-top:4px;
	margin-left:4px;
	margin-bottom:10px;
	text-align:left;
	
}

.video_box h2 {
	font-family:Arial, Helvetica, sans-serif;
	color:#333366;
	line-height:1em;
	font-size:.9em;
	margin-top:5px;
	text-align:center;
	margin-left: 5px;
	margin-right: 5px;
}

/* class for the video thumbnail */
.featureimage {
	float:left;
	border: 1px solid #000000;
	padding: 4px;
	margin-left:8px;
	margin-right:4px;	
	margin-top:2px;
}

.featureimage:hover {
	/* background: #DCDAFA; */
	/* background:#FF3366; */
	background:#b3c6e6; /* #F5A069; */
	border: 1px dotted #0669b5;
}


/* for the stop sign graphic in the obstruction facebox */
.graphic_failure {
	float:right;
	width:150px;
	margin:1em 1em 1em 1em;
	padding:0px 0px 0px 20px;
/*	border-width:4px 1px 4px 1px;
	border-style:solid;
	border-color:#000000; */

}

/* styling for the failure, accomplish, and fact boxes that appear within the faceboxes */
.failure {
	font-size:1em;
	border-width:2px 2px 2px 2px;
	border-style:solid;
	border-color:red;
	padding:15px;
	background:#FAC7B6;
}

.accomplish {
	border-width:2px 2px 2px 2px;
	border-style:solid;
	border-color:gray;
	padding:15px;
	background: #DDEEFF;
}

.fact {
	font-size:1em;
	border-width:2px 2px 2px 2px;
	border-style:solid;
	border-color:green;
	padding:15px;
	background:#CEFCC9;
}


/* table of contents box */
.contents_box {
	background-color:#E8E8E8;
	padding-top:1px;
	padding-bottom:5px;
	border-width:1px;
	border-style: solid;
	border-color: #000000;
	margin-left:10px;
	
}


img {
	border-width: 0px;
	border-style: solid;
	border-color: #000000;
}

.img_border {
	border-width: 1px;
	border-style: solid;
	border-color: #000000;
}

/* navigation menu from CSS in 10 min chap 19 */

#nav
	{
		/* float: left; */
		width: 130px;
		display: inline;
		margin-left: 20px;
		padding: 15px 0;
	}
	
	#nav ul
	{
		font-family:Arial, Helvetica, sans-serif;
		font-style:bold;
		font-size:.75em;
		text-transform:uppercase;
		
		margin: 0;
		margin-right:10px;	/* added -- this moved the bullets away from the edge of the container */
		padding: 0;
		list-style-type: none;
		text-align: right;
		
	}
	
	#nav li
	{
		background: url(images/dpc_bullet_red2.png) no-repeat 100% .45em;
		padding: 2px 20px 2px 0;
		margin-right:5px;
		border-bottom:1px solid #969696;
		margin-left:15px;
	}
	
	a:link, a:visited { color: #5F5FDC; text-decoration:none;}
	/* a:visited { color: #600; } , a:active*/
	
	a:hover
	{
		color: #fff;
		background: #175B7D;
		
	}
	
/* two containers for the header: graphic left and office right */

#header_graphic {
	float: left;
	width: 130px;
	margin-left: 20px;
	padding: 15px 0;
	background:none;
}

#header_office {
	float: left;
	width: 200px;
	margin-left: 575px;
	padding: 15px 0;
	background:none;
}

#header_office p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:.7em;
	color:#FFFFFF;
	padding:0;
	margin:0;
}

/* highlight region for doc's final section */
.feature_text {
	background-color: #F5F5F5;
	padding:0;
	margin:0;
	padding-top:5px;
	border-top:1px dotted #969696;
	border-bottom:1px dotted #969696;
}

.feature_text p, h2 {
	padding:7px 20px 0 20px;
}

.feature_text h2 {
	padding-top:0;
}	

