﻿/*
Theme Name: Kempton Steam
Author: SearchQuest
*/

@font-face {
    font-family: 'Garamond';
    src: url('/EBGaramond-webfont.eot');
    src: url('/EBGaramond-webfont.eot?#iefix') format('embedded-opentype'),
         url('/EBGaramond-webfont.woff') format('woff'),
         url('/EBGaramond-webfont.ttf') format('truetype'),
         url('/EBGaramond-webfont.svg#EBGaramondRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Garamond Condensed';
    src: url('/EBGaramondSC-webfont.eot');
    src: url('/EBGaramondSC-webfont.eot?#iefix') format('embedded-opentype'),
         url('/EBGaramondSC-webfont.woff') format('woff'),
         url('/EBGaramondSC-webfont.ttf') format('truetype'),
         url('/EBGaramondSC-webfont.svg#EBGaramondSC') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* =Structure
-------------------------------------------------------------- */

.widget-title {display: none;}
body {
    background: url(images/new/bg.jpg) repeat-y white top center;
    margin: 0;
    font-family: lucida sans, arial;
}
body a {color: green;text-decoration: underline;}
#page {
	display: block;
	width: 995px;
	margin: 0 auto;
}

#header-image{
	background: #fff url(images/new/bgheader.jpg) no-repeat 0 0;
	height: 309px;
}
#branding {
    background: url(images/new/logo.jpg) no-repeat;
    height: 62px;
    width: 920px;
    margin: 0 auto 20px;
}
#branding a {
    display: block;
    max-width: 540px;
    height: 70px;
}


#primary {
	margin: 0 0 0 240px;
	font-size: 14px;
	color: #303030;
	line-height: 24px;
	margin-right: 10px;
}
body.home #primary {width: 440px;}
#secondary{
	margin-right: 10px;	
}
#tertiary{
	margin-left: 10px;
}
#content {
	margin: 0 0 0 0;
	width: 100%;
}
#main .widget-area {
	float: left;
	width: 220px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

#secondary .wpcf7 {
    background: url(images/new/newsletter.jpg) #137D35 no-repeat;
    padding-top: 50px !important;
    padding-bottom: 10px !important;
}
#secondary .wpcf7-submit {
    background: url(images/new/newsletter-submit.png) !important;
    cursor: pointer;
    text-indent: -9999px;
    height: 30px;
    width: 133px;
}
#secondary .wpcf7-response-output {
    color: white !important;
    margin-top: 40px;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-family: Garamond, serif;
	font-size: 42px;
	margin: 0px;
	position: relative;
	top: -40px;
}

#site-title a{
	text-decoration: none;
	color: #303030;
}

#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#main {
    background: url(images/new/tagline.jpg) no-repeat center top;
    padding: 60px 20px 0;
    width: 920px;
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}

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

.secondary .menu {
	list-style: none;	
	padding-left: 0px;
	margin-left: 0px;
}

.secondary .menu li{
	padding-left: 0px;
	margin-left: 0px;
	border-bottom: 1px solid white;
	background: #EAF7EE;
	position: relative;
}

.secondary .menu a{
	display: block;
	text-decoration: none;
	padding: 8px 10px;
	color: #2C4B3B;
	font-weight: bold;
	font-size: 12px;
}

.secondary .menu a:hover{
	color: #305e21;	
}

.secondary .menu a.dcjq-parent{
	background: none;
}

.secondary .menu a.dcjq-parent.active{
	background: #fff url(images/nav-submenu-active.png) no-repeat 210px center;
	border-bottom: dotted 1px #9d9d9d;
}

.secondary .menu li:first-child{
	border-top: none !important;	
}

.secondary .current-page-ancestor a,
.secondary .current-menu-ancestor a,
.secondary .current-menu-parent a,
.secondary .current-page-parent a,
.secondary .current_page_parent a,
.secondary .current_page_ancestor a,
.secondary .menu li:hover a,
.secondary .menu li.current_page_item a{
	background-color: #1A753C;
	background-image: url(images/new/arw.jpg);
	background-position: 200px 6px;
	background-repeat: no-repeat;
	color: white !important;
}

.secondary .menu li.current_page_item > a{
	color: #fff;
	text-decoration: none;
}

.secondary .menu ul{
	text-transform: capitalize;	
	list-style: none;	
}


.secondary .menu ul a{
	color: #545454;	
}

.secondary .menu ul li {}

.sub-menu {
    display: none;
    position: absolute;
    left: 220px;
    z-index: 100;
    padding-left: 0;
    top: 0;
    min-width: 130px;
}
.sub-menu li a {background: #4E9E69 !important;}
.sub-menu li a:hover {background: #1A753C !important;}
li:hover .sub-menu {display: block;}

/* =CTA
-------------------------------------------------------------- */

.cta p{
	margin: 0;
	text-align: center;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
}

.cta a{
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 5px 0px;
}

.cta{
	background: #305e21;
	border-radius: 10px 0px 10px 0px;
	padding: 10px;
	margin-top: 10px;
}

.cta:first-child{
	margin-top: 0px;	
}

.charity {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #B7B4A1;
}

.cta img{
	border: solid 1px #fff;	
}

.cta.donate img{
	border: none !important;	
}


/* =Enquiry Form Sidebar
-------------------------------------------------------------- */

#tertiary {
    display: none;
}
body.home #tertiary {
    display: block;
    float: right !important;
}

#tertiary .widget-title{
	text-align: center;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: normal !important;
}


/* =Homepage Sidebar
-------------------------------------------------------------- */
.sidebar-box {
    background: #1A753C;
    color: white;
    width: 220px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0 0 20px 0;
    position: relative;
}
.sidebar-box p.imagep {
    margin: 0px !important;
    padding: 0 !important;
    position: relative;
    height: 131px;
    overflow: hidden;
}
.sidebar-box p.imagep:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 131px;
    background: url(images/curvy-overlay.png);
}
.sidebar-box img {
    display: block;
    float: none;
    margin: 0 !important;
}
.sidebar-box h2 {
    margin: 10px 0 0 20px;
    border-bottom: 1px solid #4FAC77
}
.sidebar-box p {
    padding: 0 10px 0 20px;
}
.sidebar-box a {
    text-indent: -999px;
    background: none;
    display: block;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0 !important;
}



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


.entry-title{
	border-bottom: solid 1px #ccc;
	padding-bottom: 5px;
	color: #1E733A;
}
.entry-content{
	text-align: justify;	
}
.entry-content p {
    margin: 0 0 20px 0;
}
.entry-content h3 {
    font-size: 14px;
    margin-bottom: 0px !important;
    background: #1A753B;
    color: white;
    padding: 5px 10px;
}
.p-after-h3 {
    padding: 5px 10px;
    border: 1px solid #AECFBA;
    background: #F0FAF3;
}

.page-id-66 h4 {clear: both;}
.entry-content h4 {
    font-size: 14px;
    margin-bottom: 0px !important;
    background: #1A753B;
    color: white;
    padding: 5px 10px;

}
.after-h4 {
    padding: 5px 10px;
    border: 1px solid #AECFBA;
    background: #F0FAF3;
}
p.after-h4-next,
ul.after-h4-next {
    margin-top: -21px !important;
    border-top: none;
    padding-bottom: 10px;
}
ul.after-h4 {padding-left: 40px;margin-top: 0;}

#content a{
	color: green;	
}
.ngg-album-compact h4 {background: none;}
#content a.ngg-album-desc {}
.sticky {
}
.entry-meta {
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {

	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {

	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


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

a img {
	border: none;
/*	max-width: 230px !important; */
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
	margin: 0 10px 10px 0;
	background: #EAF7EE;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

.wpcf7 {
    border: 1px solid #AECFBA;
    margin-bottom: 20px !important;
    background: #F0FAF3;
    padding: 20px !important;
}
#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input[type=email],
input#s {
	margin: 0 1em 0 0;
	width: 98%;
	font-family: "Open Sans", sans-serif;
	background: #fff url(images/input-background.png) repeat-x 0 0;
	border: 1px solid #CCCCCC;
	padding: 2px 5px;
}

img[alt=captcha]{
	float: left;
	border: none !important;
}

input.captcha{
	width: auto !important;	
	margin-left: 10px;
}

textarea {
	width: 98%;
	background: #fff url(images/input-background.png) repeat-x 0 0;
	margin: 0 1em 0 0;
	font-family: "Open Sans", sans-serif;
	border: 1px solid #CCCCCC;  padding: 2px 5px;
}

.wpcf7-submit {
    padding: 5px 10px;
    color: white;
    background: #1A753B;
    border: none;    
}

#wpcf7-f122-w1-o1{
	padding: 10px;
}

#wpcf7-f122-w1-o1 p{
	margin-bottom: 10px;	
}

#wpcf7-f122-w1-o1 .submit-button{
	border: none;
	background: url(images/submit-button.png) no-repeat 0 0;
	height: 28px;
	width: 125px;
	float: right;
	cursor: pointer;
}

.wpcf7-not-valid-tip{
	display: none !important;	
}

.wpcf7-response-output{
	border: 0px !important;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	color: #fff;
}	

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

.wpcf7-response-output {
    color: #303030 !important;
    padding-left: 0 !important;
}

.ajax-loader {position: absolute;}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
	font-size: 10px;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

/* =Gallery
-------------------------------------------------------------- */

.ngg-albumtitle a{

	color: #305E21;	
	text-decoration: none;
	border-bottom: dotted 1px #303030;
}

#albumnav a{
	color: #305E21;	
}

.ngg-albumoverview{
	clear: none !important;	
	width: 500px !important;
}

.ngg-galleryoverview{
	clear: none !important;
	width: auto !important;
}


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


footer {
    font-size: 12px;
    min-height: 110px;
    padding-bottom: 20px;
    color: #5B6C64;
    margin-top: 100px;
    width: 920px;
    margin: 40px auto 0;
    clear: both;
}
footer .widget-title {display: none;}
.footer-copyright {
    border-top: 1px solid #03511F;
    border-bottom: 1px solid #03511F;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
}
.copyright-left {float: left;}
.copyright-right {float: right;}
.footer-sitemap {
    clear: both;
    width: 640px;
    margin: 30px auto 10px;
    min-height: 30px;
    font-size: 12px;
}
.footer-sitemap li {
    float: left;
    margin: 0 5px;
    list-style: none;
}
.footer-charity {
    clear: both;
    text-align: center;
    margin-bottom: 5px;
    font-size: 10px;
}
.footer-address {
    float: left;
    margin-right: 10px;
    font-size: 10px;
    margin-left: 90px;
}
.footer-findus {
    float: left;  margin-right: 10px;
    font-size: 10px;
}
.footer-tel {
    float: left;
}

#volunteers {
color: #ffffff !important;
}

#filming {
color: #ffffff !important;
}

/* Fixes */
.home #tertiary img {max-width: 110% !important;}
#content table td {vertical-align: top;padding: 0 10px 10px;}
#content table.columns-2 td {width: 50%;text-align: left;}
#content table.columns-3 td {width: 33%;text-align: left;}


/* Responsive */
/* Tablet (Portrait) */
@media only screen and (max-width: 768px) {
	#main {}
	#primary {}
	body.home #tertiary {
    	float: none !important;
    	width: 92%;
    	text-align: center;
    	margin: 10px auto 0;
	
    	overflow: hidden;
    	padding-top: 15px;
}
	.sidebar-box {margin: 5px 0;display: inline-block;text-align: left;font-size: 12px;line-height: 18px;width: 32.6%;height: 275px;max-width: 220px;vertical-align: top;}
	.sidebar-box2 {margin: 5px 1%;}

	#page {width: 100%;min-width: 320px;}
	#header-image {}
	#branding {
		max-width: 100%;	
		width: auto;
		margin: 0 20px 20px;
	}
	#branding a {}
	#tertiary {width: 100%;float: none;}
	#primary {width: 92% !important;margin: 20px auto !important;clear: both;padding-top: 1px;}
	.secondary {margin-left: 0;margin-bottom: 20px; !important;clear: both;width: 100% !important;float: none !important;margin: 0 auto;}
	.secondary .menu {background: #D8ECE0;margin: 0 auto;width: 92%;}
	.secondary .menu > li {width: 12.5%;/* height: 45px; */text-align: center;position: relative;float: left;}
	.secondary .menu > li .sub-menu {left: 50%;top: 100%;width: 180px;margin-left: -90px;}
	.secondary .menu > li > a {height: 30px;padding: 10px 5px;border: 1px solid white;}
	.sidebar-newsletter {
		overflow: hidden;
		width: 92%;
		clear: both;
		margin: 20px auto;
	}
	.sidebar-newsletter input[type=email] {width: 68%;float: left;margin: 0;padding: 5px 5px;}
	.sidebar-newsletter input[type=submit] {float: left;width: 26%;margin-left: 2%;}
	.sidebar-newsletter  p {margin: 0;}
	.secondary .menu li {}
	.secondary .menu li .sub-menu a {
		height: auto;
	}

	#menu-tablet {display: block !important;width: 100%;clear: both;}
	#secondary {display: none;}
	
	#main {width: 100%;padding: 20px 0;background: none;border-top: 1px solid #CCCCCC;}
	footer {width: 100%;margin: 0;text-align: center;}
	footer aside, footer div {float: none;clear: both;text-align: center;width: 100%;margin: 0 0 5px !important;}
	.footer-sitemap {margin-bottom: 20px !important;width: 100%;}
	.footer-sitemap li {display: inline-block;float: none;}
	.footer-tel {text-align: center;float: none;clear: both;}
	h1 {}

	#secondary .wpcf7 {
		padding: 20px  !important;
		background: #137D35;
		margin: 10px auto 0 !important;
		overflow: hidden;
	}
}

/* iPad (Landscape) */
@media only screen and (max-width: 650px) {

	#menu-tablet {display: none !important;}
	#menu-mobile {
		display: block !important;
		clear: both;
		background: #D8ECE0;
		overflow: hidden;
		width: 96%;
		padding: 0 2%;
	}
	#menu-mobile > .widget-area {width: 100%;float:  none;}
	#menu-mobile .menu {border-top: 2px solid #D8ECE0;display: none;}
	#menu-mobile ul {padding: 0; margin: 0;min-width: 100%;}
	#menu-mobile li {list-style: none;padding: 0;margin: 0 auto !important;width: 100%;}
	#menu-mobile a {display: block;background-color: #14773F;color: white;text-decoration: none;padding: 8px 10px 8px 10px;font-size: 13px !important;}
	#menu-mobile a:hover,
	#menu-mobile li:hover a {background-color: #135E33;cursor: pointer;}
	#menu-mobile .sub-menu {position: static !important;display: block;}
	#menu-mobile .sub-menu li {width: 100%;}
	#menu-mobile .sub-menu a {padding-left: 25px;}
	#menu-mobile .current-menu-item {font-weight: bold;}

	.rsp-menu-toggle {margin: 0 auto;}
	#rsp-toggle {background: url(images/rsp-menu.png);background-repeat: no-repeat;background-position: 10px center;padding: 12px 10px 10px 40px !important;}

	#main {border-top: none;padding-top: 0;}

	#page {width: 100%;min-width: 320px;}
	#header-image {display: none;}
	#branding {width: 100%;margin: 10px auto;background-size: 90%;  background-position: center;}
	#branding a {margin: 0 auto;}
	
	.sidebar-newsletter {display: none;}
	#primary {width: 96% !important;margin: 0px 2% !important;}
	#tertiary {}
	#tertiary h2 {font-size: 14px;}
	#tertiary p {display: none;}
	#tertiary p.linkp {display: block;}
	.sidebar-box {max-height: 15px;text-align: center;border-radius: 10px;background: #14773F;margin: 0 6px 8px;width: 45%;}
	.sidebar-box h2	{border: none;margin: 0;padding: 8px;font-size: 16px;}
	.sidebar-box:hover {background: #003E19;}
	.sidebar-box + .sidebar-box + .sidebar-box {width: 93%;}
	h1 {/* text-align: center; */}

	.entry-content img {max-width: 100%;float: none !important;clear: both; display: block;margin: 20px auto 20px !important;}
}
