﻿/* Reset */

a img {
	border: none;
}
body {
	padding: 0 0 20px 0;
	margin: 0;
	text-align: center;
}
.hidden {
	display: none;
}
/* Basic page layout is a centered 12px grid, 940-960 wide */

#page {
	text-align: left;
	margin: 0 auto;
	/*background: #fff url(../images/960_grid_12_col.gif) repeat-y;*/
	background: #e4e4e4 url(../images/pagebg.gif) top repeat-y;
}
/* Header */

#header ul, #header ol {
	padding:0;
	margin:0;
}
#header #top {
	text-align: right;
}
#header #bottom {
	text-align: left;
}
#header #logo {
	float: left;
	display: inline;
	margin: 1em;
}
#header #sitelinks {
	float: right;
	display: inline;
	padding: 1em 10px;
}
#header #sitelinks a {
	text-decoration: none;
	font-size: 0.916em;
}
.text-size-a-small {
	font-size: 1em;
}
.text-size-a-medium {
	font-size: 1.2em;
}
.text-size-a-large {
	font-size: 1.5em;
}
.text-size a {
	font-weight: bold;
}
#header .site-search {
	margin-top: 1em;
}
/* Top menu */

#header .topnav ul {
	width: 940px;
	overflow: hidden;
}
#header .topnav li {
	float: left;
	display: inline;
	margin-right: 5px;
}
#header .topnav a {
	display: block;
	padding: 4px 8px;
	color: #000;
	background: #eee;
	text-decoration: none;
}
#header .level1 li a {
	background: #ccc;
}
#header .level1 li.current a {
	background: #eee;
}
#header .level2 {
	background: #eee;
	border-bottom: 2px solid #eee;
	display: block;
}
#header .level2 li.current a {
	font-weight: bold;
}
/* Content layout */

#content {
	clear:both;
}
#sideleft {
	width: 140px;
	float: left;
	margin-right: 20px;
	display: inline;
}
#sideright {
	width: 220px;
	float: right;
	display: inline;
}
#main {
	float: left;
	width: 540px;
	display: inline;
}
#crumbtrail {
	margin-bottom: 1em;
}
/************** LAYOUTS ***************/

/* Narrow center column */

#content.center_narrow #main {
	width: 300px;
	margin: 0 320px;
}
/* Clear the main three rows, and add the class */

.clear:after, #header:after, #top:after, #bottom:after, #content:after, #footer:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clear, #header, #top, #bottom, #content, #footer {
	_height: 1%;
	zoom: 1;
}
/* Header */
#header .quick-links ul li {
	margin-left: 5px;
}
#content {
	padding: 10px 0;
}
/* Footer */
#footer {
	margin-top: 6em;
	border-top: 2px solid #eee;
	padding: 10px;
	clear: both;
}
/*
 *  PAGING AND SORTING
 */
 
/* Paging */

.paging {
	margin-bottom: 10px;
}
/* VERY TEMP*/
/*
.paging .clear-hide {display: none;}

.pagelinks {
	float:left;
}

.pagelinks a, .pagelinks span {
	border: 1px solid #ccc;
	width: 1.5em;
	text-align: center;
	float: left;
	margin: 0 3px;
	text-decoration: none;
}

.pagelinks a 
{
    color: #333;
}

.pagelinks a:hover {
	background: #eee;
}

.pagelinks .next, .pagelinks .prev {
	width: auto;
	padding: 0 6px;
}

.pagelinks span.next, .pagelinks span.prev {
	border-color: transparent;
	color: #666;
}

.pagelinks .current {
	font-weight: bold;
	border-color: transparent;
	color:#666;
}
 

/*
 *  LISTS
 */
 
/* Horizontal list */

ul.hlinks {
	padding-left: 0;
	margin-left: 0;
}
ul.hlinks li {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	display: inline;
}
/* ITEMLIST: for search results, news, events. */

ul.itemlist, ul.itemlist li {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.itemlist li {
	border-top: 1px solid #ccc;
	margin: 0 0 15px 0;
	padding: 15px 0 0 0;
	clear: left;
	zoom: 1;
}
ul.itemlist li h4 {
	padding: 0;
	margin: 0;
	font-size: 1.166em;
}
ul.itemlist li .date {
	font-style: italic;
}
/* Larger image list, for the *_list.aspx pages */

ul.list_listing {
	margin: 0 0 1em 0;
	padding: 0;
}
ul.list_listing li {
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
	clear: left;
	zoom: 1;
}
ul.list_listing div.li_image {
	float: left;
	display: inline;
	width: 65px;
}
ul.list_listing div.li_content {
	margin-left: 80px;
}
/* Image list (for small images on homepage and subhomes

    ----  Image on the left
    |  |  and text to the right
    ----  of it.

*/

ul.list_image {
	margin: 0 0 1em 0;
	padding: 0;
}
ul.list_image li {
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
	clear: left;
	zoom: 1;
}
ul.list_image div.li_image {
	float: left;
	display: inline;
	width: 55px;
}
ul.list_image div.li_content {
	margin-left: 65px;
}
/*
 *  GENERAL CONTROLS
 */
 
/* Drop down search box */

div.searchitems-link {
	margin-bottom: 10px;
}
div.searchitems-link a {
	padding-left: 15px;
	background: url(/images/arrow-right-grey.gif) no-repeat 0 50%;
}
div.searchitems-link a.open {
	background-image: url(/images/arrow-down-grey.gif);
}
.searchitems {
	padding: 10px;
	background-color:#eee;
	margin-bottom: 10px;
}
.searchitems label {
	text-align:right;
	margin:8px 30px 0 0;
}
.searchitems input {
	margin:0;
}
.searchitems select {
	margin:0 0 0 8px;
}
.searchitems select.ukregion {
	margin:0 0 0 -12px;
}
/* Page tools */

.page-tools {
	margin:1em 0;
	float:left;
}
.page-tools ul {
	padding: 0;
	margin: 0;
}
.page-tools li {
	padding: 0;
	margin: 0;
	list-style: none;
	float: left;
	margin-right: 1em;
}
.page-tools li a {
	display: block;
	padding-left: 22px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}
.page-tools .send-page a {
	background-image: url(../images/icons/page_tools/send.png);
}
.page-tools .feedback a {
	background-image: url(../images/icons/page_tools/feedback.png);
}
.page-tools .share-page a {
	background-image: url(../images/icons/page_tools/share.png);
}
.page-tools .print-page a {
	background-image: url(../images/icons/page_tools/print.png);
}
/*
 *  UI Dialog
 */

.ui-dialog {
	text-align: left;
}
/*
 *  ERRORS AND MESSAGES
 */
 
/* Errors */

.errorbox {
	color:#000000;
	background: #ffeeee;
	border: 1px solid #ff9999;
	padding:7px;
	margin:0 0 20px 0;
}
.errorbox-highlight {
	border: 1px solid #ff0000;
}
div.noscript {
	padding: 10px;
}
/*Generic Styles */

.removeheight {
	height:auto !important;
}
.clear-hide {
	height:1px;
	overflow:hidden;
	clear:both;
}
/*
 * CALENDAR
 */
 
.calendar {
	border: 0;
}
.calendar td, .calendar th {
	background: #fff;
}
.calendar td.nav {
	border: none;
}
.calendar td.day {
	border: 1px solid #eee;
}
.calendar td.otherday {
	border: 0;
}
.calendar td.otherday a {
	color: #999 !important;
}
.calendar td a {
	text-decoration: none;
}
/* Maps */

div.map {
	background: #eee;
	width: 100%;
	margin-bottom: 1em;
}
/* Forms */

div.searchpanel {
	background: #eee;
	padding: 10px;
}
/* Events */

div.searchpanel dl {
	margin-bottom: 0.5em;
}
div.searchpanel .buttons {
	margin-bottom: 1em;
}

/* dialogs */

.ui-dialog {
	background: #fff;
	border: 3px solid #66748A;
}

.ui-dialog-titlebar {
	padding: 10px;
	overflow: hidden;
	zoom: 1;
	font-weight: bold;
}

.ui-dialog-titlebar-close {
	float: right;
	background: url(../images/icons/close.png);
	text-indent: -9999px;
	display: block;
	width: 16px;
	height: 16px;
	overflow: hidden;
}

.ui-dialog-title {
	float: left;
}

.ui-dialog-content {
	padding: 10px;
}

.ui-widget-overlay {
	background: #000;
	left: 0;
	top: 0;
	opacity: 0.3;
	filter: alpha(opacity=30);
	position: fixed;
	_position: absolute;
}