/* CSS Document */

/* 
#3A687D blue     
#e9ebe7 grey
#5E5E5E gravel
#F78811 orange     
#FFEAC1 pale orange for backgrounds
*/ 

/* ---------------------------------------------------------------------------------------------- GLOBAL SETTINGS ------- */

html {
	/* CSS3 property to always show vertical scrollbar and stop scrollbar jog */
	overflow-y: scroll;
}
body {
	background:#e9ebe7 url(../images/bg_landing_header.png) 0 0 repeat-x;
	width: 990px;
	margin: 12px 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: #3A687D ;
	background-color:inherit;
	*/
	font-style:normal;
	font-size:130%;
	margin-bottom: 1%;
}
h3 { /* Document Headings */
	color: #3A687D;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}
h4 { /* Document Headings */
	color: #3A687D;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}
h5 { /* Document Headings */
	color: #3A687D;
	background-color:inherit;
	font-style:italic;
	font-size:100%;
}

#header {
	color: #000;
	width: 990px;
	height: 135px;
	/* padding-top: 14px; */ /* FIXME: Move to a margin to work around IE bug? */
}
#header img {
	float: left;
	display: inline; /* IE6 double float hack */
	margin: 0;
}
#header > div {
	margin-top: 0;
	margin-left: 255px;
	padding-top: 60px;
	font-size: 2em;
	color: #fff;
	font-family: "Century Gothic", Helvetica, Arial, sans-serif;
	font-weight: normal;
}
#header a {
	text-decoration: none;
}
#header a:link {
	color: #e9ebe7;
}
#header a:visited {
	color: #e9ebe7; /*Change this for visited link colour - rest are to prevent menus showing up*/
}
#header a:hover {
	color: #e9ebe7;
	background-color:inherit;
	text-decoration: underline;
}


/* Global Document Properties */
.main {
	background: #fff; 
	color: #000;
	width: 100%;
	float: left;
	margin-top: 0;
}
.leftcol {
	float: left;
	width: 232px;
}
.rightcol {
	float: right;
	width: 725px;
	padding: 10px;
	background-color: #fff;
	color: #000;
}
#footer {
	clear: both;
	height: 200px;
	overflow: hidden;
	background: url(../images/bg_body_bottom.png) center bottom no-repeat;
	color: #000;
	margin: 0;
}
a {
	text-decoration: none;
}
a:link {
	color: #3A687D;
}
a:visited {
	color: #3A687D; /*Change this for visited link colour - rest are to prevent menus showing up*/
}
a:hover {
	color: #3A687D;
	background-color:inherit;
	text-decoration: underline;
}

/* Search box styles */
.search {
	text-align: right;
	margin-top: 0px;
	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: #3A687D;
	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: #3A687D;
	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: 11px;
	font-style: normal;
	/* font-weight: bold; */
	margin-top: 25px;
	margin-bottom: 25px;
}
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: #3A687D;
	margin-top: 15px;
}
#menu li {
	border-bottom: 1px solid #E0E0E0; /*this is the line between each button*/
	padding: 0;
	margin: 0;
}
#menu ul ul, #homepage div#menu {
	display: none;
}

#homepage li#home a, #researchpage li#research a, #departmentpage li#department a, #peoplepage li#people a, #admissionspage li#admissions a, #undergradpage li#undergrad a, #postgradpage li#postgrad a, #internationalpage li#international a, #sitemappage li#sitemap a, #itwalespage li#itwales a, #teachingpage li#teaching a, #personalpage li#personal a {
	background: #3A687D;
	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, #undergradpage #menu ul li ul#undergradpage2, #postgradpage #menu ul li ul#postgradpage2, #internationalpage #menu ul li ul#internationalpage2, #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, #undergradpage #menu ul li ul#undergradpage2 a, #postgradpage #menu ul li ul#postgradpage2 a, #internationalpage #menu ul li ul#internationalpage2 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: #3A687D;
	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, #undergradpage #menu ul li ul#undergradpage2 a:hover, #postgradpage #menu ul li ul#postgradpage2 a:hover, #internationalpage #menu ul li ul#internationalpage2 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, #undergradpage #menu ul li ul#undergradpage2 a:focus, #postgradpage #menu ul li ul#postgradpage2 a:focus, #internationalpage #menu ul li ul#internationalpage2 a:focus, #teachingpage #menu ul li ul#teachingpage2 a:focus {
	background: #E9EBE7;
}
#menu a {
	display: block;
	text-decoration: none;
	background: #FFF;
	color: #3A687D;
	font-style:normal;
	height: 1%; /* IE6 3px jog hack */
	padding: 5px;
	padding-bottom: 3px;
}

#menu a:hover, #menu a:focus {
	background: #E9EBE7;
}

#researchpage #menu ul li ul#researchpage2 a.selected {
	background: #3A687D;
	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;
	margin-top: 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: #3A687D;
	/* 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: #3A687D;
}
.threecolswrapper div a:hover {
	background-color: inherit;
	color: #34348b;
}
.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;
}
div.logo {
	float: left;
	width: 220px;
	text-align: center;
	margin-left: 15px;
	margin-right: 0;
	margin-top: 15px;
}

/* 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: #3A687D;
	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;
}

.leftcol h2 {
	color: #3A687D;
    font-style: normal;
	font-size: 90%;
	margin-left: 11px;
	margin-top: 25px;
}

.news {
	background-color: #fff;
	color: #3A687D;
	padding: 5px;
	font-weight: bold;
	border: 1px #E0E0E0 solid;
	margin: 5px;
	margin-right: 0;
	margin-bottom: 10px;
	font-size: 90%;
}

.news a:link {
	color: #3A687D;
}
.news a:visited {
	color: #3A687D; /*Change this for visited link colour - rest are to prevent menus showing up*/
}
.news a:hover {
	color: #3A687D;
	background-color:inherit;
	text-decoration: underline;
}

