/* Styles used to draw non editable parts of pages */

/* 
#7C141B brown     
#F78811 orange     
#FFEAC1 pale orange for backgrounds
#F79C10 #e66e00 pale orange in banner
#F79812 orange on disclaimer bar 
*/ 

/* "Furniture" Styles */
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;
}

#header {
	background:  #e66e00 url(http://www.cs.swan.ac.uk/compsci/images/wave_top.gif) top left no-repeat;
	color: #fff;
	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(http://www.cs.swan.ac.uk/compsci/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(http://www.cs.swan.ac.uk/compsci/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 */
}

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;
}

#menu {
	background: #FFFFFF;
	color: #7C141B;
}
#menu li {
	border-bottom: 1px solid #E0E0E0; /*this is the line between each button*/
	padding: 0;
	margin: 0;
}

#personalpage li#personal a, #menu .selected {
	background: #7C141B;
	color: #FFFFFF;
	font-weight: bold;
	font-style: normal;
}
#menu #personal ul {
	font-size: 80%;
	display: block;
	margin: 0;
	padding-left: 20px;
}
#menu #personal ul a {
	font-weight: normal;
	font-style: normal;
	padding: 0;
	background: #FFFFFF;
	color: #7C141B;
}
#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 ul a:hover, #menu ul a:focus {
	background: #FFEAC1;
}
#menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#personalpage {
	margin-top: 8px; /* Don't set in %s or IE6 quirky % bug triggered */
	clear: both;
}

/* Contact styling at the bottom of the page */
#contact {
	clear: both;
	text-align: right;
	font-size: 80%;
}
