/*  
Theme Name: Brunel Sailing bespoke
Description: The default theme for Brunel Sailing Club's Wordpress site.
Author: James Shakespeare
Author URI: http://www.jshakespeare.com/
*/

/*	##################################
   	GENERAL FORMATTING
	################################## */

body 
{
	font-size: 12px;
	font-family: 'Trebuchet MS', Verdana, 'Lucida Grande', Sans-Serif;
	color: #555;
	text-align: center;
	margin: 0;
	padding: 0;
	background: #fff;
}
a 
{
	text-decoration: underline;
	color: #555;
}

blockquote 
{
	margin:0 0 0 20px;
	padding: 0 0 0 20px;
	border-left: 5px solid #c7532d;
}
img 
{
	border: none;
}
ul, ol {
	margin: 0 0 20px 20px;
}
li {
	padding: 0px 0px 3px 0px;
}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
#page {
	margin: 0 auto;
	padding: 0;
}
	
#header 
{
	margin: 0 auto;
	background-color: #4b6b7d;
	text-align: left;
}
#content {
	width: 960px;
	margin: 10px auto 40px auto;
	text-align: left;
}
#content-left {
	float: left;
	width: 680px;
}

#content-right {
	float: right;
	width: 260px;
}


/*	##################################
   	HEADER
	################################## */
#headertop
{
	height: 85px;
	width: 965px;
	margin: 0 auto;
}
#logo
{
	width: 285px;
	height: 85px;
	float: left;
	margin: 0;
}
#headerbottom
{
	min-height: 50px;
	background-image: url('img/header_bg.jpg');
	background-position:bottom left;
	background-color: #333;
	background-repeat: repeat-x;
	vertical-align:middle;
	width: 100%;
	margin: 0 auto;
	float: left;
}

/*navigation*/

#nav	
{
	padding: 30px 0px 0px 0px;
	width: 600px;
	text-align: right;
	float: right;
}

#nav ul 
{
	list-style:  none;
	text-align: right;
	float: right;
}
#nav li	
{
	float: left;
}
		
#nav a 
{
	display: block;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	margin-left: 70px;
}

#nav a:hover 
{	
	text-decoration: none !important;
}

/*subnav*/

#subnav
{
	width: 960px;
	height: 20px;
	margin: 0 auto;
	padding: 8px 0px 5px 0px;
	color: #fff;
}
#subnav a
{
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}
#subnav a:hover
{
	text-decoration: underline;
}
#subnav.left
{
	width: 500px;
	float: left;
	padding: 0;
	margin: 0;
}
#subnav.right
{
	width: 200px;
	float: right;
	text-align: right;
	padding: 0;
	margin: 0;
}
#subnav ul 
{
	margin: 0;
	padding: 0;
}
#subnav.left li	
{
	margin: 0;
	float: left;
	list-style: none;
	text-align: left;
	padding: 2px 0 0 0;
}

#subnav.right li
{
	margin: 0;
	float: right;
	list-style: none;
	text-align: right;
	padding: 2px 0 0 0;
	min-width: 5px;
}
		
#subnav.left li a 
{
	display: block;
	padding: 0 20px 0 0;
}
#subnav.right li a 
{
	display: block;
	padding: 0 0 0 5px;
}

/*	##################################
   	CONTENT
	################################## */
/*page desc*/
#pagedesc
{
	width: 960px;
	margin: 10px auto 0 auto;
	height: 270px;
}
#pagedesc .left{
	width: 500px;
	float: left;
}
#pagedesc .right
{
	width: 425px;
	float: right;
	line-height: 26px;
	padding: 0;
	margin: 0;
	text-align: left;
}
#pagedesc .right p
{
	font-size: 14px;
	color: #fff;
	margin: 15px 0 0 0;
	padding: 0;
}
#pagedesc .right h1
{
	font-size: 20px;
	margin: 0;
	padding: 0;
	color: #fff;
}


/** box left */
.box-left {
	margin: 0 0 20px 0;
	clear: both;
}
	
.meta {
	font:10px Verdana, Tahoma;
	color: #777;
	height: 12px;
	padding: 0px 0px 10px 0px;
	border-bottom: 1px solid #999;
}

.meta-date {
	float: left;
	width: 300px;
}

.meta-categories {
	float: right;
	width: 100px;
	text-align: right;
}

.meta-author
{
	width: auto;
	text-align: left;
	color: #777;
	font:italic 10px Verdana, Tahoma;	
}
.meta-comments {
	float: right;
	width: 200px;
	text-align: right;
}

.box-left img {
	float: left;
	margin: 5px 10px 5px 0;
}
.box-leftnavigation
{
	background: none;
	color: #fff;
}
a.box-leftnavigation
{
	color: #fff;
	text-decoration: underline;
}
/** wordpress css */

.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;
}

/** box right */

.box-right {
	margin: 0px 0px 30px 0px;
	clear: both;
}
.box-right ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.box-right li 
{
	display: inline; /* white space bug IE6 */
}

li.cat-item ul.children {
	margin: 0px;
	padding: 0px;
}

li.cat-item ul.children li {
	margin: 0px;
	padding: 0px;
}

.box-right li a {
	display: block;
	margin: 0px;
	padding: 5px;
	border-bottom: 1px dotted #ddd;
	text-decoration: none;
}
.box-right-search {
	margin: 0 0 10px 0;
	clear: both;
	background: #fff;
}
li.cat-item ul.children li a {
	padding: 5px 5px 5px 20px;
}

li.cat-item ul.children li ul.children li a {
	padding: 5px 5px 5px 40px;
}

.box-right li a:hover {
	background: #ecf5f9;
}

.box-right .page_item a, .box-right .current_page_item a {
	background: transparent;
	width: auto;
	height: auto;
	font-weight: normal;
	text-align: inherit;
}

/** search form */
#searchwrapper
{
	width: 260px;
}
#search 
{
	width: 214px;
	padding: 5px;
	color: #999;
	border: 1px solid #999;
	font-size: 12px;
}

#search-submit {
	width: 30px;
	padding: 6px;
	font-size: 12px;
	margin: 0;
	background: #363636;
	color: #fff;
	border: 0;
}

/** wp-calendar */

#calendar_wrap {
	margin: 0px;
}

#wp-calendar {
	width: 100%;
}

#wp-calendar th {
	text-align: left;
}

/*	##################################
   	COMMENTS
	################################## */
	
h4#comments, h4#respond {
	margin:0 0 20px 0;
}	
	
.comment {
	margin:0 0 20px 0;
	padding: 10px;
	background: #f7f7f7;
	border-top: 1px solid #ccc;
}

.avatar {
	float: left;
	margin:0 10px 0 0!important;
}

.comment-details {
	margin: 0 0 10px 0;
}

.comment-text p {
	margin: 0px;
	padding: 0px;
}

/** comment form */

#commentform label {
	display: block;
	margin: 0 0 5px 0;
}

input.text {
	width: 410px;
	margin: 0 0 10px 0;
	padding: 5px;
	border: 1px solid #999;
}

textarea {
	width: 410px;
	height: 100px;
	margin: 0;
	padding: 5px;
	border: 1px solid #999;
}

input.submit {
	width: auto;
	margin: 0;
	padding: 5px;
	background: #363636;
	color: #fff;
	border: 0;
}


/*	##################################
   	FOOTER
	################################## */
	
#footer-wrap {
	background: #4b6b7d;
	margin-top: 30px;
	background-image: url('img/footer_bg.jpg');
	background-repeat: repeat-x;
	color: #fff;
	text-align: right;
}
#footer.top {

	width: 960px;
	height: 30px;
	padding: 20px 0 0 0;
	margin: 0 auto;
}
#footer.top a
{
	padding: 0 0 0 5px;
}
#footer.bottom {
	width: 960px;
	padding: 10px 0 10px 0;
	margin: 0 auto;
	text-align: center;
}
#footer a {
	color:#fff;
	text-decoration: underline;
}
#footer p
{
	margin: 0 0 5px 0;
	padding: 0;
}
#leftfoot {
	float: left;
	width: 500px;
	text-align: left;
}

#rightfoot {
	float: right;
	width: 400px;
	text-align: right;
}

/*	##################################
   	USEFUL
	################################## */
	
.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
  	float: left;
}

.alignright {
   float: right;
}

.clear {
	clear:both;
}

/*	##################################
   	HEADINGS
	################################## */
	

h1 
{
	font-size: 20px;
	color:#777;
	text-decoration: none;
	padding: 0;
}

h2 {
	margin:0 0 20px 0;
	padding: 0px;
	color: #777;
	font:normal 14px;
}

h3 {
	margin: 0;
	font: 24px bold;
	font-family: 'Trebuchet MS', Verdana, 'Lucida Grande', Sans-Serif;/*weird firefox thing*/
}

h3 a {
	text-decoration: none;
	color: #555;
	font: bold 24px ;
}

h3 a:hover {
	text-decoration: underline;
}

h4 {
	margin: 0 0 10px 0;
}