/* Just inside pages */
#nav ul {
	background: #cd3301 url(/tpl/img/bg-supnav-ul.png) bottom no-repeat;
}

form {
	margin: 11.7em auto 0 auto;
}

#main {
	background: url(/tpl/img/bg-main.png) left repeat-y;
	margin: 0 0 2em 0;
	border-top: solid 1px white;
}
#ctl00 div.wide {
	background: url(/tpl/img/bg-main-wide.png) left repeat-y;
}
#ctl00 div.nonav, #ctl00 div.nonav div {
	background: white;
}
	#main div {
		background: url(/tpl/img/bg-main-div.png) bottom left no-repeat;
		padding: 0 0 6px 200px;
	}
		#main div div {
			background: none;
			padding: 0;
		}
		
		/* Main content, center */
		div#content {
			width: 595px;
			float: left;
		}
		/* Main content, center */
		div#contentwide {
			width: 758px;
			float: left;
		}
		#content, #contentwide {
			height: 58em;
		}
		html[lang] #content, html[lang] #contentwide {
			height: auto;
			min-height: 58em;
		}
			#main h1 {
				font-size: 190%;
				margin: 0.2em 0 0.8em 0;
			}
			#main h2, #main h3, #main h4, #main h5, #main h6 {
				margin: 0 37px 0 0;
				color: #cd3301;
				font-weight: normal;
			}
			#main h2 {font-size: 150%;}
			#main h3 {font-size: 140%;}
			#main h4 {font-size: 130%;}
			#main h5, #main h6 {font-size: 120%;}
			/* Let's have normal body text, yeah? */
			#content p, #content ul, #content ol, #content dl, 
			#contentwide p, #contentwide ul, #contentwide ol, #contentwide dl {
				font-size: 120%;
			}
				#content ul ul, #content ol ol, #content ol ul, #content ul ol {
					font-size: 100%;
				}

			#main p {
				margin: 0 49px 1em 12px;
				margin: 0 37px 1em 0;
			}
			#main p.date {
				margin: 0 49px 0 12px;
			}
			#main ul, #main ol {
				margin-top: 0;
				margin-right: 49px;
				margin-bottom: 1em;
			}
			#main fieldset {
				margin: 0 37px 1em 2px;
				border: none;
				padding: 1.2em 0 0.5em 11px;
				background: #f5f4f4 url(/tpl/img/bg-content-fieldset.png) bottom repeat-x;
			}
				#main fieldset legend {
					display: none;
				}
				#main fieldset dl {
					width: 268px;
					float: left;
					margin: 0 0 1em 0;
				}
				#main fieldset dl.odd {
					clear: left;
				}
				#contentwide fieldset dl {
					width: 349px;
				}
					#main fieldset dt {
							margin: 0 0 0.3em 0;
						}
							#main fieldset label {
								font-weight: bold;
							}
							#main fieldset dt em, #main fieldset p em {
								color: #cd3301;
							}
							#main fieldset dl input, #main fieldset dl select, #main fieldset dl textarea {
								width: 237px;
							}
							#contentwide fieldset dl input, #contentwide fieldset dl select, 
							#contentwide fieldset dl textarea {
								width: 318px;
							}

					#content fieldset h1, #contentwide fieldset h1, 
					#content fieldset h2, #contentwide fieldset h2, 
					#content fieldset h3, #contentwide fieldset h3, 
					#content fieldset h4, #contentwide fieldset h4, 
					#content fieldset h5, #contentwide fieldset h5, 
					#content fieldset h6, #contentwide fieldset h6 {
						margin: 0 39px 0 0;
						clear: both;
					}
					#content fieldset p, #contentwide fieldset p {
						margin: 0 39px 1em 0;
						clear: both;
					}
						#main fieldset p input, #main fieldset p select, #main fieldset p textarea {
							width: 503px;
						}
						#contentwide fieldset p input, #contentwide fieldset p select, #contentwide fieldset p textarea {
							width: 666px;
						}
					#content fieldset p.submit {
						text-align: right;
					}
						#content fieldset p.submit input, #contentwide fieldset p.submit input, #content .legalfoot input, #contentwide .legalfoot input, #main .r input {
							width: auto;
							border: none;
						}

				/* Some forms have a disclaimer checkbox / submit button combo */
				#content fieldset .legalfoot {
					clear: both;
					margin: 0 0 1em 0;
				}
					.legalfoot p.legal {
						float: left;
					}
						.legalfoot p.legal label {
							/* The checkbox has to act as a bullet.  What the padding giveth, the text-indent
							taketh away */
							padding: 0 0 0 1.8em;
							text-indent: -2em;
							display: block;
						}

					#content fieldset .legalfoot p.legal {
						width: 383px;
						margin: 0;
					}
					#contentwide fieldset .legalfoot p.legal {
						width: 558px;
					}
					#content .legalfoot p.submit {
						float: left;
						width: 125px;
						margin: 0;
						clear: none;
					}

		/* For the management team page */
		div#team div, div#simplelist div {
			background: #f5f4f4 url(/tpl/img/bg-content-fieldset.png) bottom repeat-x;			
			margin: 0 37px 0.2em 2px;
			padding: 0.8em 10px 0.5em 10px;
		}
		div#team div {
			position: relative;
			padding: 0.8em 10px 0.5em 100px;
			height: 100px;
		}
		#contentwide #team div, #contentwide #simplelist div {
			margin: 0 0 0.2em 2px;
		}
		html[lang] #team div {
			height: auto;
			min-height: 100px;
		}
			#team p.img, #team p.icon {
				position: absolute;
				top: 6px;
				left: 10px;
				width: 77px;
				margin: 0;
			}
				.img img {
					border: solid 1px #c2c2c2;
				}
			#team h2, #team h3, #simplelist h2, #simplelist h3 {
				margin: 0;
				font-size: 110%;
			}
			
			#team  h2.teamSection {
				margin: 20px 0 10px 15px;
				font-size:120%;
			}
			
			#team h3, #simplelist h3 {
				font-weight: normal;
				font-style: italic
			}
			#team p, #team h3, #simplelist p, #simplelist h3 {
				margin: 0 0 0.5em 0;
			}
			#team p.date, #simplelist p.date {
				margin: 0;
			}

		/* Some sectional home pages have a three column layout */
		div#threecol {
			clear: both;
		}
		#main #threecol div {
			float: left;
			width: 192px;
		}
			#threecol h1, #threecol h2, #threecol h3, #threecol h4, #threecol h5, 
			#threecol h6, #threecol p, #threecol ul, #threecol ol, #threecol dl {
				margin-right: 20px;
			}

		/* Related links, right */
		#main div#related {
			width: 165px;
			float: left;
			background: url(/tpl/img/bg-related.png) repeat-y;
		}
			#main div#related div {background: url(/tpl/img/bg-related-div.png) top no-repeat;}
				#main div#related div div {
					background: url(/tpl/img/bg-related-div-div.png) bottom no-repeat;
					padding: 10px 0 0 0;
				}
					#main div#related div div div {
						background: none;
						padding: 0;
					}

			#related h1, #related h2 {
				font-size: 150%;
				margin: 0 10px 0.5em 10px;
			}
			#related h1, #related h2, #related h3, #related h4, #related h5, #related h6 {
				margin: 0 10px;
			}
			#related h3 {font-size: 130%;}
			#related h4 {font-size: 120%;}
			#related h5 {font-size: 110%;}
			#related h6 {font-size: 100%;}
			#related p {
				margin: 0 10px 1em 10px;
			}
			#related ul, #related ul li {
				margin: 0 10px 0.5em 10px;
				padding: 0 0 0.5em 0.5em;
			}
				#related ul li {
					margin-bottom: 0;
					padding-bottom: 0;
				}
			#related dl {
				margin: 0 0 1em 10px;
			}
				#related dt {
					float: left;
					width: 20px;
					padding: 0 0 10px 0;
				}
				#related dd {
					float: left;
					width: 101px;
					padding: 0 0 10px 0;
				}
		
	#related blockquote, #subnav blockquote {
		margin: 0;
	}
		#related cite, #subnav cite {
			font-style: normal;
			font-weight: bold;
		}
	#related a {text-decoration: underline;}

		/* Sub-navigation, left */
		div#subnav {
			position: absolute;
			top: 0;
			left: 0;
			width: 182px;
		}
			/* Name of the top-level section we're currently in */
			#subnav h3 {
				color: #666;
				font-size: 150%;
				font-weight: normal;
				padding: 0.3em 11px 0.3em 11px;
				margin: 0;
				background: #dcddde url(/tpl/img/bg-subnav-h3.png) top no-repeat;
			}
				#subnav h3 a {
					color: #666;
					text-decoration: none;
				}
			#subnav map ul {
				font-weight: bold;
				font-size: 105%;
				margin: 0 1px 1em 1px;
				border-bottom: solid 1px #dcddde;
			}
			#subnav map ul a, #subnav map ul em {
				text-decoration: none;
				display: block;
				color: #cd3301;
				padding: 0.6em 11px;
				background: white url(/tpl/img/bg-subnav-a.png) bottom no-repeat;
				border-top: solid 1px #dcddde;
			}
			#subnav map ul em, #subnav map ul a:hover {
				font-style: normal;
				color: #666;
				background: white url(/tpl/img/bg-subnav-em.png) top no-repeat;
			}
			* html #subnav map a, * html #subnav map em {
				height: 1%;
			}
				#subnav map ul em a, #subnav map ul em a:hover {
					padding: 0;
					color: #666;
					background: none;
					border: none;
				}

				/* Third-level navigation */
				#subnav map ul ul {
					border: none;
				}
				#subnav map ul ul a, #subnav map ul ul em {
					font-weight: normal;
					padding: 0 9px 0.6em 25px;
					background: url(/tpl/img/bg-nav-map-ul-ul-a.png) left top no-repeat;
					border: none;
				}
				#subnav map ul ul a:hover, #subnav map ul ul em {
					color: #666;
					background: url(/tpl/img/bg-nav-map-ul-ul-em.png) left top no-repeat;
				}
					#subnav map ul ul em a {
						padding: 0;
						background: none;
					}
		/* The awards flash movie */
		#subnav p {
			margin: 1em 11px 0 11px;
		}

/* The people thumbnails, left */
div#people {
	margin: 1em 0 0 0;
}
div#thumbs {
	width: 291px;
	float: left;
}
#people h2 {clear: both;}
#people ul, #people ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
	/* Each summary is inside a list item */
	#people ul li {
		float: left;
		width: 97px;
		font-size: 75%;
	}
	#people ul li.clear {
		clear: left;
	}
	/* I'm so, so sorry. */
	#people ul li.iefix {
		float: none;
		width: auto;
		clear: both;
		font-size: 1%;
		display: inline-block;
		display: block;
		line-height: 0;
	}
		#people ul a {
			display: block;
			padding: 0 0 1em 0;
			margin: 0 24px 0 0;
			color: #333;
		}
		#people ul a:hover {
			text-decoration: none;
		}
			#people ul img {
				border-bottom: solid 4px white;
			}

/* The detail bit */
#people div#detail, #people div#detail2 {
	border-top: solid 4px #cd3301;
	width: 467px;
	float: left;
}
/* For when more than one team are on a page */
div.multiteam {
	margin: 3.1em 0 0 0;
}
	#people div div {
		position: relative;
		padding: 1em 0 0 0;
	}
		#people div h3 {
			margin: 0 75px 0 0;
			clear: both;
		}
		#people div h4 {
			margin: 0 75px 0.5em 0;
		}
		/* The Linkedin link and logo */
		#people p.linkedin {
			position: absolute;
			top: 22px;
			right: 0;
			width: 75px;
			margin: 0;
		}
