/* CSS Document */

body{
	font: xx-small Verdana, Arial, Helvetica, sans-serif; 
	text-align:center;
	margin: 0;
	padding: 0;
	background: #aab4a9;
	}
	
html {height:100%}
body {min-height:101%}

#wrap {
	background: url(../images/oat_page_back.gif) repeat-y;
	margin:0 auto;
	padding: 0;
	position: relative;
	width: 857px;
	height: 100%;}
	
#contents {
	margin: 0 auto;
	padding: 0;
	width: 785px;
	text-align:left;
	height: 100%;
	overflow: auto;}

#header #floatright {
	float: right;
	text-align: right;
	}
#floatright p {
	color: #636363;
	font-size: 140%;
	margin: 0;
	padding: 0;}	
#floatright img {
	margin; 0;}

#header #floatleft {
	float: left;}
#masthead {
	margin: 0;
	padding: 0;
	position: static;}
	
.imgfloatleft {float: left;	clear: left; margin: 0 20px 5px 0}
.imgfloatright {float: right; clear: right; margin: 0 0 5px 20px;}
 
a.pdf:link, a.pdf:visited {
	color: #27312c;
	padding: 2px 0 4px 22px;
	background:url(../images/icon_pdf.gif) left no-repeat;
}	
	
a.pdf:hover, a.pdf:active, a.pdf:focus {
	padding: 2px 0 4px 22px;
	background:url(../images/icon_pdf.gif) left no-repeat;
	color:#000;
}

/* .............. MAIN .....................*/
#main {
	width: 455px;
	float: left;
	margin: 25px 0 0 0;
	z-index: auto;
	position: static;} /* NEEDS TO BE STATIC FOR IE */
#main p {
	color: #4C4C4C;
	line-height: 150%;
	font-size: 130%;}
#main h1 {
	font-size: 330%;
	font-weight: normal;
	margin: 0 0 12px 0;
	padding: 0;
	color: #27312c;
	}
#main h2 {
	font-size: 200%;
	font-weight: normal;
	margin: 8px 0 8px 0;
	padding: 0;
	color: #27312c;
	line-height: 120%;
	}
#main h3 {
	font-size: 180%;
	font-weight: normal;
	margin: 5px 0 8px 0;
	color: #27312c;
	}

#main ul {
	margin: 0;
	padding: 0;}
#main li {
	list-style:none;
	background:url(../images/bullet.gif) no-repeat top left;
	padding: 0 0 5px 15px;
	color: #4C4C4C;
	line-height: 140%;
	font-size: 130%;}
#main .small {
	color: #aab4a9;
	line-height: 140%;
	font-size: 110%;
	}

#main a {
	color: #27312c;
	text-decoration:none;
	border-bottom: 1px dotted #636363;
	position:static;}
#main a:visited {
	color: #636363;
	text-decoration:none;
	border-bottom: 1px dotted #636363;}
#main a:hover {
	color: #000;
	text-decoration:none;
	border-bottom: 1px solid #27312c;}
#main img a {
	border: none;}


	
/* .............. RIGHT .....................*/
#right {
	float: right;
	width: 245px;
	margin: 30px 0 0 0;
	position:static;}
#right .inner {
	padding: 0 0 0 0;}
#right p {
	color: #4C4C4C;
	line-height: 150%;
	font-size: 130%;}
#right h1 {
	font-size: 210%;
	word-spacing: -2px;
	font-weight: normal;
	margin: 0 0 10px 0;
	color: #27312c;
	
	}
#right h2 {
	font-size: 160%;
	font-weight: normal;
	margin: 0;
	padding: 3px 15px 4px 15px;
	display: block;
	background: #27312c url(../images/right_box_top.gif) no-repeat top;
	color: #fff;
	text-transform:uppercase;
	}
#right h3 {
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	display: block;
	padding: 8px 15px;
	border-left: 1px solid #27312c;
	border-right: 1px solid #27312c;
	border-bottom: 1px dotted #27312c;	
	background-color: #eef0ee;
	color: #27312c;
	}
#right h3.last {
	border-bottom: 1px solid #27312c;}
#right img {
	margin: 0 0 10px 0;}
	
#right a {
	color: #27312c;
	text-decoration:none;
	border-bottom: 1px dotted #636363;}
#right a:visited {
	color: #636363;
	text-decoration:none;
	border-bottom: 1px dotted #636363;}
#right a:hover {
	color: #000;
	text-decoration:none;
	border-bottom: 1px solid #27312c;}
	

	
#map {
	background:url(../images/uk_regions_map_flat.gif);}	

/* .............. Map current location .....................*/
body.b02 #map
	{background: url(../images/uk_map_exeter.gif);}
body.b03 #map
	{background: url(../images/uk_map_salisbury.gif);}
body.b04 #map
	{background: url(../images/uk_map_stansted.gif);}
body.b05 #map
	{background: url(../images/uk_map_bicester.gif);}
body.b06 #map
	{background: url(../images/uk_map_doncaster.gif);}
body.b07 #map
	{background: url(../images/uk_map_horncastle.gif);}
body.b08 #map
	{background: url(../images/uk_map_dundee.gif);}

	
	
/* .............. NAVIGATION .....................*/
#navbar {
	width: 785px;
	position: static;
	clear:both;
	margin: 0;
	padding: 0 0 0 0;
	background-color: #27312c;
	overflow: none;
	z-index: auto;
	text-align:center;
	height: 24px;
	border-bottom: 0px solid #27312c;	
	}
#navbar ul {
	list-style:none;
	margin: 0;
	padding: 0;
	position: static;
	z-index:auto;
	white-space: nowrap;
	overflow: visible;
	}
#navbar ul li {
	position: relative;
	float:left;
	font-size: 120%;
	margin: 0 0 0 0;
	padding: 0;
	}
#navbar ul li a {
	display: block;
	width: 10em;
	padding: 6px 0 5px 0;
	text-transform:uppercase;
	text-decoration:none;
	color:#fff;
	background-color:#27312c;
	margin: 0 0 0 0;
	position: relative;
	}

/*	
#navbar ul li a:hover,
#navbar a#active_menu,
#navbar a:hover > a {
	background-color:#aab4a9;
	} */

#navbar ul li a:hover {
	background-color:#aab4a9;
	color: #27312c;
	position: relative;
	}



/* ..................... Current location ......................... */

body.about #navbar li#about a, 
body.trials #navbar li#trials a,
body.regions #navbar li#regions a,
body.news #navbar li#news a,
body.vacancies #navbar li#vacancies a,
body.contact #navbar li#contact a
	{
	background: url(../images/menu_back.png);
	color: #27312c;
	position: relative;	
	margin: 0;
	padding:6px 0 5px 0; 
	}


	
#navbar li ul {
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	position:absolute;
	height: 0; 
	margin: 0;
	z-index: 4000;
	top: 23px;
	/*border-top: 1px solid #27312c;*/
	}
	

/* style the second level links */
#navbar li li a, #navbar li li a:visited {
	color:#fff; 
	height:auto; 
	line-height:140%; 
	border-bottom: 1px dotted #fff;
	border-collapse:collapse;
	background: url(../images/menu_back.png);
	text-transform:capitalize;
	text-align: center;
	font-size: 105%;
	color: #27312c;
	}	

/* make the second level visible when hover on first level list OR link */
/*#navbar a:hover ul,*/
#navbar li a:hover ul {
	top: auto;
	left: 0;
	position: absolute;
	z-index:auto;
}

/*html>#navbar a:hover ul,
html>#navbar li a:hover ul  {
	top: auto;
	left: 0;
	position: absolute;
	z-index:auto;
	}*/

#navbar li li{
	margin: 0;
	padding: 0;
	float:none;
	font-size: 100%; }
	
#navbar li li a{
	display:block;
	width:9.5em;
	float: none;
	margin: 0;
	height: auto;
	padding: 5px 0;
	white-space:normal;
	background-color: none;
	z-index:auto;
}


#navbar li li a:hover{
	background-color:#27312c !important;
	color: #27312c;
}

#navbar li li.sublevel_current {
	margin:0;
}



#navbar li:hover ul, #navbar li li:hover ul, #navbar li.sfhover ul, #navbar li li.sfhover ul { /* lists nested under hovered list items */
	width: 9.5em;
	left: 0;
}

/* ...................... Current location .................. */

body.a01 #navbar ul li#a01 a, 
body.a02 #navbar ul li#a02 a,
body.a03 #navbar ul li#a03 a,
body.a04 #navbar ul li#a04 a,
body.a05 #navbar ul li#a05 a,
body.a06 #navbar ul li#a06 a,
body.a07 #navbar ul li#a07 a,
body.b01 #navbar ul li#b01 a,
body.b02 #navbar ul li#b02 a,
body.b03 #navbar ul li#b03 a,
body.b04 #navbar ul li#b04 a,
body.b05 #navbar ul li#b05 a,
body.b06 #navbar ul li#b06 a,
body.b07 #navbar ul li#b07 a,
body.b08 #navbar ul li#b08 a

	{	background-color:#aab4a9;
		background: url(../images/menu_back_select.png);
		color: #27312c;}





#footer {
	width: 857px;
	height: 21px;
	position: static;
	margin: 0 auto;
	padding: 0 0 20px 0;
	background: url(../images/oat_page_base.gif) no-repeat bottom;}
#footer .small {
	display: block;
	color: #aab4a9;
	line-height: 140%;
	font-size: 110%;
	text-align:left;
	margin: 10px 0 0 30px;
	}

/* ...................... MM .................. */
	
#mm {
	width: 830px;
	margin: 0 auto;
	text-align:right;
	color: #666;
	padding: 0 0 10px 0;
	}
#mm .red {
	color:#f00;
	text-decoration:none;}
#mm a, #mm a:visited {
	color: #666;
	text-decoration:none;}
#mm a:hover {
	color: #000;}