/* CSS Document */

/* 
#7C141B brown     
#F78811 orange     
#FFEAC1 pale orange for backgrounds
#F79C10 #e66e00 pale orange in banner
#F79812 orange on disclaimer bar 
*/ 

/* ---------------------------------------------------------------------------------------------- GLOBAL SETTINGS ------- */

html {
	/* CSS3 property to always show vertical scrollbar and stop scrollbar jog */
	overflow-y: scroll;
}
body {
	width: 990px;
	margin: 1% auto;
	padding: 0;
	border: 0;
	font-family: Calibri, "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

/* Remove the border around all images */
img, img a {
	border: 0;
}

h1 { /* Document Headings */
	border: 0;
	padding: 0;
	margin: 0;
	margin-bottom: 1.5%;
	color: #5E5E5E;
	font-size: 170%;
}
h2 { /* Document Headings */
	/* FIXME: Headings that can't be clicked on should not
	   be the same colour as links
	color: #7C141B ;
	background-color:inherit;
	*/
	font-style:normal;
	font-size:130%;
	margin-bottom: 1%;
}
h3 { /* Document Headings */
	color: #7C141B;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}
h4 { /* Document Headings */
	color: #7C141B;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}
h5 { /* Document Headings */
	color: #7C141B;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}

#header {
	background: #fff url(../images/wave_top.gif) top left no-repeat;
	color: #000;
	width: 990px;
	height: 101px;
	padding-top: 14px; /* FIXME: Move to a margin to work around IE bug? */
	/* Hack to avoid font-size increases affecting the spacing between pictures. */
	line-height: 0; /* Safari 2 */
	font-size: 0; /* FF2 */
}
#header img {
	clear: both;
	float: left;
	display: inline; /* IE6 double float hack */
	margin: 0;
	margin-left: 30px;
}
	
/* Global Document Properties */
.main {
	background: #fff url(../images/side_bgnd.gif) repeat-y;
	background-position: 250px 0;
	color: #000;
	width: 100%;
	float: left;
}
.leftcol {
	float: left;
	width: 232px;
}
.rightcol {
	float: right;
	width: 725px;
	padding: 0;
	background-color: #fff;
	color: #000;
}
#footer {
	clear: both;
	height: 90px;
	background: #fff url(../images/wave_bottom.gif) no-repeat; /* bottombanner.gif 990x90 */
	color: #000;
	margin: 0;
}
a {
	text-decoration: none;
}
a:link {
	color: #e66e00;
}
a:visited {
	color: #CC6666; /*Change this for visited link colour - rest are to prevent menus showing up*/
}
a:hover {
	color: #7C141B;
	background-color:inherit;
	text-decoration: underline;
}

/* Search box styles */
.search {
	clear: both;
	text-align: right;
	margin-top: 0;
	padding: 0;
	margin-bottom: 8px; /* Don't set in %s or IE6 quirky % bug triggered */
}

.maingrey {
	background-color:#E3E3E3;
	width:225px;
	vertical-align:top;
}
.mainspace {
	width:27px;
	height:27px;
	background-color:#FFFFFF;
}
/* End of Global Document Properties */

/* ---------------------------------------------------------------------------------------------- NAVIGATION BARS ------- */

/* Secondary Top Navigation Bar */

#subnavlist {
	text-align: left;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	font-style:italic;
	font-size: 80%;
	background: #ffffff;
	list-style: none;
	color: #e66e00;
}
#subnavlist ul {
	margin-left: 0;
	padding-left: 0;
}
#subnavlist li {
	display: inline;
	list-style-type: none;
	margin-left: 0;
	margin-right: 0;
}
#subnavlist li a {
	text-decoration: none;
}
#subnavlist li a:link {
	color: #5E5E5E;
	background-color: #ffffff;
}
#subnavlist li a:visited {
	color: #5E5E5E;
	background-color: #ffffff;
}
#subnavlist li a:hover {
	color: #7C141B;
	background-color: #FFEAC1;
}
/* End of Secondaty Top Navigation Bar */


/* ---------------------------------------------------------------------------------------------- HOME PAGE ------------- */


/* Information Boxes */
.rightinfo {
	clear: right;
	float: right;
	width: 200px;
	background-color: #FFEAC1; /* pale orange */
	font-style:italic;
	font-size: 80%;
	padding: 1%;
	margin-left: 1%;
	color: #F78811; /* orange text */
}
.rightinfo a {
	text-decoration: none;
}
.rightinfo a:link {
	color: #F78811;
}
.rightinfo a:visited {
	color: #F78811;
}
.rightinfo a:hover {
	color: #7C141B;
	background-color: #FFEAC1;
}

.rightinfobig, .leftinfobig {
	clear: right;
	float: right;
	width: 300px;
	background: #E3E3E3 url(../images/coltop300.gif) no-repeat;
	margin-left: 1%;
	color: #000000;
}
.rightinfobig .infocontent, .leftinfobig .infocontent {
	margin-top: 15px;
	padding: 0 8px;
	padding-bottom: 1px;
	background: #E3E3E3 url(../images/colbot300.gif) bottom left no-repeat;
	color: #000000;
}

.leftinfobig {
	clear: left;
	float: left;
	margin-left: 0;
	margin-right: 1%;
}


.orangeheader {
	background-color: #FFEAC1; /* pale orange */
	font-weight:bold;
	font-size: 100%;
	padding: 4px;
	display: block;
	color: #F78811; /* orange text */
}
/* End Custom Orange Information Boxes */

/* Right aligned "boxout" images */
.rightb {
	clear: right;
	float: right;
	margin: 1.5%;
	margin-right: 0;
}
/* Left aligned "boxout" images */
.leftb {
	clear: left;
	float: left;
	margin: 1.5%;
	margin-left: 0;
}

/* Centre aligned "boxouts" */
.centerb {
	display: block;
	margin: auto auto;
}

address {
	font-size: 80%;
	padding: 4px;
	color: #595959; /* grey text */
	padding: 1%;
	padding-left: 5px;
	font-style: normal;
	font-weight: bold;
	margin-top: 5px;
}
address a {
	width: 100%; /* IE6 double float bug */
	display: block;
}
address a:hover {
	text-decoration: none;
}

hr {
	clear: both;
	border: none;
	background-color: #000;
	color: #000; /* IE (inc 7) ism */
	height: 1px;
}

/* Custom Grey Section Boxes */
.greybox {
	background-color: #E3E3E3; /* medium grey */
	font-size: 80%;
	padding: 4px;
	display: block;
	color: #595959; /* grey text */
}
.greybox h {
	font-size: 100%;
	font-weight:bold;
	color: #333333;
}
#menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.maingrey a {
	background-color: #E3E3E3; /* medium grey */
	font-size: 80%;
	padding: 4px;
	display: block;
	color: #595959; /* grey text */
}
/* End Custom Grey Section Boxes */


#menu {
	background: #FFFFFF;
	color: #7C141B;
}
#menu li {
	border-bottom: 1px solid #E0E0E0; /*this is the line between each button*/
	padding: 0;
	margin: 0;
}
#menu ul ul {
	display: none;
}

#homepage li#home a, #researchpage li#research a, #departmentpage li#department a, #peoplepage li#people a, #admissionspage li#admissions a, #sitemappage li#sitemap a, #itwalespage li#itwales a, #teachingpage li#teaching a, #personalpage li#personal a {
	background: #7C141B;
	color: #FFFFFF;
	font-weight: bold;
	font-style:normal;
}
#departmentpage #menu ul li ul#departmentpage2, #researchpage #menu ul li ul#researchpage2, #peoplepage #menu ul li ul#peoplepage2, #itwalespage #menu ul li ul#itwalespage2, #admissionspage #menu ul li ul#admissionspage2, #teachingpage #menu ul li ul#teachingpage2,
#menu #personal ul {
	display: block;
}
#departmentpage #menu ul li ul#departmentpage2 a, #researchpage #menu ul li ul#researchpage2 a, #peoplepage #menu ul li ul#peoplepage2 a, #itwalespage #menu ul li ul#itwalespage2 a, #admissionspage #menu ul li ul#admissionspage2 a, #teachingpage #menu ul li ul#teachingpage2 a,
#menu #personal ul a {
	background:#FFFFFF;
	font-weight: normal;
	display: block;
	font-size: 80%;
	font-style:normal;
	margin: 0;
	padding: 0;
	color: #7C141B;
	padding-left: 20px;
}
#departmentpage #menu ul li ul#departmentpage2 a:hover, #departmentpage #menu ul li ul#departmentpage2 a:focus, #researchpage #menu ul li ul#researchpage2 a:hover, #peoplepage #menu ul li ul#peoplepage2 a:hover, #itwalespage #menu ul li ul#itwalespage2 a:hover, #admissionspage #menu ul li ul#admissionspage2 a:hover, #teachingpage #menu ul li ul#teachingpage2 a:hover, #researchpage #menu ul li ul#researchpage2 a:focus, #peoplepage #menu ul li ul#peoplepage2 a:focus, #itwalespage #menu ul li ul#itwalespage2 a:focus, #admissionspage #menu ul li ul#admissionspage2 a:focus, #teachingpage #menu ul li ul#teachingpage2 a:focus {
	background: #FFEAC1;
}
#menu a {
	display: block;
	text-decoration: none;
	background: #FFF;
	color: #000;
	font-style:normal;
	height: 1%; /* IE6 3px jog hack */
	padding: 5px;
	padding-bottom: 3px;
}

#menu a:hover, #menu a:focus {
	background: #FFEAC1;
}

#researchpage #menu ul li ul#researchpage2 a.selected {
	background: #7C141B;
	color: #FFFFFF;
	font-weight: bold;
	font-style:normal;
	border-top: 1px solid white;
}
#researchpage #menu ul li ul#researchpage2 ul#subnav {
	display: block;
	padding-left: 20px;
}

/*This is for the staff photo board*/
.rcont {
	background-color: #e6e6e6;
	color: #000000;
	width: 170px;
	height: 280px;
	float: left;
	text-align: center;
	margin-left: 10px;
	margin-bottom: 10px;
	display: inline; /* IE6 double float hack */
}
.rcont p {
	margin: 0 10px;
}

/* Columns for teaser text on front page. Uses the faux columns */
.threecolswrapper {
	width: 690px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	background: #E3E3E3 url(../images/3cols.gif) repeat;
	color: #000;
	overflow: hidden; /* DWCS3 hack (but causes space before content in DW) */
}
.threecolswrapper div {
	float: left;
	width: 220px;
	margin-left: 15px;
	margin-right: 0;
	background-color: #E3E3E3;
	font-size: 80%;
}
/* IE6 doesn't understand pseduo selectors... */
.threecolswrapper div:first-child, .threecolswrapper div.first {
	margin-left: 0;
}
.threecolswrapper div a {
	clear: both; /* ! */
	display: block;
	padding: 5px 10px;
	padding-bottom: 15px;
	background-color: #E3E3E3;
	color: #7C141B;
	/* Try to increase the size of the hit box */
	min-height: 150px;
}
.threecolswrapper div a:hover {
	text-decoration: none;
}
.threecolswrapper div h2 {
	font-style: normal;
	width: 204px;
	font-size: 125%;
	background: #E3E3E3 url(../images/coltop.gif) left top no-repeat;
	color: #000;
	margin: 0;
	padding: 0 8px;
	padding-top: 5px;
}
.threecolswrapper div h2 a {
	display: block;
	padding: 0;
	min-height: 0;
}
.threecolswrapper div a:visited {
	background-color: #E3E3E3;
	color: #595959;
}
.threecolswrapper div a:hover {
	background-color: inherit;
	color: #7C141B;
}
.threecolswrapper div img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 4px;
}
.threecolswrapper .bottom {
	display: block;
	clear: both;
	height: 15px;
	background: #fff url(../images/3colsbot.gif) repeat-x;
	color: #000;
	font-size: 0;
}

/* Contact styling at the bottom of the page */
#contact {
	clear: both;
	text-align: right;
	font-size: 80%;
}

/* Skip to content/navigation */
.skip {
	display: none;
}

.warning {
	background-color: #fff;
	color: #f00;
	font-weight: bold;
}

/* CFD front page styles */
.cfd {
	font-family: Arial, Helvetica, sans-serif;
	clear: right;
}
.cfd h2 {
	font-style: normal;
	font-size: 110%;
	font-weight: normal;
	margin: 0;
}
.cfd .left, .cfd .right {
	margin: 0;
	width: 48%;
	margin-bottom: 2%;
}
.cfd .left {
	clear: both;
	float: left;
	text-align: right;
	margin-right: 2.5%;
}
.cfd .right {
	float: right;
}
.stretch {
	clear: both;
	line-height: 0;
	font-size: 0;
}
.cfd .center {
	clear: both;
	text-align: center;
	margin-bottom: 2%;
}

.center {
	text-align: center;
}
.rightt {
	clear: both;
	text-align: right;
}

ol.roman {
	list-style-type: lower-roman;
}

table.people {
	width: 95%;
}
table.people .email {
	text-align: center;
}

table.thirds {
	width: 100%;
}
table.thirds td, table.thirds th {
	width: 33%;
}

table.building {
	border-collapse: collapse;
	margin-top: 5px;
}
table.building tr.header {
	background-color: #7C141B;
	color: #fff;
	text-align: left;
}
table.building td, table.building th {
	padding: 5px;
	padding-bottom: 3px;
}

#personalpage {
	margin-top: 8px; /* Don't set in %s or IE6 quirky % bug triggered */
	clear: both;
}
