/* Just for inside pages */
p#logo img {
	margin: 0 0 0 19px;
}

/* This is only used on the product landing pages, but is included here
for health and efficiency.  */
div#intro p {
	color: white;
	background: black;
	font-size: 160%;
	padding: 8px 175px 0 14px;
	height: 226px;
	line-height: 1.1;
}
div[id] #intro p {
	height: auto;
	min-height: 226px;
}

/* Headings */
#content h2, #content h3, #content h4, #content h6 {
	margin: 0 0 0.5em 0;
}
#content h1 {
	color: #ae2f3a;
	font-size: 170%;
	margin: 0 0 0.5em 0;
}
#content h2, #content h4, #content h6 {
	color: #1a3364;
}
#content h3, #content h5 {
	color: #293641;
}
#content h2 {
	font-size: 157%;
	font-weight: normal;
}
#content h3 {
	font-size: 148%;
	margin: 0 0 0.6em 0;
}
#content h4 {
	font-size: 128%;
	margin: 0 0 1em 0;
}
#content h5 {
	font-size: 111%;
	margin: 0 0 1em 0;
}
#content h6 {
	font-size: 100%;
	margin: 0;
}
#content p, #content ul, #content ol, #content dl {
	font-size: 110%;
}
	#content ul ul, #content ul ol, #content ul dl,	#content ol ul, #content ol ol,
	#content ol dl,	#content dl ul, #content dl ol, #content dl dl,	#content dd p,
	#content ol p {
		font-size: 100%;
	}
	#content dd h1, #content dd h2, #content dd h3, #content dd h4, 
	#content dd h5, #content dd h6, #content dd p {
		font-size: 100%;
		font-weight: normal;
	}

/* News, etc. */
#content dl {
	margin: 0 0 0.7em 0;
	border-top: solid 1px #bfbfbf;
	padding: 0.5em 0 0 0;
}
	#content dt {
		float: left;
		width: 179px;
		font-weight: bold;
	}
	#content dd {
		float: left;
		width: 323px;
	}
	/* For the Weekly NAV section */
	#weeklynav dt {
		width: 340px;
	}
	#weeklynav dd {
		width: 61px;
	}

/* Default bullets */
#content ul {
	margin: 0 0 1em 0;
}
	#content ul li {
		background: url(/tpl/img/bullet-default.gif) 5px 6px no-repeat;
		padding: 0 0 0.2em 15px;
	}
#content ol, #content ol li {
	margin: 0 0 1em 0.8em;
	padding: 0 0 0 0.8em;
}

/* Sitemap */
ul#sitemap li {background: none;}
#sitemap img {
	margin: 0 6px 0 0;
	cursor: pointer;
}
#sitemap img.off {
	cursor: text;
}

/* Ordered lists */
#content ol {
	list-style-type: decimal;
}
	#content ol ol {
		list-style-type: lower-alpha;
		margin-top: 0.5em;
	}
		#content ol ol ol {
			list-style-type: lower-roman;
		}

	#content ol li {
		margin: 0 0 0.8em 0.8em;
	}

/* Lists of documents - the "bullet" is an inline image */
#content ul.doclist {
	padding-top: 0.5em;
}
#content ul.doclist li {
	background: none;
	padding: 0 0 1.2em 0;
	font-weight: bold;
}
	.doclist img {
		vertical-align: middle;
		border-right: solid 10px white;
		background: white;
	}

/* Table rules */
table {
	border: none;
	border-width: 0;
	border-top: solid 1px white;
	border-left: solid 1px white;
	border-bottom: solid 4px #1b3464;
	margin: 1em 0;
	/* border-collapse: collapse; */
	border-width: 1px 0 4px 1px;
}
#content table { width: 502px; }
	thead td, thead th { border-bottom: solid 1px white; }
	tfoot th, tfoot td { border-top: solid 1px white; font-size: 90%; }
		caption { border-bottom: solid 1px white; padding: 0; color: #1b3464; font-size: 120%; }
		caption strong { font-size: 110%; color: #1b3464; }
		caption, th { text-align: left; }
		
		#content table p, #contentwide table p { margin: 0; }
		th, td {
			padding: 6px 4px;
			border: none;
			border-right: solid 1px white;
			border-bottom: solid 1px white;
			color: #666;
			background: #eaeaf2;
		}
		th, td.header {
			background: #cccce0;
			font-weight: bold;
		}
		.subtotal td, .subtotal th, .subtotal, .subtotal strong {
			color: white;
			font-weight: bold;
			background: #6e6e9c;
		}
		/* Sometimes, an underline is required */
		.underline th, .underline td, .underline {
			border-bottom: solid 2px #1b3464;
		}
		/* Navy */
		thead th, thead td, .total td, .total th, .total, .header td, .header th {
			color: white;
			background: #1b3464;
		}
		.header td {
			font-weight: bold;
		}
		/* For huge tables */
		.compact th, .compact td {
			padding: 1px 4px;
			font-size: 90%;
		}

/* This is used on the links page */
div#links {
	background: url(/tpl/img/bg-links.png) repeat-y;
}
	#links div {
		border-bottom: solid 10px white;
		background: none;
	}
		#links div div {
			width: 171px;
			height: 246px;
			border: none;
			float: left;
		}
		/* The last div */
		#links div div#linkfinancial, #links div div#linkifa {
			width: 160px;
		}
		div[id] #links div div {
			height: auto;
			min-height: 246px;
		}
			#links h2 {
				margin: 5px 15px 0 5px;
				background: white;
				padding: 2px 4px;
				font-size: 130%;
				font-weight: bold;
			}
			#linkfinancial h2, #linkifa h2 {
				margin-right: 5px;
			}
			/* Faking verticle-centring. Yes, this is poor. */
			#linkindustry h2 {margin-bottom: 30px;}
			#linknews h2 {margin-bottom: 17px;}
			#linkfinancial h2 {margin-bottom: 38px;}
			#linkshare h2 {margin-bottom: 60px;}
			#linkreg h2 {margin-bottom: 63px;}
			#linkifa h2 {margin-bottom: 60px;}
			#links p {
				margin: 0 10px 20px 0;
				text-align: center;
			}

/* The crumb-trail */
#content map ol {
	text-indent: -5px;
	margin: 0 0 1em 0;
	padding: 0;
}
	#content map ol li {
		display: inline;
		margin: 0;
		padding: 0;
	}
		#content map ol a {
			background: url(/tpl/img/bg-crumb-a.gif) 100% 5px no-repeat;
			padding: 0 3px 0 5px;
			font-weight: normal;
			text-decoration: none;
		}
		#content map ol em {
			padding: 0 5px;
			font-style: normal;
			font-weight: bold;
		}

/* Forms */
#content fieldset {
	background: #e8eaef;
	margin: 0 0 1em 0;
}
#content fieldset.minimal, #content fieldset.gs_top, #content fieldset.gs_bottom {
	padding: 1em 0 0 0;
}
	#content fieldset.minimal legend, fieldset.gs_top legend {
		display: none;
	}

	*:first-child+html #content legend, *:first-child+html #contentwide legend {
		margin: 0 0 0 -7px;
	}
	* html #content legend, * html #contentwide legend {
		margin: 0 -7px;
	}

	/* Captions are required to cap the boxes, but do not need to show their contents */
	#content legend strong {
		display: block;
		padding: 10px 15px 1.2em 15px;
		background: #e8eaef;
		/* For three column pages */
		width: 472px;
		color: black;
		font-size: 125%;
	}
	#content fieldset h2, #content fieldset h3 {
		margin: 0 15px 0.5em 15px;
		font-size: 125%;
	}

	#content fieldset dl {
		border: none;
		padding: 0;
		margin: 0 10px 0.8em 15px;
	}
		#content fieldset dt {
			width: 135px;
			color: #4f4f4f;
			font-size: 90%;
			padding-right: 15px;
			font-weight: normal;
		}
		* html #content fieldset dt {
			width: 150px;
		}
		#content fieldset .check dt, * html #content fieldset .check dt {
			width: 27px;
			padding: 0;
		}
		#content fieldset dd {
			width: 322px;
			font-size: 80%;
		}
		/* Search results */
		#content fieldset .pagenav dd {
			text-align: right;
		}
			#content fieldset .pagenav dd a {
				margin: 0 0 0 1em;
			}
		div#searchresults {
			margin: 0 0 0 40px;
		}
			#searchresults h3 {
				font-size: 120%;
				margin: 0;
			}
				#searchresults h3 a {
					text-decoration: underline;
				}

		#content fieldset .check dd {
			width: 435px;
		}
			#content fieldset dd input, #content fieldset dd select, 
			#content fieldset dd textarea {
				width: 300px;
				font-size: 120%;
			}
			#content fieldset dd textarea {
				width: 296px;
			}
			#content fieldset p textarea {
				width: 446px;
			}

			#content fieldset input, #content fieldset select, #content fieldset textarea {
				border: solid 2px #dbdbe6;
				padding: 0.2em 0;
			}
				/* Check-boxes */
				#content fieldset tr input {
					margin: 0 1em 0 0;
					border: none;
				}
			#content fieldset textarea {
				height: 5em;
			}
			/* Yes, this is nasty.  No, I'm still not happy with it. */
			#content dd h1, #content dd h2, #content dd h3, #content dd h4, #content dd h5,
			#content dd h6, #contentwide dd h1, #contentwide dd h2, #contentwide dd h3, 
			#contentwide dd h4, #contentwide dd h5, #contentwide dd h6, #contentwide dd p, 
			#content dd p {
				display: inline;
				margin: 0;
				padding: 0;
				font-weight: normal;
				font-size: 100%;
			}
		/* Assumed to be a checkbox or radio button */
		#content fieldset p input, #content fieldset .check dt input {
			width: auto;
			border: none;
		}
		/* This is a little messy, but is intended to give checkboxes a little more space */
		#content fieldset p label {
			padding: 0 1em 0 0;
		}
		#content dt label, #content table label, #content dt span, #content fieldset dd label {
			color: black;
			font-size: 110%;
			font-weight: bold;
		}
		#content fieldset .check dd label {
			font-weight: normal;
		}

	/* Thanks, .NET, but that's not how we do layout any more */
	#content fieldset table, #content fieldset dl table, #content fieldset th, 
	#content fieldset td {
		border: none;
		margin: 0 10px;
		font-size: 100%;
		background: none;
		width: auto;
	}
	#content fieldset table input {
		width: auto;
	}
	#content fieldset p {
		margin: 0 37px 0.8em 15px;
	}
		/* Submit button */
		#content fieldset p.r input {
			width: auto;
			float: none;
		}
		/* Search submit button */
		input.SearchAgainImageButton {
			vertical-align: middle;
			margin: 0 0 0 1em;
		}

/* For the search results */
#ctl01_search_results a {
	color: #ae2f3a;
}

/* Second level navigation */
#nav map ul ul {
	border: none;
	margin: 0 0 1em 0;
	font-size: 75%;
	letter-spacing: 0;
}
	#nav map ul ul a, #nav map ul ul em {
		border: none;
		padding: 0.3em 0;
	}
		/* Third level navigation - bullets */
		#nav map ul ul ul {
			font-size: 100%;
			margin: 0 0 0.5em 0;
		}
			#nav map ul ul ul a, #nav map ul ul ul em {
				padding: 0.2em 0 0.2em 10px;
			}
			#nav map ul ul ul a {
				background: url(/tpl/img/bg-nav-ul-ul-ul-a.png) 0 5px no-repeat;
			}
			#nav map ul ul ul em, #nav map ul ul ul a:hover {
				background: url(/tpl/img/bg-nav-ul-ul-ul-em.png) 0 5px no-repeat;
			}
				/* Forth level navigation - ">" */
				#nav map ul ul ul ul a {
					background: url(/tpl/img/bg-nav-ul-ul-ul-ul-a.png) 14px 4px no-repeat;
					padding: 0.2em 0 0.2em 22px;
				}
				#nav map ul ul ul ul em, #nav map ul ul ul ul a:hover {
					background: url(/tpl/img/bg-nav-ul-ul-ul-ul-em.png) 14px 4px no-repeat;
					padding: 0.2em 0 0.2em 22px;
				}
					#ctl00 #nav map ul em a, #ctl00 #nav map ul em a:hover {
						color: #ad2f39;
						background: none;
						padding: 0;
						border: none;
					}

	#nav p {
		font-size: 110%;
	}
		#nav p a {
			text-decoration: none;
		}
			#nav p a img {
				vertical-align: bottom;
				margin: 0 5px 0 0;
			}

div#related {
	color: white;
	background: #1b3464;
	margin: 16px 0 0 0;
	padding: 8px 0 0 0;
	font-size: 110%;
}
	#related h1, #related h2, #related h3, #related h4, #related h5, #related h6 {
		margin: 0 10px 0.5em 10px;
		font-weight: normal;
		color: #739bef;
		font-size: 150%;
	}
	#related ul, #related p, #related ol {
		color: white;
		margin: 0 10px 1.8em 10px;
	}
	#related dl {
		color: white;
		margin: 0 10px;
	}
	#related ul, #related dl {
		border-top: solid 1px #54678b;
	}
		#related ul li, #related dl dd {
			border-bottom: solid 1px #54678b;
			background: url(/tpl/img/bg-related-ul-a.gif) 0 9px no-repeat;
			padding: 0.5em 0 0.5em 13px;
		}
		/* Legacy mark-up */
		#related dl dt {
			display: none;
		}
