﻿/* Reset */

a img {
    border: none;
}

body {
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Basic page layout is a centered 12px grid */

#page {
    width: 940px;
    padding: 20px;
    text-align: left;
    margin: 0 auto;
}

#header ul, #header ol {
 padding:0;
 margin:0;   
}

#header ul li, #header ol li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header #top {
    text-align: right;
}

#header #bottom {
    text-align: left;
}

#header #logo {
    float: left;
}

#header #sitelinks {
    float: right;
}

#header #sitelinks li {
	display: inline;
}

#header #search {
	float: right;
	clear: right;
}

#sideleft {
    /*width: 140px;*/
    float: left;
    margin-right: 20px;
}

#sideright {
   /* width: 220px;*/
    float: right;
}

#main {
    float: left;
    /*width: 620px;*/
}

/* Clear the main three rows, and add the class */

.clear:after,
#header:after,
#top:after,
#bottom:after,
#content:after,
#footer:after,
.module:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clear,
#header,
#top,
#bottom,
#content,
#footer,
.module {
	_height: 1%;
	zoom: 1;
}
/* Header */
#header .quick-links ul li {
    margin-left: 5px;
}
#content {
    padding: 10px 0;
}
/* Footer */
#footer {
	margin-top: 100px;
	border-top: 1px solid #ccc;
	padding-top: 10px;
}


/*
 *  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:#fff;
	color: #666;
}

.pagelinks .current {
	font-weight: bold;
	border-color:#fff;
	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;
}

/*
 *  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;
    }	

/*
 *  UI Dialog
 */
 
div.ui-dialog 
{
    border: 4px solid #666;
    background: red;    
}
 
div.ui-dialog iframe
{
    border: 0;
    background: #fff;
    }
    
.ui-dialog-titlebar 
{
    padding: 4px;
    background: #eee;
    font-weight: bold;
}

.ui-dialog-titlebar:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.ui-dialog-titlebar {
	_height: 1%;
	zoom: 1;
}

.ui-dialog-title 
{
    float: left;    
}

a.ui-dialog-titlebar-close
{
    font-weight: bold;
    background: #cc0000;
    color: #fff;
    font-family: "MS Sans Serif", sans-serif;
    padding: 1px 6px;
    text-decoration: none;
    float: right;
}

/*
 *  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:0;
overflow:hidden;
clear:both;
display: block;
}

/*
 * 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;
}

/* events contact */
ul.events_form {
	margin:0 0 20px;
}
ul.events_form li {
	margin:0 0 5px;
	height:auto;
	overflow:hidden;
}
.checkwrap {
	margin:0 0 10px;
}
.checkwrap input {
	margin:0 3px 0 0;
}
.checkwrap input,
.checkwrap label {
	vertical-align:middle;
}
ul.events_form li input,
ul.events_form li textarea {
	border:solid 1px #B4B4B4;
	width:250px;
	padding:2px;
	font-size:12px;
}
ul.events_form li input:focus,
ul.events_form li textarea:focus {
	border:solid 1px #999;
}
ul.events_form li.tall textarea {
	height:7em;
}
ul.events_form li.postcode input {
	text-transform:uppercase;
}