/*!
Theme Name: Scottish Poetry Library
Theme URI: http://underscores.me/
Author: Pooka&co
Author URI: https://www.pooka.co
Description: Responsive and accessible WordPress Theme for the Scottish Poetry Library, 2018
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: spl
Tags: featured-images
This theme, like WordPress, is licensed under the GPL.
Scottish Poetry Library 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Top bar
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Boxes
# Widgets
# Blocks
# Content
	## Posts and pages
    ## Poems
    ## Poets
    ## Learning Resources
	## Search
	## Comments
# Footer
# Infinite scroll
# Media
	## Image characters
	## Captions
	## Galleries
# CiviCRM
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900');
@font-face {
  font-family: 'spl_icons';
  src: url('fonts/spl_icons.eot?82800470');
  src: url('fonts/spl_icons.eot?82800470#iefix') format('embedded-opentype'),
       url('fonts/spl_icons.woff2?82800470') format('woff2'),
       url('fonts/spl_icons.woff?82800470') format('woff'),
       url('fonts/spl_icons.ttf?82800470') format('truetype'),
       url('fonts/spl_icons.svg?82800470#spl_icons') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "spl_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;
 
  /* 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-chat: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-users:before { content: '\e809'; } /* '' */
.icon-down-dir:before { content: '\e80a'; } /* '' */
.icon-heart-empty:before { content: '\e80b'; } /* '' */
.icon-videocam:before { content: '\e80c'; } /* '' */
.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-up-dir:before { content: '\e812'; } /* '' */
.icon-left-dir:before { content: '\e813'; } /* '' */
.icon-right-dir:before { content: '\e814'; } /* '' */
.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-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-help:before { content: '\f128'; } /* '' */
.icon-info:before { content: '\f129'; } /* '' */
.icon-attention-alt:before { content: '\f12a'; } /* '' */
.icon-thumbs-up-alt:before { content: '\f164'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-soundcloud:before { content: '\f1be'; } /* '' */
.icon-pinterest:before { content: '\f231'; } /* '' */
.icon-podcast:before { content: '\f2ce'; } /* '' */

/*--------------------------------------------------------------
# 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 */
}

/* 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: 2em;
	margin: 0.67em 0;
}

/* 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
 */
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 */
}

ul.gform_fields li.gfield.gsection {
  margin-top: 2em !important;
  margin-bottom: 1em !important;
}

.ginput_container_select,
.name_prefix_select,
.address_country {
    position: relative;
    display: inline-block;
    width: 100%;
}
.ginput_container_select select.gfield_select,
.name_prefix_select select,
.address_country select {
	display: inline-block;
	cursor: pointer;
	width: 100% !important;
	padding: 8px 30px 8px 8px !important;
	outline: 0;
	border: 1px solid #f2f2f2;
	background: #f2f2f2;
	color: #343434;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.ginput_container_select select.gfield_select::-ms-expand,
.name_prefix_select select::-ms-expand,
.address_country select::-ms-expand {
	display: none;
}
.ginput_container_select select.gfield_select:hover,
.ginput_container_select select.gfield_select:focus,
.name_prefix_select select:hover,
.name_prefix_select select:focus,
.address_country select:hover,
.address_country select:focus {
	color: #000;
	border: 1px solid #000;
}
.ginput_container_select select.gfield_select:disabled,
.name_prefix_select select:disabled,
.address_country select::disabled {
	opacity: 0.5;
	pointer-events: none;
}
.ginput_container_select:after,
.name_prefix_select:after,
.address_country:after {
	content: '';
	position: absolute;
	top: 18px;
	right: 15px;
	pointer-events: none;
	border-style: solid;
	border-width: 8px 5px 0px 5px;
	border-color: #343434 transparent transparent transparent;
}
.name_prefix_select:after {
	right: 28px;
}
.address_country:after {
	right: 20px;
}

form.woocommerce-ResetPassword.lost_reset_password {
	max-width: 400px;
	margin: 0 auto;
	text-align: center;
}
form.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row {
	margin: 10px auto;
	display: block;
	width: 100%;
}

body.woocommerce-account .woocommerce-ResetPassword {
	margin-top: -30px !important;
	margin-bottom: 60px !important;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+ and Firefox
 */
details {
	display: block;
}

/*
 * Add correct display in all browsers
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add correct display in IE 10+
 */
template {
	display: none;
}

/**
 * Add correct display in IE 10
 */
[hidden] {
	display: none;
}


/* Bootstrap
	 ========================================================================== */

/* Change gutter */
@media (min-width: 1480px) {
	.container {
		max-width: 1300px;
	}
}

.row.row-tight {
	margin-left: -10px;
	margin-right: -10px;
}
.row.row-tight > .col,
.row.row-tight > [class*="col-"] {
	padding-right: 10px;
	padding-left: 10px;
}

@media (min-width: 992px) {
	.row {
		margin-left: -20px;
		margin-right: -20px;
	}
	.row > .col,
	.row > [class*="col-"] {
		padding-right: 20px;
		padding-left: 20px;
	}
}

/* Accordion */
#accordion .card {
	border: none;
}
#accordion .card a.card-header {
	border: none;
	border-radius: 0;
	background: #f7ba44;
	color: #000;
	text-decoration: none;
	transition: all 1000ms ease;
}
#accordion .card a.card-header h3 {
	color: #000;
	transition: all 1000ms ease;
}
#accordion .card a.card-header:focus,
#accordion .card a.card-header:hover {
	background: #000;
	color: #fff;
}
#accordion .card a.card-header:focus h3,
#accordion .card a.card-header:hover h3 {
	color: #fff;
}


/* Gutenberg
	 ========================================================================== */

/* Break out of Container to full width */
.break-out {
	width: 100vw;
	position: relative;
	left: calc(-1 * (100vw - 100%) / 2);
}

#main .alignfull {
  margin-left  : calc( -100vw / 2 + 100% / 2 );
  margin-right : calc( -100vw / 2 + 100% / 2 );
	width: 100vw;
	text-align: center;
}
#main .alignfull.wp-block-image img {
	width: 100vw;
	height: auto;
}
@media screen and (min-width: 576px) {
	#main .alignwide {
		margin-left  : -100px;
		margin-right : -100px;
		max-width    : 1024px;
		width: calc(100% + 200px);
	}
}

/* Verse block */
pre.wp-block-verse {
	font-family: inherit;
	padding: 0;
	background: none;
  font-size: 1em;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 700;
	letter-spacing: 0.01em;
}
h3 {
	color: #666;
}
h4 {
	font-size: 1.2em;
}
h6 {
}

p {
	margin-bottom: 1.5em;
}

dfn, em, i {
	font-style: italic;
}

blockquote {
	background: #f2f2f2;
	padding: 1em 1em;
	margin: 0 0 1em 0;
	border-left: 5px solid #f7ba44;
	font-style: italic;
}
blockquote > *:last-child {
	margin-bottom: .25em;
}
blockquote em,
blockquote i {
	font-style: normal;
}

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;
	overflow-x: hidden;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change 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 when no custom background color defined */
}

/* Sticky footer */
#footer-push {
  min-height: calc(100vh - 270px);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 0;
}
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 scaled correctly */
	max-width: 100%;
	/* Adhere to container width */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow content area */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.btn,
a.add_to_cart_button,
.woo-button-holder a.added_to_cart,
.woo-button-holder a.button.product_type_simple,
.wp-block-button .wp-block-button__link {
	border: none;
	border-radius: 0;
	background: #000;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	padding: 1em 1.5em;
	text-decoration: none !Important;
	transition: all 500ms ease-in-out;
}
.btn i {
	font-size: .7em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:active, button: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,
a.btn:active,
a.btn:focus,
a.btn:hover,
a.btn.yellow,
a.add_to_cart_button,
.woo-button-holder a.added_to_cart,
.woo-button-holder a.button.add_to_cart_button,
.spl-box.black a.btn,
.spl-box.grey a.btn,
.filter-header a.btn,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover {
	background: #f7ba44;
	color: #000;
}
.black a.btn:active,
.black a.btn:focus,
.black a.btn:hover,
.grey a.btn:active,
.grey a.btn:focus,
.grey a.btn:hover {
	background: #f2f2f2;
	color: #000;
}
.yellow a.btn {
  color: #fff !important;
}
.yellow a.btn:active,
.yellow a.btn:focus,
.yellow a.btn:hover {
	background: #343434;
	color: #fff !important;
}

#main input[type="text"],
#main input[type="email"],
#main input[type="url"],
#main input[type="password"],
#main input[type="search"],
#main input[type="number"],
#main input[type="tel"],
#main input[type="range"],
#main input[type="date"],
#main input[type="month"],
#main input[type="week"],
#main input[type="time"],
#main input[type="datetime"],
#main input[type="datetime-local"],
#main input[type="color"],
#main textarea {
	color: #666;
	border: 1px solid #f2f2f2;
	border-radius: 0;
	padding: .5em .75em;
	background: #f2f2f2;
}
#main input[type="text"]:focus,
#main input[type="email"]:focus,
#main input[type="url"]:focus,
#main input[type="password"]:focus,
#main input[type="search"]:focus,
#main input[type="number"]:focus,
#main input[type="tel"]:focus,
#main input[type="range"]:focus,
#main input[type="date"]:focus,
#main input[type="month"]:focus,
#main input[type="week"]:focus,
#main input[type="time"]:focus,
#main input[type="datetime"]:focus,
#main input[type="datetime-local"]:focus,
#main input[type="color"]:focus,
#main textarea:focus {
	color: #000;
	border: 1px solid #000;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

label.gfield_label {
	margin-bottom: 0;
}
body .gform_wrapper .top_label .ginput_container {
    margin-top: 0px !important;
}
@media screen and (min-width: 641px) {
	.gform_footer {
		padding-right: 16px !important;
	}
}
.gform_footer .gform_button {
	width: 100% !important;
	text-transform: uppercase;
}

/*--------------------------------------------------------------
# Top bar
--------------------------------------------------------------*/
#masthead {
	margin-bottom: 1em;
}
body.home #masthead {
	margin-bottom: 3em;
}

#topbar {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	height: 4em;
	background: #000;
	color: #fff;
	border-bottom: 5px solid #f7ba44;
}

#topbar > * {
	padding: 1em 25px;
}

#topbar-brand {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
#topbar-brand .site-title {
	margin: -0.1em 0 0 0;
	line-height: 1;
	max-width: calc(100% - 30px);
}
#topbar-brand .site-title img {
	height: 36px;
	width: auto;
}

#topbar-search {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	background: #f7ba44;
	padding: 0 1em 0 2.75em !important;
}
#topbar-search form.search-form {
	position: relative;
  -webkit-align-self: center; /* Safari 7.0+ */
  align-self: center;
}
#topbar-search form.search-form label {
	margin-bottom: 0;
}
#topbar-search form.search-form i.icon-spl-search {
	position: absolute;
	top: 15px;
	left: -1.75em;
}
#topbar-search form.search-form i.icon-spl-search svg {
	height: 26px;
	width: auto;
}
#topbar-search .search-field {
	background-color: transparent;
	border: none;
	cursor: text;
	height: 60px;
	padding: 0 0.5em 4px 0.5em;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition: width 400ms ease, background 400ms ease;
	width: 4.2em;
}
#topbar-search .search-field::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
	font-weight: 700;
	font-size: 0.9em;
}
#topbar-search .search-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
	font-weight: 700;
	font-size: 0.9em;
}
#topbar-search .search-field::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
	font-weight: 700;
	font-size: 0.9em;
}
#topbar-search .search-field:focus::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #bd9447;
	font-weight: 400;
}
#topbar-search .search-field:focus:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #bd9447;
	font-weight: 400;
}
#topbar-search .search-field:focus::-ms-input-placeholder { /* Microsoft Edge */
  color: #bd9447;
	font-weight: 400;
}
#topbar-search .search-field:focus {
	background: none;
	cursor: text;
	outline: 0;
	width: 200px;
}
#topbar-search .search-field:focus + i.icon-spl-search {
	color: #435E53;
}
#topbar-search .search-submit {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 15px;
	left: -2.5em;
	background: none;
	border: none;
	text-indent: -9999em;
	cursor: pointer;
}
#topbar-search input[type="search"] {
	-webkit-appearance: textfield;
}

@media screen and (min-width: 768px) {
	#topbar-account {
		color: #fff;
	}
	#topbar-account:active,
	#topbar-account:focus,
	#topbar-account:hover {
		color: #f7ba44;
	}
	#topbar-account > * {
		float: left;
	}
	#topbar-account span {
		margin-left: 0.5em;
		font-size: 0.9em;
		line-height: 1.8em;
		font-weight: 700;
	}	
}

#topbar-basket {
	background: #333;
}
#topbar-basket:active,
#topbar-basket:focus,
#topbar-basket:hover {
	background: #000;
}
#mobbar-basket img,
#topbar-basket img,
#topbar-account svg,
#topbar-basket svg {
	height: 26px;
	width: auto;
}
#topbar-account:active svg.replaced-svg path,
#topbar-account:focus svg.replaced-svg path,
#topbar-account:hover svg.replaced-svg path,
#topbar-basket:active svg.replaced-svg path,
#topbar-basket:focus svg.replaced-svg path,
#topbar-basket:hover svg.replaced-svg path {
	fill: #f7ba44;
}

/* Mob Bar */
#mobbar,
#mobask {
	display: none;
}

@media screen and (max-width: 767px) {

	#masthead {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	#topbar {
		border-bottom: none;
	}
	
	#topbar-brand .site-title img {
		padding-right: 2em;
	}
	
	.main-navigation {
		border-top: 4px solid #f7ba44;
		margin-left: -15px;
		margin-right: -15px;
	}
	.main-navigation.toggled {
		border-top: 4px solid #fff;
	}
	.main-navigation #primary-menu {
		padding-left: 10px;
		padding-right: 10px;
	}
	.main-navigation.toggled #mobbar {
		clear: both;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		background: #fff;
	}
	#mobbar > div {
		padding: 0.5em 1em;
	} 
	#mobbar-search {
		flex: 1;
	}
	#mobbar-search label {
		margin-bottom: 0;
	}
	#mobbar-search input.search-field,
	#mobbar-search input.search-submit {
		height: 40px;
		border: none;
	}
	#mobbar-search input.search-submit {
		float: left;
		width: 28px;
		height: 40px;
		padding: 0;
		text-indent: -9999em;
		margin-right: 0.5em;
		cursor: pointer;
		background: none;
		color: #000;
		display: block;
	}
	#side-btn-container {
		display: none;
	}
	#mobbar-search .search-form {
		position: relative;
	}
	#mobbar-search .search-form:after {
		position: absolute;
		display: block;
		font-family: "spl_icons";
		content: '';
		text-align: center;
		font-size: 1.8em;
		top: 0;
		left: 0;
		width: 28px;
		height: 40px;
		pointer-events: none;
	}
	#mobbar-basket {
		display: flex;
		background: #333;
		color: #fff;
		align-items: center;
		justify-content: center;
		width: 60px;
	}
	
	.main-navigation.toggled #mobask {
		display: flex;
		background: #f7ba44;
		color: #000;
		height: 50px;
		padding: 0 15px;
		font-weight: bold;
		align-items: center;
		justify-content: center;
		font-size: 1.2em;
	}

}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #666;
}
a:hover, a:focus, a:active {
	color: #f7ba44;
	text-decoration: underline;
}
a:focus {
	outline: thin dotted;
}
a:hover, a:active {
	outline: 0;
}
#content a {
	text-decoration: underline;
}
#content .tribe-events-sub-nav a {
	text-decoration: none;
	transition: all 500ms ease-in-out;
}
a.read-more {
	font-weight: 700;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#primary-menu > li.focus > ul.right-aligned,
#primary-menu > li:hover > ul.right-aligned {
	left: auto;
	max-width: 200px;
	right: 0;
}
#primary-menu > li > ul.checking {
	left: auto;
	visibility: hidden;
}
#primary-menu > li.right-aligned-submenu {
	position: unset;
}
#header-navbar ul#primary-menu > li.menu-item-has-children.right-aligned-submenu:active:after,
#header-navbar ul#primary-menu > li.menu-item-has-children.right-aligned-submenu:focus:after,
#header-navbar ul#primary-menu > li.menu-item-has-children.right-aligned-submenu:hover:after {
	left: auto;
	right: 112px;
}

/* Breadcrumb */
#spl-breadcrumb ul {
  list-style: none;
	font-size: 0.9em;
	margin: 1em 25px;
	padding: 0;
}
#spl-breadcrumb ul li {
	display: inline;
}

/* Navbar */
#header-navbar {
	background: #f2f2f2;
	padding: 0 25px;
	font-size: 0.9em;
}
#header-navbar .site-description {
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
}
#header-navbar .site-description img {
	height: 17px;
	width: auto;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul ul {
	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 .sub-menu a {
	padding: 0.25em 0;
}

.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;
	color: #000;
	font-weight: bold;
}
.main-navigation a:hover {
	color: #666;
}

/* 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;
	}
	
	#header-navbar ul#primary-menu {
		display: flex;
		width: 100%;
		justify-content: space-between;
		height: 50px;
	}

	#header-navbar ul#primary-menu > li {
		display: flex;
		height: 100%;
	}
	#header-navbar ul#primary-menu > li > a {
		/*background: rgba(0,0,0,0.1);*/
		display: flex;
		align-items: center;
		height: 100%;
		width: 100%;
	}
	#header-navbar ul#primary-menu > li > ul.sub-menu {
		background: #f2f2f2;
		top: 50px;
		margin-left: -20px;
		padding: 10px 20px;
		border-top: 12px solid #fff;
	}
	#header-navbar ul#primary-menu > li > ul.sub-menu:after {
		position: absolute;	
		display: block;
		content: '';
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
		pointer-events: none;
		z-index: -1;
	}
	#header-navbar ul#primary-menu > li:active > a,
	#header-navbar ul#primary-menu > li:focus > a,
	#header-navbar ul#primary-menu > li:hover > a {
		padding-top: 5px;
		border-bottom: 5px solid #f7ba44;
	}
  #header-navbar ul#primary-menu > li > a:focus,
	#header-navbar ul#primary-menu > li > a:hover {
		background: #f7ba44;
		color: #000;
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
		width: calc(100% + 40px);
  }

	#header-navbar ul#primary-menu > li.menu-item-has-children > a {
		position: relative;
	}
	#header-navbar ul#primary-menu > li.menu-item-has-children:active > a:after,
	#header-navbar ul#primary-menu > li.menu-item-has-children:focus > a:after,
	#header-navbar ul#primary-menu > li.menu-item-has-children:hover > a:after {
		position: absolute;
		z-index: 100000;
		bottom: -17px;
		left: calc(50% - 8px);
		display: block;
		content: '';
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #f2f2f2;
	}
	
}

@media screen and (max-width: 767px) {
	#topbar {
		height: 60px;
	}
	#site-navigation button.menu-toggle {
		position: absolute;
		top: -60px;
		right: 0;
	}
	
	#site-navigation button.menu-toggle {
		margin: 0;
		height: 60px;
		width: 60px;
		border-radius: 0;
		background: #f7ba44;
		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: #000;
	  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: #000;
	}
	#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-navbar {
		background: #000;
	}
	#header-navbar .menu-header-menu-container > ul {
		margin: 1em 0;
		font-size: 1.2em;
	}
	#header-navbar .menu-header-menu-container ul:after {
		display: table;
		content: '';
		clear: both;
	}

	#header-navbar ul#primary-menu > li {
		width: 50%;
	}
	#header-navbar ul#primary-menu > li:nth-of-type(odd) {
		clear: left;
	}
	#header-navbar ul#primary-menu > li > a {
		padding: 0.25em 20px 0.75em 20px;
		color: #f7ba44;
		display: inline-block;
	}
	#header-navbar ul#primary-menu > li > a:active,
	#header-navbar ul#primary-menu > li > a:focus,
	#header-navbar ul#primary-menu > li > a:hover {
		color: #fff;
	}
	#header-navbar ul#primary-menu > li > ul.sub-menu {
		position: relative;
		display: none;
	}
	#header-navbar ul#primary-menu > li:hover > ul.sub-menu,
	#header-navbar ul#primary-menu > li.focus > ul.sub-menu {
		display: block;
		background: #fff;
		width: 200%;
		padding: 0.5em 20px;
		margin-bottom: 0.25em;
	}
	#header-navbar ul#primary-menu > li:nth-of-type(even) > ul.sub-menu {
		margin-left: -100%;
	}
	#header-navbar ul#primary-menu > li > ul.sub-menu > li {
		clear: both;
	}
	
	#header-navbar ul#primary-menu > li.menu-item-has-children > a {
		position: relative;
	}
	#header-navbar ul#primary-menu > li.menu-item-has-children:active > a:after,
	#header-navbar ul#primary-menu > li.menu-item-has-children:focus > a:after,
	#header-navbar ul#primary-menu > li.menu-item-has-children:hover > a:after {
		position: absolute;
		z-index: 100000;
		bottom: -1px;
		left: calc(50% - 8px);
		display: block;
		content: '';
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #ffffff;
	}
	
	#header-navbar ul#primary-menu > li ul > li > a {
		padding: 0.25em 0;
	}
	
}

/* Side nav */
.spl-sidenav-holder,
.block-divider {
	position: relative;
}
.spl-sidenav-bg,
.spl-divider-bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: calc(-100vw + 50px);
	background-color: #f2f2f2;
	z-index: -1;
	min-height: 287px;
}
.spl-divider-bg {
	height: 250px;
	right: 0;
}
#spl-sidenav {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
}
#side-btn-container {
	position: relative;
	height: 287px;
	width: 50px;
	z-index: 9999;
}
#spl-sidenav a {
	z-index: 10;
	position: relative;
	width: 50px;
	padding: 15px 10px;
	text-align: center;
}
#spl-sidenav a.btn img,
#spl-sidenav a.btn svg {
	width: 30px;
	height: auto;
}
#spl-sidenav a.btn.donate img,
#spl-sidenav a.btn.donate svg {
	width: 26px;
	height: auto;
}
#spl-sidenav a.btn.donate:focus,
#spl-sidenav a.btn.donate:hover {
	background: #000;
}
body.page-id-13407 a.btn.donate svg path,
#spl-sidenav a.btn.donate:focus svg path,
#spl-sidenav a.btn.donate:hover svg path {
	fill: #f7ba44;	
}
body.page-id-7157 a.btn.yellow svg path,
#spl-sidenav a.btn.yellow:focus svg path,
#spl-sidenav a.btn.yellow:hover svg path {
	fill: #fff;	
}

/* Content nav */
.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: #f2f2f2;
	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 outline on 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,
.clearfix:before,
.clearfix: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;
}
.clearfix {
	clear: both;
}

/* Boxes */
.spl-box {
	margin-top: 7.5px;
	margin-bottom: 7.5px;
}
.spl-box.padded {
	padding: 15px;
}
.spl-box.grey {
	background: #343434 !important;
	color: #fff !important;
}
.spl-box.grey h1,
.spl-box.grey h2,
.spl-box.grey h3,
.spl-box.grey h4,
.spl-box.grey h5,
.spl-box.grey h6 {
	color: #fff;
}
.spl-box.lightgrey,
.row.no-images .spl-box {
	background: #f2f2f2;
}
.spl-box.white {
	background: #fff;
}
.spl-box.black {
  background: #000 !important;
  color: #fff !important;
}
.spl-box.yellow {
  background: #f7bb43 !important;
  color: #000;
}
.spl-box.grey a,
.spl-box.black a {
  color: #fff;
}
.spl-box.yellow a {
  color: #000;
}

.spl-box.lightgrey h3,
.spl-box.yellow h3 {
	color: #000;
}
.spl-box.black h3,
.spl-box.grey h3 {
	color: #fff;
}

.spl-box ul {
	padding-left: 1em;
	margin-bottom: 0;
}

.row.no-images .spl-box h4 {
	margin-top: .5rem;
}

.spl-box.black a.btn,
.spl-box.grey a.btn,
.spl-box.lightgrey a.btn,
.spl-box.yellow a.btn {
	margin: 15px;
}
.spl-box-inner {
	margin: .5em 15px 0 15px;
}
.spl-box-inner p:last-of-type {
	margin-bottom: 0;
}

.box-meta {
	font-size: .75em;
	margin: 1em 0;
}
.spl-box .post-info {
	margin-bottom: 1em;
}
.spl-box p {
	margin-bottom: 0;
}
.spl-box .spl-thumb {
	margin-bottom: 15px;
}
.spl-box.white.padded .spl-thumb {
	margin-bottom: 0;
}

.spl-box .btn {
	display: block;
	margin-top: .5em;
}
.spl-box.white .btn {
	background: #000;
	color: #fff;
}
.spl-box.white .btn:active,
.spl-box.white .btn:focus,
.spl-box.white .btn:hover {
	background: #f7bb43;
	color: #000;
}

.spl-poster-box.lightgrey {
	background: #f2f2f2;
	height: 100%;
}
@media screen and (min-width: 992px) {
	.spl-poster-box-inner {
		margin: 2em 1.25em 2em -1.25em;
		min-height: calc(100% - 4em);
		display: flex;
		flex-direction: column;
	}
	.spl-poster-box-inner p {
		flex: 1; 
	}
}
@media screen and (max-width: 992px) {
	.spl-poster-box-inner {
		margin: 2em 1.5em;
	}
}

.quote-holder {
	font-weight: 700;
}
.quote-attr {
	display: block;
	font-size: .8em;
	margin-top: 1em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
.spl-block {
	margin: 3em 0;
	position: relative;
}
.spl-block-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: .7em;
}
.spl-block-caption span {
	display: inline-block;
	background: #fff;
	padding: 5px 10px 5px 10px;
	float: right;
}
.spl-block h3.block-title {
	margin: 60px 0 20px 0;
}
#spl-block-showcase h3.block-title,
#spl-block-blog h3.block-title,
#spl-block-related h3.block-title  {
	margin-bottom: 0;
}

.margin-y {
	margin-top: 20px;
	margin-bottom: 20px;
}

.showcase-container {
	height: 80vh;
	min-height: 500px;
	max-height: 1000px;
	padding: 30px 0;
	align-self: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Content Block */
.bg-lightgrey {
	background: #f2f2f2;
}
.spl-block.bg-lightgrey {
	padding: 3em 0;
}
.spl-block.block-content .row > div > *:last-child {
	margin-bottom: 0;
}

/* FAQs Block */
.block-faq .panel {
	margin-bottom: 7px;
}
.block-faq .panel:last-of-type {
	border-bottom: none;
}
.block-faq .panel .panel-heading h4 {
	margin-bottom: 0;
	font-size: 1em;
}
.block-faq .panel .panel-heading a {
	display: block;
	padding: 20px;
	color: #000;
	background-color: #f7bb43;
}
.block-faq .panel-group {
	margin-bottom: 3em;
}
.block-faq .panel-heading a:hover,
.block-faq .panel-heading a:focus {
	background-color: #000;
	text-decoration: none;
}
.block-faq .panel .panel-heading a:hover,
.block-faq .panel .panel-heading a:focus {
	color: #fff;
}
.block-faq .panel-collapse {
	background-color: #f2f2f2;
	padding: 20px;
}
.block-faq .panel-collapse p {
	margin: 0;
}

/* Home Hero Block */
#spl-block-home-hero {
	max-width: 740px;
	margin: 0 auto 60px auto;
}
.hero-container {
	position: relative;
	overflow: hidden;
}
.hero-container > * {
	position: absolute;
}
.hero-container .hero-p {
	top: -7%;
	left: -1%;
	width: 33%;
	position: relative;
}
.hero-container img.hero-oetry {
	bottom: -2%;
	right: 0;
	width: 76%;
	z-index: 2;
}

.hero-container .block-P > .content > * {
	position: absolute;
}
.hero-container .block-P > .content img {
	top: 0.5%;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}
.hero-container .block-P-bg-color.visible,
.hero-container .block-P-bg-img.visible {
	visibility: visible;
	opacity: 1;
}
.hero-container .block-P-bg-color.visible {
	transition: opacity 0.3s, visibility 0.3s;
}
.hero-container .block-P-bg-img.visible {
	transition: opacity 1s, visibility 1s;
}
.hero-container .block-P-bg-color {
	transition: opacity 0.3s, visibility 0.3s;
}
.hero-container .block-P-bg-img {
	transition: opacity 1s, visibility 1s;
}
.hero-container .block-P-bg-color,
.hero-container .block-P-bg-img {
	top: 7.75%;
	bottom: 6%;
	left: 5%;
	right: 5%;
	visibility: hidden;
	opacity: 0;
}
.hero-container .block-P .content img {
	width: 100%;
	height: auto;
}

#hero-pre-p,
#hero-post-p {
	position: absolute;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
}
#hero-pre-p {
	top: 27%;
	left: 33%;
	width: 22%;
	height: 15%;
}
#hero-post-p {
	color: #666;
	bottom: 0%;
	left: .6%;
	width: 67%;
	height: 15%;
}

/* Hero Block */
.spl-hero,
#spl-hero {
	display: flex;
	flex-direction: column;
	padding-top: 25px;
	padding-bottom: 40px;
	justify-content: center;
	margin-bottom: 30px;
	min-height: 480px;
	min-height: calc(100vh - 160px);
}
@media print {
  .spl-hero,
	#spl-hero {
		min-height: unset;
		padding: 0 !important;
    height: auto;
	}
}

/* Section divider */
.page-head .spl-box,
.divider-head .spl-box {
	margin-top: 0;
}

/* Showcase boxes */
.spl-box {
	display: flex;
	flex-flow: column;
	height: 100%;
}
.spl-box .spl-box-inner {
	flex: 1;
}

/* Poem Search Block */
#poem-search-box {
	background: #f2f2f2;
	padding: 30px;
}
#poem-search-box h3 {
	color: #000;
}
#poem-search-box ul.nav-tabs {
	display: flex;
	flex-direction: row;
	margin: 0 0 10px 0;
	border:none;
}
#poem-search-box ul.nav-tabs li {
  flex-grow: 0;
  flex-basis: 0;
}
#poem-search-box ul.nav-tabs li:nth-of-type(2) {
  flex-grow: 1;
  flex-basis: 0;
  margin-left: 20px;
	margin-right: 20px;
}
#poem-search-box  ul.nav-tabs li a {
	border-radius: 0;
	border: none;
	display: inline-block;
	position: relative;
}
#poem-search-box  ul.nav-tabs li a:after {
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-webkit-transition: opacity 0.4s ease-in-out;
	position: absolute;
	z-index: 100;
	bottom: -9px;
	left: calc(50% - 9px);
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #ffffff;
}
#poem-search-box  ul.nav-tabs li a.active:after {
	opacity: 1;
}
#poem-search-box  ul.nav-tabs li a.tab-cat.active:after {
	border-bottom: 8px solid #000000;
}

#poem-search-box .poem-search-form {
	position: relative;
}
#poem-search-box .poem-search-form input.poem-search-text-field,
#poem-search-box .poem-search-form input.poem-search-submit {
	height: 40px;
}
#poem-search-box .poem-search-form input.poem-search-text-field {
	width: 100%;
	border: none;
	border-radius: 0;
	padding-left: 10px;
	padding-right: 50px;
	background: #fff;
}
#poem-search-box .poem-search-form input.poem-search-submit {
	position: absolute;
	top: 0;
	right: 0;
	background: #000;
	color: #fff;
	text-indent: -9999em;
	width: 40px;
	cursor: pointer;
}
#poem-search-box .poem-search-form input.poem-search-submit:hover {
	background: #f7ba44;
}
#poem-search-box .poem-search-form.poem-search-mobile input.poem-search-submit {
	padding: 0;
	text-indent: 0;
}
#poem-search-box .poem-search-form i.icon-search {
	position: absolute;
	top: 8px;
	right: 8px;
	color: #fff;
	pointer-events: none;
}
ul.ui-autocomplete {
	background: #fff;	
	padding: 5px 10px;
	list-style: none;
}
ul.ui-autocomplete li {
	cursor: pointer;
}
ul.ui-autocomplete li .poem-title {
	font-weight: bold;
}
ul.ui-autocomplete li .by,
ul.ui-autocomplete li .author-name {
	font-size: 0.8em;
}

#poemCats.active {
	background: #000;
	padding: 15px;
	color: #fff;
}
#poemCats ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#poemCats a {
	text-decoration: none;
	color: #f7ba44;
}
#poemCats a:active,
#poemCats a:focus,
#poemCats a:hover {
	color: #fff;
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	#poem-search-box ul.nav-tabs li {
		width: 100%;
		flex-basis: unset;
	}
	#poem-search-box ul.nav-tabs li:nth-of-type(3) {
		margin-top: 20px;
	}
	#poem-search-box ul.nav-tabs li:nth-of-type(2) {
		margin: 20px 0 0 0;
		order: 3;
	}
	#poem-search-box ul.nav-tabs li a {
		width: 100%;
	}
	#poemSearch,
	#poem-search-box ul.nav-tabs li a.tab-cat.active:after {
		display: none;
	}
	#poem-search-box {
		padding-bottom: 10px;
	}
  
	#poemCats {
		margin-top: -10px;
	}
	.poemCat {
		margin-bottom: 15px;
	}
	.poemCat:last-of-type {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 575px) {
	#poem-search-box h3 {
		margin-bottom: 15px;
	}
}

@media screen and (min-width: 768px) and (max-width: 992px) {
	#poem-search-box a.btn {
		padding: 1em 1.29em;
	}
}
@media screen and (min-width: 768px) {
	#poemCats.active {
		display: flex;
		flex-direction: row;
	}
	#poemCats .poemCat {
		flex-grow: 1;
		flex-basis: 0;
	}
}

/* Join Block */
h2.join-title {
	font-size: 6em;
	font-weight: 900;
}
#spl-block-join .spl-box.white {
	padding-left: 30px;
	padding-right: 30px;
}
#spl-block-join a.btn {
	margin-top: 1.5em;
}

/* Poem Block */
.block-poem .showcase-container .spl-box {
	position: relative;
}
.block-poem .spl-box .social-share-tab {
	position: absolute;
	bottom: -40px;
	right: 0;
	height: 40px;
	background: #000;
	width: 120px;
}
.social-share-tab a {
	color: #fff;
	font-size: 1.25em;
	width: 40px;
	height: 40px;
	float: left;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 500ms ease-in-out;
}
.social-share-tab a:focus,
.social-share-tab a:hover {
	background: #f7ba44;
	color: #000;
}
.social-share-tab a span {
	display: none;
}

.box-poem {
	font-weight: 700;
	margin-bottom: 1em;
	line-height: 1.2;
}
.box-poem span {
	display: inline-block;
}

@media screen and (max-width: 767px) {
	#poem-search-box {
		margin-left: -15px;
		margin-right: -15px;
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Blog Block */
#spl-block-blog .spl-box-inner {
	padding-bottom: 15px;
}
.spl-thumb-sticker {
	position: absolute;
	top: 0;
	left: 0;
	background: #f7ba44;
	font-size: .8em;
	font-weight: 700;
	color: #000;
	padding: .5em 1.5em;
}
.spl-thumb-sticker.grey {
	background: #343434;
	color: #fff;
}
.product-placement .spl-thumb-sticker {
	top: -15px;
	left: -20px;
}
#spl-block-blog a.read-more {
	color: #f7ba44;
	text-decoration: none;
}
#spl-block-blog a.read-more:focus,
#spl-block-blog a.read-more:hover {
	text-decoration: underline;
}

/* Tag Cloud Block */
.spl-block-tagcloud {
	padding-bottom: 40px;
}
.spl-block-tagcloud a.tag-cloud-link {
	display: inline-block;
	padding: 10px 8px;
	text-decoration: none !important;
	line-height: 1;
}

/* Visit Block */
#spl-block-visit .spl-opening {
	font-weight: bold;
}
#spl-block-visit .spl-box {
  height: auto;
}
@media screen and (min-width: 768px) {
	#spl-block-visit .spl-box {
		z-index: 10;
		position: relative;
	}
	#spl-block-visit #spl-map {
		margin-top: 30px;
		margin-left: -100px;
		width: calc(100% + 100px) !important;
	}
}

/* Poem List Block */
#spl-block-poem-list {
	padding: 3em 9999em;
	background: #eee;
	margin-left: -9999em;
	margin-right: -9999em;
	margin-bottom: 0;
}
#spl-block-poem-list ul {
	list-style: none;
	padding-left: 0;
}
#spl-block-poem-list li {
	margin-top: 15px;
	margin-bottom: 15px;
}
#spl-block-poem-list .spl-box {
	height: 100%;
	display: flex;
	justify-content: center;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#primary.content-area {
	position: relative;
}
#main article ul,
#main .block-content ul {
	padding-left: 0;
}
#main article ul li.gfield,
#main .block-content ul li.gfield {
	margin-top: .5em;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

article header {
	margin: 2em 0;
}
article header h1.entry-title,
h2.divider-title {
	margin: 1em 0;
}

.product-list .product-strap,
body.search .product-strap,
#spl-block-related .product-strap {
	font-size: .7em;
}
body.search .product-strap:before {
	content: '- ';
}
.breadcrumbs .product-strap {
	display: none;
}
body.single h1 .product-strap {
	display: block;
	font-size: .5em;
	margin-top: .5em;
	font-weight: 400;
}

header.header-dark > * {
  color: #fff;
}

.banner .poet-meta {
	font-weight: 700;
}
.banner .char-thumb-container {
	margin: 0 auto 2em auto;
}
.banner .char-thumbnail {
	max-width: 400px;
	height: auto;
	border: 1em solid #fff;
}

.page-header.lightgrey {
	min-height: 287px;
	margin-bottom: 20px;
	margin-left: -9999px;
	margin-right: -9999px;
	padding-left: 9999px;
	padding-right: 9999px;
}

.wp-block-quote cite {
	font-weight: 700;
	font-size: .8em;
	font-style: normal;
}

/* Blog archive */
.spl-dropdown-list {
	margin-top: 15px;
	background: #000;
	padding: 15px 30px;
	font-weight: 700;
	position: relative;
}
.spl-dropdown-list ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
.spl-dropdown-list ul li {
		margin-left: 0;
}
.spl-dropdown-list ul li a {
	display: inline-block;
	padding: .25em 0;
	text-decoration: none !important;
	color: #fff;
}

.spl-dropdown-list:before {
	position: absolute;
	z-index: 3;
	top: -14px;
	left: calc(50% - 14px);
	display: block !important;
	content: '';
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 15px solid #000;
}

/* SQA Set Texts */
.sqa-keys {
	float: right;
}
.sqa-key {
	display: inline-block;
	width: 14px;
	height: 14px;
	overflow: hidden;
	border-radius: 7px;
	margin: 0 4px;
	text-indent: -9999em;
}
.sqa-key.national-5 {
	background: #f7ba44;
}
.sqa-key.highers {
	background: #000;
}
body.page-id-12640 .spl-box.lightgrey a.btn {
	margin: 1.5em 0 0 0;
}

/* Support */
body.page-id-23 #accordion {
	margin-top: 0;
}
#collapseFriends ul {
	margin-top: 1em;
}
#headingFriends a.btn {
	display: relative;
}
#headingFriends a.btn[aria-expanded="true"]:after {
	position: absolute;
	display: block;
	content: '';
	bottom: -46px;
	left: 0;
	right: 0;
	margin: 0 auto;
  width: 0; 
  height: 0; 
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #f7ba44;
}

/*--------------------------------------------------------------
## Poems
--------------------------------------------------------------*/
.single-poem span.poem-author:before {
	content: 'by ';
}
.single-poem header h1.entry-title {
	margin-bottom: 0;
}
.single-poem header span.poem-author {
	display: block;
	margin: 1em 0 0 0;
}

.spl-tags {
	margin-bottom: 1em;
}
.spl-tags h4 {
	display: inline-block;
	padding-right: .5em;
}
.spl-tag-list {
	font-size: .85em;
}
.spl-tag-list .spacer {
	display: inline-block;
	width: 1em;
}
.spl-tag-list a {
	color: #999;
	text-decoration: underline;
}
.spl-tag-list a:focus,
.spl-tag-list a:hover {
	color: #000;
}

.all-poem-translations-btn-wrapper {
	margin: 1.5em 0;
}
.all-poem-translations-btn-wrapper .btn {
	border-radius: 0;
	font-weight: 600;
}

#all-poem-translations pre {
	background: none;
	font-family: 'Lato', sans-serif;
	padding: 0;
	font-size: 1em;
	overflow: visible;
}

/* Poem Archive */
.archive-description p:last-of-type {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## Poets
--------------------------------------------------------------*/

/* Archive */
.refine-list-of-poets form.refine-form .filter-header a {
	width: 100%;
}
.refine-list-of-poets form.refine-form .filter-contents label {
	display: block;
	cursor: pointer;
	color: #f7ba44;
	font-weight: bold;
}
.refine-list-of-poets form.refine-form .filter-contents label input {
	display: none;
}

body.archive .page-header.lightgrey {
	background: #f2f2f2;
	padding-top: 1em;
}
body.archive .page-header .refine-list-of-poets {
	margin-top: 2em;
}
body.archive .page-header .refine-list-of-poets h2 {
	color: #666;
	padding: .5em 0;
}
body.archive .page-header > .container {
	min-height: 136px;
}
.initial-filter {
	background: #343434;
	color: #fff;
	margin-top: -1.5em;
	padding-top: 3em;
	padding-bottom: 1em;
}
.initial-filter label.selected svg path {
	fill: #f7ba44;
}
.initial-filter label {
	margin: 5px 3px;
}
.initial-filter img,
.initial-filter svg {
	height: 20px;
	width: auto;
	cursor: pointer;
}
.initial-filter svg:active path,
.initial-filter svg:focus path,
.initial-filter svg:hover path {
	fill: #f7ba44;
}
.initial-filter input {
	display: none;
}
.language-filter,
.time-period-filter {
	position: relative;
}
#language-filter-contents::before,
#time-filter-contents::before {
	position: absolute;
	z-index: 3;
	top: 0px;
	left: 33px;
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #f7ba44;
}
#language-filter-contents,
#time-filter-contents {
	z-index: 1;
	width: 100%;
	text-align: left;
	padding: 10px 30px;
	background-color: #000;
	position: absolute;
}
#language-filter-contents label,
#time-filter-contents label {
	color: #fff;
}
#language-filter-contents label:focus,
#time-filter-contents label:hover {
	color: #f7ba44;
}
#selected-filters > * {
	display: inline-block;
	margin: 20px 20px 20px 0;
}

.spl-box-inner .poet-meta {
	display: block;
	margin-top: .25em;
	font-size: .8em;
	font-weight: 400;
}
.spl-box-inner .poet-meta:before {
	content: '(';
}
.spl-box-inner .poet-meta:after {
	content: ')';
}

/* Single */
.tab-nav.btn {
	margin-top: 1.5px;
	margin-bottom: 1.5px;
}

/*--------------------------------------------------------------
## Learning Resources
--------------------------------------------------------------*/
#learningResources .card-body {
	background: #f2f2f2;
}
#learningResources ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
#learningResources ul li {
	padding-bottom: 1em;
	border-bottom: 4px solid #fff;
	margin-bottom: 1em;
}
#learningResources ul li:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}
#learningResources ul li p {
	margin-bottom: 0;
}
#learningResources ul li i {
	font-size: .7em;
}
.refine-list-of-resources form.refine-form .resource-filter {
	margin-bottom: 20px;
	position: relative;
	float: left;
	width: 20%;
}
.refine-list-of-resources form.refine-form .filter-header a {
	width: 100%;
}
.refine-list-of-resources form.refine-form .filter-contents label {
	display: block;
	cursor: pointer;
	color: #f7ba44;
	font-weight: bold;
}
.refine-list-of-resources form.refine-form .filter-contents label input {
	display: none;
}
.refine-list-of-resources form.refine-form .terms .filter-contents label.selected span:after {
	content: 'x';
	position: relative;
	margin-left: 4px;
	top: -6px;
	font-size: 12px;
}
.refine-list-of-resources form.refine-form .terms .filter-contents label.selected:hover span {
	background-color: #fff;
	color: #000;
}
.refine-list-of-resources form.refine-form .terms .filter-contents label span {
	color: #f7ba44;
	padding: 3px 5px;
}
.refine-list-of-resources form.refine-form .terms .filter-contents label.selected span,
.refine-list-of-resources form.refine-form .terms .filter-contents label:hover span {
	color: #000;
	background-color: #f7ba44;
}
.refine-list-of-resources > h6 {
	text-align: center;
	margin: 10px 0 30px;
}
.refine-list-of-resources h6 {
	padding: 3px 5px;
	color: #fff;
}
.refine-list-of-resources {
	margin-top: 20px;
	background-color: #000;
	padding: 20px;
	position: relative;
}

body.post-type-archive-resource .language-filter label.term-bsl,
body.post-type-archive-resource .language-filter label.term-translations {
  display: none;
}

.learningKey {
	background: #f8f8f8;
	padding: 1em 20px;
	border-bottom: 1px solid #fff;
}
.learningKey strong {
	margin-right: 20px;
}

@media screen and (max-width: 767px) {
	.refine-list-of-resources form.refine-form {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.refine-list-of-resources form.refine-form .resource-filter {
		width: 50%;
	}
}

	/*--------------------------------------------------------------
    ## Add Event
    --------------------------------------------------------------*/
#tribe-community-events.tribe-community-events.form {
	max-width: 980px;
	margin: 0 auto 50px auto;
}
#tribe-community-events.tribe-community-events.form #event_tribe_organizer {
	display: none;
}
#tribe-community-events h2.my-events {
	text-align: center;
	margin: 1em 0 2em;
}
#tribe-community-events header.my-events-header p {
	background-color: #f2f2f2;
	margin: 1em 0 0 0;
	padding: 2em 2em 2em 2em;
}
.tribe-community-notice.tribe-community-notice-update {
	padding: 1em 2em;
}
.tribe-community-notice.tribe-community-notice-update > p {
	margin: 1em 0 !important;
}
#tribe-community-events form {
	background-color: #f2f2f2;
	padding: 1em 2em;
}
#tribe-community-events header.my-events-header a,
#tribe-add-recurrence,
#tribe-community-events .eventForm,
#tribe-community-events p {
	margin: 0;
}
#event_tribe_venue > p:nth-child(2),
#event_tribe_venue > p:nth-child(3),
#event_tribe_venue > p:nth-child(4),
#tribe-community-events label br,
#tribe-community-events > form > br,
.tribe-section-taxonomy,
.choose-file,
.selected-msg br,
.tribe-button br,
.tribe_community_edit .spl-sidenav-bg,
#tribe-community-events .tribe-datetime-block br,
#tribe-community-events > p,
.tribe-section-header p {
	display: none;
}
.eventForm td.recurrence-exclusions-header,
.eventForm td.recurrence-description-header,
#tribe-community-events label {
	display: block;
	margin: .5rem 0;
	font-size: 1rem;
}
#tribe-community-events input[type="text"],
#tribe-community-events input[type="email"],
#tribe-community-events textarea {
	color: #666;
	border: 1px solid #fff;
	border-radius: 0;
	padding: .5em .75em;
	background: #fff;
	width: 100%;
	height: auto;
}
.tribe-section-header h3 {
	margin: 1em 0;
}
#tribe-community-events .tribe-datetime-block td {
	border: 0 none;
	display: block;
	padding: 0;
}
#tribe-community-events .tribe-datetime-separator {
	margin-left: 8px;
}
#tribe-community-events .to-lbl {
	float: left;
	padding-right: 15px;
	line-height: 38px;
}
#tribe-community-events .start-date,
#tribe-community-events .end-date {
	min-width: 210px;
	max-width: 400px;
	float: left;
}
label[for=allDayCheckbox]  {
	float: left;
}
#allDayCheckbox {
	margin: 13px 0 0 1rem;
}
.tribe-events-community-footer .tribe-button,
#tribe-community-events .tribe-datetime-block input[type="text"]#recurrence-description,
#tribe-community-events .tribe-datetime-block input[type="text"]#EventStartTime {
	margin-left: 0;
}
#tribe-community-events .tribe-datetime-block input[type="text"] {
	width: auto;
	margin-bottom: 10px;
}
.tribe-has-recurrence-rule .tribe-recurrence-exclusion-row,
.tribe-has-recurrence-rule .tribe-recurrence-description {
	margin-left: 5%;
}
tr.tribe-recurrence-exclusion-row,
tr.tribe-recurrence-description {
	display: none;
}
.tribe-remove-upload a,
.tribe-button:not(div),
a.tribe-button,
button.tribe-button,
input.tribe-button,
.tribe-has-recurrence-rule .tribe-add-recurrence.button {
	background: #000;
	border-radius: 0;
	padding: 9px 12px;
	line-height: 20px;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	display: inline-block;
	text-decoration: none !important;
}
.tribe-remove-upload a:hover,
.tribe-button:not(div):hover,
a.tribe-button:hover,
button.tribe-button:hover,
input.tribe-button:hover,
.tribe-has-recurrence-rule .tribe-add-recurrence.button:hover {
	background: #f7ba44;
	color: #000;
	text-decoration: none;
}
.tribe-event-recurrence:nth-child( 2n+2 ),
.tribe-event-exclusion:nth-child( 2n+2 ) {
	background: transparent;
}
.tribe-image-upload-area .form-controls > p:nth-child(1) {
	display: inline-block;
}
#tribe-community-events .tribe-image-upload-area .note {
	margin-bottom: 5px;
}
#tribe-community-events .tribe-image-upload-area .form-controls > p:nth-child(2) {
	display: inline-block;
	margin-left: 10px;
}
#tribe-community-events .tribe-image-upload-area .form-controls > p:nth-child(6) {
	margin: 10px 0 20px;
}
.tribe-section-cost p {
	font-size: 13px;
}
.tribe-section-cost table td,
.tribe-section-website table td,
#event_tribe_venue table td {
	display: block;
	padding: 0;
}
.tribe-dropdown.select2-container {
	width: 100%;
}
.tribe-dropdown.select2-container a.select2-choice {
	border-radius: 0;
	border: 0 none;
	background-color: #fff;
	height: auto;
	padding: .5em .75em;
	color: #000!important;
	font-size: 16px;
}
.select2-container .select2-choice .select2-arrow b {
	margin-top: 5px;
}

#tribe-community-events p.aes,
#tribe-community-events #tribe-not-title {
	display: none;
}

@media screen and (max-width: 767px) {
	#tribe-events-pg-template {
		padding-right: 0;
		padding-left: 0;
	}
	#tribe-community-events form {
		padding: 1em;
	}
	.tribe-has-recurrence-rule .tribe-recurrence-exclusion-row,
	.tribe-has-recurrence-rule .tribe-recurrence-description,
	.tribe-datetime-block:not(table) {
		width: 100%;
		margin-left: 0;
	}
	#tribe-community-events .tribe-datetime-block input[type="text"] {
		margin: 0 0 10px 0;
		width: 100%;
	}
	#tribe-community-events .tribe-datetime-block p {
		width: 100%;
	}
	#tribe-community-events .to-lbl {
		float: none;
		text-align: center;
		padding-right: 0;
	}
	#tribe-community-events .start-date,
	#tribe-community-events .end-date {
		float: none;
	}
}

/*--------------------------------------------------------------
## Event List
--------------------------------------------------------------*/
html.placeholder {
  color: inherit;
  cursor: inherit;
  padding: inherit;
}
.tribe-events-page-title {
	font-weight: bold;
	margin-bottom: 2em;
}
#tribe-bar-form input[type=text] {
	border-bottom: 1px dashed #000;
}
#tribe-bar-form ::placeholder {
	color: #000;
	opacity: 1;
}
#tribe-bar-form .tribe-bar-submit input[type=submit] {
	background-color: #000;
}
.tribe-events-ical,
#tribe-events-header .tribe-events-nav-pagination,
.tribe-events-list .tribe-events-loop .tribe-events-event-image,
.tribe-events-list .tribe-events-loop .tribe-events-content a,
.tribe-events-event-cost,
.tribe-events-list .tribe-events-venue-details br,
.tribe-events-list-separator-month {
	display: none;
}
.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first {
	/*padding-top: 0;*/
  margin-top: -40px;
}
#tribe-events-content .tribe-events-list-event-title a {
	color: #666;
}
.tribe-events-loop .tribe-events-event-meta {
	font-weight: normal;
	font-size: 16px;
}
.tribe-events-loop .tribe-events-event-meta b {
	font-weight: bold;
}
.tribe-events-list .tribe-events-venue-details a {
	color: #000;
}
.tribe-events-list .tribe-events-venue-details {
	margin: 0;
	line-height: 1.5;
}
.tribe-events-list .tribe-events-loop .tribe-events-content,
.tribe-events-list .tribe-events-loop .type-tribe_events .tribe-events-event-meta,
.tribe-events-list .tribe-events-loop .tribe-events-event-meta .tribe-events-content {
	margin: 0;
}
.tribe-events-list .tribe-events-loop .tribe-events-content p {
	display: inline;
}
.event-info {
	padding-top: 5px;
}
.post-info .event-info {
	padding-top: 0;
}
.tribe-events-nav-pagination a {
	background: #000;
	border-radius: 0;
	padding: 9px 15px;
	line-height: 20px;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	display: inline-block;
}
.tribe-events-nav-pagination a:hover {
	background: #f7ba44;
	color: #000;
	text-decoration: none;
}
.tribe-events-calendar .tribe-events-category-spl-events {
	background-color: #f7bb43;
}
.events-archive.events-gridview #tribe-events-content table .type-tribe_events {
	margin: 0;
	padding: 10px;
}
#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
	padding: 0;
}
#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title a {
	color: #000;
	font-weight: bold;
	font-size: 13px;
	line-height: 1.4;
}
.tribe-events-list .type-tribe_events.tribe-events-category-spl-events > :first-child {
	padding-top: 27px;
}
.tribe-events-list .type-tribe_events.tribe-events-category-spl-events > :last-child {
	padding-bottom: 30px;
}
.tribe-events-list .type-tribe_events.tribe-events-category-spl-events {
	position: relative;
}
.tribe-events-list .type-tribe_events.tribe-events-category-spl-events::before {
	top: 2.25em;
	font-weight: bold;
	right: 0;
	content: "SPL Event";
	background-color: #000;
	color: #fff;
	position: absolute;
	padding: 4px 7px;
}
.tribe-events-list .type-tribe_events.tribe-events-category-spl-events > * {
	background-color: #f7bb43;
	padding-left: 23px;
	padding-right: 23px;
	width: 100%;
  border: 0 !important;
	margin-bottom: 0;
}
#tribe-events-content .tribe-events-category-spl-events .tribe-events-list-event-title a {
	color: #000;
}
#tribe-events-content .tribe-events-list-event-title a:focus,
#tribe-events-content .tribe-events-list-event-title a:hover {
	color: #666;
}

#content table.tribe-events-calendar a {
	text-decoration: none;
}
#content table.tribe-events-calendar a:focus,
#content table.tribe-events-calendar a:hover {
  text-decoration: underline;
}
table.tribe-events-calendar .tribe-events-tooltip {
	padding: 10px;
}
table.tribe-events-calendar .tribe-events-event-body {
	padding: 0;
}
table.tribe-events-calendar h3.entry-title {
	font-size: 1.4em;
}
table.tribe-events-calendar .tribe-events-event-body .tribe-event-duration {
	margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
	.tribe-events-loop .tribe-events-event-meta {
		background-color: #fff;
		border: none;
	}
	.tribe-events-list .tribe-event-schedule-details,
	.tribe-events-list .tribe-events-venue-details {
		padding: 0;
		width: calc(100% - 25px);
		border: 0;
	}
	#tribe-events .tribe-events-loop .tribe-events-category-spl-events .tribe-events-content {
		padding: 0 25px 25px 25px;
	}
}

/*--------------------------------------------------------------
## Event Single Page
--------------------------------------------------------------*/
.tribe-events-details address {
	display: inline;
}
.single-tribe_events .tribe-events-single-section.tribe-events-event-meta,
.tribe-events-details address br {
	display: none;
}
.single-tribe_events .tribe-events-content {
	margin-top: 30px;
}
.single-tribe_events .event-info {
	margin: 0;
}
.tribe-events-details > div {
	padding: 10px 0;
}
.tribe-events-details {
	font-size: 18px;
	padding: 25px 30px;
	background-color: #f2f2f2;
	margin-bottom: 30px;
}
.single-tribe_events .tribe-events-tickets {
	background-color: #f2f2f2;
}
.single-tribe_events .tribe-events-tickets td.woocommerce input {
	color: #666;
	border: 1px solid #666;
	border-radius: 0;
	padding: .5em .75em;
	background: #fff;
}
.single-tribe_events .tribe-events-tickets td,
.single-tribe_events .tribe-events-tickets td.woocommerce,
.single-tribe_events .tribe-events-tickets tr {
	border: 0 none;
}
.single-tribe_events .tribe-events-tickets {
	margin-top: 20px;
}
.single-tribe_events .tribe-events-tickets .tickets_price {
	font-style: normal;
}
.single-tribe_events .tribe-events-tickets td.woocommerce.add-to-cart {
	text-align: left;
}
.single-tribe_events .tribe-events-tickets tr:first-child td {
	padding-top: 26px;
}
.single-tribe_events .tribe-events-tickets td.woocommerce {
	text-align: center;
}
.single-tribe_events .tribe-events-tickets-title {
	font-size: 2rem;
}
.tribe-events-single header h1 {
	margin-bottom: 5px;
}
.tribe-events-single header time {
	color: #666;
	padding-bottom: 25px;
	display: inline-block;
}
.tribe-events-single .tribe-events-button {
	background: #000;
	border-radius: 0;
	padding: 7px 10px;
	line-height: 20px;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	text-transform: none;
	display: inline-block;
	margin-top: 0;
}
.tribe-events-single .tribe-events-button:hover {
	background: #f7ba44;
	color: #000;
	text-decoration: none;
}

@media (max-width: 767px) {
  .tribe-events-tickets td {
    display:block !important;
    max-width:100% !important;
    width:100% !important;
    text-align: center !important;
    padding: 15px 25px 0 25px !important;
  }
	.tribe-events-tickets td.add-to-cart {
		margin-bottom: 15px;
	}
}

.tribe-events-cal-links {
	margin: 30px 0;
  text-align: center;
}
#content .tribe-events-cal-links a {
	text-decoration: none;
}
.tribe-events-gcal {
	margin-right: 20px;
}

.tribe-events-notices {
	background: #f7bb43;
	color: #000;
	text-shadow: none;
	border: none;
	border-radius: 0;
	font-weight: bold;
	text-align: center;
	margin: 0 0 25px 0;
}

/* Venue single page */
body.single-tribe_venue .tribe-events-back {
	display: none;
}
body.single-tribe_venue .tribe-events-venue-meta {
	text-align: center;
	border-bottom: 0;
	min-height: 288px;
}

/*--------------------------------------------------------------
## Our National Poet
--------------------------------------------------------------*/
.page-head {
	position: relative;
	z-index: 9999;
}

/*--------------------------------------------------------------
## Podcasts
--------------------------------------------------------------*/
.refine-list-of-podcasts {
	margin-bottom: 30px;
}
@media (max-width: 767px) {
	.refine-list-of-podcasts .time-period-filter {
		margin-top: 15px;
	}
}
#selected-filters-podcast {
	margin-top: 15px;
}

.podcast-search-text {
	position: relative;
}
.podcast-search-text button {
	position: absolute;
	top: 0;
	right: 15px;
	bottom: 0;
	padding: 5px 10px;
}
input.podcast-search-text-field:focus,
input.podcast-search-text-field {
	background-color: #fff;
	color: #000;
	border: 0 none;
	border-radius: 0;
	padding: 12px 10px;
	outline: 0;
}
.podcast-search-results ul.ui-autocomplete li {
	padding: 3px 15px;
}
.podcast-search-results > ul::before {
	position: absolute;
	z-index: 3;
	top: 0px;
	left: 33px;
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #fff;
}
.post-type-archive-podcast ul.ui-autocomplete .podcast-title {
	color: #f7ba44;
}
.post-type-archive-podcast ul.ui-autocomplete {
	background-color: #000;
	padding: 15px 20px;
}
.podcast-search-results {
	position: absolute;
	width: 100%;
	right: 0;
	top: 40px;
	z-index: 3;
	text-align: left;
}

.podcast-search-time p {
	margin: 0;
}
.time-period-filter label {
	width: 100%;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}
.time-period-filter label:focus,
.time-period-filter label:hover {
	color: #f7ba44;
}
.time-period-filter input {
	display: none;
}
.time-period-filter a {
	width: 100%;
}

/*--------------------------------------------------------------
## Publishers
--------------------------------------------------------------*/
.publisher-list .spl-box-inner {
	padding-top: 1em;
}
.refine-list-of-publishers {
	margin-bottom: 30px;
}
#selected-filters-publisher {
	margin-top: 15px;
}

.publisher-search-text {
	position: relative;
}
.publisher-search-text button {
	position: absolute;
	top: 0;
	right: 15px;
	bottom: 0;
	padding: 5px 10px;
}
#main input.publisher-search-text-field:focus,
input.publisher-search-text-field {
	border: 1px solid #f2f2f2;
	border-radius: 0;
	outline: 0;
}
.publisher-search-results ul.ui-autocomplete li {
	padding: 3px 15px;
}
.publisher-search-results > ul::before {
	position: absolute;
	z-index: 3;
	top: 0px;
	left: 33px;
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #fff;
}
.post-type-archive-publisher ul.ui-autocomplete .publisher-title {
	color: #f7ba44;
}
.post-type-archive-publisher ul.ui-autocomplete {
	background-color: #000;
	padding: 15px 20px;
}
.publisher-search-results {
	position: absolute;
	width: 100%;
	right: 0;
	top: 40px;
	z-index: 3;
	text-align: left;
}


/*--------------------------------------------------------------
## Search
--------------------------------------------------------------*/
.no-results input.search-field {
	height: 50px;
	-webkit-appearance: none;
	border-radius: 0;
	margin-right: -5px;
}

.search-checkboxes {
	margin: 3em 0;
	display: flex;
	align-items: center;
	background: #f2f2f2;
	height: 3em;
}
.search-checkboxes > .search-check-title {
	padding-left: 1em;
	padding-right: 1em;
	background: #000;
	color: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.search-checkboxes > .search-check-title h2 {
	font-size: 1em;
	margin:0;
}
.search-checkboxes > .search-check-boxes {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	margin-left: 2em;
	margin-right: 2em;
}
.search-checkboxes > .search-check-boxes > .type-wrapper label {
	margin: 0;
	cursor: pointer;
}
.search-checkboxes > .search-check-boxes > .type-wrapper input {
	margin-right: .25em;
}

@media screen and (max-width: 767px) {
	.search-checkboxes {
		height: auto !Important;
		display: block !important;
	}
	.search-checkboxes .search-check-title {
		padding: 1em 20px;
	}
	.search-check-boxes {
		margin: 0 !important;
		padding: 0 20px;
	}
	.search-checkboxes > .search-check-boxes {
		flex-wrap: wrap;
	}
	.search-checkboxes > .search-check-boxes > .type-wrapper {
    width: calc( 33.3% ) !important;
		padding: .75em 0;
	}	
}

.post-info {
	font-size: 0.8em;
}
.search-result-list a i {
	font-size: .75em;
}
.search-result-list article {
	padding-bottom: 2em;
	border-bottom: 2px solid #f2f2f2;
	margin-bottom: 2em;
}
.search-result-list article:last-of-type {
	border: none;
}
.search-result-list article p {
	margin-bottom: 0;
}

/* Pagination */
.woocommerce-pagination ul.page-numbers {
	padding-left: 0;
}
.spl-pagination,
.woocommerce-pagination ul.page-numbers {
	font-size: 0px;
	margin: 60px 0 80px 0;
	text-align: center;
	font-weight: 700;
}
.spl-pagination > *,
.woocommerce-pagination ul.page-numbers > li > span,
.woocommerce-pagination ul.page-numbers > li > a {
	font-size: 16px;
	background: #f2f2f2;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: .75em .9em;
}
.woocommerce-pagination ul.page-numbers > li > span,
.woocommerce-pagination ul.page-numbers > li > a {
	display: block;
}
.spl-pagination > .next,
.spl-pagination > .prev {
	padding: .75em .5em;
}
.spl-pagination a,
.woocommerce-pagination ul.page-numbers > li > a {
	color: #fff;
	text-decoration: none !important;
	background: #000;
}
.spl-pagination a:active,
.spl-pagination a:focus,
.spl-pagination a:hover,
.woocommerce-pagination ul.page-numbers a:active,
.woocommerce-pagination ul.page-numbers a:focus,
.woocommerce-pagination ul.page-numbers a:hover {
	background: #f7bb43;
	color: #000;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
#footer-info {
	background: #000;
	padding: 30px 30px;
	color: #fff;
}
#footer-info a {
	color: #fff;
}
#footer-info a:focus,
#footer-info a:hover {
	color: #f7ba44;
}

#footer-info img {
	max-width: 150px;
	height: auto;
}
#footer-info .footer-funders img {
	max-width: 85px;
	height: auto;
}

.footer-social {
	text-align: right;
}
.footer-social {
	font-size: 1.75em;
	margin-bottom: 0.5em;
}

#footer-info ul#menu-footer-menu {
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
	font-size: 0.75em;
	line-height: 1.75em;
}
#footer-info ul#menu-footer-menu li a {
	text-decoration: underline;
	text-decoration-skip: ink;
	font-weight: 700;
}

.footer-address,
.footer-smallprint {
	font-weight: 700;
	font-size: 0.75em;
	line-height: 1.75em;
}
.footer-smallprint {
	margin-top: 1em;
}

.footer-funders {
	display: flex;
	flex-direction: row;
}
.footer-funders a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 15px 10px 0 10px;
}
.footer-funders a:first-of-type {
	margin-left: auto;
}
.footer-funders a:last-of-type {
	margin-right: 0;
}

#footer-bottom {
	background: #f7ba44;
	padding: 1.5em;
	text-align: center;
	font-size: 0.85em;
	font-weight: bold;
}
#footer-bottom a {
	color: #000;
}
#footer-bottom a:focus,
#footer-bottom a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	#colophon {
		margin-left: -15px;
		margin-right: -15px;
	}
}
@media screen and (max-width: 575px) {
	#footer-info .row .col-xs-12 {
		margin-bottom: 20px;
	}
}

/*--------------------------------------------------------------
# Read More
--------------------------------------------------------------*/
#content .read-more-block > a,
.read-more-block > a {
	display: block;
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
	outline: none;
}
.read-more-block > a:focus,
.read-more-block > a:hover {
	color: #f7ba44 !important;
}

/*--------------------------------------------------------------
# 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;
}


/*--------------------------------------------------------------
## Image characters
--------------------------------------------------------------*/
.block-2x1,
.block-4x3,
.block-5x2,
.block-A4,
.block-P {
	display: block;
	position: relative;
	}
	.block-2x1:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 50%;
	}
	.block-4x3:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 75%;
	}
	.block-5x2:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 40%;
	}
	.block-A4:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 141.4%;
	}
	.block-P:before {
		display: block;
		content: "";
		width: 100%;
		padding-top: 137%;
	}
	.block-2x1 > .content,
	.block-4x3 > .content,
	.block-5x2 > .content,
	.block-A4 > .content,
	.block-P > .content {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

.char-thumbnail {
	max-width: 480px;
}

.char-thumbnail.within .background {
	background-clip: content-box;
}
.char-thumbnail.within .overlay {
	top: -2px;
	bottom: -2px;
	left: -2px;
	right: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
}
.char-thumbnail.within .overlay img {
  width: 100%;
  height: 100%;
}
.char-thumbnail.behind .overlay {
	top: 30%;
	bottom: 5%;
}
.char-thumbnail.behind.left .overlay {
	left: 5%;
  text-align: left;
}
.char-thumbnail.behind.right .overlay {
	right: 5%;
  text-align: right;
}
.char-thumbnail.behind.right .overlay img {
	float: right;
}
.char-thumbnail.behind.center {
	text-align: center;
}
.char-thumbnail.behind .overlay img {
	height: 100%;
	width: auto;
}

.thumb-caption {
	display: inline-block;
	font-size: 0.8em;
	color: #666;
	margin-top: .25em;
}

/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
## Donate
--------------------------------------------------------------*/
.CRM_Contribute_Form_Contribution_Main #intro_text, .CRM_Contribute_Form_Contribution_Main #priceset-div {
	display: none;
}
#donate-buttons .amount-container:hover,
#donate-buttons .amount-col.selected .amount-container {
	background-color: #f7ba44;
}
#donate-buttons .amount-col {
	margin-top: 10px;
	margin-bottom: 10px;
}
#donate-buttons .amount-container {
	background: #f2f2f2;
	cursor: pointer;
}
#donate-buttons {
	text-align: center;
	margin-bottom: 45px;
}
#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;
}
#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;
}

/*--------------------------------------------------------------
## CiviCRM
--------------------------------------------------------------*/
body.page .crm-title h1.title {
	display: none;
}
#crm-container .help,
#crm-container .messages {
	padding: 15px;
	border-radius: 0;
	border: 0;
	margin-bottom: 1em;
}
#crm-container .messages.crm-error {
	background: #f74445;
	color: #fff;
}
#crm-container .messages.crm-error i {
	color: #fff;
}
#crm-container .messages ul {
	margin-left: 15px;
	margin-bottom: 0;
}

#crm-main-content-wrapper .help,
#crm-main-content-wrapper .messages.status {
	background: #f7ba44;
	color: #343434;
}
#crm-main-content-wrapper .help a,
#crm-main-content-wrapper .messages.status a {
	color: #000;
	font-weight: bold;
}
#crm-main-content-wrapper a {
	color: #666;
}
#crm-main-content-wrapper a:focus,
#crm-main-content-wrapper a:hover {
	color: #f7ba44;
}
.crm-container h3 {
	background: none !important;
	padding: 0 0 1em 0 !important;
	font-family: inherit !important;
	font-size: initial !important;
	font-weight: bold !important;
}

#crm-container #printer-friendly {
	display: none
}

/* Contribution Forms */
.crm-contribution-main-form-block input[type="radio"] {
	margin-right: 5px;
}
.crm-profile-name-Gift_Aid .content label {
	padding-right: 15px;
}

#crm-main-content-wrapper .select2-container a.select2-choice {
	border-radius: 0;
	border: 0 none;
	background: #f2f2f2;
	height: auto;
	padding: .5em .75em;
	color: #000 !important;
	text-decoration: none !important;
	font-weight: normal !important;
}

.crm-public-form-item fieldset legend {
	font-size: 1em !important;
	margin-top: -.2em;
}
.crm-group #priceset fieldset,
.crm-public-form-item fieldset.crm-profile {
	margin-top: 2em;
	border-top-color: #000;
	border-top-width: 2px;
}

.crm-button,
.crm-submit-buttons a.button.cancel {
	border: none !important;
	border-radius: 0 !important;
	background: #000 !important;
	line-height: 1 !important;
	padding: 1em 1.5em !important;
}
.crm-button > input,
.crm-button > i {
	font-size: 1.2em !important;
	text-shadow: none !Important;
}
.crm-button > input {
	font-weight: 700 !important;
}
.crm-button > i {
	padding: .6em .6em !important;
}
.crm-button:hover {
	background: #f7ba44 !important;
	color: #000 !important;
}
.crm-button:hover input {
	color: #000 !important;
}
.crm-submit-buttons a.button.cancel {
	background: #666 !important;
	text-decoration: none !important;
	color: #fff !important;
	text-shadow: none !important;
	font-weight: 600 !important;
	padding: 5px 10px !Important;
}
.crm-contribution-confirm-form-block #crm-submit-buttons {
	height: auto;
}
.crm-contribution-confirm-form-block #crm-submit-buttons:after {
	display: table;
	content: '';
	clear: both;
}