/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}



/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link, a:active {
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
	color: #18507C;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #18507C;
/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #000000;
}

#content a img, #content a:link img,#content  a:active img ,#content a:visited  img {
text-decoration:none;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #1d364a;
/* you can set your own image and background color here */
	background: #fff url(/images/bg_home.jpg) repeat-x left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	width: 960px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	background-color: #none;
	color: 1d364a;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
	height: 323px;
	margin: 0;
	padding: 10px 0 0 0;
background: url(/images/header_image.png) no-repeat left 137px;
}
div#header h1 a {
/* you can set your own image here */
	background: url(/images/hd_logo.png) no-repeat left top;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 36px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
width:158px;
margin-top:0px;
}
div#header h1 {
	margin: 0px 0 0px 0;
	padding:20px 0 0 40px;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
/* this will keep IE6 from flickering on hover */
height:66px;
 
}
div#header h2 {
width:186px;
	height: 45px;
	float: right;
	margin: 20px 65px 0px 0px;
}
div.crbk {
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	background: url(/uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}

div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 192px;
	text-align: right;
height:29px;
	padding: 0.2em 0 0.3em 0;
	margin: 0 em;
background:url(/images/bg_search.png) 0 0 no-repeat;
}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 32px;
	width: 30px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(/images/blank.gif) no-repeat center center;
}
div#content {
/* some air above and under menu and content */
	margin: 1.2em auto 2em 0;
	padding: 0 0px;
	background: url(/images/spacer_blue.jpg) repeat-x 0 55px;
}
/* this gets all the outside calls that were used on the div#main before  */
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	padding: 0px 0px;
float:left;
width:630px;
}

div#main img{
	margin: 0px 20px 10px 20px;
}

div#main li img{
	margin: 0px;
}

div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: right;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 295px;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 54px 0px 0px;
	padding: 0px 0px 0 0;
}



div.footback {
/* keep footer below content and menu */
	clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
	padding: 0px 0px 0px 0px;
/* you can set your own image here */
	background: url(/images/bg_footer.jpg) repeat-x 0 20px;
}
div#footer {
	padding: 45px 0px 20px 10px;
	color: #ffffff;
width:960px;
margin:0 auto;
 
/*	background: url(/images/bg_footer2.jpg) no-repeat 0px 8px;*/
}
div#footleft {
	float: left;
	width: 400px;
	margin-left: 20px
}

div#footright {
	float: right;
	width: 30%;
	margin-left: 0px
}
div#footer p {
/* sets different font size from default */
	font-size: 12px;
/* some air for footer */
	padding: 0 0 .5em 0;
/* centered text */
	text-align: left;
	margin: 0;
}
div#footer p a:active, div#footer p a:link, div#footer p a:visited {
/* footer link would be same color as default we want it same as footer text */
	color: #ffffff;
text-decoration:none;
}

div#footer p a:hover {
/* footer link would be same color as default we want it same as footer text */
	color: #fff;
text-decoration:underline;
}

/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/

div#content sup {font-size:13px;line-height:13px;}

/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #123149;
	font-size: 1.8em;
	text-align: left;
	padding-left: 0em;
	padding-bottom: 1px;
	line-height: 2.1em;
	margin: 0 0 1em 20px;
font-weight:100;
text-transform:uppercase;
}
div#content h3 {
	color: #085e73;
	font-size: 1.5em;
	text-align: left;
	padding-left: 0em;
	padding-bottom: 1px;
	line-height: 1.6em;
	margin: 0.8em 0 0.2em 0;
font-weight:100;
}
div#content h4 {
	color: #0f91b0;
	font-size: 1.5em;
	text-align: left;
	padding-left: 0em;
	padding-bottom: 1px;
	line-height: 1.6em;
	margin: 0.5em 0 0.2em 0;
font-weight:100;
}
div#content h5 {
	color: #085e73;
	font-size: 1.2em;
	text-align: left;
	padding-left: 0em;
	padding-bottom: 1px;
	line-height: 1.4em;
	margin: 0.2em 0 0.1em 0;
font-weight:100;
}
h6 {
	color: #fff;
	font-size: 16px;;
background:#1f497d;
	line-height: 20px;
	margin: 0px 0 0.25em 0;
padding:6px 22px;
font-weight:100;
clear:both;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 15px;
/* some air around p elements */
	margin: 0 0 7px 0;
	line-height: 18px;
	padding: 0;
clear:both;
}

#main p img{
	margin-left: 20px;
/*float:right;*/
}

div#main .gallery img{
	margin: 0px;
}

blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
display:none;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
display:none;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 15px;;
	line-height: 18px;
	margin: 0 0 0.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */


/* TABLES */
div#main table {border:1px solid #f4f4f4;width:100%;padding:0;margin:0;border-collapse:collapse}
div#main table td {border:1px solid #f4f4f4; vertical-align:top;color:#13636e;padding:14px;margin:0;font-size:16px;line-height:20px}
div#main table td p{color:#13636e;margin:0;padding:0;font-size:14px;line-height:20px}
div#main table td h3 {color:#002c5b;font-size:16px;line-height:20px;margin:0;padding:0;}

div#main table td a:visited, div#main table td a:active, div#main table td a  {color:#002c5b;line-height:20px;margin:0;padding:0;text-decoration:none;white-space: nowrap;}

div#main table td a:hover {text-decoration:underline;}

div#main table td li {color:#13636e;font-size:14px;line-height:20px;margin:0 0 0 15px;padding:0;}

div#main table thead {background:#002c5b;color:#ffffff;text-transform:uppercase;margin:0}
 div#main table td img {margin-left:0;float:left;}

 div#main table td a:link img,  div#main table td a:active img,  div#main table td a:visited img {
text-decoration:none;
}

div#main table.noborder {border:0px solid #f4f4f4;}
div#main table.noborder td {border:0px solid #f4f4f4;}

.oddrowcolor{
	background-color:#fff;
}
.evenrowcolor{
	background-color:#ebecee;
}
div#main table thead td {background:#002c5b;color:#ffffff;text-transform:uppercase;font-size:16px; border:1px solid #f4f4f4;}
div#main table thead td p {color:#ffffff;text-transform:uppercase;}

.table{}

div#main td ul {margin-bottom:0;}


#main ul.videos {list-style-type:none;margin:0 0 0px 0;padding:0;display:block}
#main ul.videos li {float:left;margin:0;padding:0 10px 20px 0;width:200px;text-align:left;font-size:12px;color:#2a9abd}

.zoom_out {
    float: right;
    text-decoration: none;
}

.zoom_out:hover {
    text-decoration: underline;
}

#main .legend {
    font-size: 14px;
}

#main .legend img {
    padding: 0;
    margin: 2px 0 -2px 0;
}