@charset "utf-8";

/* Typography */
a { text-decoration:none; color: darkblue; }
a:hover { background-color: darkblue; color: white; }
img { border: 0; margin:0; padding: 0; }
p.newsdate { font-size:10px; color:#999999; margin-top: 0; padding-top:0; text-transform:uppercase; }
p.readmore { font-size:10px; }
.smaller { font-size:10px; }
p.errormsg { color: red; font-weight: bold; }
p.msg { color: green; font-weight: bold; }

/* Body */
body  {
	font: 12px Arial, Helvetica, sans-serif;
	background: #ffe;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #333;
}
#container { 
	width: 1000px;
	background: #FFFFFF;
	margin: 10px auto;
	text-align: left;
	position:relative;
	border:10px solid #990000;
	padding:5px;
} 

/* Header */
#header {
	padding: 0;
	margin:0 320px 0 0;
} 
#header h1 {
	margin: 0;
	padding:0;
}

/* Top Menu */
#topmenu {
	background:#990000;
	position:relative;
	margin:0 300px 0 0;
	padding:0;
	display:block;
}
#topmenu ul{
	list-style:none;
	position:relative;
}
#topmenu ul li {
	color:white;
	display:block;
	float:left;
	padding:5px;
	line-height:20px;
}
#topmenu ul li a {
	color: white;
	font-weight:bold;
}
#topmenu ul li a:hover {
	color:#FF99FF;
	background-color:#900;
}

/* Featured News - on top right corner */
#featurednews {
	position:absolute;
	top:0;
	right:0;
	width:300px;
	margin: 0;
	padding: 0;
}

/* Main Story */
#topnews, #article, #category {
	margin:5px 325px 0 0;
	padding:5px;
	border: 1px solid #ccaaaa;
	min-height:300px;
}
#category {
	height:750px;
}
#topnews {
	height: 300px;
}

/* Left sidebar */
#leftbar {
	float: left;
	width: 150px;
	padding: 0;
	margin-top:15px;
}
#leftmenu {
	background-color:#eee;
	border: 1px solid #ccc;
	margin:0;
	padding:5px;
	width:150px;
	margin-bottom:10px;
}
#leftmenu h3 {
	margin-top:0;
}
#leftmenu ul {
	list-style:none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
}
#leftmenu ul li {
	margin-bottom: 0.5em;
}
#leftmenu ul li:before {
	content: "\00BB \0020";
}

/* Right bar */
#rightbar {
	float: right; /* since this element is floated, a width must be given */
	width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 5px; /* padding keeps the content of the div away from the edges */
}
#rightbar #downloadissue {
	background-color:#aaf;
	padding:5px;
	text-align:center;
	margin-top: 20px;
}
#rightbar #downloadissue h3 {
	margin-top: 0;
}


/* Sub-news */
#mainContent { 
	margin: 20px 250px 0 175px;
	padding: 0 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	position:relative;
	display:block;
}
#mainHeader {
	margin:0 15px 5px 5px;
	padding:5px;
	background-color:#900;
	color:white;
	text-align:center;
	font-weight:bold;
}
#newshighlights {
	width:250px;
	padding:5px;
	float:left;
	margin:5px;
	height:250px;
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
}
#newshighlights h2 {
	display:block;
}
#categoryhighlights {
	width:200px;
	padding:5px;
	float:left;
	margin:5px;
	height:200px;
	border-bottom: 1px solid #caa;
	border-right: 1px solid #caa;
}

/* Bottom Menu */
#bottommenu {
	margin:10px 0 0 0;
	padding:5px;
	text-align:right;
}

/* Footer */
#footer {
	padding: 0;
	margin:0 auto;
	width:1000px;
	text-align:left;
} 
#footer p {
	margin: 0;
	padding: 0;
	font-size:10px;
}

/* Floats */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.clearfix:after { /* To fix any floating divs that protrude */
	content: ".";
	display:block;
	height: 0;
	clear: both;
	visibility:hidden;
}
.clearfix { display: inline-block; }  /* for IE/Mac - this is needed to fix the problem of not being able to see the background colour of the top menu which for some reason IE6 removes */ 

