/*  
Theme Name: Taveners
Theme URI: http://www.tavenerslaw.co.uk
Description: Custom WordPress theme for Taveners Law
Version: 1.0
Author: Lunamedia
Author URI: http://www.lunamedia.co.uk
*/

/* Layout */

@import url('reset.css');
@import url('text.css');

/* Global */

html{
	height: 95%;
}

body{
	height: 95%; /* sticky footer */
	background: #f0f0ec url(images/bg-tile.jpg) repeat-x top left;
	color: #2c2f35;
}

#wrap{ 
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
}

#container{
	width: 940px;
	margin: 0 auto;
	font-size: 1.4em;
	line-height: 1.5em;
}

#inner-wrap{
	float: left;
}

p{
	text-shadow: 1px 1px #dddedf;
}

/* Links */

a:link, a:visited{
	text-decoration: none;
	color: #6d7909;
}

a:hover, a:focus, a:active{
	text-decoration: underline;
}

a:active{
	outline: none;
}

a img {
	border: none;
}

.sidebar ul li.current_page_item a{
	color: red;
}

/* Header */

#header{
	width: 100%;
	height: 88px;
	background: url(images/header-brush.jpg) no-repeat bottom left;	
	
}

a#site-name{
	float: left;
	margin-top: 40px;
	margin-left: 10px;
}

/* Navigation */

#pagenav{
	float: left;
	width: 100%;
	margin-top: 2px;
}

#dropmenu, #dropmenu ul { height: 39px; margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:21px; z-index:300; width:100%; font-weight:normal;}
#dropmenu a {display:block; padding: 8px 1em 11px; text-decoration:none; color: #fff;}
#dropmenu a:hover {background: #a2b40d url(images/nav-hover.png) repeat-x top left; color:#fff;}
#dropmenu li {float:left; position:relative;}
#dropmenu ul {position:absolute; display:none; width:12em; top:40px;}
#dropmenu ul a {}
#dropmenu li ul {width:14.1em;}
#dropmenu li ul a {width:12em; height:auto; float:left; background: #fff; color: #2c2f35;}
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:12em; margin:0px 0 0 10px;}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}


/* Content */

#main-content{
	float: left;
	width: 100%;
	margin-top: 25px;
}

#content{
	float: left;
	width: 560px;
	margin: 0 60px 0 0;
}

/* Sidebar */

.sidebar{
	float: left;
	width: 300px;
	margin: 10px 20px 0 0;
}

.sidebar ul li{
	margin-bottom: 10px;
	padding-bottom: 15px;
	list-style: none;
	font: normal 1.1em Georgia, Garamond, "Times New Roman", Times, serif; 
	background: url(images/horizontal-border.gif) repeat-x bottom left;
}

.sidebar ul li ul, .sidebar ul li ul li ul{
	margin-bottom: 0.5em;
}

.sidebar ul li ul li, .sidebar ul li ul li ul li{
	margin-bottom: 0.5em;
}

.sidebar ul li a{
}

.sidebar h3{
	margin-bottom: 16px;
	padding-bottom: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	font: normal 1.1em "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	color: #383e3a;
	background: url(images/horizontal-border.gif) repeat-x bottom left;
}

.sidebar-date-meta{
	letter-spacing: 1px;
	text-transform: uppercase;
	font: normal 0.75em "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	color: #7a7a68;
}


/* Footer */

.push{
	height: 10em; /* sticky footer */
	clear: both;
}

#footer{
	clear: both;
	height: 10em;
	width: 100%;
	margin: 20px 0 0 0;
	font-size: 1.1em;
	line-height: 1.5em;
	background: #202125;
	color: #fff;
	border-top: 2px solid #d0d1c9;
}

#footer-inner{
	position: relative;
	width: 940px;
	margin: 0 auto;
	padding: 20px 0 0 0;
}

#footer p{
	text-shadow: 1px 1px #000;
}

#footer a{
	color: #fff;
}

#address{
	float: left;
	width: 280px;
	padding-left: 20px;
	background: url(images/vertical-border.gif) repeat-y top right;
}

address{
	float: left;
	padding-left: 30px;
	font-style: normal;
	background: url(images/address-icon.gif) no-repeat top left;
}

#contacts{
	float: left;
	width: 280px;
	padding-left: 20px;
	background: url(images/vertical-border.gif) repeat-y top right;
}

#phone{
	float: left;
	padding-left: 30px;
	background: url(images/phone-icon.gif) no-repeat top left;
}

#email-contact{
	float: left;
	margin-top:-5px;
	padding-left: 30px;
	background: url(images/email-icon.gif) no-repeat 3px 3px;
}

#rss{
	float: left;
	width: 280px;
	padding-left: 20px;
}

.feed{
	float: left;
	padding-left: 30px;
	background: url(images/rss-icon.gif) no-repeat top left;
}



/* Posts */

.post{
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 20px;
}

.date-meta{
	float: left;
	clear: left;
	width: 99%;
	font-size: 0.9em;
	color: #777;
	margin: 5px 0;
}

.postmetadata{
	float: left;
	clear: left;
	width: 100%;
	font-size: 0.9em;
	color: #777;
	margin: 0 0 20px 0;
	padding: 0 0 5px 0;
}

.entry{
	clear: left;
}

/* Images */

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid #ddddd6;
}

img.alignright {
	margin: 0 0 5px 10px;
	display: inline;
	border: 5px solid #ddddd6;
}

img.alignleft {
	margin: 0 10px 5px 0;
	display: inline;
	border: 5px solid #ddddd6;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}


/* Captions */

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid #ddddd6;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* Form Elements */

#searchform {
	margin: 0 0 20px 0;
	padding: 0;
}

#searchform #s {
	width: 135px;
	padding: 5px 25px 5px 5px;
	border:solid 1px #aaa;  
	line-height: 1.5em;
	background: url(images/search.png) no-repeat 146px 5px;
	color: #575757;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align: left;
}


/* Begin Comments */

ul.commentlist {
	margin: 20px 0;
	padding:0;
}

ul.commentlist li {
	margin:0px;
	padding:10px 0px 20px 60px;
	position:relative;
	list-style:none;
}

ul.commentlist li cite.fn{
	margin-bottom: 10px;
	font-size: 1.2em;
}

ul.commentlist .avatar {
	position:absolute;
	top:10px;
	left:10px;
	border:1px solid #aaa;
}

ul.commentlist .commentmetadata {
	display:none;
}

ul.commentlist ul  {
	margin:20px 0px 20px 0px;
	padding:0px;
}

ul.commentlist ul li {
	border:0px;
	background-color: transparent;
	overflow:auto;
	background-image:none;
	padding-bottom:0px;
}

ul.commentlist li.even{
	background: #f8f8f8;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

ul.commentlist li.odd{
	margin-top: 20px;
}

ul.commentlist li.bypostauthor{
	background: #000;
	color: #fff;
}

.says{
	display: none;
}

#commentform label{
	float: left;
	width: 200px;
}

#commentform textarea{
	margin-top: 15px;
	width: 535px;
}

#submit {
	background:#202125;
	border: none;
	color:#FFF;
	font-size:0.9em;
	padding:0.5em 1em;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#submit:hover {
	background:#6d7909;
	border: none;
	color:#FFF;
	font-size:0.9em;
	padding:0.5em 1em;
	cursor: pointer;
}

input#author, input#email, textarea{
	padding: 5px;
	border: 1px solid #ddddd6;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

label{
	padding-top: 5px;
}

/* Calendar */

#wp-calendar {
	empty-cells: show;
	margin: 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: left;
	width: 97%;
	padding-left: 3%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }



/* Utility Tags & Classes */

acronym, abbr, span.caps {
	cursor: help;
}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 30px;font: italic 1em Georgia, "Times New Roman", Times, serif;
	color: #777;
	background: url(images/blockquote.gif) no-repeat top left;
}

blockquote p{
	line-height: 1.5em;
	text-shadow: none;
}

cite {
	margin: 5px 0 0;
	display: block;
	font-style: normal;
}

.center {
	text-align: center;
}

.entry ul li{
	list-style-type: square;
	margin-bottom: 0.75em;
	line-height: 1.5em;
	font-size: 0.95em;
} 

.entry ol li{
	list-style-type: decimal;
	margin-bottom: 0.75em;
	line-height: 1.5em;
	font-size: 0.95em;
}

.sidebar ul li.last{
	background: none;
}

.navigation {
	float: left;
	clear: left;
	width: 660px;
	text-align: center;
}

.split-col{
	float: left;
	width: 40%;
	margin-right: 10%;
	
}

img.sideImage{
	margin-bottom: 25px;
	border: 5px solid #ddddd6;
}

/* Frontpage */

#slideshow{
	float: left;
	width: 930px;
	height: 338px;
	margin-bottom: 25px;
	border: 5px solid #ddddd6;
}

#front-col-1{
	float: left;
	width: 270px;
	padding: 0 20px 0 10px;
}

#front-col-2{
	float: left;
	width: 270px;
	padding: 0 30px 0 20px;
}

#front-quote{
	text-indent: -9999px;
	height: 91px;
	background: url(images/front-quote.gif) no-repeat top left;
}

#front-posts.sidebar{
	margin-top: 10px;
}






