/*!
Theme Name: Worshipful Company of Woolmen Theme
Theme URI: http://underscores.me/
Author: Pooka&co Ltd
Author URI: https://www.pooka.co
Description: A responsive theme for the Worshipful Company of Woolmen, created in 2018 by the Pooka.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: woolmen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Worshipful Company of Woolmen is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# Normalize
# Typography
# Elements
# Gutenberg
# Forms
# Header
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Member Dashboard
# Footer
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,600,600i,700|Open+Sans:400,400i,600,600i');
/* Fontello */
@font-face {
  font-family: 'woolmen_icons';
  src: url('fonts/woolmen_icons.eot?23439655');
  src: url('fonts/woolmen_icons.eot?23439655#iefix') format('embedded-opentype'),
       url('fonts/woolmen_icons.woff2?23439655') format('woff2'),
       url('fonts/woolmen_icons.woff?23439655') format('woff'),
       url('fonts/woolmen_icons.ttf?23439655') format('truetype'),
       url('fonts/woolmen_icons.svg?23439655#woolmen_icons') format('svg');
  font-weight: normal;
  font-style: normal;
}
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "woolmen_icons";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* increased icons size */
  font-size: 120%;
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
.icon-star-empty:before { content: '\e800'; } /* '' */
.icon-user:before { content: '\e801'; } /* '' */
.icon-camera:before { content: '\e802'; } /* '' */
.icon-globe:before { content: '\e803'; } /* '' */
.icon-comment:before { content: '\e804'; } /* '' */
.icon-tags:before { content: '\e805'; } /* '' */
.icon-tag:before { content: '\e806'; } /* '' */
.icon-location:before { content: '\e807'; } /* '' */
.icon-calendar:before { content: '\e808'; } /* '' */
.icon-clock:before { content: '\e809'; } /* '' */
.icon-heart-empty:before { content: '\e80b'; } /* '' */
.icon-search:before { content: '\e80d'; } /* '' */
.icon-heart:before { content: '\e80e'; } /* '' */
.icon-star:before { content: '\e80f'; } /* '' */
.icon-plus:before { content: '\e810'; } /* '' */
.icon-minus:before { content: '\e811'; } /* '' */
.icon-cog:before { content: '\e815'; } /* '' */
.icon-phone:before { content: '\e816'; } /* '' */
.icon-link-ext:before { content: '\f08e'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-rss:before { content: '\f09e'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-chat-empty:before { content: '\f0e6'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-quote-left:before { content: '\f10d'; } /* '' */
.icon-quote-right:before { content: '\f10e'; } /* '' */
.icon-help:before { content: '\f128'; } /* '' */
.icon-info:before { content: '\f129'; } /* '' */
.icon-attention-alt:before { content: '\f12a'; } /* '' */
.icon-pound:before { content: '\f154'; } /* '' */
.icon-thumbs-up-alt:before { content: '\f164'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-newspaper:before { content: '\f1ea'; } /* '' */

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	overflow-x: hidden;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	overflow-x: hidden;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2.4em;
	margin: 0.67em 0;
}
h1,h2,h3,h4,h5,h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #222;
	line-height: 1.25;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.4em;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

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

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	font-family: 'Open Sans', sans-serif;
	color: #777777;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	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;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.pad-y {
	padding-top: 3em;
	padding-bottom: 3em;
}

/* Bootstrap */
@media (min-width: 1480px) {
	.container {
		max-width: 1300px;
	}
}

@media (min-width: 1200px){
	.row {
		margin-left: -20px;
		margin-right: -20px;
	}
    .row > .col,
    .row > [class*="col-"] {
      padding-right: 20px;
      padding-left: 20px;
    }
}

/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/

/* Images */
.wp-block-image .aligncenter {
	margin: 0 auto !important
}
.wp-block-image {
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn,
.wp-block-button a.wp-block-button__link,
#crm-container a.button.crm-register-button {
	border: 2px solid #7e000c;
	border-radius: 3px;
	background: #7e000c;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1;
	padding: .75em 1em;
	transition: all ease .5s;
	text-shadow: none;
}
.wp-block-button a.wp-block-button__link {
	font-size: 1em;
}
.btn.read-more {
	font-size: .8em;
}
.btn.gold {
	background: #c0ad8d;
}
.btn.large {
	font-size: 1.2em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.btn:hover,
.wp-block-button a.wp-block-button__link:hover,
button:active, button:focus,
.btn:active, .btn:focus,
.wp-block-button a.wp-block-button__link:active,
.wp-block-button a.wp-block-button__link:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
#crm-container a.button.crm-register-button:focus,
#crm-container a.button.crm-register-button:hover {
	background: #fff;
	color: #7e000c;
	cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#top-bar {
	padding: 1em 0;
	background: rgba(22,22,22,.8);
	color: #fff;
	font-size: 0.8em;
}
#top-bar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#top-bar ul li {
	display: inline-block;
}
#top-bar a,
#top-bar a i {
	color: #c0c6ca;
}
#top-bar i,
#top-bar a:active i,
#top-bar a:focus i,
#top-bar a:hover i {
	color: #c0ad8d;
}

ul.main-header-info li {
	margin-right: 1em;
}

#topbar-search-social {
	display: flex;
	align-items: center;
}
#topbar-search-social #site-search {
	flex-grow: 1;
	text-align: right;
}
#topbar-search-social .header-social {
	padding-left: 1em;
	border-left: 1px solid #777;
	margin-left: 1em;
}

#header-brand-nav {
	padding: 1em 0;
	background: #fff;
    box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.2);
	position: relative;
}

@media screen and (min-width: 768px) {

	#header-brand-nav .container {
		display: flex;
		align-items: center;
	}
	#header-brand-nav .site-branding {
		max-width: 320px;
		min-width: 150px;
	}
	
	#header-brand-nav #site-navigation .menu-main-menu-container ul.menu {
		display: flex;
		justify-content: space-between;
		padding: 0 3em;
		font-family: 'Montserrat', sans-serif;
		font-weight: 400;
	}

	#header-brand-nav #site-navigation ul.sub-menu {
		margin-left: -1em;
		background: #fff;
		border-radius: 3px;
		padding: 1em;
		font-family: 'Open Sans', sans-serif;
		font-weight: 400;
	}
	#header-brand-nav #site-navigation .menu-main-menu-container ul.menu > li > a {
		padding: 1em 0;
	}

	#header-brand-nav #site-navigation ul.sub-menu {
		margin-left: -1em;
		background: #fff;
		border-radius: 3px;
		padding: 1em;
		font-family: 'Open Sans', sans-serif;
		font-weight: 400;
		box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.06);
		border: 1px solid #e5e5e5;
	}
	#header-brand-nav #site-navigation .menu-main-menu-container ul.menu > li.menu-item-has-children > a:after {
		font-family: 'woolmen_icons';
		content: '';
		padding-left: .5em;
	}
	
}

/* Site Search */
#site-search {
	display: inline-block;
	height: 30px;
	float: right;
}
#site-search form.search-form {
	position: relative;
}
#site-search form.search-form i.icon-search {
	position: absolute;
	top: 3px;
	right: 2px;
	cursor: pointer;
	color: #c0c6ca;
}
#site-search form.search-form i.icon-search:hover {
	color: #c0ad8d;
}
#site-search .search-field {
	background-color: transparent;
	border: none;
	cursor: pointer;
	height: 28px;
	margin: 1px 0;
	padding: 0 20px 0 4px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition: width 400ms ease, background 400ms ease;
	width: 0;
	font-size: 1em;
}

#site-search .search-field:focus {
	background: rgba(255,255,255,0.8);
	border: 1px solid #fff;
	cursor: text;
	outline: 0;
	width: 180px;
}
#site-search .search-field:focus + i.icon-search {
	color: #777;
}
#site-search .search-submit {
  display: none;
}
#site-search input[type="search"] {
  -webkit-appearance: textfield;
}

@media screen and (max-width: 767px) {

	#site-search {
		position: relative;
	}
	#site-search .search-field {
		-webkit-transition: background 200ms ease !important;
		transition: background 200ms ease !important;
	}
	#site-search .search-field:focus {
		position: fixed;
		width: calc(100% - 30px);
		left: 15px;
		top: 4px;
		background: rgba(255,255,255,1);
	}
}

/* Breadcrumb */
ul#breadcrumbs {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
	margin-bottom: 0;
}
ul#breadcrumbs li {
	display: inline;
}
ul#breadcrumbs li a {
	color: #fff;
	font-weight: 600;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #7e000c;
}
a:hover, a:focus, a:active {
	color: #7e000c;
}
a:focus {
	outline: thin dotted;
}
a:hover, a:active {
	outline: 0;
}

#main a {
	font-weight: 600;
}
#main aside.widget-area a {
	font-weight: 400;
}

/* Pagenavi */
.wp-pagenavi {
	margin: 30px 0 60px 0;
	text-align: center;
}
.wp-pagenavi .pages {
	border: none;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
	box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.06);
	border-radius: 3px;
	background: #fff;
	padding-left: .5em;
	padding-right: .5em;
	text-decoration: none;
}
.wp-pagenavi span.extend {
	box-shadow: none;
	border: none;
}

.page-item.active .page-link{
	background: #7e000c;
	border-color: #7e000c;
}

.page-link {
	color: #7e000c;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

@media screen and (max-width: 767px) {
	#site-navigation button.menu-toggle {
		position: absolute;
		top: 0;
		right: 0;
	}
	
	#site-navigation button.menu-toggle {
		margin: 0;
		height: 60px;
		width: 60px;
		border-radius: 0;
		background: #7e000c;
		box-shadow: none;
		border: none;
		text-indent: -9999em;
    	-webkit-transition: background-color 1000ms ease;
    	-ms-transition: background-color 1000ms ease;
    	transition: background-color 1000ms ease;
	}

	#site-navigation button.menu-toggle span,
	#site-navigation button.menu-toggle span:before,
	#site-navigation button.menu-toggle span:after {
	  cursor: pointer;
	  height: 2px;
	  width: 30px;
	  background: #fff;
	  position: absolute;
	  display: block;
	  content: '';
	  border-radius: 1px;
	}
	#site-navigation button.menu-toggle span {
		top: 29px;
		right: 15px;
	}
	#site-navigation button.menu-toggle span:before {
		top: -8px;
	}
	#site-navigation button.menu-toggle span:after {
		bottom: -8px;
	}

	#site-navigation button.menu-toggle span,
	#site-navigation button.menu-toggle span:before,
	#site-navigation button.menu-toggle span:after {
	  transition: all 500ms ease-in-out;
	}
	#site-navigation button.menu-toggle[aria-expanded="true"] {
		background: #7e000c;
	}
	#site-navigation button.menu-toggle[aria-expanded="true"] span {
	  background-color: transparent;
	}
	#site-navigation button.menu-toggle[aria-expanded="true"] span:before,
	#site-navigation button.menu-toggle[aria-expanded="true"] span:after {
		top: 0;
		background-color: #fff;
	}
	#site-navigation button.menu-toggle[aria-expanded="true"] span:before {
	  transform: rotate(45deg);
	}
	#site-navigation button.menu-toggle[aria-expanded="true"] span:after {
	  transform: rotate(-45deg);
	}
	
	#header-brand-nav {
		height: 60px;
		padding: 0;
	}
	#header-brand-nav .site-branding {
		max-width: 200px;
		height: 60px;
		padding: 7px 0;
	}
	#header-brand-nav .site-branding img {
		height: 46px;
		width: auto;
	}
	
	#primary-menu-holder {
		display: block;
		position: relative;
		margin: 0 -10075px 0 -10015px;
		padding: 0 10075px 0 10000px;
		background: #7e000c;
		clear: both;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		z-index: 999;
	}
	#primary-menu-holder:after {
		display: table;
		clear: both;
		content: '';
	}
	#primary-menu-holder ul {
		padding: 10px 15px;
	}
	#primary-menu-holder ul li {
		float: none;
	}
	#primary-menu-holder ul li a {
		padding: 5px 0;
		color: #fff;
		font-weight: 600;
	}
	
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		position: relative !important;
		clear: both;
		width: 100%;
		height: auto !important;
		border-radius: 1px solid #f0f;
		box-shadow: none;
	}
	
	.main-navigation ul li ul.sub-menu {
		width: 100%;
		padding-top: 0 !Important;
	}
	.main-navigation ul li ul.sub-menu a {
    font-weight: 400 !Important;
		width: auto;
	}
	.main-navigation ul li ul.sub-menu a:before {
		content: '\00BB';
		padding-right: 5px;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
	ul#primary-menu > li {
		margin-right: 1em;
	}
	ul#primary-menu > li:last-of-type {
		margin-right: 0;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	ul#primary-menu {
    	font-size: .8em;
	}
	#header-account {
		position: block;
	}
}

@media screen and (max-width: 767px) {
	#header-account {
		position: absolute;
		top: 0;
		right: 60px;
	}
}

@media screen and (max-width: 991px) {
	#header-account a {
		display: flex;
		width: 60px;
		height: 60px;
	}
	#header-account button {
		text-align: center;
		background: none;
		width: 60px;
		height: 60px;
		color: #7e000c;
		border: 0;
		font-size: 1.6em;
		padding: 0;
	}

	.carousel-item .container {
		font-size: 1.8em !important;
	}
	#block-header h1.page-title {
		font-size: 1.6em;
	}
	h1 {
		font-size: 1.6em;
	}
	h2 {
		font-size: 1.4em;
	}
	h3 {
		font-size: 1.2em;
	}
	
	#block-intro .box-woolmen {
		margin-top: 30px !important;
		margin-bottom: 30px !important;
		height: auto !important;
	}
	#block-intro > .container > .row {
		margin-top: -40px;
		margin-bottom: -40px;
	}
	
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 2.5em;
	/* Make sure select elements fit in widgets. */
}

h2.widget-title {
	color: #222;
	font-size: 1.4em;
}
.widget-area .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.widget select {
	max-width: 100%;
}

/* Search */
.widget-area .widget_search .search-form {
    position: relative;
}
.widget-area .widget_search .search-form label {
	width: calc(100% - 48px);
}
.widget-area .widget_search .search-form input {
    border: 2px solid #e5e5e5;
    color: #222;
    display: block;
    height: 50px;
    position: relative;
    width: 100%;
    padding: 0px .75em;
}
.widget-area .widget_search .search-form::-webkit-input-placeholder { /* Chrome */
    color: #8E8E8E;
}
.widget-area .widget_search input.search-submit,
.widget-area .widget_search button[type="submit"] {
    background: #7e000c;
    color: #fff;
    display: block;
    height: 49px;
    padding: 1em 0;
    position: absolute;
    right: 0;
    top: 2px;
    text-align: center;
    width: 50px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

/* Tag cloud */
.widget .tagcloud a {
    display: inline-block;
    line-height: 2.2em;
    padding: 0.5em 1em;
    color: #8E8E8E;
    margin: 5px 3px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
}
.widget .tagcloud  a:hover {
	color: #fff;
	background: #7e000c;
	border: 1px solid #7e000c;
}

/* Categories, Links, Menus */
.widget-area .widget_links ul li,
.widget-area .widget_categories ul li,
.widget-area .widget_nav_menu ul li {
	position: relative;
	margin-bottom: .75em;
	padding-bottom: .75em;	
	border-bottom: 1px solid #e5e5e5;
	font-size: 0.8em;
}
.widget-area .widget_links ul li:last-child,
.widget-area .widget_categories ul li:last-child,
.widget-area .widget_nav_menu ul li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.widget-area .widget_links ul li a,
.widget-area .widget_categories ul li a,
.widget-area .widget_nav_menu ul li a {
	color: #222;
}
.widget-area .widget_links ul li a:hover,
.widget-area .widget_categories ul li a:hover,
.widget-area .widget_nav_menu ul li a:hover {
	color: #7e000c;
}

.widget-area .widget_links ul li:before {
	content: '\00BB';
	color: #848484;
	margin-right: .5em;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
	background: #fefdfd;
}

/*--------------------------------------------------------------
## Blocks and boxes
--------------------------------------------------------------*/
.woolmen-block {
	padding: 5em 0;
}
.block-header {
	max-width: 480px;
	margin: 0 auto 3em;
}
.block-header:after {
	display: block;
	content: '';
	width: 100%;
	height: 20px;
	background: url('img/line.png') no-repeat center center;
	background-size: contain
}
h2.block-title {
	font-size: 2.4em;
	font-weight: 600;
}
h2.block-title span {
	color: #7e000c;
}

/* Slideshow Block */
body.home #block-slideshow {
	background: #777;
}
#block-slideshow .carousel-item {
	height: calc(100vh - 177px);
	max-height: 1000px;
	min-height: 550px;
}
#block-slideshow .carousel-item {
	opacity: 0;
	transition-duration: 1s;
	transition-property: opacity;
}
#block-slideshow .carousel-item:after {
	display: block;
	content: '';
	position: absolute;
	top:0;
	right:0;
	left:0;
	bottom:0;
	pointer-events: none;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100 */
	background: -moz-linear-gradient(left, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
	z-index:-1;
}
#block-slideshow .carousel-item-content span {
	color: #fff;
	text-decoration: none;
}
#block-slideshow .carousel-item.active,
#block-slideshow .carousel-item-next.carousel-item-left,
#block-slideshow .carousel-item-prev.carousel-item-right {
	opacity: 1;
}
#block-slideshow .active.carousel-item-left,
#block-slideshow .active.carousel-item-right {
	opacity: 0;
}
#block-slideshow .carousel-item-next,
#block-slideshow .carousel-item-prev,
#block-slideshow .carousel-item.active,
#block-slideshow .active.carousel-item-left,
#block-slideshow .active.carousel-item-prev {
	transform: translateX(0);
	transform: translate3d(0, 0, 0);
}

.carousel-item .container {
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 2.4em;
	color: #fff;
	justify-content: left;
	line-height: 1.1;
}
.carousel-item .container .carousel-item-content {
	max-width: 480px;
}
.carousel-item .container .carousel-item-content span {
	display: block;
	margin-bottom: 30px;
	text-shadow: 2px 2px 15px #000000;
}

@media only screen and (max-width: 768px) {
	.carousel-item .container .carousel-item-content {
		margin: 160px 20px;
	}
}

#block-slideshow ol.carousel-indicators {
	width: 10em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}
#block-slideshow ol.carousel-indicators li {
	height: 0.8em;
	width: 0.8em;
	border-radius: 50%;
	background: #fff;
	margin: 0 0.4em;
}
#block-slideshow ol.carousel-indicators li.active {
	background: rgba(255,255,255,0.6);
}

#block-slideshow .carousel-buttons {
	position: absolute;
	bottom: 40px;
	right: 0;
	left: 0;
}

/* Intro Block */
#block-intro {
	background: #414141;
}
#block-intro h2 {
	color: #fff;
}
#block-intro .block-header p {
	color: #fff;
}
#block-intro h2 span {
	color: #c0ad8d;
}
#block-intro .block-header:after {
	background: url('img/line-gold.png') no-repeat center center;
}
#block-intro .box-woolmen {
	margin-bottom: 0;
}

/* Showcase Block */
#block-showcase {
	background: #7e000c;
	color: #fff;
}
#block-showcase h2 {
	color: #fff;
	font-weight: 600;
}
#block-showcase p {
	font-size: 1.2em;
	font-weight: 600;
}
#countdown > div > span {
	display: block;
	color: #000;
	font-size: 12px;
	font-weight: normal;
}
#countdown > div {
	display: inline-block;
	width: 80px;
	height: 80px;
	color: #7e000c;
	font-size: 24px;
	border-radius: 40px;
	background-color: #fff;
	margin-right: 15px;
	text-align: center;
	line-height: 24px;
	padding-top: 15px;
	font-weight: bold;
}
@media screen and (max-width: 991px) {
	#countdown {
		margin-left: auto;
		margin-right: auto;
	}
	#countdown > div {
		width: 65px;
		height: 65px;
		padding: 10px;
		margin-right: 10px;
	}
	#countdown div span {
		margin-top: -2px;
		font-size: .4em;
	}
}
@media screen and (max-width: 767px) {
	#block-showcase {
		text-align: center;
	}
	#countdown {
		margin-top: 2em;
	}
}

#promo-gallery-holder {
	display: flex;
	flex-direction: row;
}
#promo-gallery-holder > div {
	flex-grow: 1;
}
@media screen and (max-width: 1200px) {
	#promo-gallery-holder .promo-img-4 {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	#promo-gallery-holder .promo-img-3 {
		display: none;
	}
}


/* Header Block */
#block-header {
	margin-bottom: 40px;
	background: #777;
	padding-top: 15px;
	padding-bottom: 15px;
	clear: both;
}
#block-header .content {
	color: #c0c6ca;
}
#block-header h1.page-title {
	margin: 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
}

/* Events Block */
.box-woolmen .img-box {
	margin: -30px -30px 15px -30px
}
#block-events .img-box .date-box {
    display: inline-block;
    background: #7e000c;
    position: absolute;
    top: 20px;
    left: -10px;
    color: #fff;
    width: 80px;
    height: 80px;
    text-align: center;
    border-top-right-radius: 5px;
	pointer-events: none;
}
#block-events .img-box .date-box:before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid #7e000c;
    bottom: -4px;
    content: "";
    height: 0;
    left: -3px;
    position: absolute;
    transform: rotate(90deg);
    width: 0;
}
#block-events .img-box .date-box h4{
    font-size: 34px;
    color: #fff;
    padding-top: 12px;
}
#block-events .img-box .date-box p {
    font-size: 13px;
    color: #fff;
    position: relative;
    top: -15px;
    font-family: "Montserrat",sans-serif;
}

.wcw-event-list .event-meta,
#block-events ul {
	list-style: none;
	margin-top: -.25em;
	margin-left: 0;
	padding-left: 0 !important;
	font-size: 0.8em;
}
#block-events ul li {
	display: inline;
	margin-left: -3px;
	margin-right: 15px;
}
.wcw-event-list .event-meta i,
#block-events ul i {
	color: #7e000c;
	padding-right: 2px;
}
#block-events ul li:last-child {
	margin-right: 0;
}

#block-events .event-summary {
	margin-top: -.5em;
}
#block-events .event-side {
	margin-bottom: 1em;
}
#block-events .event-side:last-of-type {
	margin-bottom: 0;
}
.event-side .date-box {
    display: inline-block;
    border-radius: 5px;
    border-top: 4px solid #7e000c;
	width: 100%;
	text-align: center;
	padding: 15px 10px 0 10px;
}

@media screen and (min-width: 992px) {
	.event-side .date-box {
    	margin-left: 10px;
	}
}
@media screen and (max-width: 768px) {
	.date-box span {
		font-size: .7em !important;
	}
	.date-box h5 {
		font-size: 2em !important;
	}
	#block-events a.btn {
		margin-top: 2em;
	}
}

.event-side .date-box span {
    font-size: 13px;
    font-family: "Montserrat",sans-serif;
    color: #848484;
    font-weight: 500;
    position: relative;
    top: -20px;
}
.event-side .date-box h5 {
    font-size: 42px;
    color: #7e000c;
    text-align: center;
    font-weight: 700;
}

/* News Block */
#block-news {
	background: #f5f5f5;
}
#block-news .box-woolmen {
	padding-bottom: 0;
}
.news-item {
	padding-bottom: 1em;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: .6em;
}
.news-item:last-of-type {
	border-bottom: 0;
}
.news-item .box-meta {
	font-size: .8em;
	margin-bottom: 1em;
}
@media screen and (max-width: 991px) {
	#block-news .row {
		margin-top: -2em;
		margin-bottom: -2em;
	}
	#block-news .row .col-12 {
		margin-top: 1em;
		margin-bottom: 1em;
	}
}


/* Boxes */
.box-woolmen,
.widget-area .widget {
    box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.06);
    padding: 30px 30px 30px 30px;
    border-radius: 5px;
	background: #fff;
	margin-bottom: 40px;
}
.box-woolmen .woolmen-thumb {
	margin: -30px -30px 20px -30px;
}

.box-woolmen .entry-content {
	margin: 0;
}

.box-woolmen .woolmen-thumb .box-meta {
	position: absolute;
	bottom: 20px;
	left: 30px;
	font-size: .8em;
	background: #777;
	color: #fff;
	padding: .2em .75em;
	border-radius: 3px;
}
.box-woolmen.scroller {
	border-top: 4px solid #7e000c;
}

.block-3x2,
.block-5x2 {
	display: block;
	position: relative;
	}
	.block-3x2:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 66.67%;
	}
	.block-5x2:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 40%;
	}
	.block-3x2 > .content,
	.block-5x2 > .content {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.hentry {
	/*margin: 0 0 1.5em;*/
	margin: 0;
}
.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
/*.entry-content p:last-of-type {
	margin-bottom: 0;
}*/

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

#main ul,
article ul {
	margin: 0 0 1em 0;
	padding-left: 1em;
}
article ul li {
	margin: 0.25em 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin-bottom: 1em;
		margin-left: auto;
		margin-right: auto;
	}
	.entry-content img.alignleft,
	.entry-content img.alignright {
		display: block;
	}
}

/* Events */
.wcw-event-list .event-box {
	border-bottom: 1px solid #e5e5e5;
	padding: 1em 0 1.5em 0;
}
.wcw-event-list .event-box:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}
.wcw-event-list .event-meta {
	margin-bottom: 1em;
}
.wcw-event-list p {
	margin-bottom: 1em;
}

.fc-day-grid-event .fc-content {
	white-space: initial;
}
.fc-view-container a.fc-event {
	background: #7e000c;
	color: #fff;
	padding: 8px 6px;
	border: 0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}


/*--------------------------------------------------------------
# CiviCRM
--------------------------------------------------------------*/
.crm-section a,
.crm-container a, .crm-container a:link, .crm-container a:visited {
	color: #7e000c !important;
}
.crm-section a:focus,
.crm-section a:hover {
	text-decoration: underline !important;
}
.select2-container,
.select2-choice {
	min-height: 38px !important;
}
a.select2-choice {
	font-weight: 400 !important;;
}

#crm-container #printer-friendly {
	display: none;
}

/* Event forms */
.crm-event-confirm-form-block .bold {
	font-weight: normal !important;
}

.crm-event-confirm-form-block h3 {
	margin-top: 30px !important;
	background: #999 !important;
	color: #fff !important;
	font-weight: 300 !important;
	padding: 0.5em .5em !important;
	border-radius: 3px;
	margin-bottom: 15px !important;
}

fieldset.crm-profile-name-Payment_Method_25 .content label {
	margin-right: 15px;
}

.crm-event-thankyou-form-block .help .bold {
	font-weight: normal;
}
.crm-event-thankyou-form-block .help h3 {
	background: #999 !important;
	color: #fff !important;
}

/* Profile forms */
#crm-profile-block h3 {
	margin-top: 30px;
  background: #eee;
	padding: 0.5em 1em;
}

#crm-profile-block .crm-submit-buttons {
	margin-top: 30px;
}

.crm-container .crm-section .label {
  font-size: 0.9em !important;
}

#crm-main-content-wrapper #crm-profile-block label.error {
  color: #900;
  font-size: 0.85em;
  background: #fdd;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 5px;
  font-weight: bold;
}

@media screen and (min-width: 768px) {

  .crm-container .crm-section .label {
    width: 31% !important;
    font-size: 0.9em !important;
  }
  .crm-container .crm-section .content {
    margin-left: 33% !important;
  }

}

/* Buttons */
.crm-form-submit,
.crm-button input {
	font-size: 1.5em !important;
}
.crm-form-submit i,
.crm-button i {
	font-size: 1em !important;
}

a.button span {
	color: #fff;
}
a.button:focus span,
a.button:hover span {
	color: #7e000c;
}

/* Donate */
.crm-profile.crm-profile-name-Gift_Aid .content label {
	width: calc(100% - 45px);
	display: inline-block;
	font-weight: bold;
}

/* Events */
.action-link.register_link-top {
	padding-left: 10px;
	padding-bottom: 10px;
}
.event-info .event_summary-section {
	margin-bottom: 20px !Important;
	font-size: 1.4em;
	line-height: 1.5;
	font-weight: 600;
}

#additional_participants.crm-form-select {
	margin-right: 5px;
}
.crm-section.helprow-post .content {
	margin-top: -10px;
	margin-bottom: 5px;
	font-size: .8em !important;
}
.price-set-option-content .crm-price-amount-label {
	margin-left: 5px;
}
.crm-section #custom_55.crm-form-text {
	width: 100%;
}

.crm-actionlinks-bottom  .action-link {
	height: auto !important;
}
.crm-actionlinks-bottom  .action-link:after {
	display: table;
	content: '';
	clear: both;
}
.crm-actionlinks-bottom  .action-link a.button.crm-register-button {
  margin: 1em 0 .25em 0;
  font-size: 1em !important;
}

/*--------------------------------------------------------------
## Donate
--------------------------------------------------------------*/
body.page-id-9382 .crm-title h1 {
	margin-bottom: 0;
}
.CRM_Contribute_Form_Contribution_Main #intro_text, .CRM_Contribute_Form_Contribution_Main #priceset-div {
	position: fixed;
	top: -1000px;
	left: -1000px;
}
#donate-buttons #custom-amount-value {
	width: 4em;
	text-align: center;
	outline: none;
}
#donate-buttons .amount-container:hover,
#donate-buttons .amount-col.selected .amount-container {
	background-color: #fff;
	color: #000;
}
#donate-buttons .amount-container:hover .amount-desc,
#donate-buttons .amount-col.selected .amount-desc{
	border: 2px solid #7e000c;
	border-bottom: none;
}
#donate-buttons .amount-col {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0 5px;
	color: #fff;
}
#donate-buttons .amount-container {
	background: #7e000c;
	cursor: pointer;
}
#donate-buttons {
	text-align: center;
	margin-bottom: 45px;
	margin-left: 0;
	margin-right: 0;
}
#donate-buttons .amount-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-top: 15px;
}
#donate-buttons .amount-col .amount-desc {
	flex-grow: 1;
	padding: 15px;
	border: 2px solid transparent;
	border-bottom: none;
}
#donate-buttons .amount-desc strong {
	display: block;
	font-size: 3.6em;
	line-height: 1em;
	margin-bottom: .25em;
}
#donate-buttons .amount-4 .amount-desc strong {
	font-size: 1.8em;
}

#donate-buttons .amount-value {
	display: block;
	font-weight: 600;
	background: #000;
	color: #fff;
	padding: 15px;
	font-size: 1.2em;
}
#donate-buttons .amount-value input {
	margin: -15px 0 -10px 5px !important;
	padding: 0 5px !important;
	background: none;
	border: none !important;
	border-radius: 0 !important;
	border-bottom: 1px dotted #fff !important;
	color: #fff;
	font-size: 1em !important;
	font-weight: 600 !important;
}
#donate-buttons .amount-value input:focus,
#donate-buttons .amount-value input:hover {
	color: #fff;
}

.crm-public-form-item.crm-section.is_recur-section {
  padding-bottom: 1em;
	text-align: center;
}
.crm-public-form-item.crm-section.is_recur-section > .label {
	height: 0 !Important;
	padding: 0 !Important;
}
.crm-public-form-item.crm-section.is_recur-section label {
	font-weight: bold;
}
.crm-public-form-item.crm-section.is_recur-section .content {
	width: 100%;
	float: left;
	margin-left: 0 !important;
	font-size: 1.25em !important;
	font-weight: bold;
	padding-top: 0 !important;
}
.crm-public-form-item.crm-section.is_recur-section .content input {
	width: 15px;
	height: 15px;
	margin-left: 0 !important;
}

fieldset.crm-profile-name-Gift_Aid .content label {
  margin-right: 1.25em;	
}

.crm-section.helprow-post ol {
  margin-left: 0;
}

.crm-contribution-confirm-form-block #crm-submit-buttons {
	margin-bottom: 2em;
}
.crm-contribution-confirm-form-block #crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-next,
#crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-upload {
	background: #7e000c;
}
.crm-contribution-confirm-form-block #crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-next:focus,
.crm-contribution-confirm-form-block #crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-next:hover,
#crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-upload:focus,
#crm-submit-buttons .crm-form-submit.crm-button.crm-button-type-upload:hover {
	background: #900;
}


/*--------------------------------------------------------------
# Members Dashboard
--------------------------------------------------------------*/
#side-member-menu ul,
#side-court-menu ul {
	padding-left: 0;
	list-style: none;
	margin: 15px 0 0 0;
}
#side-member-menu ul li,
#side-court-menu ul li {
	border-bottom: 1px solid #ebebeb;
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
	line-height: 1.5;
	padding: 5px 0 5px 1em;
}
#side-member-menu ul li:last-of-type,
#side-court-menu ul li:last-of-type {
	border: none;
}
#side-member-menu ul li:before,
#side-court-menu ul li:before {
	content: '\00BB';
	color: #848484;
	margin-right: .5em;
}

/*--------------------------------------------------------------
# Minutes
--------------------------------------------------------------*/
.minutes-post {
	border-bottom: 1px solid #e5e5e5;
	padding: 1em 0 1.5em 0;
}
.minutes-post a.btn {
	margin-top: -.25em;
}
.minutes-list .minutes-post:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#colophon {
	background: #3f3e3c;
	color: #c0c6ca;
}
#colophon .site-info {
	margin: 3em 0;
}
#colophon a {
	color: #c0ad8d;
}
#colophon {
	font-size: .85em
}
#colophon h3 {
	color: #fff;
	margin-bottom: 30px;
}
#colophon ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
#colophon ul.menu li {
	margin: .75em 0;
}
#colophon ul.menu a {
	color: #c0c6ca;
}

.footer-magazine img {
	max-height: 240px;
	width: auto;
	margin-bottom: 1em;
}

#colophon #footer-after {
	background: #222;
	padding: 1.5em 0;
	font-size: 0.8em;
}

#colophon ul.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
#colophon ul.social-links li {
	display: inline;
	padding-left: .5em;
}
#colophon ul.social-links li a {
	display: inline-block;
	border: 1px solid #c0c6ca;
	color: #c0c6ca;
	border-radius: 50%;
	padding: .2em .15em .1em .15em;
}
#colophon ul.social-links li a:active,
#colophon ul.social-links li a:focus,
#colophon ul.social-links li a:hover {
	border: 1px solid #c0ad8d;
	color: #c0ad8d;
}
@media screen and (max-width: 991px) {
	#colophon .footer-info,
	#colophon .footer-menu {
	  margin-bottom: 2em;	
	}
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
