body {
	margin: 0;
	padding: 0;
}

a img
{
	border: 0;
}

#main_tabnav li a.active, #submenu li a.active {
	font-weight: bold;
}

label {
	float: left;
	width: 50px;
	text-align: right;
	padding-right: 10px;
}

#errorExplanation {
	border-top: 3px solid #f27f7f;
	background: #ffbebe;
	padding: 10px;
}

#errorExplanation, #errorExplanation *, .fieldWithErrors, .fieldWithErrors * {
	color: #9c2626;
}

/* Browser Hacks */

/*
Firefox Dotted Line Fix
  - http://sonspring.com/journal/removing-dotted-links
*/
a:focus {
	outline: none;
}

/*
Clearfix docs
 - Main docs: http://positioniseverything.net/easyclearing.html
 - IE7 change: http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}

/* Hide from IE Mac \*/
.clearfix {
	display:block;
}
/* End hide from IE Mac */

.left
{
    float: left;
}
.right
{
    float: right;
}

#page
{
    /*padding: 9px;*/
    width: 895px;
    margin: 1em auto;
}
#header
{
    margin-bottom: 12px;
}
#header h1
{
    text-transform: uppercase;
    margin: 0;
    width: 144px;
    font-family: Serif;
    line-height: 14px;
}
#header .title
{
    float: left;
}
#header .options
{
    float: right;
}
#header .options div
{
    clear: both;
    text-align: right;
    margin-bottom: 3px;
}
#footer p
{
    text-align: right;
    color: #B1B1B1;
}
a, a b, .caps a
{
    color: #2A6BC4;
}
#header a, #header a b
{
    text-decoration: none;
    margin: 0 3px;
}
#footer a
{
    text-decoration: none;
    color: #B1B1B1 !important;
}

ul.nostyle, ul.nostyle li
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#splash
{
    position: relative;
    background: #98D029;
}

#splash a
{
	display:block;
	padding:0 12px;
}
#splash #menu
{
    list-style: none;
    float: left;
    margin: 0;
    padding: 0;
    background: black;
    height: 150px;
	position: absolute;
	left: 0px;
}
#splash #menu li
{
    height: 30px;
}
#splash #menu li a
{
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    float: left;
	width: 130px;
}
#splash.internal #menu li a
{
	height: 24px;
	padding-top: 6px;
}
#splash #menu li ul li a, #splash #menu li ul li ul li a
{
	text-transform: none;
	width: auto;
}
#splash.internal #menu li ul li a, #splash.internal #menu li ul li ul li a
{
	padding: 0 6px;
}

#splash {
	height: 300px;
	overflow: hidden;
}

#splash.internal {
	height: 150px;
}

#splash #menu span
{
    width: 4px;
    display: inline-block;
    float: left;
    height: 100%;
    padding: 6px 0;
    margin-top: -6px;
}

#splash.internal #menu li span
{
	padding: 0px;
	margin: 0px;
	height: 30px;
}

/* colours: */
#splash #menu span, #splash #menu ul, #content #related span, #content #media_bg_box, #splash #menu #what span, #splash #menu #what ul, #content.what #related span, #content.what #media_bg_box, #content.what .media_bg_box
{
    background: #98D029;
}

#splash #menu #about span, #splash #menu #about ul, #content.about #related span, #content.about #media_bg_box, #content.about .media_bg_box
{
    background: #FA779B;
}

#splash #menu #programs span, #splash #menu #programs ul, #content.programs #related span, #content.programs #media_bg_box, #content.programs .media_bg_box
{
    background: #C8B071;
}

#splash #menu #research span, #splash #menu #research ul, #content.research #related span, #content.research #media_bg_box, #content.research .media_bg_box
{
    background: #6FCED1;
}

#splash #menu #news span, #splash #menu #news ul, #content.news #related span, #content.news #media_bg_box, #content.news .media_bg_box
{
    background: #FBB84C;
}
#content
{
    line-height: 1.5em;
    margin: 2em 0;
    min-height: 450px;
}

#content #body_content_left
{
    float: left;
    width: 142px;
    margin-right: 29px;
    line-height: 1.75em;
}

#content #related ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

#content #related a
{
    text-decoration: none;
    padding-left: 6px;
}

#content #related span
{
    width: 100%;
    color: white;
    height: 1.75em;
    display: block;
    padding-left: 6px;
}

#content #body_content_right {
    float: left;
    width: 724px;
}

#content #body_content_right #main
{
    float: left;
    width: 370px;
    color: #3F3F3F;
}
#content #body_content_right #main.inquiries {
    width: 420px;
}

#content #body_content_right.no_side_body #main
{
	width: 724px;
}

#content #body_content_right h1
{
    margin-top: 0;
}

#content #features
{
    float: right;
    width: 278px;
	overflow-x: hidden;
}

#content #features #features_content
{
	background: #FFFFFF url('/theme/images/featuresbg.gif') repeat-x;
	padding: 9px;
	min-height: 100px;
}

#content #features #features_media
{
	position: relative;
	margin-bottom: 24px;
}

#content #features #features_media p
{
	margin: 0;
}

#content #features #features_media img
{
	border: 1px solid white;
	display: block;
}

#content #features #features_media .media_box
{
	position: relative;
	margin: 18px 0;
	z-index: -1;
}

#content #features #features_media .media_bg_box
{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
	left: 6px;
	top: 6px;
}

.callout
{
    background: #DEDEDE;
    padding: 16px;
    line-height: 1.75em;
    font-size: 1.15em;
}

#splash #menu li ul
{
    position: absolute;
    left: -9999px;
    list-style: none;
    margin-top: -6px;
    width: 738px;
}
#splash.internal #menu li ul
{
	margin-top: 0px !important;
}
#splash.internal #menu li ul li a
{
	height: 24px;
	padding-top: 6px;
}
#splash #menu li ul li
{
    float: left;
    width: auto;
}

#splash #menu li:hover ul, #splash #menu li.sfhover ul, #splash #menu li.selected ul
{
    left: 157px;
	padding-left: 0px;
    opacity: 1;
}
#splash #menu li:hover ul, #splash #menu li.sfhover ul
{
	z-index: 100001;
}
#splash #menu li ul li:hover a, #splash #menu li ul li.sfhover a, #splash #menu li ul li.selected a
{
	margin-top: -3px;
	height: 18px;
	padding-top: 3px;
    background: url('/theme/images/opacity.png');
}


#splash.internal #menu li ul li:hover a, #splash.internal #menu li ul li.sfhover a, #splash.internal #menu li ul li.selected a
{
	margin-top: 0px;
	height: 24px;
	padding-top: 6px;
    background: url('/theme/images/opacity.png');
}
#logo img
{
    border: none;
    outline: none;
}

#splash.internal #menu li.selected ul
{
	position:absolute;
	top: 0px;
}

#splash.internal li.selected ul
{
	z-index: 9999 !important;
}
#splash.internal #what.selected ul
{
	padding-top: 0;
	height: 90px;
}

#splash.internal #about.selected ul
{
	padding-top: 30px;
	height: 120px;
}

#splash.internal #programs.selected ul
{
	padding-top: 60px;
	height: 90px;
}

#splash.internal #research.selected ul
{
	padding-top: 90px;
	height: 60px;
}
#splash.internal #news.selected ul
{
	padding-top: 120px;
	height: 30px;
}

#search form input
{
	border: 1px solid #527D87;
	vertical-align: middle;
}

#search form input.image
{
	border: 0;
}

span.caps
{
	background: inherit !important;
	color: inherit !important;
	display: inline !important;
	height: inherit !important;
	width: inherit !important;
}

#content #related span.caps
{
	padding: 0;
}

#content #related p a
{
	padding: 0;
}

#black_footer {
    background: #141414;
    padding: 13px;
}
#black_footer ul li {
    list-style: none;
    color: white;
    line-height: 27px;
}
#black_footer ul li * {
    color: white;
}
#black_footer ul {
    margin: 0px;
    padding: 0px;
}