/*  
Theme Name:  Public Services Theme
Description: The Public Services WordPress Theme
Theme URI:   http://www.publicservices.ac.uk/
Version:     1.0
Author:      Lumpy Lemon
Author URI:  http://www.lumpylemon.co.uk/

*/

/* global whitespace reset */

* {
	margin: 0px;
	padding: 0px;
	text-decoration: none;
	}

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html]
   apply the clear class to a div to stop images floating out the bottom of it in IE6 (hopefully...) */

.clear { display: inline-block; }   
.clear:after, .container:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

/* body */

body {
	padding: 0px 10px 10px 10px;
	text-align: center;
	font: 75%/1.5em Arial, sans-serif;
	}

/* outer container */

#outer {
	width: expression(document.body.clientWidth > 920 ? "900px" : "auto");
	max-width: 900px;
	margin: 0px auto;
	text-align: left;
	}

/* headers */

h1 {
	margin-top: 0.2em;
	}

h1 a:link, h1 a:visited {
	display: block;
	width: 100%;
	height: 70px;
	background: url('images/header.gif') top left no-repeat;
	}

h1 a span {
	display: block;
	position: absolute;
	top: -900px;
	}

/* description (aka top horizontal images) */

#description {
	height: 97px;
	background: url('images/imgs.jpg') center 4px repeat-x;
	}

#description span {
	display: block;
	text-indent: -9999px;
	}

#head {
	padding-bottom: 4px;
	border-bottom: 12px solid #337B59;
	}

.research-section #head {
	border-bottom: 12px solid #FF8000;
	}

.noticeboard-section #head {
	border-bottom: 12px solid #0000FF;
	}

.pastevents-section #head {
	border-bottom: 12px solid #C00000;
	}

.library-section #head {
	border-bottom: 12px solid #00DD00;
	}

.findings-section #head {
	border-bottom: 12px solid #4DD3DF;
	}

/* left navigation */

#nav {
	width: 160px;
	float: left;
	margin: 10px 10px 10px 0px;
	padding-top: 4px;
	}

#nav h2 {
	position: absolute;
	top: -900px;
	}

#nav ul {
	background-color: #FFFFFF;
	padding-bottom: 10px;
	margin-bottom: 10px;
	}

#nav ul li {
	list-style: none;
	margin: 0px 0px 0.3em 0px;
	padding: 0px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 2.5em;
	font-size: 0.95em;
	}

#nav ul li a:link, #nav ul li a:visited {
	display: block;
	width: 160px;
	color: #404040;
	}

#nav ul li.current_page_item a:link, #nav ul li.current_page_item a:visited {
	background-color: #EEEEEE;
	color: #000000;
	}

#nav ul li a span {
	background-color: #849FC4;
	width: 6px;
	height: 6px;
	font-size: 1px;
	float: left;
	margin: 11px 14px 0px 8px;
	}

#nav ul li a:hover {
	background-color: #EEEEEE;
	color: #000000;
	}

#nav ul li a:hover span {
	background-color: #000000;
	}

#nav ul li.research a span, #nav ul li.research a:hover span {
	background-color: #FF8000;
	}

#nav ul li.noticeboard a span, #nav ul li.noticeboard a:hover span {
	background-color: #0000FF;
	}

#nav ul li.pastevents a span, #nav ul li.pastevents a:hover span {
	background-color: #C00000;
	}

#nav ul li.library a span, #nav ul li.library a:hover span {
	background-color: #00DD00;
	}

#nav ul li.findings a span, #nav ul li.findings a:hover span {
	background-color: #4DD3DF;
	}

#nav ul li.sep {
	margin-bottom: 0.6em;
	padding-bottom: 0.6em;
	border-bottom: 1px solid #808080;
	}

/* breadcrumbs */

.bread {
	/*font-size: 0.9em;
	letter-spacing: 0px;
	font-weight: normal;*/
	margin-bottom: 0.4em;
	padding: 0px 5px 0.6em 5px;
	border-bottom: 1px solid #404040;
	font-size: 1.25em;
	font-weight: bold;
	letter-spacing: -1px;
	}

/* main content area */

.widecolumn {
	margin: 10px 0px 10px 174px;
	padding: 12px 10px;
	background-color: #F3F7F5;
	}

.narrowcolumn {
	margin: 10px 224px 10px 174px;
	padding: 12px 10px;
	background-color: #F3F7F5;
	}

.narrowcolumn h2, .widecolumn h2 {
	margin-top: 0.4em;
	padding: 0px 5px 0.6em 5px;
	border-bottom: 1px solid #404040;
	font-size: 1.25em;
	font-weight: bold;
	letter-spacing: -1px;
	}

.content h3 {
	padding: 0px 5px;
	font-size: 1.2em;
	letter-spacing: -1px;
	font-weight: bold;
	margin-top: 0.5em;
	}

.content h4 {
	padding: 0px 5px;
	letter-spacing: -1px;
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 0.5em;
	}

.content h2 small, .content h3 small {
	color: #404040;
	letter-spacing: 0px;
	}

.content h2 a:link, .content h2 a:visited {
	color: #404040;
	}

.content h2 a:hover {
	color: #0000FF;
	}

.content h3 a:link, .content h3 a:visited {
	color: #000000;
	}

.content h3 a:hover {
	color: #0000FF;
	}

.content a:link {
	color: #000080;
	text-decoration: underline;
	}

.content a:visited {
	color: #660066;
	text-decoration: underline;
	}

.content a:hover {
	color: #0000FF;
	}

.content p, .content ul, .content ol {
	margin: 0px 5px 0.8em 5px;
	padding-top: 0.8em;
	font-size: 1em;
	line-height: 1.6em;
	}

.content ul, .content ol, .content blockquote {
	padding-left: 1.5em;
	}

.content form .txt {
	width: 20em;
	}

.content .col-a, .content .col-b {
	width: 49%;
	float: left;
	margin-top: 1em;
	}

.content .col-a {
	border-right: 1px dotted #808080;
	}

.content .col-a h2, .content .col-a p, .content .col-a ol, .content .col-a ul {
	margin-right: 10px;
	}

.content .col-b h2, .content .col-b h3 {
	margin-left: 10px;
	}

.content .col-b p, .content .col-b ol, .content .col-b ul {
	margin-left: 15px;
	}

.content .col-b .ec3_events, .content .ec3_events {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}

.content img {
	margin: 5px;
	}

.content .post {
	border-top: 1px dotted #808080;
	padding-top: 1em;
	padding-bottom: 1em;
	}

.content .meta {
	background-color: #FFFFFF;
	padding: 0px;
	border: 3px solid #FFFFFF;
	width: 150px;
	margin: 0px 5px 5px 5px;
	float: left;
	color: #404040;
	display: inline;
	}

.content .meta strong {
	color: #000000;
	}

.content .entry {
	margin-left: 165px;
	height: 1%;
	}

.content .entry p {
	margin-bottom: 1em;
	}

.content .meta p {
	padding: 0px;
	margin: 0px;
	font-size: 0.9em;
	}

.content label {
	width: 10em;
	display: block;
	float: left;
	padding-right: 1em;
	}

.content .when {
	background-color: #FFFFEB;
	padding: 5px 10px;
	border: 1px solid #FFEA59;
	margin-top: 10px;
	}

.content .when strong {
	display: block;
	float: left;
	margin-right: 2%;
	text-align: right;
	width: 15%;
	}

.content .when .eventelement {
	display: block;
	float: left;
	width: 83%;
	}

.content .when .eventsingle {
	display: block;
	float: left;
	width: 20%;
	}

.content .when .eventrange {
	display: block;
	float: left;
	width: 75%;
	}

.incat {
	background-color: #849FC4;
	width: 6px;
	height: 6px;
	font-size: 1px;
	display: block;
	float: left;
	margin: 6px 8px 0px 1px;
	}

.incat.research-cat {
	background-color: #FF8000;
	}

.incat.news-cat, .search-results .incat.events-cat {
	background-color: #0000FF;
	}

.incat.pastevents-cat {
	background-color: #C00000
	}

.incat.library-cat {
	background-color: #00DD00;
	}

.incat.findings-cat {
	background-color: #4DD3DF;
	}

.content .researchmeta, .content .researchmeta .noimg {
	border-bottom: 1px solid #404040;
	padding-bottom: 1em;
	margin-bottom: 1em;
	}

.content .researchmeta p {
	margin-left: 210px;
	}

.content .researchmeta .researchmetaimg {
	float: left;
	width: 200px;
	margin-left: 0px;
	}

/* sidebar */

#sidebar {
	width: 210px;
	float: right;
	margin: 0px 0px 10px 14px;
	}

#sidebar .wrapper {
	padding: 10px;
	margin: 10px 0px;
	background-color: #EEEEEE;
	}

#sidebar .rss img {
	vertical-align: -1px;
	margin-right: 2px;
	}

#sidebar .rss a:link, #sidebar .rss a:visited, #sidebar .rss a:hover {
	border: none !important;
	text-decoration: none !important;
	}

#sidebar .rss {
	text-align: center;
	}

#sidebar .wrapper h2 {
	margin-bottom: 0.4em;
	padding: 0px 5px 0.6em 5px;
	border-bottom: 1px solid #404040;
	font-size: 1.25em;
	letter-spacing: -1px;
	}

#sidebar .wrapper h3 {
	margin-bottom: 0.5em;
	padding: 0.4em 5px 0px 5px;
	color: #404040;
	font-size: 1em;
	text-transform: uppercase;
	}

#sidebar p, #sidebar ul, #sidebar ol {
	margin: 0px 5px 0.5em 5px;
	padding-top: 0.5em;
	font-size: 1em;
	line-height: 1.6em;
	}

.noticeboard-section #sidebar .wrapper {
	background-color: #FFFFC0;
	}

#sidebar #news {
	margin-bottom: 0.8em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #606060;
	}

#sidebar .ec3_events {
	margin-bottom: 1em;
	}

#sidebar ul li {
	line-height: 1.25em;
	margin-bottom: 0.8em;
	margin-left: 15px;
	}

#sidebar a:link, #sidebar a:visited {
	color: #000080;
	text-decoration: underline;
	}

#sidebar a:hover {
	color: #0000FF;
	}

.noticeboard-rss {
	float: right;
	padding-top: 0px !important;
	}

.noticeboard-rss a:link, .noticeboard-rss a:visited {
	display: block;
	width: 12px;
	height: 12px;
	margin-top: 3px;
	background: url('images/feed.gif') top right no-repeat;
	border: 0px;
	}

.content .noticeboard-rss a:link, .content .noticeboard-rss a:visited {
	margin-top: -5px;
	border: 0px;
	}

.noticeboard-rss span {
	display: block;
	position: absolute;
	top: 0px;
	left: -900px;
	width: 800px;
	}

#sidebar #sectiontitle {
	margin-bottom: 12px;
	padding-bottom: 10px;
	}

.research-section #sidebar #sectiontitle {
	background-color: #FF8000;
	}

.noticeboard-section #sidebar #sectiontitle {
	background-color: #0000FF;
	}

.pastevents-section #sidebar #sectiontitle {
	background-color: #C00000;
	}

.pastevents-section .entry, .findings-section .entry {
	margin-left: 0px;
	}

.library-section #sidebar #sectiontitle {
	background-color: #00DD00;
	}

.findings-section #sidebar #sectiontitle {
	background-color: #4DD3DF;
	}

#sidebar.single {
	width: 220px;
	margin-bottom: 10px;
	}

#sidebar.single #sectiontitle {
	border-bottom: 10px solid #FFFFFF;
	border-left: 10px solid #FFFFFF;
	margin-bottom: 0px;
	}

#sidebar #sectiontitle h2 {
	color: #FFFFFF;
	text-align: center;
	font-size: 1.25em;
	letter-spacing: -1px;
	}

#sidebar.single .wrapper {
	margin: 0px;
	border-bottom: 10px solid #FFFFFF;
	border-left: 10px solid #FFFFFF;
	}

#sidebar .wrapper h2 a:link, #sidebar .wrapper h2 a:visited {
	text-decoration: none;
	color: #404040;
	}

#sidebar .wrapper h2 a:hover {
	text-decoration: underline;
	color: #0000FF;
	}

/* search form */

#search {
	margin-top: 5px;
	}

/* note this is #fieldset and not just fieldset */
#search #fieldset {
	background-color: #E5E5E5;
	/*background-color: #F3F7F5;*/
	padding: 5px 6px 0px;
	float: right;
	text-align: right;
	}

#search a:link, #search a:visited {
	color: #404040;
	text-decoration: underline;
	}

#search .txt, #sidebar .txt {
	width: 9.25em;
	/*padding: 0.3em 2px;
	font-size: 0.95em;
	vertical-align: middle;*/
	}

#search .btn {
	/*vertical-align: middle;
	font-size: 0.95em;
	width: 5.5em;
	height: 1.95em;*/
	margin-left: 5px;
	}

html>body #search .btn {
	/* you like hacks? */
	padding-bottom: 2px;
	// padding-bottom: 0px;
	}

#search legend {
	display: none;
	}

/* logged-in navigation bar */

#navbar {
	text-align: right;
	padding: 3px 0px 3px 10px;
	margin-top: 1.6em;
	margin-bottom: 1em;
	background-color: #FFFFE1;
	font-size: 0.9em;
	border: 2px solid #FFDF00;
	}

#navbar #mog {
	}

#navbarhello {
	float: left;
	}

#navbarlinks {
	margin-left: 2em;
	}

#navbar a:link, #navbar a:visited {
	color: #000000;
	font-weight: bold;
	padding: 5px 8px;
	}

#navbar a:hover {
	background-color: #FFEC62;
	}

/* footer */

#footer {
	clear: both;
	/*background-color: #ECECEC;*/
	border-top: 7px solid #337B59;
	padding: 0px;
	}

#footer p small {
	font-size: 0.9em;
	}

#footer h2 {
	position: absolute;
	top: -900px;
	}

#footer div {
	border-top: 4px solid #FFFFFF;
	padding: 10px;
	}

#footer a:link, #footer a:visited {
	color: #000080;
	}

#footer a:hover {
	color: #0000FF;
	text-decoration: underline;
	}

#footer ul {
	padding-right: 130px;
	}

#footer ul li {
	display: inline;
	font-size: 0.9em;
	margin-right: 10px;
	}

#footer #backtotop {
	float: right;
	}

#footer #backtotop a:link, #footer #backtotop a:visited {
	display: block;
	color: #000000;
	padding-right: 25px;
	height: 1.6em;
	width: 5.5em;
	background: url('images/backtotop.gif') top right no-repeat;
	}

#footer #oxcrest {
	float: left;
	margin-right: 15px;
	padding-right: 5px;
	background-color: #FFFFFF;
	}

#footer #oxcrest a img {
	border: 0px;
	}

#footer #DPIR {
	margin-top: 1em;
	border-bottom: 1px solid #808008;
	}

/* accessibility */

.accelerator {
	text-decoration: underline;
	}

#skiptocontent a:link, #skiptocontent a:visited {
	position: absolute;
	display: block;
	top: -900px;
	background: url('images/skiptocontent.gif') bottom center no-repeat #337B59;
	color: #FFFFFF;
	padding: 2px 14px 10px;
	z-index: 999;
	}

#skiptocontent a:focus, #skiptocontent a:active {
	top: 0px;
	}

/* pagination links */

.pagebar {
	text-align: center;
	color: #555;
	font-size: 1.3em;
	font-weight: bold;
	letter-spacing: -1px;
	}

.pagebar a:link, .pagebar a:visited {
	text-decoration: none;
	color: #000080;
	padding-right: 2px;
	padding-left: 2px;
	}

.pagebar a:hover {
	background-color: #ccc;
	}

/* random rubbish */

#top {
	position: absolute;
	top: 0px;
	left: 0px;
	}

fieldset {
	border: 0;
	}

acronym {
	cursor: help;
	}

hr {
	display: none;
	}

a:link img, a:visited img {
	border: 0px;
	}
