/* remove the inconsistent (among browsers) default ul,ol padding or margin  */
/* the default spacing on headings does not match nor align with 
   normal interline spacing at all, so let's get rid of it. */
/* zero out the spacing around pre, form, body, html, p, blockquote as well */
/* form elements are oddly inconsistent, and not quite CSS emulatable. */
/*  nonetheless strip their margin and padding as well */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin:0; padding:0 }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

a:link
{
	color: #183966;
}

a:visited
{
color: #639;
}

a:hover
{
	color: #9E0B0F;
	text-decoration: none;
}

a:active
{
	color: #000;
}


body 
{
	margin: 0 auto;
	padding: 0;
	background: url("../images/site-bk.jpg") repeat top left;
	font-family: Georgia, Verdana, Arial, Helvetica, sans-serif;
	color: #333;
	text-align: center;
	font-size: 75%;
	line-height: 150%;

}

#floatpage
{
	text-align: left;
	width: 850px;
	position: relative; /*to fix jumping side navigation in IE7 */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

/* fixes print-friendly in FF and IE7 - you need the element to have some value to make the rest work, not sure why??? */
#skiplink
{
	border-top: 1px solid #3f68a3;
}

#skiplink p
{
	left: -1000px;
	position: absolute;
}

#sitetitles
{
	left: -1000px;
	position: absolute;
}

#header form
{
	margin-bottom: 0;
}

#bannersearch
{
	text-align: right;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 6px;
	margin-right: 10px;
	
	padding:0;margin:0; position:absolute; right:10px;top:40px; /* added after putting bannersearch back into default.xml */
}

#bannersearch fieldset
{
	border: none;
}

#bannersearch legend
{
	display: none;
}

#bannersearch label
{
	display: none;
}

#query
{
	border: 1px solid #a8b0bf;
	margin-bottom: 2px;
	height: 20px;
	color: #333;
}

#searchbtn
{
	border: none;
	color: #fff;
	background-color: #9e0b0f;
}

#searchbtn:hover
{
	cursor: pointer;
}

/*** banner ***/
#header 
{
	float: left;
	padding: 0;
	margin: 0;
	width: 100%;
	color: #fff;
	border-bottom: 1px solid #fff;
	background: url("../images/masthead/banner.gif") no-repeat top left;
	background-color: #fff;	
	height: 202px;
}

#header img, #header span
{
	border: 0;
	float: left;
}

/*** end banner  ***/

/*** content sub-navigation  related resources***/
#threecolcontainerhome 
{
	padding-right: 280px;     /* RC fullwidth + CC padding */
	margin-bottom:0;
	padding-bottom:0;
	border: 3px solid #fff;
	border-bottom: none;
}

#threecolcontainer 
{
	padding-left: 170px;      /* LC fullwidth */
	padding-right: 210px;     /* RC fullwidth + CC padding */
	padding-bottom: 30px;
}

#nocolcontainer 
{
	padding-right: 40px;     /* RC fullwidth + CC padding */
  padding-bottom: 30px;
	background-color: #fff;
}

#leftcolcontainer 
{
	padding-left: 173px;      /* LC fullwidth */
	padding-right: 40px;     /* RC fullwidth + CC padding */
  padding-bottom: 30px;
}

#rightcolcontainer 
{
	padding-right: 210px;      /* RC fullwidth + CC padding */
}

#container 
{
	padding-left: 173px;      /* LC fullwidth */
	padding-right: 176px;     /* RC fullwidth + CCW padding */
  padding-bottom: 30px;
}


#content-target
{
	clear: both;
	background-color: #fff;
}

/*** faux columns ***/
#leftfauxcol, .leftfauxcol
{
	width: 100%;
	float: left;
	background: url("../images/columns/left.gif") repeat-y top left;
	background-color: #fff;
}

#rightfauxcol, .rightfauxcol
{
	width: 100%;
	float: left;
	background: url("../images/columns/right.gif") repeat-y top right;
}

#rightfauxcolhome
{
	width: 100%;
	float: left;
	background: url("../images/columns/righthome.gif") repeat-y top right #fff;
}


/* to fix a opposite column showing at the bottom */
#leftfauxcol #leftcolcontainer 
{
	background: url("../images/columns/left.gif") repeat-y top left;
	background-color: #fff;
}

#rightfauxcol #rightcolcontainer 
{
	background: url("../images/columns/right.gif") repeat-y top right;
}
/* end fix */

#content 
{
	padding: 20px 20px;       /* CC padding */
	width: 100%;
	background-color: #fff;
}

#contentwrapper
{
	padding: 0;
	width: 100%;
	background-color: #fff;	
}

#contentwrapper #content
{
	width: auto;
}

#sub-navigation 
{
	width: 170px;             /* LC width */
	padding: 0;          /* LC padding */
	padding-bottom: 30px;
	margin-left: -100%;
	left: -210px;
}

#related-resourceshome
{
	width: 235px;          /* RC padding */
	padding-bottom: 30px;
	margin-right: -275px;     /* RC fullwidth + CC padding */
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
}

#related-resources 
{
	width: 170px;             /* RC width */
	padding: 0;          /* RC padding */
	padding-bottom: 30px;
	margin-right: -240px;     /* RC fullwidth + CC padding */
}

#container #sub-navigation 
{
	width: 170px;             /*LC width */
	left: -173px;
}
/*** end content sub-navigation  related resources ***/

/* IE7 needs to display side navigation override in print media with visible */
#container, #leftcolcontainer, #rightcolcontainer, #nocolcontainer, #threecolcontainer, #threecolcontainerhome
{
	overflow: hidden;
}

#threecolcontainer .column, #threecolcontainerhome .column
{
	position: relative;
	float: left;
	/*padding-bottom: 1001em;      X + padding-bottom
	margin-bottom: -1000em;     X */
}

#leftcolcontainer .column
{
	position: relative;
	float: left;
	/*padding-bottom: 1001em;      X + padding-bottom
	margin-bottom: -1000em;     X */
}

#rightcolcontainer .column
{
	position: relative;
	float: left;
	/*padding-bottom: 1001em;      X + padding-bottom
	margin-bottom: -1000em;     X */
}

#nocolcontainer .column
{
	position: relative;
	float: left;
	/*padding-bottom: 1001em;      X + padding-bottom
	margin-bottom: -1000em;     X */
}

#container .column
{
	position: relative;
	float: left;
	/*padding-bottom: 1001em;      X + padding-bottom
	margin-bottom: -1000em;     X */
}
/*** end equal-height columns ***/

/*** footer ***/
#footer
{
	clear: both;
	width: 850px;
	float: left;
	color: #333;
	background-color: #fff;
	font-size: .9em;
	margin: 0;
	padding: 0;
	margin-bottom: 25px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
}


#footerhome, #footerright, #footerno
{
	clear: both;
	width: 847px;
	float: left;	
	color: #333;
	font-size: .9em;
	margin: 0;
	padding: 0;
	margin-bottom: 25px;
	background: #fff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
}

#footerhome .rightfauxcol
{
	background: url("../images/columns/circles-home.gif") no-repeat bottom right #fff;
}

#footer a, #footer a:link, #footer a:visited, #footerhome a, #footerhome a:link, #footerhome a:visited, #footerright a, #footerright a:link, #footerright a:visited
{
	padding: 10px 0;
	color: #333;
	text-decoration: none;
}

#footer a:hover
{
	color: #333;
	text-decoration: none;
}

#footerhome .footerlinks, #footerright .footerlinks, #footerno .footerlinks
{
	width: 550px;
	border-top: 2px solid #ccc;
	margin-left: 20px;
	padding-top: 5px;
	margin-bottom: 10px;
}

#footerno .footerlinks
{
	width: 810px;
}

#footerhome .linebreak, #footerright .linebreak, #footerno .linebreak
{
	display: inline
}

#footer .footerlinks
{
	width: 450px;
	border-top: 2px solid #ccc;
	padding-top: 5px;
	margin: 10px auto;
}
.footercopyright
{
	padding-left: 20px;
	font-size: .9em;
}

#footerright .leftfauxcol
{
	background: none;
}

#footerno .leftfauxcol, #footerno .rightfauxcol
{
	background: none;
}

.linebreak
{
	display: block;
}

/*** end footer ***/


/*** Print-version ***/
@media print 
{
	body
	{
		background-color: #fff;
	}
	
	#floatpage
	{
		text-align: left;	
		min-width: 0;
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		position: relative; /*to fix jumping side navigation in IE7 */
	}	

	.printtools
	{
		display: none;
	}	
	
	#header 
	{
		float: none;
		width: 100%;	
		background: #fff;
		min-height: 0;
		height: auto
	}

	#sitetitles
	{
		text-align: left;
		left: 0;
		position: relative;		
	}

	.sitename
	{
		margin: 0;
		padding: 0;
		font-size: 18pt;
		font-family: Myriad Pro, Arial, Helvetica, sans-serif;
		color: #004d99;
	}

	.sitebyline
	{
		margin: 0;
		padding: 0;
		font-size: 13pt;
		font-family: Myriad Pro, Arial, Helvetica, sans-serif;
		color: #004d99;
	}

	.siteurl
	{
		margin: 0;
		padding: 0;
		font-size: 10pt;
		font-family: Myriad Pro, Arial, Helvetica, sans-serif;
		color: #004d99;
	}
	
	#bannersearch
	{
		display: none;
	}

	#bannersearch fieldset
	{
		border: none;
	}

	#bannersearch legend
	{
		display: none;
	}

	#bannersearch label
	{
		display: none;
	}

	#site-navigation
	{
		display: none;
	}		
	
	/*** content sub-navigation  related resources***/
	#threecolcontainer 
	{
		padding: 0;
	}

	#nocolcontainer 
	{
		padding: 0;
	}

	#leftcolcontainer 
	{
		padding: 0;
	}

	#rightcolcontainer 
	{
		padding: 0;
	}

	#container 
	{
		padding: 0;
	}
	
	#container, #leftcolcontainer, #rightcolcontainer, #nocolcontainer, #threecolcontainer
	{
		overflow: visible;
	}	
	
	#sub-navigation 
	{
		display: none;
	}

	#related-resources 
	{
		display: none;
	}	

	#leftfauxcol, .leftfauxcol
	{
		float: none;
		background: url("none.gif") repeat-y top left;
	}

	#rightfauxcol, .rightfauxcol
	{
		float: none;
		background: url("none.gif") repeat-y top right;
	}	

	.column
	{
		float: none;
	}

	.crumb
	{
		display: none;
	}
	
	#footer, #footerhome
	{
		float: none;
		border-top: 1px solid #3f68a3;		
		color: #000;
		background-color: #fff;	
	}

	#footer a
	{
		color: #000;
	}
	
	.footerlinks
	{
		display: none;
	}	

	#footersponsors a
	{
	display: none;
	}

	#footersponsors p
	{
		display: block;
		margin: 0;
	}
}
