/*
Theme Name: Penwartha
Theme URI: http://underscores.me/
Author: Tracey Rickard
Author URI: http://traceyrickard.co.uk
Description: A custom WordPress theme developed specifically for and to be used only by Penwartha Cottages.  This theme is subject to copyright.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 Penwartha is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on July 23, 2013 */



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

}

.slideshow-wrapper { margin:0 !important ;}
.slideshow-wrapper img { display:block !important ;}
.script { font-family: 'Dancing Script', cursive;font-weight:400; }
.cta { position:relative;font-size:36px;font-size:3vw;text-align:center;display:block;background:#B7B6B6;color:#fff !important;padding:15px;text-decoration:none !important;min-height:61px; }
@media screen and (min-width:1600px) { .cta { font-size:36px; } }
.cta:hover { text-decoration:none;color: #666 !important; }
.cta div {position:relative;padding: 0 100px;}
.cta div:before,.cta div:after {content:"";display:block;position:absolute;top:0;width:95px;height:63px;}
.cta div:before {left:0;background:transparent url('ims/l.png') 0 0 no-repeat scroll;}
.cta div:after {right:0;background:transparent url('ims/r.png') 0 0 no-repeat scroll;}
.home .entry-content,
.post-5 .entry-content, 
.post-6 .entry-content, 
.post-8 .entry-content, 
.post-271 .entry-content
{max-width:720px;margin:0 auto;}

body,
button,
input,
select,
textarea {
	color: #666;
	font-family:"Open Sans","Century Gothic", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
} 
h1 {font-size:1.6em;}
.home h1 {text-transform:uppercase;font-family:Comfortaa,sans-serif;margin: 0 0 0.5em 0;}
h2, h3 {font-size:1.2857em; margin-bottom:1em;}
.grid1 h2, .grid2 h2 { text-transform: uppercase;}
h4 {font-size:1.1em;}
.home .entry-content h2, .entry-meta {font-family: 'Comfortaa','quicksandregular',"Century Gothic", Arial, Helvetica, sans-serif; font-size:1em;margin: 0 0 1.1em 0; }
 
hr {
	background-color: #fff;
	border-top: 1px dashed #ccc;
	border-bottom:0 none; border-right:0 none; border-left:0 none;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #666; text-decoration:none;
}
a:visited {
	color: #666;
}
a:hover,
a:focus,
a:active {
	text-decoration:underline;
}

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

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

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}


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

.main-navigation {
	clear: both;
	text-align:center;
	width: 100%;
	font-family: "Comfortaa", 'quicksandregular',"Century Gothic", Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	padding:10px 0;
	margin-top:10px;
	background: #858687;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	display:inline;
	position: relative;
	padding-right:13px; padding-left:12px; background:url(ims/nav-divide.png); background-repeat:no-repeat; background-position:center right;}
.main-navigation li.menu-item-192 {background:none;}

.main-navigation a {
	display:inline;
	text-decoration: none;
	color:#fff;
	padding:5px;
}
.current-menu-item a {
	/*border-bottom:1px dashed #666;*/
	font-weight:900;
	background-color:#fff !important;
	color: #858687 !important;
}
.main-navigation a:hover {
	/*border-bottom:1px dashed #666;*/
	background-color:#666;
	color: #fff;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

@media screen and (max-width: 899px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
		text-align:center;
	
	}
	.main-navigation {padding-top:0;}
	.main-navigation.toggled ul li, .main-navigation.toggled ul li a {width:100%; display:block; background:none; padding:0;}
	.main-navigation.toggled ul li a {line-height:3; border-bottom:1px dashed #ccc;}
	.blog .main-navigation.toggled ul li:last-child a, .archive .main-navigation.toggled ul li:last-child a, .error404 .main-navigation.toggled ul li:last-child a, .single .main-navigation.toggled ul li:last-child a {border-bottom:0 none;}
	.menu-toggle {background:url(ims/toggle-pointer.png); background-repeat:no-repeat; background-position:bottom center; line-height:70px;}
	
	.main-navigation ul {
		display: none;
	}
}
@media screen and (max-width: 479px) {
.menu-toggle {line-height:60px;}
}


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

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


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

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.site-content .sbc-navigation {margin:0;}

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

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

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

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}
.page #masthead {
	position: absolute;
	top: 0px;
	width: 100%;
	left: 0;
	padding: 15px 0 0 0;
	background:#fff; opacity:.85;
	z-index:99999;
	margin:0;
}
#masthead {position:static; margin:15px 0 20px 0;}
.site-branding, .site-navigation {text-align:center;}
.wrapper, .site-footer {width:98%; max-width:1220px; margin:0 auto;}
#page {position:relative;}
.site-header .social {text-align:right; /*width:100%;*/ position:absolute; top:15px; right:30px;}
.booknow-btn {display:block;text-align:center;}
.booknow-btn a {text-align:center;display:inline-block;padding:10px;background:#B7B6B6;color:#fff;}
@media screen and (min-width:960px) {.booknow-btn a {position:absolute; top:20px; left:30px;}}
.social a {display:inline-block;}
.social img {margin-left:15px;}
.social a:hover img {opacity:0.7;}
#top-image {margin-bottom:50px;}
.grid1 {float:left;}
.grid2 {float:right;}
.grid1 {width:46%;}
.grid2 {width:46%;}
.blog .grid1 {width:55%;}
.blog .grid2 {width:37%;}
.grid2 p {line-height:1.7;}
#featured-container {/*background:#e7f0f5;*/ padding:30px 0;}
#details p, #details ul {width:80%;}
#availability-calendar, #location-map iframe {margin:20px 0;}
#availability-calendar h2 a {background: #858687; color: #fff; text-decoration: none; font-weight: 400; font-size: 16px;padding:5px 25px;}
#featured .widget {float:left; width:30%;}
#edmondscote {margin:0 5%;}
#billsbarn.widget {margin:0 0 0 12.5%;}
#studio.widget {margin:0 0 0 12.5%;}
.page-id-5 aside#billsbarn {display: none;}
.page-id-6 aside#edmondscote {display: none;}
.page-id-271 aside#studio {display: none;}
@media screen and (min-width:769px){
    .page-id-5 aside#edmondscote ,
    .page-id-6 aside#billsbarn ,
    .page-id-271 aside#billsbarn {margin:0 5% 0 35%;}
    .page-id-5 aside#studio ,
    .page-id-6 aside#studio ,
    .page-id-271 aside#edmondscote {margin:0 15% 0 35%;}
} 
#featured p {padding-right:20%;}
.featured-img {position:relative;}
.featured-img img {position:relative;display:block;}
.featured-img a {position:relative;display:block;}
.featured-img>a:before {content:"";position:absolute;z-index:1;left:0;top:0;display:none;width:100%;height:100%;background:rgba(133, 134, 135, 0.75) url(ims/icons.png) 50% 50% no-repeat scroll;background-size:75%;}
aside.widget:hover .featured-img>a:before {display:block;}
.feature-caption {/*position:absolute;*/ background:#858687; text-align:center; /*opacity:.8;*/ color:#fff; /*width:40%; top:50%;*/ padding:12px 12px 16px 12px; /*left:3.5%;*/}
.feature-caption a {color:#fff; line-height:30px;}
.feature-caption a:first-of-type {text-decoration:none !important;border-bottom: 1px solid #fff;}
.feature-caption a:last-child {background:#fff; color:#858687;display:inline-block; line-height:30px;text-decoration:none !important;padding:2px 10%;}
#featured img {/*border:1px solid #ccc; padding:3%; background:#fff; margin-bottom:1.5em; max-width:92%; */height:auto;display:block;margin: 0 auto;}
#featured h2.feature-title {text-transform:uppercase;position:relative;margin:0 auto;}
#featured h2.feature-title:after {content:"";display: block;margin: 5px auto 0 auto;width: 63px;height: 18px;background:transparent url(ims/leaves2.png) 0 0 no-repeat scroll;}
.site-footer {padding:40px 0;background:#E2E2E2;max-width: none;width:100%;font-family: Comfortaa, sans-serif;}
#menu-footer {list-style:none;margin:0 auto 0.6em auto;}
#menu-footer li {display:inline-block;}
#menu-footer li:last-child span {display:none;}
.site-info {text-align:center;text-transform: uppercase;}
.site-footer .social {margin:10px auto;}
.content-details {padding:30px 0;}
#secondary .widget {background:#f0f0f0; padding:20px 30px;}
.content-wrap .hentry, .content-wrap .grid2, .archive .page-title, .no-results, .not-found {border-top: 1px dashed #ccc; padding-top:20px;}
.archive .page-title {margin-bottom:1.5em;}
.entry-thumbnail {margin:20px 0;}
.home .portfolio-slideshow {margin-top:0;}
.post-5 hr, .post-6 hr {clear:both;}
.wpcf7-form {width:80%;}
.testimonials { width:100%;text-align:center;background:transparent url(ims/leaves3.png) 50% 50% no-repeat scroll;background-size:contain;margin:0 auto 40px auto;min-height:250px;}
.testimonial { margin:75px 0 0 0;width:100%;background-color: transparent !important;}
.testimonial p { font-family: 'Dancing Script', cursive;font-weight:400;font-size:36px;font-size:3vw;margin:0 auto 15px auto;max-width: 1220px;padding:0 5% 0 5%;}
.page-id-5 .testimonials ,
.page-id-6 .testimonials ,
.page-id-271 .testimonials {background-color: #858687;}
.page-id-5 .testimonial ,
.page-id-6 .testimonial ,
.page-id-271 .testimonial  {color: #fff;}
.page-id-5 .testimonial p,
.page-id-6 .testimonial p,
.page-id-271 .testimonial p {color: #fff;}

.slideshow-content {
	background: #f5f5f5;
    width: auto;
}
.slideshow-content a {
	display:inline-block;
    margin: 0 auto;
}
body:not(.page-id-4) .slideshow-content img {
	display:block;
    margin: 0 auto;
    padding: 0;
    border: none;
    max-width: 100% !important;
    width: auto;
    height: auto;
    max-height: 444px;
}
body.page-id-4 .slideshow-nav {
    display:none;
}
.portfolio-slideshow {
    max-width:100%;
}
@media screen and (min-width:1280px) { .testimonial p { font-size:36px; } }

.testimonial span { font-size:14px;text-transform:uppercase;}

@media screen and (max-width:1023px){
	#top-image {margin-bottom:30px;}
}
@media screen and (max-width:769px){
	.grid1, .grid2, #featured .widget, .site-title  {float:none; width:90%; margin:0 auto;}
	.wrapper {text-align:center;}
	.wrapper ul {list-style:none; margin:0;}
	#details p, #details ul {width: 100%; margin-bottom:1.5em;}
	#details {border-bottom:1px dashed #ccc; margin-bottom:30px;}
	#featured p {padding-right:0; margin-bottom:.5em;}
	.feature-caption{position:static; margin:0 auto; margin-bottom:20px; clear:both; }
	.feature-caption  a {color:#999;}
	#recent-post {border-top:1px dashed #ccc; padding-top:30px;}
	#featured #billsbarn, #featured #edmondscote {margin-bottom:1.5em; border-bottom:1px dashed #ccc; padding-bottom:1.5em;}
	#edmondscote {margin:0;}
	.sbc-calendar-month {float:none; display:inline-block; width:40%;}
	.sbc-legend {float:none; width:80%; margin:0 auto;}
	.site-footer {text-align:center;}
	.site-footer .social {float:none;}
	.site-header .social {display:none;}
	.wpcf7-form {width:80%; margin:0 auto;}

}
@media screen and (max-width:769px){
	.page #masthead {
	position: static;
	width: 100%;
	padding: 15px 0;
	background:#fff; opacity:1;
	z-index:99999;
	margin:15px 0 15px 0;
}
	}
@media screen and (max-width:479px){	
	.sbc-calendar-month {float:none; display:block; width:90%; margin: 0 auto;}
	.page #masthead {margin:7px 0 0 0;}
	.wpcf7-form .wpcf7-text {max-width:100%;}
	
}