/*
Theme Name: Ryedale
Theme URI: http://underscores.me/
Author: AskewBrook
Author URI: https://www.askewbrook.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ryedale

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries

---Start of User Style---

# Header
	## Header MQ's
# Hero Unit
	## Hero Unit MQ's
# Homepage Featured Event
	## Homepage Featured Event MQ's
# Tri-box
	## Tri Box MQ's
# Visit Us
	## Visit Us MQ's
# ryedale
	## ryedale MQ's
# Footer
	## Footer MQ's

----------------------------------------------------------------
# Clearfix
--------------------------------------------------------------*/

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

.cf:after {
	clear: both;
}

.cf {
	zoom: 1;
	/* ie 6/7 */
}


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
	font-family: 'Muli' ,sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

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

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Muli', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
}

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 http://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. */
}
.black{
    background: #000;
    /* Used for the home page background. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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%;
}

article header,
article .entry-content,
article footer {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2em;
}

article h1,
article h2,
article h3,
article h4,
article h6 {
	color: #e74c3c;
	display: inline-block;
	position: relative;
	line-height: 1.3;
}

article h1:after,
article h2:after,
article h3:after,
article h4:after,
article h5:after,
article h6:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 50%;
	top: 100%;
	left: 0;
	background-color: #e74c3c;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="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;
}

select {
	border: 1px solid #ccc;
}

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;
}

textarea {
	width: 100%;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #e43825;
}


/*a:visited {
	color: purple;
}*/

a:hover,
a:focus,
a:active {
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}


/*--------------------------------------------------------------
## 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 li {
	float: left;
	position: relative;
}

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

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

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

.main-navigation ul ul li {}

.main-navigation li:hover > a,
.main-navigation li.focus > a {}

.main-navigation ul ul:hover > a,
.main-navigation ul ul .focus > a {}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {}


/* Small menu. */

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

.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 {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-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 1.5em;
}


/* Make sure select elements fit in widgets. */

.widget select {
	max-width: 100%;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

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


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

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

.bypostauthor {
	display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,

/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
	display: block;
}


/*--------------------------------------------------------------
# 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%;
}


/*--------------------------------------------------------------
## 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;
}


/*--------------------------------------------------------------
## Generic CTA button
--------------------------------------------------------------*/

.cta-btn {
	display: inline-block;
	text-decoration: none;
	background-color: #e74c3c;
	color: white;
	padding: .8em 1.5em;
	text-transform: uppercase;
	border-radius: .3em;
	transition: background-color .4s ease-in-out;
}

.cta-btn:hover {
	background-color: #d12c1a;
	color: white;
}


/*--------------------------------------------------------------
## 404 Page
--------------------------------------------------------------*/

body.error404 main {
	/* Used to push the footer down without needing a sticky footer! */
	height: 64vh;
	position: relative;
}

.page-404 {
	position: absolute;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
}

.page-404 .wrapper {
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}

.page-404 .wrapper a {
	color: #e74c3c;
}

.page-404 .wrapper a:hover {
	color: #d12c1a;
}


/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
    position: absolute;
	background-color: rgba(0,0,0, 0.7);
	height: 7rem;
	z-index: 100;
    width: 100%;
}

.site-header .header-wrap {
	max-width: 1380px;
	margin: 0 auto;
}

.site-header .site-branding {
	position: relative;
	z-index: 2;
	text-align: right;
	padding-right: 4rem;
	padding-left: 1rem;
	height: 100%;
	float: left;
}

.site-header .site-branding img {
    height: 6rem;
    margin-top: 0.5rem;
}

#triangle-btm-rt {
	position: absolute;
	width: 0;
	height: 0;
	bottom: 0;
	right: 0;
}

.site-header nav {
	position: relative;
	z-index: 2;
	height: 100%;
	float: left;
}

.site-header nav ul li {
	line-height: 7rem;
}

.site-header nav ul li .sub-menu {
	top: 5rem;
	background-color: #fff;
	min-width: 100%;
	width: auto;
}

.site-header nav ul li .sub-menu li {
	line-height: 1;
	width: 100%;
	text-align: center;
}
.site-header nav ul li .sub-menu li a {
	text-align: center;
	display: block;
}

.site-header nav ul li a {
	position: relative;
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1;
	font-weight: 300;
	color: #fff;
	margin: .5em .7em;
	transition: color .3s ease-in-out;
}

.site-header nav ul li a:after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 50%;
	transform: translateX(-50%);
	height: 1px;
	width: 0px;
	background-color: #d12c1a;
}

.site-header nav ul li a:hover {
	border-bottom:2px solid #d12c1a;
}

.site-header .searchcontainer {
	line-height: 7rem;
	font-size: 1.5rem;
	display: inline-block;
	margin-left: 1em;
}

.site-header .searchcontainer a {
	text-decoration: none;
	color: #fff;
	transition: color .4s ease-in-out;
}
.site-header .searchcontainer a:hover {
	color: #d12c1a;
}


.site-header .infobox {
	height: 100%;
	float: right;
	background-color: #eee;
	padding: .5rem 1rem;
	font-weight: 600;
}

.site-header .infobox .title {
	text-align: center;
	font-size: 1.2rem;
	line-height: 1;
	margin-bottom: .3em
}

#hamburger-btn {
	float: right;
	padding-top: 3rem;
}

.hamburger {
	padding: 15px 15px;
	display: inline-block;
	box-shadow: none;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}

.hamburger:hover {
	opacity: 0.7;
}

.hamburger-box {
	width: 40px;
	height: 24px;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 40px;
	height: 4px;
	background-color: #d12c1a;
	border-radius: 4px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}

.hamburger-inner::before {
	top: -10px;
}

.hamburger-inner::after {
	bottom: -10px;
}

.hamburger--squeeze .hamburger-inner {
	transition-duration: 0.1s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
	transition: top 0.1s 0.14s ease, opacity 0.1s ease;
}

.hamburger--squeeze .hamburger-inner::after {
	transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
	transform: rotate(45deg);
	transition-delay: 0.14s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
	top: 0;
	opacity: 0;
	transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
	bottom: 0;
	transform: rotate(-90deg);
	transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.site-header nav ul li.menu-item-has-children .open-btn {
	display: none;
}

/*--------------------------------------------------------------
## Header MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 1360px) {
	.site-header {
		height: auto;
	}
	.site-header .infobox {
		float: right;
		width: 100%;
		text-align: center;
	}
	.site-header .infobox .text {
		display: inline-block;
		margin-right: 1em;
	}
	.site-header .infobox .text:last-child {
		margin-right: 0;
	}
	.site-header .infobox .text span {
		color: #e74c3c;
	}
}

@media screen and (max-width: 1100px) {
	.site-header nav ul li a {
		font-size: 1.1rem;
		margin: 0.5em;
	}
}

/*keep this number 1 higher than the media query below it*/

@media screen and (min-width: 998px) {
	#hamburger-btn {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

@media screen and (max-width: 997px) {
	.site-header .searchcontainer {
		position: absolute;
		right:100px;
		top: 0;
		line-height: 1;
		margin-top: 2.9rem;
		font-size: 1.6rem;
	}
	.site-header {
		position: relative;
	}
	.site-header nav {
		position: static;
		float: none;
		padding-right: 1em;
	}
	.site-header ul.nav-menu {
		position: absolute;
		width: 100%;
		height: 4rem;
		left: 0;
		/*top: 7rem;*/
		top: 100%;
		z-index: 9999;
		background-color: #000;
		text-align: center;
		border-bottom: 3px solid #e74c3c;
	}
	.site-header ul.nav-menu li {
		display: inline-block;
		float: none;
		line-height: 4rem;
	}
	.site-header .header-wrap:before {
		width: 10%;
	}
	.site-header .site-branding {
		width: 15rem;
		position: relative;
		height: 7rem;
	}
	.site-header .site-branding h1 {
		white-space: pre-wrap;
		position: absolute;
		top: 50%;
		max-width: 10rem;
		text-align: center;
		transform: translateY(-50%);
		line-height: 1;
	}
	.site-header nav ul li .sub-menu {
		top: 4em;
	}
}

@media screen and (min-width: 655px) {
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media screen and (max-width: 654px) {
	.site-header ul.nav-menu {
		height: auto;
	}
	.site-header ul.nav-menu li {
		display: block;
		line-height: 1;
		clear: both;
	}
	.site-header ul.nav-menu li a {
		font-size: 1.3rem;
	}

	.site-header nav ul li .sub-menu {
		position: relative;
		top: 0;
		left: 0;
		box-shadow: none;
	}

	.site-header nav ul li .sub-menu {
		/*display: none;*/
		box-sizing: border-box;
		overflow: hidden;
		font-size: 1rem;
		max-height: 0;
		/*padding: .5rem 0 !important;*/
		background-color: #eee !important;
		transition: max-height .5s ease-in-out,padding .5s ease-in-out;
	}
	.site-header nav ul li .sub-menu.active {
		max-height: 250px;
		transition: max-height .5s ease-in-out,padding .5s ease-in-out;

	}
	.site-header nav ul li .sub-menu li {
		font-size: inherit;
		margin: .5rem 0;
	}
	.site-header nav ul li .sub-menu li a {
		font-size: inherit;
	}
	.site-header nav ul li.menu-item-has-children .open-btn {
		content: '+';
		position: absolute;
		font-style: normal;
		display: inline-block;
		top: 50%;
		transform: translateY(-58%);
		font-size: 2.5rem;
		font-weight: 400;
		color: #888;
		padding: .1em;
		line-height: .5em;
		vertical-align: middle;
		cursor: pointer;
		transition: color .4s ease-in-out;
	}
	.site-header nav ul li.menu-item-has-children .open-btn:hover {
		color: black;
	}

	.site-header nav ul li.menu-item-has-children .open-btn.minus {
		font-size: 3.1rem;
	}
	
	.site-header nav ul li .sub-menu li a {
		display: inline-block;
	}
    
    
}

@media screen and (max-width: 452px) {
	.site-header .infobox .text {
		margin-right: 0;
	}
	#hamburger-btn {
		padding-left: 0;
		padding-right: 0;
	}
	.site-header .searchcontainer {
		right: 70px;
	}
}


/*--------------------------------------------------------------
## Hero Unit
--------------------------------------------------------------*/

#main .hero-unit {
	height: 60rem;
	position: relative;
    background-size: cover;
}

@media screen and (max-width: 452px) {
	#main .hero-unit {
		height: 25rem;
	}
}

#main .hero-centerbox hr{
    width: 35%;
    height: 1px;
    background: #E53935;
    border: 0;
    
}

.hero-centerbox a{
margin: 0 auto;
}

#main .hero-unit .hero-centerbox {
	position: absolute;
	display: block;
	top: 50%;
	left: 0;
	right: 0;
	width: 50%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 3rem;
	box-sizing: border-box;
	text-align: right;
	transform: translateY(-40%);
}

#main .hero-unit .hero-text {
    text-align: center;
	font-size: 3.2rem;
	line-height: 1;
	color: #fff;
	font-weight: 600;
	text-shadow: 2px 3px 1px rgba(0, 0, 0, .6);
}

#main .hero-unit p{
    color: #FFF;
    text-align: center;
}

#main .hero-unit .hero-cta {
	display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
	text-decoration: none;
	background-color: #E53935;
	color: white;
	font-size: 1.1rem;
	padding: .8em 1.5em;
	text-transform: uppercase;
	transition: background-color .4s ease-in-out;
}

#main .hero-unit .hero-cta:hover {
	background-color: #d12c1a;
}

#main .hero-unit.center .hero-centerbox {
	text-align: center;
}


/*--------------------------------------------------------------
## Hero Unit MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 989px) {
	#main .hero-unit .hero-centerbox {
		text-align: center;
        width: 90%;
	}
	#main .hero-unit .hero-text {
		font-size: 2rem;
	}
	#main .hero-unit .hero-cta {
		font-size: .9rem;
	}
    
    .ribbon{
        width: 90% !important;
    }
    .ribbon-text{
        width: 85% !important;
    }
}


/*--------------------------------------------------------------
## Homepage Featured Event
--------------------------------------------------------------*/

#main .featured-event {
	background-color: #eee;
	padding: 2em 0;
}

#main .featured-event .wrapper {
	overflow: auto;
	zoom: 1;
	max-width: 1000px;
	margin: 0 auto;
}

#main .featured-event .first-col {
	border-right: 2px solid #333;
	text-align: right;
	box-sizing: border-box;
	padding-right: 3rem
}

#main .featured-event .first-col .align-box {
	display: inline-block;
	text-align: center;
}

#main .featured-event .first-col .title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: .5em;
}

#main .featured-event .first-col .cta-btn {
	font-size: .9rem;
	border-radius: 0;
	padding: .5em 1.5em
}

#main .featured-event .second-col .align-box {
	padding-top: .5rem;
}

#main .featured-event .second-col .event-title {
	font-size: 1.3rem;
	font-weight: 600;
}

#main .featured-event .second-col .event-details {
	color: #e74c3c;
	font-size: 1.3rem;
	font-weight: 600;
}

#main .featured-event .second-col .event-details .event-dates {
	border-right: 2px solid #333;
	padding-right: .5em;
	margin-right: .5em;
}


/*--------------------------------------------------------------
## Homepage Featured Event MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	#main .featured-event .first-col {
		text-align: center;
		padding: 0;
		border: 0;
		margin-bottom: 1em;
	}
	#main .featured-event .second-col {
		text-align: center;
	}
}


/*--------------------------------------------------------------
## Homepage Intro Box
--------------------------------------------------------------*/

.intro-box p{
	text-align: center;
    font-size: 1.5em;
    padding: 2em;
}
/*--------------------------------------------------------------
## Tri-box
--------------------------------------------------------------*/

#main .tri-box .wrapper {
	overflow: visible;
	zoom: 1;
	max-width: 98%;
}

#main .tri-box .wrapper:after {
	content: " ";
	/* Older browser do not support empty content */
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

#main .tri-box .wrapper >a.box {
    filter: grayscale(60%);
	position: relative;
    height: 600px;
    background-position: center;
    background-size: cover;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
    margin-top: 0.5%;
}

@media screen and (max-width: 452px) {
	#main .tri-box .wrapper >a.box {
   		height: 300px;
	}
}

#main .tri-box .wrapper >a.box:hover {
    filter: grayscale(0%);
    font-size: 1.15rem;
    transform: scale(1.02);

}

.box-title{
    transform: translateY(-50%);
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    right: 0;
    color: #FFF;
    text-align: center;
    text-shadow: 2px 3px 1px rgba(0, 0, 0, .2);
}


/*--------------------------------------------------------------
## Tri Box MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	#main .tri-box .wrapper >a.box {
		display: block;
		width: 100%;
		max-width: 300px;
		margin: 2em auto;
	}
}


/*--------------------------------------------------------------
## Home text area
--------------------------------------------------------------*/

.home-ribbon{
    padding: 2em 0;
}

.home-ribbon .wrapper{
    max-width: 1200px;
}

.ribbon-text{
    width: 50%;
    height: auto;
    background-color: white;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: relative;
    top: -3em;
    padding: 1.5em;
    overflow: auto;
}

.ribbon-image{
    height: 250px;
    margin-right: 5%;
    float: left;
    width: 45%;
    background-position: center;
    background-size: cover;
}

.ribbon-text p{
    float: left;
    width: 50%;
}

/* Ribbon */

.ribbon {
 font-size: 16px !important;
 /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

 width: 55%;
 position: relative;
 background: #C0392B;
 color: #fff;
 text-align: center;
 padding: 1em 2em; /* Adjust to suit */
 margin: 0em auto 3em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
}
.ribbon:before, .ribbon:after {
 content: "";
 position: absolute;
 display: block;
 bottom: -1em;
 border: 1.5em solid #C9473A;
 z-index: -1;
}
.ribbon:before {
 left: -2em;
 border-right-width: 1.5em;
 border-left-color: transparent;
}
.ribbon:after {
 right: -2em;
 border-left-width: 1.5em;
 border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
 content: "";
 position: absolute;
 display: block;
 border-style: solid;
 border-color: #952418 transparent transparent transparent;
 bottom: -1em;
}
.ribbon .ribbon-content:before {
 left: 0;
 border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
 right: 0;
 border-width: 1em 1em 0 0;
}

/*--------------------------------------------------------------
## Ribbon MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
    .ribbon-text p{
        float: none;
        width: 100%;

    }
    .ribbon-image{
        float: none;
        width: 100%;
    }
}

/*--------------------------------------------------------------
## Visit Us
--------------------------------------------------------------*/

#main .visit-us {
	background-color: #eee;
	padding: 2em 0;
	border-bottom: 4px solid #e74c3c;
	margin-top: 3em;
}

#main .visit-us .wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1em;
	box-sizing: border-box;
	overflow: auto;
}

#main .visit-us .first-col {
	width: 70%;
	float: left;
}

#main .visit-us .first-col .visit-title {
	font-size: 1.6rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

#main .visit-us .first-col .indent {
	padding-left: 2em;
	font-size: 1.2rem;
	font-weight: 600;
	color: #333
}

#main .visit-us .first-col .indent>div .title {
	color: #e74c3c;
	margin-right: .5em;
	padding-top: 0.5em;
    display: inline-block;
}

#main .visit-us .second-col {
	width: 30%;
	float: right;
}

#main .visit-us .second-col .badge {
	max-width: 200px;
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: #fff;
}

#main .visit-us .second-col .badge .infobox {
	position: absolute;
	display: block;
	width: 100%;
	top: 50%;
	left: 50%;
	line-height: 1.2;
	text-transform: uppercase;
	font-weight: 600;
	transform: translate(-50%, -50%);
	text-align: center;
	font-size: 1.4rem;
}



/*--------------------------------------------------------------
## Visit Us MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	#main .visit-us .wrapper>div {
		float: none;
		text-align: center;
		width: auto;
	}
	#main .visit-us .first-col {
		margin-bottom: 1rem;
	}
	#main .visit-us .first-col .indent {
		display: inline-block;
		padding-left: 0;
	}
	#main .visit-us .first-col .indent>div .title {
		display: block;
		margin: 0;
		font-size: 1.3rem;
	}
}


/*--------------------------------------------------------------
## ryedale
--------------------------------------------------------------*/

#main .ryedale-box {
	background-color: #eee;
	margin: 4rem 0;
	padding: 1rem 0
}

#main .ryedale-box .wrapper {
	overflow: auto;
	zoom: 1;
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 1rem;
}

#main .ryedale-box .side {
	float: left;
	width: 40%;
	margin-right: 2%;
	padding-right: 2%;
	border-right: 3px solid #999;
}

#main .ryedale-box .side img {
	display: block;
    float: left;
	width: 50%;
}

#main .ryedale-box .main-ryedale {
    margin-top: 2%;
	float: left;
	width: 55%;
	overflow: auto;
	zoom: 1;
}

#main .ryedale-box .main-ryedale img {
}

#main .ryedale-box .slogan {
	text-transform: uppercase;
	font-size: 1.3rem;
	text-align: center;
	line-height: 1;
	font-weight: 600;
	margin-top: .5em
}


/*--------------------------------------------------------------
## GET INVOLVED
--------------------------------------------------------------*/

.page-hero {
	position: relative;
	height: 40rem;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 452px) {
	.page-hero {
		height: 26rem;
	}
}

.page-center {
	position: absolute;
	top: 50%;
	width: 100%;
	box-sizing: border-box;
	transform: translateY(-50%);
	text-align: center;
}

.page-center h1 {
    font-size: 4rem;
    text-transform: uppercase;
	color: #FFF;
	text-shadow: 2px 3px 1px rgba(0, 0, 0, .6);
}

@media screen and (max-width: 452px) {
	.page-center h1 {
	    font-size: 2.3rem;
	    text-transform: uppercase;
		color: #FFF;
		text-shadow: 2px 3px 1px rgba(0, 0, 0, .6);
	}	
}

.involved-intro {
	margin-bottom: 3em;
}

.involved-intro .wrapper {
	overflow: auto;
	zoom: 1;
	max-width: 1100px;
	margin: 0 auto;
}

.intro-text > p {
	text-align: center;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.intro-text > h2 {
	text-align: center;
}

.cat {
	padding-top: 2em;
	height: 20rem;
}

.volunteer {
	top: 0px;
	position: relative;
	box-sizing: border-box;
	height: 13rem;
	background-color: grey;
	border: 7px solid #FFF;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
	transition: top ease 0.5s;
    background-position: center;
    background-size: cover;
}

.volunteer:hover {
	top: -10px;
}

.hr {
	margin-top: 2em;
	margin-bottom: 2em;
	padding: 0;
	border: none;
	border-top: medium double #e74c3c;
	color: #e74c3c;
	text-align: center;
}

.involved-content .wrapper {
	max-width: 85%;
	margin: 0 auto;
}

.involved-content p {
	text-align: left;
}

.img-large {
    max-height: 300px;
    z-index: 2;
}

.involved-section {
	margin-bottom: 12em;
}

.cat h3 {
	margin: 1em auto;
	width: 90%;
	text-align: center;
    color: #FFF;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

@media screen and (max-width: 990px) {
	.volunteer {
		display: none;
	}
	.cat {
		height: auto;
	}
}


/*--------------------------------------------------------------
## ryedale MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	#main .ryedale-box .side {
		float: none;
		width: auto;
		border: none;
		margin: 0;
		border-bottom: 3px solid #999;
		padding: 0;
		padding-bottom: 1em;
		margin-bottom: 1em;
	}
	#main .ryedale-box .side img {
        float: none;
		max-width: 300px;
		display: block;
		margin: 0 auto;
	}
	#main .ryedale-box .main-ryedale {
		float: none;
		width: auto;
	}
	#main .ryedale-box .main-ryedale img {
		float: left;
		width: 48%;
		margin-right: 4%;
		margin-bottom: 4%;
		display: block;
		/*margin: 0 auto;*/
	}
	#main .ryedale-box .main-ryedale img:nth-child(2n+2) {
		margin-right: 0;
	}
}

@media screen and (max-width: 450px) {
    .side{
        width: 50%;
        height: 50%;
    }
	#main .ryedale-box .main-ryedale img {
		float: none;
		width: 50%;
        height: 50%;
		margin: 2em auto;
	}
	#main .ryedale-box .main-ryedale img:first-child {
		margin-top: 0;
	}
	#main .ryedale-box .main-ryedale img:nth-child(2n+2) {
		margin: 2em auto;
	}
    .slogan{
        font-size: 1rem;
    }
}


/*--------------------------------------------------------------
## Collection Main Content
--------------------------------------------------------------*/

.collection-main-content .wrapper,
.content.back {
	max-width: 1200px;
	overflow: auto;
	zoom: 1;
}

.content.back {
	margin-top: 8rem;
}

@media screen and (max-width: 452px) {
	.content.back {
		margin-top: 4rem;
	}
}

.content.back a {
	color: #e74c3c;
	font-weight: 600;
	transition: color .4s ease-in-out;
}

.content.back a:hover {
	color: #d12c1a;
}

.collection-main-content .image-side {
	float: left;
	width: 47.5%;
	margin-right: 5%;
}

.collection-main-content .info-side {
	float: right;
	width: 47.5%;
}

.collection-main-content .image-side .primary-image img {
	display: block;
	width: 100%;
}

.collection-main-content .image-side .image-grid {
	overflow: auto;
	zoom: 1;
	margin-top: 1em;
}

.collection-main-content .image-side .image-grid img {
	float: left;
	cursor: pointer;
	width: 22%;
	margin-right: 4%;
}

.collection-main-content .image-side .image-grid img:last-child {
	margin-right: 0;
}

.collection-main-content .info-side h1 {
	margin-top: 0;
	margin-bottom: 3rem;
	color: #e74c3c;
	display: inline-block;
	position: relative;
	line-height: 1.3;
	font-size: 2.3rem;
}

.collection-main-content .info-side h1:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 40%;
	top: 100%;
	left: 0;
	background-color: #e74c3c;
}

.collection-main-content .info-side .label {
	color: #111;
	font-weight: 600;
}

.collection-main-content .info-side .label.push {
	margin-bottom: 1em;
}

.collection-main-content .info-side >div {
	margin-bottom: .5em;
}

.collection-main-content .info-side .collection-about {
	margin-bottom: 2em;
}

.collection-main-content .info-side .share-bar {
	background-color: #eee;
	display: inline-block;
	padding: .5em 1em;
}

.collection-main-content .info-side .share-bar a {
	color: black;
	text-decoration: none;
	font-size: 1.5rem;
	line-height: 1;
	vertical-align: middle;
	border-right: 2px solid silver;
	padding: 0 .4em;
}

.collection-main-content .info-side .share-bar a:last-child {
	padding-right: 0;
	padding-left: .3em;
}

.collection-main-content .info-side .share-bar a.share-twitter {
	color: #4099FF;
}

.collection-main-content .info-side .share-bar a.share-twitter:hover {
	color: #7ab8ff;
}

.collection-main-content .info-side .share-bar a.share-facebook {
	color: #3b5998;
}

.collection-main-content .info-side .share-bar a.share-facebook:hover {
	color: #4b6eb9;
}

/*--------------------------------------------------------------
## Collection Home Page
--------------------------------------------------------------*/
.collections-introtext {
	font-size: 1.2rem;
	text-align: center;
}

.collection-block-wrap:first-child{
    margin-top: 2em;
}

.collection-block-wrap{
    height: 200px;
    top: 25%;
    background-color: #eee;
    position: relative;
    margin-bottom: 2em;
    animation: fadeinup 3s ease-in-out;
    background-size: cover;
    background-position: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

/* Standard fadeinup */
@keyframes fadeinup {
    0%   {
        opacity: 0;
        top: 20px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

.collection-block{
    left: 2.5%;
    position: absolute;
    margin:auto;
    background-color: rgba(0, 0, 0, 0.6);
    top: 5%;
    z-index: 2;
    height: 90%;
    width: 95%;
    transition: 0.3s ease all;
   
}

.collection-block:hover{
    background-color: rgba(0, 0, 0, 0.4);
}

.collection-block h1{
    color: #FFF;
    margin-left: 2rem;
    margin-bottom: 0px;
    text-shadow: 2px 3px 1px rgba(0, 0, 0, .6);
}

.red{
    color: #e74c3c;
}

.collection-block h3{
    margin-left: 2rem;
    color: #FFF;
    margin-top: 0;
    margin-bottom: 0;
}

.collection-button{
    margin-top: 2em;
    padding: 0.5em 1em;
    background-color: rgba(231, 76, 60, 0.8);
    border: 1px solid #e74c3c;
    border-radius: 3px;
    margin-left: 2em;
    color: white;
    transition: 0.3s ease all;
}

.collection-button:hover{
    background-color: rgba(231, 76, 60, 0.5);
}

.collection-block a{
    text-decoration: none;
}

.collection-block a:hover{
    cursor: pointer;
    color: #fff;
}

.collection-hr{
    margin-bottom: 2em;
    margin-top: 0;
    border: 0;
    margin-left: 2rem;
    height: 2px;
    background: #e74c3c;
    width: 120px;
}


/*--------------------------------------------------------------
## Collection Main Content MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	.collection-main-content .wrapper,
	.content.back {
		max-width: 600px;
	}
	.collection-main-content .image-side,
	.collection-main-content .info-side {
		float: none;
		width: auto;
		margin: 0;
	}
	.collection-main-content .info-side {
		margin-bottom: 1em;
	}
}

@media screen and (max-width: 500px) {
	.collection-main-content .info-side h1 {
		font-size: 1.5rem;
		margin-bottom: 2rem;
	}
	.collection-main-content .image-side .image-grid img {
		width: 47.5%;
		margin-right: 5%;
		margin-bottom: 5%;
	}
	.collection-main-content .image-side .image-grid img:nth-child(2n+2) {
		margin-right: 0;
	}
}


/*--------------------------------------------------------------
## collection-items
--------------------------------------------------------------*/

.collection-items .wrapper {
	max-width: 1430px;
	padding: 0 2rem;
	margin: 4rem auto;
}

.collection-items .row {
	overflow: auto;
	zoom: 1;
}

.collection-items .row + .row {
	margin-top: 2em;
} 


.collection-items .heading {
	margin-top: 0;
	margin-bottom: 3rem;
	color: #e74c3c;
	display: inline-block;
	position: relative;
	line-height: 1.3;
	font-size: 1.5rem;
}

.collection-items .heading:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 40%;
	top: 100%;
	left: 0;
	background-color: #e74c3c;
}

.collection-items .top-row {
	overflow: auto;
	zoom: 1;
}

.collection-items .top-row >div {
	float: left;
	width: 47.5%;
}

.collection-items .top-row .info-side {
	float: right;
}

.collection-items .top-row .image-side {
	margin-right: 5%;
}

.collection-items .top-row >div:last-child {
	margin-right: 0;
}

.collection-items .top-row .item-title {
	color: #e74c3c;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: .5em;
}

.collection-items .top-row .label {
	color: #111;
	font-weight: 600;
}

.collection-items .top-row .label.red {
	color: #e74c3c;
}

.collection-items .top-row hr {
	margin: 1.5em 0;
}

.collection-items .item-grid {
	overflow: auto;
	margin-top: 1em;
	zoom: 1;
}

.collection-items .item-grid >img {
	display: block;
	float: left;
	width: 47.5%;
	margin-right: 5%;
}

.collection-items .item-grid >img:nth-child(2n+2) {
	margin-right: 0;
}


/*--------------------------------------------------------------
## collection-items MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	.collection-items .wrapper {
		max-width: 600px;
	}
	.collection-items .items-group-1 {
		margin-bottom: 2em;
	}
	.collection-items .top-row >div {
		width: auto;
		float: none;
	}
	.collection-items .top-row .info-side {
		margin-bottom: 1em;
	}
}


/*--------------------------------------------------------------
## Virtual Tour
--------------------------------------------------------------*/

.virtual-tour .wrapper {
	max-width: 1430px;
	padding: 0 2rem;
	padding-top: 2rem;
	margin: 4rem auto;
	border-top: 2px solid silver;
}

.virtual-tour .heading {
	margin-top: 0;
	margin-bottom: 3rem;
	color: #e74c3c;
	display: inline-block;
	position: relative;
	line-height: 1.3;
	font-size: 1.5rem;
}

.virtual-tour .heading:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 40%;
	top: 100%;
	left: 0;
	background-color: #e74c3c;
}

.virtual-tour .row {
	overflow: auto;
	zoom: 1;
}

.virtual-tour .row>div {
	float: left;
	width: 47.5%;
	margin-right: 5%;
}

.virtual-tour .row>div:last-child {
	margin-right: 0;
}

.virtual-tour .row .videoside {
	position: relative;
	padding-top: 25px;
	padding-bottom: 27%;
}

.virtual-tour .row .videoside iframe {
	position: absolute;
	top: 0;
	left: 0;
	border: none;
	width: 100%;
	height: 100%;
}

.virtual-tour .row .infoside {
	float: right;
	max-width: 500px;
	box-sizing: border-box;
}

.virtual-tour .row .infoside h1 + h2 + h3 + h4 + h5 + h6 {
	margin-top: 0;
	margin-bottom: 0;
	color: #e74c3c;
	display: inline-block;
	position: relative;
	line-height: 1.2;
	font-size: 1.5rem;
}

.virtual-tour .row .infoside p {
	/*if needed*/
}


/*--------------------------------------------------------------
## Virtual Tour MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	.virtual-tour .wrapper {
		max-width: 600px;
	}
	.virtual-tour .row>div {
		float: none;
		width: auto;
		margin: 0;
	}
	.virtual-tour .row .videoside {
		padding-bottom: 47%;
		margin-bottom: 1.5em;
	}
	.virtual-tour .row .infoside {
		max-width: 100%;
	}
}


/*--------------------------------------------------------------
## Events Page
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Single Events Page
--------------------------------------------------------------*/
.event-title-date h1,
h2 {
	margin-bottom: 0;
}

.event-title-date h2 {
	margin: 0;
}

.event-content .wrapper {
	max-width: 1100px;
	margin: 0 auto;
}

.event-title-date h1 {
	color: #e74c3c;
}

.event-header-image .wrapper {
	max-width: 1000px;
	margin: 10em auto;
}

.event-image {
	height: 25em;
	background-position: center;
	background-size: cover;
}

.price-banner {
	position: relative;
	margin-left: -1.5em;
	background-color: #e74c3c;
	color: white;
	display: inline-block;
	margin-top: 1.5em;
	width: 100px;
	font-size: 1.2rem;
	text-align: center;
	padding: .3em 1em;
	box-shadow: 5px 8px 10px rgba(0, 0, 0, .5);
}

.price-banner:after {
	content: '';
	position: absolute;
	width: 4.5em;
	height: 100%;
	z-index: -1;
	left: .3rem;
	bottom: -1rem;
	transform: rotate(20deg);
	background-color: red;
}

.cta-btn.book-now {
	margin-top: .5rem;
}

.single-event-image {
	max-width: 741px;
	min-width: 300px;
}

.single-event-image img {
	margin-right: 2em;
	width: 150px;
	height: 150px;
	background-position: center;
	background-size: cover;
}


/*--------------------------------------------------------------
## Featured Event
--------------------------------------------------------------*/

.featured-event-container {
    height: 40rem;
	background-color: #000;
	color: white;
	position: relative;
}

.featured-event-container .wrapper {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 2em;
}

.featured-event-container .event-bg-img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	right: 0;
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	opacity: .4;
	background-color: blue;
}

.featured-event-container .featured-event-content {
	min-height: 9em;
	width: 100%;
	float: left;
	position: relative;
}

.featured-event-container .featured-event-content .infobox .event-title {
	color: #e74c3c;
	line-height: 1;
}

.featured-event-container .featured-event-content .infobox a{
    border-radius: 0;
}

.event-title h1{
    margin: 0;
}

.featured-event-container .featured-event-content .infobox .event-date {
    width: 60%;
	margin-bottom: 1em;
	padding-bottom: .5em;
	display: inline-block;
	position: relative
}

.event-date p:last-child{
    line-height: 1.5;
    max-height: 6.0em;
    overflow: auto;
    font-size: 0.9em;
}

.event-date p:first-child{
    color: #e74c3c;
    margin: 0;
}

.featured-event-container .featured-event-content .infobox .event-date:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 30%;
	top: 100%;
	left: 35%;
	background-color: #eee;
}

.featured-event-container .featured-event-content .infobox .cta-btn {
	font-size: 1rem;
	padding: .4em 3em;
	transition: background-color .2s ease-in-out;
}


/*--------------------------------------------------------------
## Featured Event MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 750px) {
	.featured-event-container .featured-event-content {
		float: none;
		width: 100%;
		margin: 0;
    }
	.featured-event-container .featured-event-content .infobox {
		position: relative;
		transform: none;
		margin-top: 1em;
		text-align: center;
	}
	.featured-event-container .featured-event-content .infobox .event-date:after {
		width: 110%;
		left: -5%;
	}
	.featured-event-container .event-bg-img {
		width: 100%;
		opacity: .3;
	}
}


/*--------------------------------------------------------------
## Bigger Events
--------------------------------------------------------------*/

.bigger-events-container {
	padding: 4em 0;
	padding-bottom: 8em;
}

.bigger-events-container .wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 2em;
}

.bigger-events-container .wrapper >.event-container {
	width: 42.5%;
	margin-right: 15%;
	float: left;
    animation: fadeinup 2s ease-in-out;
}

.bigger-events-container .wrapper >.event-container:last-child {
	margin-right: 0;
}

.bigger-events-container .wrapper >.event-container {
	background-color: #eee;
	padding: 1em;
	position: relative;
	border-radius: .5em;
}

.bigger-events-container .wrapper >.event-container .price-hover {
	position: absolute;
	top: 1.5em;
	left: -1em;
	pointer-events: none;
	padding: .1em 1.5em;
	font-size: 1.3rem;
	display: inline-block;
	background-color: #e74c3c;
	color: white;
	text-transform: uppercase;
	transition: background-color .4s ease-in-out;
	box-shadow: 5px 8px 10px rgba(0, 0, 0, .5);
}

.bigger-events-container .wrapper >.event-container .price-hover:before {
	content: '';
	position: absolute;
	width: 4.5em;
	height: 100%;
	z-index: -1;
	left: .2rem;
	bottom: -1.15rem;
	transform: rotate(20deg);
	background-color: red;
}

.bigger-events-container .wrapper >.event-container .image-box img {
	width: 100%;
	display: block;
}

.bigger-events-container .wrapper >.event-container .image-box {
	max-height: 250px;
	overflow: hidden;
	border-radius: .4em;
}

.bigger-events-container .wrapper >.event-container .event-title {
	font-size: 1.4rem;
	margin-top: 1em;
	line-height: 1;
	color: #e74c3c;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.bigger-events-container .wrapper >.event-container .event-date {
	margin-bottom: 1em;
	color: black;
	margin-top: .1em;
}

.bigger-events-container .wrapper >.event-container .event-short-des {
	height: 4.8em;
	margin-bottom: 1em;
	overflow: hidden;
}

.bigger-events-container .wrapper >.event-container .event-short-des p {
	margin: 0;
}
.read-more-btn {
	margin: -1rem;
	margin-top: 0;
	padding: 1rem;
	display: block;
	background-color: #e74c3c;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.2rem;
	transition: background-color .2s ease-in-out;
	border-radius: 0 0 .5rem .5rem;
}

.read-more-btn:hover {
	background-color: #d12c1a;
}


/*--------------------------------------------------------------
## Bigger Events MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 1100px) {
	.bigger-events-container .wrapper {
		max-width: 1000px;
	}
	.bigger-events-container .wrapper >.event-container {
		width: 47.5%;
		margin-right: 5%;
	}
}

@media screen and (max-width: 800px) {
	.bigger-events-container .wrapper {
		max-width: 450px;
	}
	.bigger-events-container .wrapper >.event-container {
		float: none;
		width: 100%;
		margin: 0;
		margin-bottom: 2em;
	}
}


/*--------------------------------------------------------------
## All Events
--------------------------------------------------------------*/

.all-events-container {
	background-color: #e74c3c;
	color white;
	padding: 2em 0;
	margin-bottom: 1em;
}

.all-events-container .wrapper {
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 2em;
}

.all-events-container .heading {
	margin-top: 0;
	margin-bottom: 3rem;
	color: #fff;
	display: inline-block;
	position: relative;
	line-height: 1.3;
	font-size: 1.8rem;
}

.all-events-container .heading:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 60%;
	top: 100%;
	left: 0;
	background-color: #fff;
}

.all-events-container .loop-container >.event-container {
	float: left;
	width: 47.5%;
	margin-right: 5%;
	padding: .5em;
	position: relative;
	padding-right: 5%;
	transition: background-color .4s ease-in-out;
	margin-bottom: 4%;
}

.all-events-container .loop-container >.event-container:before {
	content: '';
	position: absolute;
	width: 95%;
	left: 50%;
	height: 2px;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	top: -1.7em;
	background-color: #d12c1a;
}

.all-events-container .loop-container >.event-container:nth-child(1):before,
.all-events-container .loop-container >.event-container:nth-child(2):before {
	display: none;
}

.all-events-container .loop-container >.event-container:nth-child(odd):after {
	content: '';
	position: absolute;
	height: 90%;
	top: 50%;
	right: -5.5%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 2px;
	background-color: #d12c1a;
}

.all-events-container .loop-container >.event-container:nth-child(2n+2) {
	margin-right: 0;
	/*padding-right: .5em;*/
	border: none;
}

.all-events-container .loop-container >.event-container a {
	text-decoration: none;
	color: white;
	outline: none;
}

.all-events-container .loop-container >.event-container:hover {
	background-color: #d12c1a;
}

.all-events-container .loop-container >.event-container .img-side {
	width: 33%;
	overflow: hidden;
	float: left;
	margin-right: 3%;
}

.all-events-container .loop-container >.event-container .img-side img {
	display: block;
	width: 100%;
}

.all-events-container .loop-container >.event-container .info-side {
	float: left;
	width: 64%;
}

.all-events-container .loop-container >.event-container .info-side .event-title {
	font-size: 1.2rem;
	color: #111;
	line-height: 1;
	font-weight: 600;
}

.all-events-container .loop-container >.event-container .info-side .event-date {
	padding-bottom: .6em;
	border-bottom: 2px solid #e43825;
	margin-bottom: 1em;
}


/*--------------------------------------------------------------
## All Events MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 1150px) {
	.all-events-container .wrapper {
		max-width: 800px;
	}
	.all-events-container .loop-container >.event-container {
		float: none;
		width: 100%;
		overflow: auto;
		zoom: 1;
	}
}

@media screen and (max-width: 600px) {
	.all-events-container .wrapper {
		max-width: 450px;
	}
	.all-events-container .loop-container >.event-container {
		background-color: #d12c1a;
		padding: 1em;
	}
	.all-events-container .loop-container >.event-container .img-side,
	.all-events-container .loop-container >.event-container .info-side {
		float: none;
		width: 100%;
	}
	.all-events-container .loop-container >.event-container .info-side .event-title {
		margin-top: 1em;
	}
	.all-events-container .loop-container >.event-container .info-side .event-date {
		border-bottom-color: #e74c3c;
	}
}


/*--------------------------------------------------------------
## Learning
--------------------------------------------------------------*/

.learning-intro {
    padding-left: 1em;
    padding-right: 1em;
	margin-bottom: 4em !important;
}

.learning-intro,
.learning-bottom-intro .wrapper {
	max-width: 1100px;
	margin: 2em auto;
}

.learning-intro-left,
.learning-intro-right {
	margin-top: 2em;
}

.learning-intro-left{
    padding-left: 1em;
}

.learning-intro-right{
    padding-top: 4em;
}

.learning-intro-left h2 {
	margin-top: 0;
}

.learning-intro .wrapper h4 {
	margin-top: 0px;
	color: #bdc3c7;
}

.learning-intro .wrapper h1 {
	margin-bottom: 0px;
	color: #e74c3c;
}

.learning-image-large {
	width: 60%;
	height: 250px;
	z-index: -1;
	background-color: #eee;
}

.learning-image-small {
	position: relative;
	top: -6em;
	left: 40%;
	z-index: 2;
	width: 50%;
	height: 200px;
	background-color: #333;
}

.wrapper {
	max-width: 1100px;
	margin: 0 auto;
}

.learning-content {
	background-color: #FFF;
    box-shadow: 0 0px 5px rgba(0,0,0,0.30);
	margin-bottom: 2em;
    transition: 0.3s all ease;
}

.learning-content h1{
    color: #e74c3c;
}

.learning-clear {
	clear: both;
}

.learning-section-image {
	height: 100%;
    margin-bottom: 1em;
    background-size: cover;
    position: absolute;
    -webkit-clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.learning-button {
	display: inline-block;
	background-color: #e74c3c;
	padding: 0.4em 1.2em;
	color: #FFF;
	text-decoration: none;
	margin-bottom: 1em;
}

.dark-bg{
    padding-left: 1em;
    padding-right: 1em;
    background-color: #333;
    clear: both;
    overflow: auto;
    margin-bottom: 5em;
}

.learning-section-wrap {
	height: auto;
    position: relative;
}

.learning-section-wrap:first-child{
    margin-top: 2em;
}

/*--------------------------------------------------------------
## Single learning page
--------------------------------------------------------------*/

.learning-header-image{
    width: 100%;
    height: 40rem;
    background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	opacity: .6;
    
}

.learning-wrap{
    position: relative;
    background-color: #000;
}

.learning-wrap h1{
    margin: 0;
    font-size: 3.2rem;
}
.learning-wrap h3{
    margin: 0;
    font-size: 1.5rem;
    color: #eee;
}

.red h3{
    text-shadow: 2px 3px 1px rgba(0, 0, 0, .6);
    color: #e74c3c;
}

.button-wrap{
    width: 30%;
    margin: 0 auto;
}

/*--------------------------------------------------------------
## Inner Page Content
--------------------------------------------------------------*/

.inner-page-content .content.block {
	max-width: 1100px;
	margin: 2em auto;
	padding: 0 2em;
}

.inner-page-content .content.block.red_bar {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

.inner-page-content .content.block .col {
	float: left;
	width: 47.5%;
	margin-right: 5%;
}

.inner-page-content .content.block .col:last-child {
	margin-right: 0;
}

.inner-page-content .content.block .block-image {
	width: 100%;
	display: block;
	margin: 2em auto;
}

.inner-page-content .content.block .block-title {
	color: #e43825;
	display: inline-block;
	position: relative;
}

.inner-page-content .content.block .block-title:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 50%;
	top: 100%;
	left: 0;
	background-color: #e43825;
}

.price-fac {
	background-color: #e43825;
	color: white;
}

.price-fac .wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2em;
}

.price-fac .title {
	font-size: 1.6rem;
	padding-bottom: .3em;
	border-bottom: 1px solid white;
}

.price-fac .body p {
	font-size: .9rem;
}

.price-fac .body .details .line {
	font-size: 1.2rem;
}

.price-fac .body .details .line i {
	color: #333;
}

.inner-page-content .acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

.inner-page-content img {
   max-width: inherit !important;
}

/*--------------------------------------------------------------
## Inner Page Content MQ's
--------------------------------------------------------------*/
@media screen and (max-width: 989px) {
	.price-fac .wrapper >div:first-child {
		margin-bottom: 2em;
	}
}

@media screen and (max-width: 800px) {
	.inner-page-content .content.block .col {
		float: none;
		width: 100%;
	}

	
}


/*--------------------------------------------------------------
## Search Page
--------------------------------------------------------------*/
.searchpage .wrapper {
	min-height: 71vh;
	margin-bottom: 1em;
	margin-top: 8rem
}

.searchpage h1 {
	color: #e43825;
	display: inline-block;
	position: relative;
	line-height: 1.3;
}

.searchpage h1:after {
	position: absolute;
	content: '';
	height: 2px;
	width: 50%;
	top: 100%;
	left: 0;
	background-color: #e43825;
}

.searchpage ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-bottom: 2em;
}
.searchpage h2 {
	margin-bottom: 0;
}
.searchpage ul a {
	color: #e43825;
}

.searchpage ul .post-type {
	font-size: 1.2rem;
	line-height: 1;
	font-weight: bold;
}



/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer {
	background-color: #333;
    border-top: 2px solid #e74c3c;
	color: white;
	padding: 3rem 0;
}

.site-footer .wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	overflow: auto;
	zoom: 1;
}

.site-footer .wrapper .row {
	overflow: auto;
	zoom: 1;
}

.site-footer .wrapper .row>div {
	float: left;
	width: 21.25%;
	margin-right: 5%;
}

.site-footer .wrapper .row>div:last-child {
	margin-right: 0;
}

.site-footer .footer-title {
	font-size: 1.2rem;
	display: inline-block;
	padding-bottom: .1em;
	margin-bottom: 1em;
	border-bottom: 2px solid grey;
}

.site-footer .footer-content {
	font-size: .9rem;
}

.site-footer .socialbar {
	font-size: 1.5rem;
}

.site-footer .socialbar a {
	display: inline-block;
	background-color: white;
	border-radius: 10em;
	width: 2.4rem;
	text-decoration: none;
	color: #333;
	height: 2.4rem;
	text-align: center;
	transition: background-color .2s ease-in-out;
}

.site-footer .socialbar a i:before {
	margin-top: .3em;
}

.site-footer .socialbar a.facebook {
	background-color: #3b5998;
}

.site-footer .socialbar a.facebook:hover {
	background-color: #4b6eb9;
}

.site-footer .socialbar a.twitter {
	background-color: #4099FF;
}

.site-footer .socialbar a.twitter:hover {
	background-color: #7ab8ff;
}

.site-footer .socialbar a.youtube {
	background-color: #e52d27;
}

.site-footer .socialbar a.youtube:hover {
	background-color: #ec605b;
}

.site-footer .socialbar a.instagram {
	background-color: #fff;
}

.site-footer .socialbar a.instagram:hover {
	background-color: #eee;
}

.site-footer .socialbar a.tripadvisor {
	background-color: #589442;
}

.site-footer .socialbar a.tripadvisor:hover {
	background-color: #589442;
}

.site-footer .terms {
	margin-top: 2em;
	color: silver;
	font-size: .9rem;
}

.site-footer .terms a {
	color: #e74c3c;
	transition: color .2s ease-in-out;
}

.site-footer .terms a:hover {
	color: #e74c3c;
}


/*--------------------------------------------------------------
## footer MQ's
--------------------------------------------------------------*/

@media screen and (max-width: 990px) {
	.site-footer .footer-title {
		margin-bottom: .5rem
	}
	.site-footer .wrapper {
		max-width: 600px;
	}
	.site-footer .wrapper .row>div {
		margin: 0 auto;
		width: auto;
		margin-bottom: 1rem;
		float: none;
	}
	.site-footer .terms {
		margin-top: 0;
	}
	.wrapper {
		padding-left: 2em;
		padding-right: 2em;
	}
	.learning-content {
		padding-left: 2em;
		padding-right: 2em;
	}
}
