/*
Theme Name: Under the Posts
Theme URI: http://wordpress.org/
Description: For the site undertheposts.co.uk.
Version: 1.01
Author: Matt Young
Author URI: http://www.knoc.co.uk/
Tags: black, custom header, fixed width, two columns, widgets



*/
@charset "utf-8";
/* CSS Document */
html {background-color:#000;}
body {
	background-color:#000;
	margin:0;
	padding:0;
	color:#fff;
	font:smaller Verdana, Arial, Helvetica, sans-serif
}

a {
	color:#0088cc;
	text-decoration:none
}

a:hover, a:focus {
	color:#fff;
	text-decoration:underline;
}

#page {
	 border-top:7px solid #5b544a;
}

#wrap_inner {
	font-size:85%;
	width:960px;
	margin:0 auto
}

#header {	
	padding:30px 65px;
}

#header h1{
	width:50%;
	float:left;
	margin:0;
	padding:0;
	background:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/logo.gif) top left no-repeat
}

#header h1 a{
	display:block;
	width:275px;
	height:50px;
}

#header h1 a span{
	display:none;
}

#header ul{
	float:right;
	list-style:none;
	margin:30px 0 0 0;
	padding:0;
	background:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/bg_nav.gif) top left
}

#header ul li{
	float:left;
	margin:0;
	padding:0;	
}

#header ul li a {
	display:block;
	height:20px;
}

#header ul li a.link_calendar { width:120px; }
#header ul li a.link_news { width:100px; background-position:-120px 0 }
#header ul li a.link_gallery { width:60px; background-position:-220px 0 }

#header ul li a:hover {
	background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/bg_nav_over.gif);
}

#corporate_events #header ul li a.link_calendar,
#latest_news #header ul li a.link_news,
#celebrity_images #header ul li a.link_gallery 
{ 
	background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/bg_nav_on.gif);
}


#header ul li a span{
	display:none
}

#feature {
	border:1px solid #5b544a;
	height:300px;
	overflow:hidden;
}

#feature img {
	display:inline;
}

#content {
	margin:0 65px;
	background:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/bg_grad_light.gif) top repeat-x;
	padding:0 1px
}

#content_inner {
	background:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/bg_grad_dark.gif) top repeat-x;
	padding:40px;
}

#content_inner p {
	line-height:1.6em
}

#main {
	width:520px;
	float:left
}

h2 {
	padding:0;
	margin:0 0 20px 0;
	height:50px;
	width:520px;
	background-repeat:no-repeat;
	background-position:top left;
}

h2 span {
	display:none
}

h2.events_calendar { background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/title_calendar.gif) }
h2.latest_news { background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/title_news.gif) }
h2.events_gallery { background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/title_gallery.gif) }

#sidebar {
	width:200px;
	float:right
}

#sidebar ul {padding:0px;}
li#event-calendar {list-style:none;
}


#sidebar h2.widgettitle {
	font-weight:normal;
	font-size:2em;;
	padding:0;
	margin:0 0 0px 0;
	height:50px;
	width:200px;
	background-repeat:no-repeat;
	background-position:bottom left;
}

#sidebar h3 {
	padding:0;
	margin:0 0 20px 0;
	height:50px;
	width:200px;
	background-repeat:no-repeat;
	background-position:bottom left;
}

#sidebar h3 { background-image:url(http://www.undertheposts.co.uk/wp-content/themes/utp/images/title_calendar_small.gif) }

#sidebar h3 span {
	display:none
}

table.cal_table {
	border-top:1px solid #424242;
	border-left:1px solid #424242;
	width:100%
}
#sidebar .ec3_postday ec3_eventday {padding:0px;margin:0px;}
#sidebar table.cal_table caption a {
	display:block;
	padding:10px 0;
}

#sidebar table.nav {
	width:100%
}

#sidebar table.nav td {
	width:33%;
	text-align:center;
}

#sidebar table.nav td a {
	display:block;
	padding:10px 0;
}

#sidebar table.nav td a img{
	border:0;
	display:none
}

#sidebar table.cal_table td, #sidebar table.cal_table th{
	border-right:1px solid #424242;
	border-bottom:1px solid #424242;
	padding:5px;
	text-align:center;
	color:#767676
}

#sidebar table.cal_table th {
	background:#1d1d1d;
}

#sidebar table.cal_table td.ec3_postday, #sidebar table.cal_table td.ec3_eventday {
	padding:0
}

#sidebar table.cal_table td.ec3_postday a, #sidebar table.cal_table td.ec3_eventday a {
	padding:5px;
	display:block;
	text-decoration:none;
	background:#0088cc;
	text-align:center;
	color:#fff;
}

#sidebar table.cal_table td.ec3_postday a:hover, #sidebar table.cal_table td.ec3_eventday a:hover {
	background:#fff;
	color:#666666
}

/* Events on the homepage */

.event {
	margin-bottom:10px;
}

.event_details {
	float:right;
	width:460px;
}

h3 {
	font:160% Arial, Helvetica, sans-serif;
	letter-spacing:-1px;
	margin:0;
	padding:0;
}

.event_details p {
	margin-top:0;
}

h3 a {
	color:#0088cc;
	text-decoration:none;


}

.date {
	float:left;
	width:38px;
	border:1px solid #454645;
}

.day, .month, .year {
	display:block;
	line-height:normal;
	margin:0;
	padding:0;
	text-align:center;
	padding:0;
	text-transform:uppercase;
	font-family:Arial, Helvetica, sans-serif;
	color:#d9d9d9;
	background:#070606;
}

.day {
	color:#fff;
	padding:0;
	font-size:200%
}

.month {
	padding:5px 0 0 0
}

.year {
	padding:0 0 5px 0
}

#footer {	
	padding:10px 65px 30px 65px;
	color:#999999
}

#footer ul {
	margin:0;
	padding:0;
	list-style:none
}

#footer ul li {
	padding:3px 0;
	display:block;
	text-align:center;
}

/* BEST 3 CHUNKS OF CODE IN THE WORLD */

#wrap:after,
#wrap_inner:after,
#content_inner:after,
.event:after,
#header:after,
#footer ul:after
{
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
	
* html #wrap,
* html #wrap_inner,
* html #content_inner,
* html .event,
* html #header,
* html #footer ul
{
	height: 1%;
}

*:first-child+html #wrap,
*:first-child+html #wrap_inner,
*:first-child+html #content_inner,
*:first-child+html .event,
*:first-child+html #header,
*:first-child+html #footer ul
{
	min-height: 1px;
}
