/*
Theme Name: Simon Hambleton
Theme URI: http://www.base30.co.uk
Description: Custom Theme by Base30.
Author: Base30
Version: 1.0
Tags: two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/


/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

* {
	margin:0;
	padding:0;
	border:0;
}

body {
	font-family:Arial, Helvetica, sans-serif;
	font-size:76%;
}

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#primary {
	float: left;
	overflow: hidden;
	width: 240px;
	padding:20px;
	color:#FFF;
}

#primary a {
	color:#8db240;
}

#primary a:hover {
	color:#FFF;
}

#footer {
	clear: both;
	width: 100%;
	margin-bottom: 15px;
}

.logo {
	float:left;
	margin-bottom: -30px;
    margin-top: 10px;
}

#wrapper {
	width:940px;
	margin:0 auto;
}




/* =Menu
-------------------------------------------------------------- */

#navMenu {
	margin: 0 auto;
	width: 940px;
	display:block;
	float:left;
	font-family: 'Arvo';
}
#navMenu .menu-header,
div.menu {
}
#navMenu .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#navMenu .menu-header li,
div.menu li {
	float:right;
	position: relative;
}
#navMenu a {
	display:block;
	text-decoration:none;
	color:#4d4d4d;
	padding:0 10px;
	line-height:38px;
	font-size:1.3em;
}
#navMenu ul ul {
	display:none;
	position:absolute;
	top:38px;
	left:0;
	float:left;
	width: 180px;
	z-index: 99999;
}
#navMenu ul ul li {
	min-width: 180px;	
}
#navMenu ul ul ul {
	left:100%;
	top:0;
}
#navMenu ul ul a {
	background:#4d4d4d;
	height:auto;
	line-height:1em;
	padding:10px;
	width: 160px;
}
#navMenu li:hover > a,
#navMenu ul ul :hover > a {
	color:#7e9c22;
}
#navMenu ul li:hover > ul {
	display:block;
}
#navMenu ul li.current_page_item > a,
#navMenu ul li.current-menu-ancestor > a,
#navMenu ul li.current-menu-item > a,
#navMenu ul li.current-menu-parent > a {
	color: #7e9c22;
}

* html #navMenu ul li.current_page_item a,
* html #navMenu ul li.current-menu-ancestor a,
* html #navMenu ul li.current-menu-item a,
* html #navMenu ul li.current-menu-parent a,
* html #navMenu ul li a:hover {
	color:#7e9c22;
}

/* =Content
-------------------------------------------------------------- */

.clear {
	clear:both;
}

body.blog #main, body.single #main, body.archive #main, body.page-template-page-secondary-php #main {
	background-image:url(images/blog.gif);
	height:auto;
	background-repeat:repeat-y;
}

.blogTop {
	background-image:url(images/blog-top.gif);
	height:12px;
	clear:both;
}

#main {
	position:relative;
	clear:both;
	width:940px;
	height:630px;
	margin:0 auto;
}

#overlay {
	position:absolute;
	top:0;
	left:0;
	z-index:100;
}

body.blog #content, body.single #content, body.archive #content, body.page-template-page-secondary-php #content {
	width:610px;
	padding:10px 20px 20px 20px;
	height:auto;
	position:relative;
	margin:0;
	float:right;
	color:#333;
}

#secondary {
	color:#FFF;
	padding:10px 20px 20px 20px;
	float:left;
	width: 240px;
}

#secondary h1, #secondary h2 {
	color:#FFF;
}

#secondary ul, #secondary ul li {
	list-style:none;
	margin:0;
	padding:0;
}

#secondary a {
	color:#CCC;
}

#secondary a:hover {
	color:#999;
}

#secondary li.widget-container, #primary li.widget-container {
	margin-bottom:20px;
}

a {
	color:#8DB240;
}

a:hover {
	color:#666;
}
	

#content {
	color: white;
	position: absolute;
	left: 0;
	top: 0;
    height: 150px;
	width: 800px;
    margin: 460px 0 0 20px;
    z-index: 200;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Arvo';
	font-weight:normal;
	margin-bottom:5px;
}

h1 {
	font-size:1.2em;
}

h2 {
	font-size:1.1em;
}

p {
	font-size:1em;
	margin-bottom:10px;
}



/* Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	max-width: 640px;
}
#content .attachment img {
	max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #f1f1f1;
	text-align: center;
	margin-bottom: 20px;
	padding: 4px;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
	margin: 5px;
	color: #888;
}
#content .wp-smiley {
	margin:0;
}
#content .gallery {
	margin: auto;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}



/* =Navigation
-------------------------------------------------------------- */

.navigation {
	overflow: hidden;
	color: #888;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #FF4B33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	width: 50%;
	text-align:right;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}



/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom:none;
	margin-bottom:0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #FF4B33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #FF4B33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e7e7e7;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	line-height: 18px;
	display:block;
	margin: 0;
}
#comments .pingback .url {
	font-style: italic;
}



/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	margin: 24px 0;
	border-top: 1px solid #e7e7e7;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-weight: normal;
}
#respond .required {
	color:#FF4B33;
	font-weight:bold;
}
#respond label {
	color: #888;
}
#respond input {
	margin:0 0 9px;
	width:98%;
}
#respond textarea {
	width:98%;
}
#respond .form-allowed-tags {
	color: #888;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	width: auto;
}


/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
}
.widget_search #s { /* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display:none;
}
.widget-container {
}

.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}
.widget-area .entry-meta {
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width:100%;
}
#wp-calendar caption {
	font-weight: bold;
	color: #222;
	text-align: left;
	padding-bottom: 4px;
}
#wp-calendar thead {
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	padding: 3px 0 2px;
	background: #f5f5f5;
	border:1px solid #fff;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #FF4B33;
}
.widget_rss .widget-title img {
	height: 11px;
	width: 11px;
}


/* Footer widget areas */
#footer-widget-area {
}



/* =Footer
-------------------------------------------------------------- */

#footer {
	clear:both;
	font-family: 'Arvo';
	background-image:url(images/footer.jpg);
	height:45px;
	width:940px;
	margin-top: 5px;
}

#footer #site-info {
	float:left;
	padding: 16px 0 0 16px;
	color:#efece4;
}

#site-info span {
	margin-right:5px;
}

#footer #social {
	float:right;
	padding-right:7px;
	color:#8db240;
}

#social img {
	padding:7px 0 0 0;
}

#social span {
	padding:16px 10px 0 0;
	float:left;
}


img#wpstats {
	display:block;
	margin: 0 auto 10px;
}



/* Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#navMenu,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}



/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background:none !important;
	}
	#wrapper {
		float: none !important;
		clear: both !important;
		display: block !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		margin: 0;
		padding:0;
		line-height: 1.4em;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#navMenu,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		width: 100%;
		margin: 0;
	}
	#content,
	.one-column #content {
		width: 100%;
		margin: 24pt 0 0;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display:none
	}
	#site-generator a {
		padding: 0;
	margin: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display:inline;
	}
	.home .sticky {
		border: none;
	}
}
