/*
Theme Name: Heritage
Theme URI: http://her-itage.co.uk
Author: First4Websites
Author URI: http://www.first4websites.com
Description: Custom theme for Heritage
Version: 1.0.0
Text Domain: quark
*/

/* ==========================================================================
   Default stylings from HTML5 Boilerplate
   ========================================================================== */

/* Apply a natural box layout model to all elements - http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Using rem font sizing (Root em’s) with fallback to px for ie8 and below - http://snook.ca/archives/html_and_css/font-size-with-rem */
body { margin: 0; font-size: 16px; font-size: 1rem; line-height: 1.5; background: #fff; }

::-webkit-selection { background: #5784FE; color: #fff; text-shadow: none; }
::-moz-selection { background: #5784FE; color: #fff; text-shadow: none; }
::selection { background: #5784FE; color: #fff; text-shadow: none; }

a { color: #000; text-decoration: none; }
a:visited { color: #666; }
a:hover { color: #b40101; }

menu { padding: 0; }

td { vertical-align: top; }


/* ==========================================================================
   Basic page styles
   ========================================================================== */

body { 
	margin: 0 auto;
	padding: 0;
	font: 16px/1.5 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	color: #000;
	text-align: left;
}

/* Set the default behavior for touch-based browsing in IE10 on devices running Windows 8 */
canvas {
	-ms-touch-action: double-tap-zoom;
}

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

.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Responsive images */
img {
	border: 0;
	max-width: 100%;
	height: auto;
}

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Header */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', cursive;
	font-style: normal;
	font-weight: 400;
	color: #584d8f;
	margin-top: 0;
}

h1 { 
	margin-bottom: 10px;
	margin-bottom: 0.625rem;
	font-size: 48px;
	font-size: 3rem;
	line-height: 1.25;
}

h2 { 
	margin-bottom: 32px;
	margin-bottom: 2rem;
	font-size: 36px;
	font-size: 2.25rem;
	line-height: 1.1666;
}

h3 { 
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	font-size: 28px;
	font-size: 1.75rem;
	line-height: 1.2857;
}


h4 { 
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.25;
}

h5 { 
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
}

h6 { 
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 14px;
	font-size: .875rem;
	line-height: 1.2142;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin: 1.5rem;
}

ol, ul {
	list-style: none outside none;
}

p, ol, ul, dl, address {
	margin: 0 0 24px 0;
	margin: 0 0 1.5rem 0;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}

dt {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
}

b, strong { 
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
}

em {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
}

strong em, b em {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 700;
}

ins {
	background: none repeat scroll 0 0 #FFF9C0;
	text-decoration: none;
}

a { 
	color: #000;
	outline: none;
}

a:visited { 
	color: #000;
}

a:focus { 
	outline: thin dotted;
	color: #333;
}

a:hover, a:active { 
	outline: 0;
	color: #333;
}

.alignleft {
	display: inline;
	float: left;
	margin: 0 20px 16px 0;
	margin: 0 1.25rem 1rem 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 0 0 16px 20px;
	margin: 0 0 1rem 1.25rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

blockquote {
	border-left: 5px solid #666;
	margin: 0 0 18px 20px;
	margin: 0 0 1.125rem 1.25rem;
	padding: 0 0 0 16px;
	padding: 0 0 0 1rem;
}

blockquote.pull-right {
	border-left: 0 none;
	border-right: 5px solid #FFF;
	margin: 0 20px 18px 0;
	margin: 0 1.25rem 1.125rem 0;
	padding: 0 16px 0 0;
	padding: 0 1rem 0 0;
	float: none;
}

blockquote p {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0;
}

blockquote.pull-right p, blockquote.pull-right small {
	text-align: right;
}

blockquote cite {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.125;
	color: #999;
	display: block;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

code, pre {
	border-radius: 3px;
	color: #555;
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	font-size: 12px;
	font-size: 0.75rem;
	padding: 0 3px 2px;
	padding: 0 0.1875rem 0.125rem;
}

code {
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
}

abbr,
dfn,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 0;
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #777;
	text-align: center;
}

img.wp-smiley, .rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-content dl.gallery-item {
	margin: 0;
}

.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}

.gallery .gallery-icon img {
	height: auto;
}

#primary .entry-content [id^="gallery-"] img {
	border: none;
}

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

.menu-toggle, button, input {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem; 
	line-height: 1.25;
	margin: 0;
	font-size: 100%;
	vertical-align: middle;
}

.menu-toggle, button, input {
	*overflow: visible;
	line-height: normal;
}

.menu-toggle::-moz-focus-inner,
button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="button"] {
	width: auto;
}

.menu-toggle,
a.btn,
input[type="submit"] {
	display: inline-block;
	*display: inline;
	margin-bottom: 0;
	*margin-left: .3em;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: middle;
	cursor: pointer;

	color: #ffffff;
	padding: 8px 16px;
	padding: 0.5rem 1rem;
	
	border-radius: 8px;

	text-shadow: 0 0 2px #433688;
	border: solid 1px #403287;
	background: #7163b5;
	background: -moz-linear-gradient(top,  #7163b5 0%, #463d76 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7163b5), color-stop(100%,#463d76));
	background: -webkit-linear-gradient(top,  #7163b5 0%,#463d76 100%);
	background: -o-linear-gradient(top,  #7163b5 0%,#463d76 100%);
	background: -ms-linear-gradient(top,  #7163b5 0%,#463d76 100%);
	background: linear-gradient(to bottom,  #7163b5 0%,#463d76 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7163b5', endColorstr='#463d76',GradientType=0 );
}

a.btn.green {
	text-shadow: 0 0 2px #43791a;
	border: solid 1px #56993e;
	background: #78c445;
	background: -moz-linear-gradient(top,  #78c445 0%, #4e8522 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#78c445), color-stop(100%,#4e8522));
	background: -webkit-linear-gradient(top,  #78c445 0%,#4e8522 100%);
	background: -o-linear-gradient(top,  #78c445 0%,#4e8522 100%);
	background: -ms-linear-gradient(top,  #78c445 0%,#4e8522 100%);
	background: linear-gradient(to bottom,  #78c445 0%,#4e8522 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78c445', endColorstr='#4e8522',GradientType=0 );
}



a.btn:hover,
a.btn:active,
a.btn:focus,
.btn.active,
.btn[disabled],
.btn.disabled,
.btn:hover,
.btn.active,
.menu-toggle:hover,
.menu-toggle:active,
.menu-toggle:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus
{
	background: #7163b5;
	background: -moz-linear-gradient(top,  #7163b5 0%, #7163b5 45%, #463d76 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7163b5), color-stop(45%,#7163b5), color-stop(100%,#463d76));
	background: -webkit-linear-gradient(top,  #7163b5 0%,#7163b5 45%,#463d76 100%);
	background: -o-linear-gradient(top,  #7163b5 0%,#7163b5 45%,#463d76 100%);
	background: -ms-linear-gradient(top,  #7163b5 0%,#7163b5 45%,#463d76 100%);
	background: linear-gradient(to bottom,  #7163b5 0%,#7163b5 45%,#463d76 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7163b5', endColorstr='#463d76',GradientType=0 );
}

a.btn.green:hover,
a.btn.green:active,
a.btn.green:focus
{
	background: #78c445;
	background: -moz-linear-gradient(top,  #78c445 0%, #78c445 45%, #4e8522 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#78c445), color-stop(45%,#78c445), color-stop(100%,#4e8522));
	background: -webkit-linear-gradient(top,  #78c445 0%,#78c445 45%,#4e8522 100%);
	background: -o-linear-gradient(top,  #78c445 0%,#78c445 45%,#4e8522 100%);
	background: -ms-linear-gradient(top,  #78c445 0%,#78c445 45%,#4e8522 100%);
	background: linear-gradient(to bottom,  #78c445 0%,#78c445 45%,#4e8522 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78c445', endColorstr='#4e8522',GradientType=0 );

}

.btn:first-child {
	*margin-left: 0;
}

.btn.disabled, .btn[disabled] {
	cursor: default;
	background-color: #e6e6e6;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.btn.disabled:active, .btn[disabled]:active {
	top:0;
}

button.btn, input[type="submit"].btn {
	*padding-top: 2px;
	*padding-bottom: 2px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.btn-large,
input[type="submit"].btn-large {
	padding: 10px 15px;
	padding: 0.625rem 0.9375rem;
	font-size: 20px;
	font-size: 1.25rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.btn-small,
input[type="submit"].btn-small {
	padding: 5px 9px;
	padding: 0.3125rem 0.5625rem;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="date"],
textarea {
	font-family: inherit;
	padding: 12px 16px;
	padding: 0.75rem 1rem;
	font-family: inherit;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	-webkit-box-shadow: inset 0px 0px 8px 0px rgba(229,229,229,1);
	-moz-box-shadow: inset 0px 0px 8px 0px rgba(229,229,229,1);
	box-shadow: inset 0px 0px 8px 0px rgba(229,229,229,1);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
	border: 1px solid #b4b4b4;
}

select {
	max-width: 100%;
}

/* Small headers */
.archive-title,
.page-title,
.entry-content th,
.comment-content th {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	text-transform: uppercase;
}


/* ==========================================================================
   Site specific styles
   ========================================================================== */

#wrapper {
	width: 100%;
	position: relative;
	text-align: left;
}

#maincontentcontainer {
	width: 100%;
	padding-top: 0;
}

.site-content {
	clear: both;
	font-size: 16px;
	font-size: 1rem;
	width: 1024px;
	margin: 16px auto;
	margin: 1rem auto;
	padding: 0;
	color: #000;
	line-height: 1.5;
	position: relative;
}

.site-content {
	width: 100%;
}

.home-sidebar {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	padding-bottom: 32px;
	padding-bottom: 2rem;
}

.home.page .site-content {
	padding-bottom: 0;
}

.site-content article.page, .inner-box {
	width: 1024px;
	margin: 0 auto;
}

.home.page .site-content article {
	margin-bottom: 0;
}

/* Social Media icons */
.social-media-icons {
	float: right;
	height: auto;
}

.social-media-icons ul {
	list-style: none;
	margin: .5em 0 0 0;
	padding: 0;
}

.social-media-icons li {
	display: inline-block;
	margin: 0.1em 0 0 0.6em;
	font-size: 0.6rem;
	text-align: left;
}

.social-media-icons a {
	color: #FFF;
	text-decoration: none;
}

.social-media-icons a:visited {
	color: #FFF;
}

.social-media-icons a:hover, .social-media-icons a:active { 
	color: #2997ab;
}


/* ==========================================================================
   Main Content
   ========================================================================== */

.entry-meta {
	clear: both;
}

.comments-link {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	float: right;
}

.entry-header .entry-title a {
	text-decoration: none;
}

.entry-header h1 a, .entry-header h1 a:visited {
	color: #584d8f;
}

.entry-header h1 a:hover {
	color: #6E60B1;
}

article.sticky .featured-post {
	font-family: 'Open Sans', cursive;
	font-style: normal;
	font-weight: 400;
	border-top: 4px double #aaa;
	border-bottom: 4px double #aaa;
	color: #777;
	font-size: 16px;
	font-size: 1rem;
	line-height: 3;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	text-align: center;
}

article.sticky {
	border-bottom: 4px double #aaa;
}

.site-content article {
	margin-bottom: 16px;
	margin-bottom: 1rem;
	-ms-word-wrap: break-word;
	-webkit-hyphens: auto;
	word-wrap: break-word;
}

.header-meta {
	margin-bottom: 10px;
	margin-bottom: 0.625rem;
	padding: 8px 16px;
	padding: 0.5rem 1rem;
	*zoom: 1;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	border: #222 solid 1px;

}

.header-meta:before,
.header-meta:after {
	content: "";
	display: table;
}

.header-meta:after { clear: both; }

.header-meta a {
	text-decoration:none;
}

.entry-content {
	*zoom: 1;
}

.entry-content:before,
.entry-content:after {
	content: "";
	display: table;
}

.entry-content:after { clear: both; }

.post-categories a,
.post-tags a {
	font-size: 14px;
	font-size: 0.875rem;
	background-color: #FFF;
	color: #fff;
	padding: 0 5px;
	padding: 0 0.3125rem;
	margin: 0 3px 0 0;
	margin: 0 0.1875rem 0 0;
	display: inline;
	text-decoration: none;
}

.post-categories a:visited,
.post-tags a:visited {
	color: #fff;
}

.post-categories a:hover,
.post-tags a:hover {
	background-color: #2997ab;
	color: #fff;
}

.entry-header address,
.comment-content address {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	display: block;
}

.entry-header address {
	display: inline;
}

.entry-header time,
.entry-header address {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	margin: 0 20px 0 0;
	margin: 0 1.25rem 0 0;
}

.page-links {
	clear: both;
	line-height: 1.75;
	color: #FFF;
}

.page-links .page-numbers {
	background-color: #FFF;
	border: 1px solid #FFF;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
	color: #fff;
}

.page-links a {
	text-decoration: none;
}

.page-links a .page-numbers {
	background-color: transparent;
	color: #FFF;
}

.page-links a:hover .page-numbers {
	background-color: #2997ab;
	color: #fff;
}

.more-link {
	text-decoration: none;
}

.post-edit-link {
	text-decoration: none;
}

.entry-content dl,
.comment-content dl {
	margin: 0 24px;
	margin: 0 1.5rem;
}

.entry-content dt,
.comment-content dt {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
}

.entry-content dd,
.comment-content dd {
	line-height: 1.5;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.entry-content table,
.comment-content table {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	width: 100%;
}

.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
}

.entry-content td,
.comment-content td {
	padding: 6px 10px 6px 0;
	padding: 0.375rem 0.625rem 0.375rem 0;
}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	line-height: 1.5;
	padding: 0;
}

.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}

.entry-content ul,
.comment-content ul {
	list-style: none;
}

.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}

.entry-content li,
.comment-content li {
	margin: 0 0 0 16px;
	margin: 0 0 0 1rem;
}

.entry-content ul li:before {
	content: "\f058";
	font-family: 'FontAwesome';
	padding-right: 16px;
	padding-right: 1rem;
	color: #6cb23b;
	margin-left: -32px;
}

.entry-content ul li {
	margin-left: 16px;
}

.entry-content ul {
	margin-left: 32px;
}

.entry-content ol {
	margin-left: 16px;
}

.timely li:before {
	content: none;
}

/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.author-info {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 24px 0;
	margin: 1.5rem 0;
	padding: 24px 0;
	padding: 1.5rem 0;
	overflow: hidden;
	*zoom: 1;
}

.author-info:before,
.author-info:after {
	content: "";
	display: table;
}

.author-info:after { clear: both; }

.author-description h2 {
	font-size: 24px;
	font-size: 1.5rem;
}

.author-description p {
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	margin-bottom: 8px;
	margin-bottom: 0.5rem;
}

.author-link {
	font-size: 14px;
	font-size: 0.875rem;
}

.author-link a {
	color: #777;
	text-decoration: none;
}

.author-link a:visited { 
	color: #666;
}

.author-link a:focus,
.author-link a:hover,
.author-link a:active { 
	outline: 0;
	color: #2997ab;
}

.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3rem;
}

.author.archive .author-avatar {
	margin-top: 0;
}

.author.archive .author-link {
	display: none;
}

.author-avatar {
	float: left;
	margin-top: 8px;
	margin-top: 0.5rem;
}

.author-description {
	float: right;
	width: 80%;
}

.social-meta a {
	text-decoration: none;
	margin-right: 5px;
	margin-right: 0.3125rem;
}


/* ==========================================================================
   Post Formats
   ========================================================================== */

.entry-media {
	margin: 0 auto 16px;
	margin: 0 auto 1rem;
	max-width: 792px;
	width: 100%;
}

.entry-media .wp-caption,
.entry-media .wp-caption-text,
.entry-media [class*="align"] {
	margin: 0 auto;
}

/* Aside */
.format-aside .entry-content {
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
}

.format-aside .entry-content p:last-child {
	margin-bottom: 0;
}

/* Status */
.format-status .entry-content {
	border-left: 5px solid #ddd;
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
	padding: 0 0 0 15px;
	padding: 0 0 0 0.9375rem;
}

.format-status .entry-content p {
	font-size: 20px;
	font-size: 1.25rem;
	font-style: italic;
}

.format-status .entry-content p:last-child {
	margin-bottom: 0;
}

/* Quote */
.format-quote .entry-content blockquote:before {
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
	speak: none;
	vertical-align: top;
	font-size: 40px;
	font-size: 2.5rem;
	content: "\f10d";
	color: #ddd;
	top: -15px;
	left: 0;
	position: absolute;
	z-index: -1;
}

.format-quote .entry-content {
	margin-top: 24px;
	margin-top: 1.5rem;
	position: relative;
}

.format-quote .entry-content blockquote {
	border: none;
	margin-left: 40px;
	margin-left: 2.5rem;
}

/* Audio */
.format-audio .wp-audio-shortcode {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}


/* ==========================================================================
   Archives
   ========================================================================== */

.archive-header,
.page-header {
	margin-bottom: 32px;
	margin-bottom: 2rem;
	border-bottom: 1px solid #CCCCCC;
}

.archive-meta {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin-top: 16px;
	margin-top: 1rem;
}


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

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3rem;
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.5;
	font-weight: normal;
}

.comments-area article {
	padding-bottom: 16px;
	padding-bottom: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
	border-bottom: 1px solid #ccc;
}

.comments-area article header {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	overflow: hidden;
	position: relative;
}

.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}

.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 84px;
	margin-left: 5.25rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

.comments-area article header time {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
	font-size: 14px;
	font-size: 0.875rem;
	color: #5e5e5e;
}

.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}

.comments-area article header a:hover {
	color: #21759b;
}

.comments-area article header cite a {
	color: #444;
}

.comments-area article header cite a:hover {
	text-decoration: underline;
}

.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 14px;
	padding: 0.5rem 0.875rem;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}

.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 6px;
	margin-left: 0.375rem;
	padding: 2px 6px;
	padding: 0.125rem 0.375rem;
	font-size: 12px;
	font-size: 0.75rem;
}

a.comment-reply-link {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.8;
	color: #686868;
	text-decoration: none;
}

a.comment-reply-link:hover {
	color: #21759b;
}

.commentlist .pingback {
	line-height: 1.8;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	padding-bottom: 0;
}

.commentlist .children {
	margin-left: 48px;
	margin-left: 3rem;
}

.commentlist {
	padding-left: 0;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3rem;
}

#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 12px;
	margin-left: 0.75rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.75rem;
}

#respond form {
	margin: 24px 0 32px 0;
	margin: 1.5rem 0 2rem 0;
}

#respond form p {
	margin: 12px 0;
	margin: 0.75rem 0;
}

#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

#respond form label {
	display: block;
	line-height: 1.8;
}

#respond form input[type="text"],
#respond form textarea {
	font-family: inherit;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8;
	padding: 8px;
	padding: 0.5rem;
	width: 100%;
}

#respond form input[type="text"] {
	width:48%;
}

#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #5e5e5e;
}

#respond form p.form-allowed-tags code {
	background: none;
	border: none;
	color: #5e5e5e;
}

label .required,
span.required {
	color: #bb0504;
}

form label.error {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	display:block;
	padding: 0 10px 0 10px;
	padding: 0 0.625rem 0 0.625rem;
	margin: 5px 0 5px 0;
	margin: 0.3125rem 0 0.3125rem 0;
	font-size: 14px;
	font-size: 0.875rem;
	border-left: 4px solid #bb0504;
	display: none;
}

#respond form label.error {
	line-height: 1.3;
}

/* ==========================================================================
   Common
   ========================================================================== */

.flexslider, .flexslider ul, .flexslider ul li {
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

.entry-header img.attachment-post_feature_full_width,
.entry-content img.size-medium,
.entry-content img.size-full,
.entry-content img.size-photo_third
{
	border: solid 4px #fae47c;
}

.sidebyside {
	text-align: center;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}
.sidebyside-inner img {
	margin: 0 4px;
	margin: 0 0.25rem;
}
.sidebyside-inner {
	display: inline-block;
}
.sidebyside .wp-caption {
	display: inline-block;
}

p > a, p > a:visited {
	color: #64599d;
	text-decoration: underline;
}
p > a:hover, p > a:focus, p > a:active {
	color: #a3a9cd;
}

.infobox {
	padding: 16px;
	padding: 1rem;
	background: #FFF9B2;
	border: solid 1px #E0D876;
	border-radius: 6px;
}
.infobox .pdf-btn {
	float: right;
}

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

#headercontainer {
	width: 100%;
	padding: 0;
}

.site-header {
	clear: both;
	width: 1024px;
	font-size: 16px;
	font-size: 1rem;
	margin: 32px auto 32px auto;
	margin: 2rem auto 2rem auto;
	padding: 0;
	position: relative;
	color: #000;
	font-style: italic;
}

.site-title h1 {
	margin: 0;
}

.site-title a, .site-title img {
	display: block;
}

#site-slogan p {
	color: #666666;
	text-align: right;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 112px;
	padding: 0;
	margin: 0;
}

.full-header {
	border-top: solid 1px #d0d0d0;
	border-bottom: solid 1px #d0d0d0;
	padding: 48px 0;
	padding: 3rem 0;
	margin-bottom: 48px;
	margin-bottom: 3rem;
	background: #f0f0f0;
	position: relative;
}

.full-header-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;

	background: rgba(255,255,255,0.8);
	background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.8) 70%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(30%,rgba(255,255,255,0.8)), color-stop(70%,rgba(255,255,255,0.8)), color-stop(100%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 70%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 70%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 70%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 70%,rgba(255,255,255,1) 100%);
}

.entry-title, .full-header-text {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

.full-header .subheading {
	color: #8a80bb;
	font-size: 24px;
	font-size: 1.5rem;
}

/* ==========================================================================
   Main Navigation / Menu
   ========================================================================== */
/* generic inline menu - no colours or anything please */
.navigation {
	text-align: center;
}
.navigation ul,
.navigation ul li,
.navigation ul li a {
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 0;
	font-size: 0; /* removes whitespace between elements with inline-block */
}
.navigation ul > li {
	position: relative;
}
.navigation .sub-menu {
	position: absolute;
	display: none;
}
.navigation ul > li:hover .sub-menu {
	display: block;
}
.navigation .sub-menu li, .navigation .sub-menu li a {
	white-space: nowrap;
}
/* style for the header menu */
#site-navigation {
	background: #64599d;
	background: -moz-linear-gradient(top,  #64599d 0%, #554a8c 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#64599d), color-stop(100%,#554a8c));
	background: -webkit-linear-gradient(top,  #64599d 0%,#554a8c 100%);
	background: -o-linear-gradient(top,  #64599d 0%,#554a8c 100%);
	background: -ms-linear-gradient(top,  #64599d 0%,#554a8c 100%);
	background: linear-gradient(to bottom,  #64599d 0%,#554a8c 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64599d', endColorstr='#554a8c',GradientType=0 );
	margin: 0;
}
#site-navigation ul {
	min-width: 100%;
}
#site-navigation li {
	padding: 8px 4px;
	padding: 0.5rem 0.25rem;
}
#site-navigation li a {
	padding: 4px 12px;
	padding: 0.25rem 0.75rem;
	font-size: 16px;
	font-size: 1rem;
	color: #ffffff;
	border-radius: 12px;
	-webkit-transition: background 0.4s ease-in-out;
	-moz-transition: background 0.4s ease-in-out;
	-ms-transition: background 0.4s ease-in-out;
	-o-transition: background 0.4s ease-in-out;
	transition: background 0.4s ease-in-out;
}

#site-navigation li:hover > a {
	color: #ffffff;
}

#site-navigation li.current-menu-item a, 
#site-navigation li:hover a, 
#site-navigation li.current-menu-ancestor a,
.single-post #site-navigation li.current_page_parent a {
	background: #8786b7;
}
#site-navigation li.current-menu-item a, #site-navigation li.current-menu-ancestor a, #site-navigation li.current-menu-item a:visited {
	color: #ffffff;
}
#site-navigation li.current-menu-item a:hover, #site-navigation li.current-menu-item  a:active, #site-navigation li.current-menu-item  a:focus {
	color: #ffffff;
	text-decoration: none;
}







#site-navigation .sub-menu {
	z-index: 100;
}
#site-navigation .sub-menu li {
	background: #000;
}
#site-navigation .sub-menu li, #site-navigation .sub-menu li a {
	display: block;
	text-align: left;
}

#site-navigation ul.sub-menu {
	border-right: 1px solid #64599d;
	border-left: 1px solid #64599d;
	border-bottom: 1px solid #64599d;
	background: #fff;
}

#site-navigation .sub-menu li a {
	padding: 8px 16px;
	padding: 0.5rem 1rem;
}

#site-navigation .sub-menu li:hover a { 
	background: #64599d; 
}


/* ==========================================================================
   Home: Slider
   ========================================================================== */

#slidercontainer {
	width: 100%;
	margin: 0 auto 16px auto;
	margin: 0 auto 1rem auto;
	max-width: 1024px;
}
#slidercontainer .flexslider {
	border: 0;
	border-radius: 0;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
	box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
}

#slidercontainer .slide img {
	border-radius: 8px;
}

#slidercontainer .flexslider .slide-data {
	padding: 0;
	background: rgba(255,255,255,0.7);
	border-radius: 4px;
	right:auto;
}
#slidercontainer .flexslider .slide-data h2 {
	padding: 8px;
	padding: 0.5rem;
	text-align: center;
	color: #333333;
	font-size: 16px;
	font-size: 1rem;
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Carousel */

#carousel-container {
	width: 1024px;
	margin: 0 auto 16px auto;
	margin: 0 auto 1rem auto;
}

.carousel {
	margin: 0 -15px;
	position: relative;
}

.carousel .slick-next,
.carousel .slick-prev {
	position: absolute;
	top: 50%;
	margin-top: -20px;
	background: transparent;
	font-size: 0;
	line-height: 0;
	border: 0;
	color: transparent;
	padding: 8px;
	z-index: 10;
}

.carousel .slick-next:focus,
.carousel .slick-next:active,
.carousel .slick-prev:focus,
.carousel .slick-prev:active {
	outline: none;
}

.carousel .slick-prev {
	left: 15px;
}
.carousel .slick-next {
	right: 15px;
}

.carousel .slick-next:before,
.carousel .slick-prev:before {
	font-family: 'FontAwesome';
	font-size: 24px;
	line-height: 1;
	width: 1em;
	color: #666;
	display: inline-block;
	opacity: 0.8;
}

.carousel .slick-prev:before {
	content: '\f137';
}
.carousel .slick-next:before {
	content: '\f138';
}

.carousel .slide {
	position: relative;
	float: left;
	padding: 15px;
}

.carousel .slide .image {
	position: relative;
}

.carousel .slide .image img {
	border-radius: 8px;
	-webkit-box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
	box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
}
.carousel .slide .image .caption {
	background: rgba(255,255,255,0.7);
	border-radius: 4px;
	position: absolute;
	left: 15px;
	bottom: 15px;
	padding: 8px;
	padding: 0.5rem;
	text-align: center;
	color: #333333;
	font-size: 16px;
	font-size: 1rem;
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Home: Testimonials
   ========================================================================== */
#testimonials {
	width: 1024px;
	margin: 0 auto;	
}
#testimonials .testimonial_rotator_wrap {
	margin: 0;
	padding: 0;
}
#testimonials .slide {
	right: 0;
}
#testimonials .testimonial_rotator_quote {
	text-align: center;
	font-size: 30px;
	font-size: 1.875rem;
	color: #666666;
	position: relative;
	width: 100%;
	display: block;
	border: 0;
	line-height: 1;
	font-style: italic;
}
#testimonials .testimonial_rotator_author_info {
	text-align: center;
	font-size: 24px;
	font-size: 1.5rem;
	color: #999;
	border-left: none;
}

#testimonials .testimonial_rotator_quote:before {
	content: '\f10d';
	margin: 0 16px 0 0;
	margin: 0 1rem 0 0;
}
	
#testimonials .testimonial_rotator_quote:after {
	content: '\f10e';
	margin: 0 0 0 16px;
	margin: 0 0 0 1rem;
}

#testimonials .testimonial_rotator_quote:before,
#testimonials .testimonial_rotator_quote:after {
	font-family: 'FontAwesome';
	color: #c9c9c9;
	font-size: 36px;
}


/* ==========================================================================
   Home: Sister Site;
   ========================================================================== */
#womensworkshop {
	position: relative;
	margin: 16px 0 -16px 0;
	padding: 64px 0;
	border-top: solid 1px #8d95c5;
	background: #a3a9cd;
	background-image: url('/wp-content/themes/heritage/images/bg-womensworkshop.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

#womensworkshop:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.3);
}

#womensworkshop > .row {
	position: relative;
	z-index: 10;
	width: 1024px;
	margin: 0 auto;
	display: table;
}

#womensworkshop > .row > .col {
	display: table-cell;
	float: none;
	margin: 0;
	padding: 0 15px;
	vertical-align: middle;
}

#womensworkshop > .row > .col.grid_3_of_12 {
	width: 25%;
}
#womensworkshop > .row > .col.grid_6_of_12 {
	width: 50%;
}
#womensworkshop > .row > .col.grid_4_of_12 {
	width: 33.333333333333333333333333333333%;
}
#womensworkshop > .row > .col.grid_8_of_12 {
	width: 66.666666666666666666666666666666%;
}

#womensworkshop .col-logo .logo-holder {
	position: relative;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	width: 180px;
	height: 180px;
	padding: 15px;
}

#womensworkshop .col-logo .logo-holder img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#womensworkshop .col-text p {
	margin-bottom: 11px;
	color: #fff;
}

#womensworkshop .col-text p:last-child {
	margin-bottom: 0;
}

#womensworkshop .col-link {
	text-align: center;
}

/* ==========================================================================
   Home: Quick Links;
   ========================================================================== */
#quick-links {
	width: 1024px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 32px;
	margin-bottom: 2rem;
	padding: 16px;
	padding: 1rem;
}

#quick-links h3 {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: bold;
	padding: 0 16px 8px 16px;
	padding: 0 1rem 0.5rem 1rem;
}

#quick-links .icon {
	/*background: url('images/icon-bg.png');*/
	background: #a3a9cd;
	border: solid 3px #8d95c5;
	display: inline-block;
	margin: 0 auto 16px auto;
}
#quick-links .icon img {
	display: block;
}


#quick-links a.btn {
	font-size: 20px;
	font-size: 1.25rem;
	padding: 4px 16px;
	padding: 0.25rem 1rem;
	margin: 0 48px;
	margin: 0 3rem;
}

/* ==========================================================================
   Home: Slogan;
   ========================================================================== */
#mid-slogan {
	width: 1024px;
	margin: 0 auto;
}
#mid-slogan p {
	font-size: 30px;
	font-size: 1.8751rem;
	text-align: center;
	color: #666666;
	border-bottom: solid 1px #ced0db;
	margin: 0 16px 32px 16px;
	margin: 0 1rem 2rem 1rem;
	padding-bottom: 16px;
}


/* ==========================================================================
   Map: Text;
   ========================================================================== */
#map-text {
	width: 1024px;
	margin: 0 auto;
	margin-bottom: 16px;
	margin-bottom: 1rem;
	position: relative;
}

/* ==========================================================================
   Home: Directory;
   ========================================================================== */

#directory-map {
	width: 1024px;
	margin: 0 auto;
	margin-bottom: 48px;
	margin-bottom: 3rem;
	position: relative;
}

#directory-map .sabai-googlemaps-map {
	border-radius: 8px;
	-webkit-box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
	box-shadow: 0 0 2px 2px rgba(100,100,100,0.4);
}

#directory-links {
	width: 1024px;
	margin: 0 auto;
	margin-bottom: 48px;
	margin-bottom: 3rem;
}

#directory-links .col {
	text-align: center;
}

#directory-links p {
	margin: 0 16px 16px 0;
	margin: 0 1rem 1rem 0;
}

#directory-links h3 {
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: bold;
}

#directory-links .outside h3 {
	color: #2f294d;
}
#directory-links .local h3 {
	color: #538c26;
}

#directory-links a.btn {
	font-size: 20px;
	font-size: 1.25rem;
	padding: 8px 32px;
	padding: 0.5rem 2rem;
	margin: 8px 48px 0 48px;
	margin: 0.5rem 3rem 0 3rem;
}

#directory-map-key {
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 2000;
	background: transparent;
	background: rgba(255, 255, 255, 0.3);
	padding: 16px;
	padding: 1rem;
	border-radius: 8px;
}
#directory-map-key ul, #directory-map-key li {
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-size: 0.875rem;
}
#directory-map-key li:before {
	content: '\f111';
	font-family: 'FontAwesome';
	padding-right: 8px;
}
#directory-map-key li.accommodation:before { color: #efcf1d; }
#directory-map-key li.business-services:before { color: #55bb08; }
#directory-map-key li.creative:before { color: #e72d2d; }
#directory-map-key li.charity:before { color: #cfff11; }
#directory-map-key li.fashion:before { color: #2380e9; }
#directory-map-key li.gifts:before { color: #ff8411; }
#directory-map-key li.health-well-being:before { color: #dd0bba; }
#directory-map-key li.outdoor-leisure:before { color: #2cdded; }
/* ==========================================================================
   Directory
   ========================================================================== */

ul.sabai-comment-comments .sabai-comment-meta li:first-child:before, 
ul.sabai-comment-comments-actions li:first-child:before,
.entry-content .sabai ul > li:before {
	margin: 0;
	padding: 0;
}

.sabai-directory-search input {
	padding-top: 0;
	padding-bottom: 0;
}

i.sabai-directory-listing-claimed, .sabai-content-label.sabai-directory-listing-claimed {
	display: none;
}
.sabai-entity-bundle-name-directory_listing div.entry-help {
	display: none;
}

/* ==========================================================================
   Plan Your Visit
   ========================================================================== */

.wpcf7 .space-bottom {
	margin-bottom: 1rem;
}

.wpcf7 h4 {
	color: #64599d;
}

.wpcf7 label {
	color: #6cb23b;
}

.wpcf7 span.wpcf7-form-control-wrap {
	width: 100%;
	padding-right: 3%;
	display: block;
}

.wpcf7 span.wpcf7-list-item {
	float: left;
	min-width: 30%;
}

.wpcf7 span.wpcf7-list-item label {
	white-space: nowrap;
}

.wpcf7 span.wpcf7-list-item-label {
	margin-right: 1em;
}

.wpcf7 input {
	width: 100%;
}
.wpcf7 input[type='submit'], 
.wpcf7 input[type='checkbox'],
.wpcf7 input[type='radio'] {
	width: auto;
}

.fields-2col p {
	float: left;
	width: 50%;
}
.fields-3col p {
	float: left;
	width: 33%;
}

.wpcf7 textarea {
	width: 100%;
}

.wpcf7 h4 a {
	color: #64599d;
}

a.pdf-btn {
	border: solid 1px #6cb23b;
	padding: 8px 16px 8px 16px;
	padding: 0.5rem 1rem 0.5rem 1rem;
	border-radius: 4px;
	color: #000000;
	background: #ffffff;
}

a.pdf-btn:before {
	content: '\f1c1';
	color: #584d8f;
	font-family: 'FontAwesome';
	padding-right: 0.5em;
}

/* ==========================================================================
   News
   ========================================================================== */

article.post .entry-title {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.meta-date {
	text-align: right;
	color: #999;
	font-size: 12px;
	font-size: 0.75rem;
}

#secondary {
	padding: 16px 0 16px 16px;
	padding: 1rem 0 1rem 1rem;
}

#secondary .widget ul li {
	border-bottom: solid 1px #ccc;
}

#secondary .widget ul li a {
	padding: 16px ;
	padding: 1rem;
	display: block;
}

#secondary .widget-title {
	font-size: 20px;
	font-size: 1.25rem;
	border-bottom: solid 2px #ccc;
	padding: 16px 0;
	padding: 1rem 0;
	margin: 0;
	position: relative;
}

#secondary .widget .widget-title:after {
	content: '\f00b';
	position: absolute;
	right: 0;
	color: #6cb23b;
	font-family: 'FontAwesome';
	right: 8px;
	right: 0.5rem;
}


#secondary .widget_recent_entries .widget-title:after {
	content: '\f00b';
}

#secondary .widget_nav_menu .widget-title:after {
	content: '\f14c';
}


#secondary .widget li:hover {
	background: #f0f0f0;
}

/* ==========================================================================
   News
   ========================================================================== */
.type-post h1.entry-title {
	font-size: 32px;
	font-size: 2rem;
}

/* ==========================================================================
   Programme
   ========================================================================== */
#tribe-events ul li:before {
	content: '';
	padding: 0;
	margin: 0;
}

.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"], .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a, #tribe_events_filters_wrapper input[type="submit"], .tribe-events-button, #tribe-events .tribe-events-button, .tribe-events-button.tribe-inactive, #tribe-events .tribe-events-button:hover, .tribe-events-button:hover, .tribe-events-button.tribe-active:hover {
	background-color: #584D8F;
}

#tribe-events-content .tribe-events-tooltip h4, #tribe_events_filters_wrapper .tribe_events_slider_val, .single-tribe_events a.tribe-events-ical, .single-tribe_events a.tribe-events-gcal {
	color: #584D8F;
}

/* ==========================================================================
   Contact
   ========================================================================== */
div.captcha .the-captcha, div.captcha img {
	float: left;
}
div.captcha img {
	padding-top: 8px;
	padding-top: 0.5rem;
}
div.captcha input {
	width: 8em;
}

.mapp-map-links {
	display: none;
}

div.mapp-layout {
	border: solid 1px #cccccc;
}

/* ==========================================================================
   Upper Footer
   ========================================================================== */
#upperfootercontainer {
	width: 100%;
	background-color: #e7e7e7;
	border-top: solid 1px #cecece;
}

#upperfootercontainer div.row {
	margin: 0 auto;
	width: 1024px;
}
#upperfootercontainer .row .col {
	padding: 16px;
	padding: 1rem;
}
#upperfootercontainer .widget-title {
	font-size: 20px;
	font-size: 1.25rem;
	border-bottom: solid 2px #ffffff;
	padding: 16px 0;
	padding: 1rem 0;
	margin: 0;
	position: relative;
}
#upperfootercontainer .widget-title:after {
	position: absolute;
	right: 0;
	color: #6cb23b;
	font-family: 'FontAwesome';
	right: 8px;
	right: 0.5rem;
}
#footer-mailing .widget-title:after {
	content: '\f0e0';
}
#footer-news .widget-title:after {
	content: '\f00b';
}
#footer-tweets .widget-title:after {
	content: '\f099';
}

#footer-news .widget_recent_entries ul {
	padding: 0;
	margin: 0;
}

#footer-news .widget_recent_entries li {
	border-bottom: solid 1px #ffffff;
}

#footer-news .widget_recent_entries li:hover {
	background: #e0e0e0;
}

#footer-news .widget_recent_entries li a {
	font-size: 14px;
	font-size: 0.875rem;
	display: block;
	padding: 16px;
	padding: 1rem;
}

#footer-tweets ul {
	padding: 0;
	margin: 16px 0 0 0;
	margin: 1rem 0 0 0;
}

#footer-tweets ul li {
	padding: 8px 0 8px 0;
	font-size: 14px;
	font-size: 0.875rem;
	margin-left: 73px;
}

#footer-tweets ul li img {
	margin-left: -70px;
}

.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
/* ==========================================================================
   Footer
   ========================================================================== */

#footercontainer {
	width: 100%;	
	padding: 0.25rem 0 0.25rem 0;
	padding: 4px 0 4px 0;
	background: #c3c3c3;
	color: #000;
	line-height: 1;
}

.site-footer {
	clear: both;
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

#footer-navigation {
	margin: 0;
}
#footer-navigation ul {
	width: 100%;
}
#footer-navigation li a {
	padding: 0 8px;
	padding: 0 0.5rem;
	font-size: 14px;
	font-size: 0.875rem;
}
#footer-navigation li {
	border-right: solid 1px #fff;
}
#footer-navigation li:last-child {
	border: 0;
}

#footercontainer p.attrib  {
	margin: 0;
	line-height: 1;
}

#footercontainer p.attrib a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
	font-size: 0.875rem;
}

#footercontainer p.attrib a span {
	color: #188BCC;
}

#footercontainer .row .col {
	padding-top: 12px;
	padding-top: 0.75rem;
}

#footercontainer #footer-social {
	padding-top: 0;
	overflow: hidden;
}

#footer-social {
	text-align: right;
}

#footer-social a, #footer-social a:visited {
	color: #666666;
	font-size: 40px;
	font-size: 2.5rem;
	line-height: 1;
}

#footer-social a:active, #footer-social a:focus, #footer-social a:hover {
		color: #333333;
}

#sb_instagram {
	padding: 0 0 25% 0 !important;
	height: 0;
	position: relative;
	overflow: hidden;
}

#sb_instagram #sbi_images {
	padding: 0 !important;
	float: none;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	transition: opacity 0.4s ease;
}

#sb_instagram #sbi_images.slick-initialized {
	opacity: 1;
}

#sb_instagram #sbi_images .sbi_item {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
}

#sbi_images .slick-next,
#sbi_images .slick-prev {
	position: absolute;
	top: 50%;
	margin-top: -20px;
	background: transparent;
	font-size: 0;
	line-height: 0;
	border: 0;
	color: transparent;
	padding: 8px;
	z-index: 10;
}

#sbi_images .slick-next:focus,
#sbi_images .slick-next:active,
#sbi_images .slick-prev:focus,
#sbi_images .slick-prev:active {
	outline: none;
}

#sbi_images .slick-prev {
	left: 15px;
}
#sbi_images .slick-next {
	right: 15px;
}

#sbi_images .slick-next:before,
#sbi_images .slick-prev:before {
	font-family: 'FontAwesome';
	font-size: 24px;
	line-height: 1;
	width: 1em;
	color: #666;
	display: inline-block;
	opacity: 0.8;
}

#sbi_images .slick-prev:before {
	content: '\f137';
}
#sbi_images .slick-next:before {
	content: '\f138';
}

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

.widget-area ul {
	list-style: none outside none;
	padding-left: 0;
}

.widget-area .widget {
	overflow: hidden;
	-moz-hyphens: auto;
	-ms-word-break: break-all;
	-webkit-hyphens: auto;
	hyphens: auto;
	word-wrap:break-word;
	word-break: break-word;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.widget select {
	margin-left: 1px;
	margin-left: 0.0625rem;
}

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.75rem;
}

.widget_rss li {
	margin: 12px 0;
	margin: 0.75rem;
}

.widget_recent_entries .post-date,
.widget_rss .rss-date {
	font-size: 12px;
	font-size: 0.75rem;
	margin-left: 12px;
	margin-left: 0.75rem;
}

#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
}

#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: center;
}

#wp-calendar thead {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar caption {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

#wp-calendar #today {
	background-color: #ddd;
}

#wp-calendar tfoot {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.5rem;
	text-align: right;
}

.widget_search label {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.widget_twitter li {
	list-style-type: none;
}

.widget_twitter .timesince {
	display: block;
	text-align: right;
}


/* ==========================================================================
   Content Navigation
   ========================================================================== */

.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}

#nav-above {
	padding: 24px;
	padding: 1.5rem;
}

#nav-above {
	display: none;
}

.paged #nav-above {
	display: block;
}

.nav-previous,
.previous-image {
	float: left;
	width: 50%;
	line-height: 1.3;
}

.nav-previous a,
.nav-next a {
	text-decoration: none;
}

.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
	line-height: 1.3;
}

.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 48px 48px 0;
	margin: 3rem 3rem 3rem 0;
}

ul.page-numbers {
	padding: 0;
	margin: 0;
	text-align: center;
	line-height: 2;
}

li a.page-numbers,
li span.page-numbers {
	padding: 5px;
	padding: 0.3125rem;
	text-decoration: none;
}

li a:visited.page-numbers {
	color: #FFF;
}

li a:hover.page-numbers {
	color: #584D8F;
}

li a:hover.prev,
li a:hover.next {
	background-color: transparent;
	color: #584D8F;
}

.page-numbers li {
	display: inline;
}

li span.current {
	background-color: transparent;
	color: #584D8F;
}

li a.prev,
li a.next,
li span.dots {
	border: none;
}


/* ==========================================================================
   Non-semantic helper classes from HTML5 Boilerplate
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


/* ==========================================================================
   Print styles from HTML5 Boilerplate
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  /*a[href]:after { content: " (" attr(href) ")"; }*/
  /*abbr[title]:after { content: " (" attr(title) ")"; }*/
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }

  .full-header {
  	padding: 0;
  }
  #footercontainer,
  #upperfootercontainer,
  #site-navigation,
  .nop,
  .pdf-btn {
  	display: none;
  }
}
