﻿/*
Theme Name: Sport in Moray
Theme URI: https://sportinmoray.co.uk/
Description: WordPress theme built by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>. <strong>Web design</strong> starts with a coffee and a chat...
Version: 3 Build-0623
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/

/* poppins-regular - latin */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local("Poppins"),
	     url('fonts/poppins-v19-latin-regular.woff2') format('woff2'), 
         url('fonts/poppins-v19-latin-regular.woff') format('woff'); 
}
  /* poppins-700 - latin */
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Poppins'),
         url('fonts/poppins-v19-latin-700.woff2') format('woff2'), 
		 url('fonts/poppins-v19-latin-700.woff') format('woff'); 
}

:root {
	--main-color: #202020;
	--headings: #525050;
	--yellow: #FDD622;
	--green: #3EB649;
	--purple: #6B73B6;
	--lightpurple: rgba(107, 115, 182, 0.4); 
	--lgrey: #F6F6F6;
  	--cream: #F0EBE5;
  	--lightgrey: #FAFAFA;
  	--white: #ffffff;
	--black: rgba(0, 0, 0, 0.1);
	--lightshadow: rgba(180, 180, 180, 0.1);
	--bold: 700;
	--boxshadow: 0 5px 24px;
	--border: 10px;
}
html {
	scroll-behavior: smooth;
}
body {
	font-size:16px;
    font-family: 'Poppins', sans-serif;
	margin:0;
	padding:0;
  	color: var(--main-color);
	opacity: 0;
	background-image: linear-gradient(to bottom, var(--white), var(--white), var(--lgrey), var(--lgrey));
	animation: fade-in 0.3s forwards 0.3s linear;
}
p::selection, h1::selection, h2::selection, h3::selection { background-color: #320101; color: #fff;}
p::-moz-selection, h1::-moz-selection, h2::-moz-selection, h3::-moz-selection { background-color: #320101; color: #fff; }

/* -------------------- Animation -------------------- */

section {
	opacity: 0;
}
.inverse, .show-menu {
	animation: fade-in 0.3s forwards 0.3s linear;
}
@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* -------------------- General Styles -------------------- */
.wrapper {
	width: min(90%, 1600px);
	margin-inline: auto;
}
.easy-reading {
	width: min(90%, 900px);
	margin-inline: auto;
}
a {
  text-decoration: none;
}
p {
	line-height:1.6;
}
img {
	border-style: none;
}
.center, .has-text-align-center, .aligncenter {
	text-align:center;
}
.absol {
	position:relative;
}
hr {
	width: 200px;
	border: dotted thin var(--purple);
	margin: 5em auto;
}

/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:5em;
}
.drop {
	margin-top: 3em;
}
.big-drop {
	margin-top: 8em;
}
.bring-up {
	margin-top: -100px;
	z-index: 5;
}
.ptb {
	padding: 5em 0;
}
.smallpad {
	padding: 1em 0;
}
/* -------------------- Backgrounds - Colour -------------------- */
.background-image-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -10;
	overflow: hidden;
}
.purple-side {
    max-width: 50%;
    z-index: -2;
}
.yellow-green {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: -2;
}
.green-side {
	width: 100px;
	text-align: right;
	right: 0;
	position: absolute;
	top: 88px;
    z-index: -2;
}
.purple-side img, .yellow-side img, .green-side img {
    width: 100%;
    height: auto;
}
.purple-background {
	background-color: var(--purple);
	color: var(--white);
}
.lightpurple-background {
	background-color: var(--lightpurple);
}
.lightshadow-background {
	background-color: var(--lightshadow);
}
.bunting {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
/* -------------------- Backgrounds -------------------- */
.inner {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 0 200px;
}
.main-background {
	z-index: 1;
	overflow: hidden;
	margin-top: 0;
	display: flex;
	align-content: center;
	align-items: center;
}
.main-background, .feature {
	height: 80vh;
}
.feature {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
}
.main-background video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -10;
}
.circle-decoration {
	background-image: url('https://sportinmoray.co.uk/sim/svg/Green-Circles-Small.svg');
	background-position: -300px center;
	background-repeat: no-repeat;
}

.purple-circle {
	text-align: right;
	margin-right: -15%;
}
.purple-circle svg {
	width: 100%;
	height: auto;
	max-width: 300px;
}
.player-pattern {
	background-image: url('https://sportinmoray.co.uk/sim/svg/tennisball.svg');
	background-repeat: no-repeat;
	background-position: top center;
}
/* -------------------- Colours -------------------- */
.topcontact a {
	color: var(--main-color);
}
.topcontact a:hover {
	color: var(--yellow);
}
/* -------------------- Header -------------------- */
header {
	background-color: var(--white);
}
.header-grid {
	display: grid;
	grid-template-columns: 1fr 2fr 2fr 1fr;
	grid-gap: 0.2em;
	align-items: center;
	padding: 1em 0;
}
header .social-icons {
	display: none;
}
.social-icons ul {
	display: flex;
	justify-content: center;
	align-items: center;
}
.social-icons li {
	padding: 2px;
}
.topcontact ul, .social-icons ul, .contact-details ul, .copyright ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.topcontact ul {
	display: flex;
	gap: 1em;
	justify-content: center;
}
.logo {
	text-align: center;
}
.logo img, .logo svg, .logo-login img {
	width: 100%;
	height: auto;
	max-width: 100px;
}
.active-schools-logo img {
	width: 100%;
	height: auto;
	max-width: 200px;
}
.moray-council-logo img {
	width: 100%;
	max-height: 70px;
	height: auto;
}
.moray-council-logo {
	justify-self: flex-start;
}
.topcontact, .header-grid .btn-book {
	display: none;
}
.btn-book {
	grid-column: 4;
	grid-row: 1;
	justify-self: flex-end;
}
.slogan {
	width: min(80%, 600px);
}
.navigation-contact {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 1em;
	background-color: var(--purple);
	width: 100%;
	box-shadow: var(--boxshadow) var(--black);
}
/* -------------------- Navigation -------------------- */
.navigation {
	display: none;
}

/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
#navoverlay {
	background-color: var(--purple);
	overflow-y: scroll;
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	color: var(--white);
	background-color: var(--main-color);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--main-color);
	outline-offset: 2px;
	transition: background-color 0.5s ease-in-out;
	grid-column: 5;
	grid-row: 1;
	justify-self: flex-end;
}
.menu-btn:hover {
	background-color: var(--purple);
}
.mobile {
	position: fixed;
	padding: 2em;
	width: calc(100vw - 4em);
	height: calc(100vh - 4em);
	z-index: 200;
	top: -200%;
}
.nav-icon-open, .nav-icon {
	width: 20px;
}
.close-btn {
	cursor: pointer;
	position: absolute;
	right: 2em;
	top: 2em;
	color: var(--white);
	background-color: var(--main-color);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--main-color);
	outline-offset: 2px;
	transition: background-color 0.5s ease-in-out;
}
.show-menu {
	opacity: 0;
	display: block;
}
ul.sub-menu {
	display:none;
}
.nav .sub-menu {
	margin-top: 20px;
	margin-bottom: 20px;
}
.nav .sub-menu li a {
	font-size: 16px;
	margin: 0;
	padding: 0;
	opacity: 0.8;
}
.nav .sub-menu li {
	margin: 0;
}
.slideDown {
  display: block;
}
.menu-contents {
	display: grid;
	flex-wrap: wrap;
	height: 100vh;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 1em;
}
.nav ul:nth-child(1) {
	font-size: 1.2rem;
}
.nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav ul:nth-child(3) {
	margin: 3em 0 0 0;
}
.nav ul, .contact-nav ul, .social-nav ul {
	flex-wrap: wrap;
}
.nav li, .contact-nav li, .social-nav li {
	width: 100%;
	margin-left: 0;
	margin-bottom: 15px;
}
.nav, .contact-nav, .social-nav {
	align-self: center;
	width: 100%;
}
.nav, .contact-nav {
	margin-bottom: 20px;
}
.nav li a, .contact-nav li a {
	color: var(--white);
}
.current_page_item a {
	font-weight: bold;
}
.nav-whats-on .events-list-grid {
	grid-template-columns: 1fr;
}
.nav-whats-on {
	order: 2;
}
/* -------------------- Hamburger Icon -------------------- */
#Rectangle_27, #Rectangle_28, #Rectangle_29,
#Rectangle_30, #Rectangle_31, #Rectangle_32 {
	transition: all 0.5s ease-in-out;
}
#Rectangle_27 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 30px);
}
#open-menu:hover #Rectangle_27 {
	transform: translate(332px, 30px);
}
#Rectangle_28 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 36px);
}
#open-menu:hover #Rectangle_28 {
	transform: translate(326px, 36px);
}
#Rectangle_29 {
	transform: translate(334px, 42px);
}
#open-menu:hover #Rectangle_29 {
	transform: translate(316px, 42px);
}

/* -------------------- Page Title / CTA -------------------- */

.page-title h1, .page-title h2, .page-title p {
	margin: 0;
}
.page-title p {
	color: var(--headings);
}
.small-text {
	font-weight: var(--bold);
}
.page-title__image {
	text-align: center;
}
.page-title__image img {
	width: 100%;
	height: auto;
	max-width: 200px;
	border-radius: var(--border);
}
.page-cta ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}
.page-cta li {
	flex-grow: 1;
	width: 100%;
}
.page-cta li a {
	background-color: var(--purple);
	color: var(--white);
	padding: 1em;
	border-radius: var(--border);
	outline: dotted medium var(--purple);
	outline-offset: 0.1em;
	box-shadow: var(--boxshadow) var(--black);
	overflow: hidden;
	display: block;
	text-align: center;
}
.page-cta li a:hover {
	background-color: var(--green);
	outline: dotted medium var(--green);
}
.margin-left {
	margin-left: auto;
	width: min(99%, 600px);
}
.green {
	color: var(--green);
}
.big {
	font-size: 1.2em;
}
.page-title-cta p {
	margin: 0;
}
.page-title-cta h2 {
	margin-top: 0;
}
.circle {
	background-color: var(--purple);
	width: 300px;
	height: 300px;
	border-radius: 50%;
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0.2;
	z-index: -1;
}
.youtube-description {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: center;
	place-items: center;
}

/* -------------------- Page Structure -------------------- */
.side-col-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3em;
	align-self: flex-start;
}
.side-information {
	border-radius: var(--border);
	padding: 1em;
	color: var(--white);
	box-shadow: var(--boxshadow) var(--black);
	align-self: flex-start;
}
.side-information hr {
	width: 200px;
	margin: 2em auto;
	border: dotted 1px var(--white);
}
.side-information ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.side-information a {
	color: currentColor;
}
/* -------------------- Registration Form / Login -------------------- */
.um-register {
	margin-top: 3em;
}
.login-panel, .login-panel__account {
	color: var(--white);
	background-color: var(--lightpurple);
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.login-panel {
	padding: 3em 1em;
	box-sizing: border-box;
}
.login-panel__account {
	padding: 3em;
	box-sizing: border-box;
}
.um-misc-ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}
.um-misc-ul li {
	width: 46%;
	flex-grow: 1;
}
.um-misc-ul li a {
	display: block;
	padding: 1em;
	background-color: var(--purple);
	color: var(--white);
	border-radius: var(--border);
	text-align: center;
	outline: dotted medium var(--purple);
	outline-offset: 5px;
	transition: outline-offset 0.1s ease-in-out;
}
.um-misc-ul li a:hover {
	outline: dotted medium var(--green);
	outline-offset: 2px;
}
.activities-clubs .um-member-directory-search-row {
	display: none !important;
}
.um-member img {
	transition: filter 300ms ease-in-out;
}
.um-member:hover img {
	filter: grayscale(1);
}
/* -------------------- Registration Links -------------------- */

.registration-links__grid {
	background-color: var(--white);
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--border);
	overflow: hidden;
}
.registration-links__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.registration-links {
	align-self: center;
	padding: 1em;
}
.registration-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin: 0;
	padding: 0;
	list-style: none;
}
.registration-links li {
	width: 100%;
	flex-grow: 1;
  }
.registration-links li a {
	display: block;
	text-align: center;
	border-radius: var(--border);
	padding: var(--border);
}
.logo-login {
	text-align: center;
	margin-bottom: 2em;
}
/* -------------------- Website Search -------------------- */
.websearch, .youremail, .search-field {
	border-radius: 50px;
	border: solid thin var(--purple);
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}
.submit, .submitgo {
	position: absolute;
	right: 0;
	box-sizing: border-box;
	border-radius: 50px;
	border: solid thin var(--purple);
	background-color: var(--purple);
	color: var(--white);
	font-weight: bold;
	width: 100px;
	cursor: pointer;
	text-align: center;
}
.submit {
	padding: 20px;
}
.submitgo {
	padding: 16px;
}
.screen-reader-text {
	opacity: 0;
	display: none;
}
/* -------------------- Active Schools  -------------------- */
.active-schools-listings-list__grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 2em;
}
.active-schools-listings-list {
    border-radius: var(--border);
    color: var(--purple);
    background-color: var(--white);
    padding: 1em;
    box-shadow: var(--boxshadow) var(--black);
}
.active-schools-listings-list:hover .active-schools-listings-list__title {
	padding: 0 1em;
}
.active-schools-listings-list:hover img {
	filter: grayscale(1);
}
.active-schools-listings-list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
	transition: filter 500ms ease-in-out;
}
.active-schools-listings-list h2 {
	font-size: 1.1rem;
}
.active-schools-listings-list__image {
	height: 100%;
	border-radius: var(--border);
	height: 300px;
	margin-top: 2em;
}
.active-schools-listings-list a {
	color: currentColor;
}
.active-schools-listings-list__title {
	border-bottom: dotted 2px var(--purple);
	display: grid;
	grid-template-columns: 2fr 50px;
	padding: 0;
	transition: padding 500ms ease-in-out;
}
.list-arrow {
	align-self: center;
	justify-self: flex-end;
}
/* -------------------- Resources List -------------------- */

.resources-list ul, .cta-list ul {
	display: flex;
	flex-wrap: wrap;
	margin: 3em 0;
	padding: 0;
	list-style: none;
	gap: 1em;
}
.resources-list li, .cta-list li {
	width: 46%;
	flex-grow: 1;
}
.resources-list li a, .cta-list li a {
	display: block;
	text-align: center;
	padding: 1em;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
	font-weight: var(--bold);
}
.resources-list li a {
	background-color: var(--white);
	color: var(--purple);
}
.resources-list li a:hover {
	background-color: var(--green);
	color: var(--white);
}
.cta-list li a {
	background-color: var(--green);
	color: var(--white);
}
.cta-list li a:hover {
	background-color: var(--purple);
	color: var(--white);
}
.Hide-Jotform, .Hide-PDF {
	display: none;
}
/* -------------------- Other-Pages Internal Links -------------------- */
.other-services__title h3 {
	color: currentColor;
	font-weight: 700;
}
.other-services__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.other-services__links li {
	width: 46%;
	flex-grow: 1;
	margin: 20px;
	text-align: center;
}
.other-services__links li a {
	display: block;
	color: var(--main-color);
	border-radius: 50px;
	border: solid 1px var(--lightpurple);
	padding: 20px 30px;
	background-color: var(--lightpurple);
}
.other-services__links li a:hover {
	color: var(--main-color);
	background-color: var(--purple);
	box-shadow: 0 .5em 1em var(--black);
}
.other-services .current-menu-item a {
	background-color: var(--purple);
	color: var(--main-color);
	border: solid 1px var(--purple);
	opacity: 0.9;
	box-shadow: 0 .5em 1em var(--black);
}
.other-services .current-menu-item a::before {
	content: 'Currently Viewing - ';
	font-size: 10pt;
	font-weight: bold;
}
.staff-team-grid {
	--min-col-size: 15rem;
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--min-col-size), 100%), 1fr));
}
.staff-team-grid-contact {
	--min-col-size: 32rem;
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--min-col-size), 100%), 1fr));
}
.staff-team {
	border-radius: 10px;
	border: solid thin var(--black);
	position: relative;
	z-index: 1;
	overflow: hidden;
	color: var(--main-color);
	background-color: var(--white);
	transition: box-shadow 0.5s ease-in-out;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 0.5em;
	padding: 1em 0.5em;
}
.staff-team:hover {
	box-shadow: 0 0 1em var(--black);
}
.staff-team__image {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	box-shadow: 0 0.5em 1em var(--black);
	background-size: cover;
	background-position: center;
	background-color: var(--white);
	align-self: center;
	justify-self: center;
}
.staff-team__name {
	align-self: center;
}
.staff-team__name h2 {
	display: block;
	margin: 0;
	font-size: 1em;
}
.staff-team__name p {
	margin: 0;
	font-size: 16px;
}
.staff-team__bio {
	padding: 0 30px 30px 30px;
}
.staff-team a {
	color: var(--main-color);
}
.staff-team__bio-content {
	background-color: var(--white);
	padding: 1em;
	border-radius: var(--border);
}
/* -------------------- Main Section -------------------- */
.main-section, .main-section-pics {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}
.main-section-cta {
	width: min(98%, 800px);
}
.main-section-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* -------------------- Gallery -------------------- */
.gallery, .grid, .links {
	display: flex;
	flex-wrap: wrap;
}
.space {
	justify-content: space-between;
}
.gallery-item {
	float: left;
	width: 20%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img {
	width: 100%;
	height: auto;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.gallery-item img:hover {
	opacity: 0.6;
}

/* -------------------- Images -------------------- */
.decorative-image img {
	width: 100%;
	height: auto;
	max-width: 300px;
	border-radius: var(--border);
}
/* -------------------- Split Grid -------------------- */
.split-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0.5em;
}
.split-image {
	max-height: 400px;
}
/* -------------------- Banner -------------------- */
.google_map iframe {
	width: 100%;
	border: none;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.wp-block-embed-youtube iframe {
	width: 100%;
	height: 500px;
	border: none;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
figure {
	margin: 0;
	padding: 0;
}
.feature-banner {
	height: 50vh;
	overflow: hidden;
}
.feature-banner img, .feature img, .property-gallery img, .services-selection__image img, .split-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.google_map iframe {
	width: 100%;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.tour svg {
	width: 100%;
	height: auto;
	max-width: 200px;
}
.tour iframe {
	width: 100%;
	height: 500px;
}

/* -------------------- services Selection -------------------- */
.services-selection__grid {
	display: grid;
	/* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
	grid-gap: 1em;
	grid-auto-flow: column;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}
.services-selection__link {
	overflow: hidden;
	transition: background-color 200ms ease-in-out;
	width: 300px;
	border-radius: var(--border);
	background-color: var(--white);
}
.services-selection__grid .services-selection__link:nth-child(1) {
	background-color: var(--purple);
}
.services-selection__grid .services-selection__link:nth-child(2) {
	  background-color: var(--yellow);
}
.services-selection__grid .services-selection__link:nth-child(3) {
	  background-color: var(--green);
}
.services-selection__link:hover {
	background-color: var(--lgrey);
}
.services-selection__link:hover .services-selection__image img {
	transform: scale(1.1);
}
.services-selection__image {
    overflow: hidden;
    height: 300px;
    border-radius: var(--border);
}
.services-selection__image img {
	border-radius: var(--border);
	transition: transform 200ms ease-in-out;
}
.services-selection__text {
    color: var(--white);
    padding: .5em 1em 1em 1em;
    margin-top: .5em;
}
.services-selection__sleep {
	font-size: 12px;
	color: var(--red);
}
.services-selection__text h2 {
	font-size: 1.5rem;
	margin: 0;
}
.services-selection__sleep p {
	margin: 0;
}
.services-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    color: var(--white);
    background-color: var(--red);
    z-index: 1;
    border-radius: 0 0 0 50px;
    /* padding: 0 5px; */
    width: 100px;
    height: 80px;
}
.services-badge p {
	margin: 0;
    width: 95px;
    margin-left: auto;
    line-height: 1.2;
}
.snaps-inline {
	scroll-snap-type: inline mandatory;
	scroll-padding-inline: 1rem;
}
  
.snaps-inline > * {
	scroll-snap-align: start;
}
/* -------------------- Details -------------------- */
blockquote {
    margin: 0;
    font-size: 1.5rem;
    max-width: 500px;
    color: var(--main-color);
}

summary {
    padding: 1em 0 0.5em 0;
    cursor: pointer;
    outline: none;
    color: var(--main-color);
    margin-top: 2em;
	border-bottom: solid thin var(--black);
	font-size: 1.5rem;
	font-weight: var(--bold);
}
details p {
	padding-bottom: 2em;
	padding-left: 1.5em;
}
/* details > summary {
	list-style: none;
} */
details[open] summary {
    border-bottom: solid thin var(--green);
}
details[open] p {
	animation-name: comein;
	animation-duration: 500ms, 200ms;
	animation-delay: 0ms, 500ms;

}
@keyframes comein {
	0% {
	  opacity: 0;
	}
	  100% {
		  opacity: 1;
	}
}

/* -------------------- Button -------------------- */
.btn a {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
}
.btn-outline a, .registration-links li a {
	color: var(--white);
	border: dotted medium var(--green);
	background-color: var(--green);
	box-shadow: 0 0.5em 1em var(--lightshadow);
	outline: dotted medium var(--green);
	outline-offset: 5px;
	transition: outline-offset 0.1s ease-in-out;
}
.btn-findout a {
	color: var(--white);
	background-color: var(--main-color);
	box-shadow: 0 0.5em 1em var(--lightshadow);
	border: dotted medium var(--main-color);
	outline: dotted medium var(--main-color);
	outline-offset: 5px;
	transition: outline-offset 0.1s ease-in-out;
}
.btn a:hover, button:hover, .registration-links li a:hover {
	background-color: var(--main-color);
	border: dotted medium var(--main-color);
	outline: dotted medium var(--main-color);
	outline-offset: 2px;
}
/* -------------------- Quick Links -------------------- */
.quick-links-navigation {
	padding: 1em 0;
	color: var(--white);
	overflow: hidden;
}
.quick-links-navigation li a {
	display: block;
	color: var(--white);
	margin-right: 2em;
}
.quick-links-navigation .current-menu-item a {
	font-weight: bold;
	color: var(--green);
}
.quick-links-navigation ul {
	justify-content: flex-start;
}
.quick-links-navigation ul {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	height: auto;
	display: flex;
	margin: 0;
	list-style: none;
}
.quick-links-navigation li {
	flex: 0 0 auto;
	width: auto;
}
.quick-links-navigation p {
	margin: 0;
}
.welcome-name {
	padding-right: 1em;
	font-weight: var(--bold);
}
/* -------------------- Book Now Badge -------------------- */
.book-now__badge {
    position: absolute;
    background-color: var(--green);
    width: 100px;
    height: 100px;
    border-radius: 50%;
	top: -20px;
	right: -20px;
	border: solid 1px transparent;
	box-shadow: var(--boxshadow) var(--black);
	transition: 
		background-color 0.5s linear, 
		transform 0.2s linear;
}
.split-grid .book-now__badge {
	right: 0;
}
.book-now__badge:hover {
	transform: scale(1.2);
	border: solid 1px var(--white);
    background-color: var(--red);
}
.book-now__badge a {
    height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--white);
	font-size: 12px;
	font-weight: var(--bold);
}
/* -------------------- Single Events List -------------------- */
.events-list-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
}
.events-list a {
	background-color: var(--white);
	border-radius: var(--border);
	border: solid thin var(--purple);
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 0.5em;
	padding: 1em;
	color: currentColor;
}
.events-list a:hover {
	background-color: var(--lgrey);
	border-color: var(--green);
}
.events-list a:hover .events-list__date, .events-list a:hover strong {
	color: var(--green);
}
.events-list__details h2 {
    font-size: 1.2rem;
}
.events-list__date {
	align-self: center;
	justify-self: center;
	border-bottom: solid 2px var(--purple);
	color: var(--purple);
	text-transform: uppercase;
}
.events-list__details h2,
.events-list__details p,
.events-list__date p {
	margin: 0;
}
.events-list__date p {
	text-align: center;
	font-weight: var(--bold);
}
.events-list__date strong {
	font-size: 2rem;
	color: var(--purple);
	line-height: 1;
	text-transform: lowercase;
}
/* -------------------- Main Events List -------------------- */
.discover-monthly {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}
.discover-monthly .events-list {
	margin-bottom: 1em;
	flex-grow: 1;
}
.month-title {
	width: 100%;
	text-align: center;
	font-weight: 700;
	padding: 2em 0;
	text-decoration: underline;
	font-size: 1.2rem;
}
/* -------------------- Account -------------------- */
.um-profile-body a {
	color: var(--purple);
}
.um-profile-body a:hover {
	color: var(--green);
}
/* -------------------- Enquiry Form -------------------- */
.enquiry-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
	margin-top: 15em;
	margin-bottom: 5em;
	box-shadow: 0 0.7em 1em var(--lightshadow);
	padding: 10px;
}
.contact-page .enquiry-form-grid {
	margin-top: 5em;
}
.enquiry-form__details form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.enquiry-logo {
	text-align: center;
}
.enquiry-logo img, .enquiry-logo svg {
	width: 200px;
}
.enquiry-form__input:nth-child(2),
.enquiry-form__input:nth-child(7) {
	width: 100%;
}
.enquiry-form__title {
	margin-bottom: 4em;
}
.enquiry-form__input textarea,
.enquiry-form__input input,
.enquiry-form__input select {
	width: 100%;
}
.enquiry-form__input {
	width: 100%;
	margin-bottom: 1em;
}
.move-right {
	align-self: center;
	text-align: left;
}
.enquiry-form__input textarea, .enquiry-form__input input, .enquiry-form__input select {
	width: 100%;
	border: solid thin var(--yellow);
	padding: 10px;
	box-sizing: border-box;
	border-radius: 5px;
	transition: all 0.5s ease-in-out;
}
.enquiry-form__input textarea {
	height: 50px;
}
.enquiry-form__input textarea:focus {
	height: 100px;
	background-color: var(--lgrey);
	border: solid thin var(--main-color);
	color: var(--main-color);
	box-shadow: 0 .5em 1em var(--black);
}

input[type=text]:focus,
input[type=email]:focus {
	background-color: var(--lgrey);
	border: solid thin var(--main-color);
	color: var(--lightyellow);
	box-shadow: 0 .5em 1em var(--black);
}


label {
	font-weight: var(--bold);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	background-color: #ffb900;
	border-radius: 10px;
}
.wpcf7-not-valid-tip {
	background-color: red;
	padding: 0.5em;
	border-radius: 10px;
	margin-top: 1em;
	color: var(--white);
}
.wpcf7 form.sent .wpcf7-response-output {
	background-color: #38883f;
	border-radius: 10px;
	color: var(--white);
}
/* -------------------- Cookie Notice -------------------- */

.cookie-notice {
    width: min(80%, 470px);
    z-index: 50;
    box-sizing: border-box;
    position: fixed;
    bottom: 5%;
    left: 50%;
    max-width: 500px;
    background: var(--white);
    border: solid thin var(--black);
    box-shadow: var(--boxshadow) var(--black);
    transform: translateX(-50%);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1em;
    align-items: center;
    padding: 1em;
    opacity: 0;
    animation: fade-in .3s forwards 2s linear;
}
.cookie-notice p {
    margin: 0;
}
.cookie-notice a {
	color: var(--main-color);
}
.cookie-notice-header {
	font-weight: bold;
}
.cookie-notice button {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
	outline: solid thin var(--green);
	outline-offset: 5px;
	background-color: var(--green);
	border: none;
	font-weight: bold;
	color: var(--white);
	cursor: pointer;
}
.cookie-notice button:hover {
	outline: solid thin var(--main-color);
	outline-offset: 5px;
	background-color: var(--main-color);
}
/* -------------------- Footer -------------------- */
.home footer {
	margin-top: 8em;
}
footer {
	text-align: center;
	padding-top: 5em;
	background-color: var(--lightgrey);
}
footer .logo {
	text-align: center;
}
footer a, .copyright a {
	color: var(--main-color);
}
footer a:hover, .copyright a:hover {
	color: var(--green);
}
footer .logo svg {
	max-width: 250px;
}
footer .contact-details {
	font-size: 13px;
	margin-top: 2em;
}
footer h4 {
	margin-top: 0;
}
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer .social-icons ul {
	justify-content: center;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 60px;
	text-align: center;
}
.copyright {
	font-size: 12px;
	text-align: center;
}
.grecaptcha-badge {
	opacity: 1;
}


/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices


*/



/* -------------------- 800 -------------------- */

@media all and (min-width: 50em) {

.header-grid .social-icons, .header-grid .btn-book, header .social-icons {
	display: block;
}
.header-grid {
	grid-template-columns: 50px 150px 150px 1fr 50px;
	grid-gap: 1em;
}
.menu-btn {
	margin-top: 0;
}
h1 {
	font-size: 2.6rem;
}
h2 {
	font-size: 2rem;
}
.page-intro h1 strong,
.page-intro h2 strong {
    font-size: 2rem;
}
.split-grid .book-now__badge {
	right: -20px;
}
.split-grid {
	grid-template-columns: 1fr 1.5fr;
}
.page-cta li {
	width: 46%;
}
.youtube-description {
	grid-template-columns: 2fr 1fr;
}
.side-col-grid {
	grid-template-columns: 2fr 1fr;
}
.staff-team-grid {
	--min-col-size: 22rem;
}
.menu-contents, .registration-links__grid, .active-schools-listings-list__grid, .events-list-grid {
	grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}
}


/* -------------------- 1200 -------------------- */

@media all and (min-width: 75em) {
header {
	background-color: transparent;
}
.header-grid {
	display: grid;
	grid-template-columns: 100px 150px 150px 1fr 50px;
	padding: 0;
}
.topcontact {
	display: block;
}
.quick-links-navigation {
	display: none;
}
.moray-council-logo {
	justify-self: flex-start;
}
.moray-council-logo img {
	width: 100%;
	max-height: 100px;
	height: auto;
}
.services-selection__grid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-flow: unset;
	overflow-x: visible;
	overscroll-behavior-inline: contain;
}
.services-selection__link {
	width: 100%;
}
.welcome-grid {
	grid-template-columns: repeat(3,1fr);
}
.welcome-grid .welcome__image:first-child {
	display: block;
}
.main-background {
	margin-top: -2em;
}
.page-cta li {
	width: auto;
}
.logo img, .logo svg {
	max-width: 200px;
}
.purple-circle {
	margin-top: -10%;
	margin-right: -10%;
}
.purple-circle svg {
	max-width: 500px;
}
/* -------------------- Navigation -------------------- */
.navigation-contact {
	align-items: center;
}
.navigation {
	display: flex;
	justify-content: center;
	z-index: 2;
}
.header-grid .social-icons {
	grid-column: 3;
	grid-row: 1;
	justify-self: flex-end;
}
/* .menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
} */

/* -------------------- Drop-Down -------------------- */
.sub-menu {
	margin-top: -5px;
}
.sub-menu li:nth-child(1) {
	margin-left: 0 !important;
}
nav li:nth-child(1) {
	margin-left: -1.2em;
}
nav ul ul {
	display: none;
}
nav ul li:hover > ul {
	display: block;
	z-index: 10;
	border-radius: 0 10px 10px 10px;
/* 	overflow: hidden; */
}
nav ul {
	padding: 0px 5px 0px 5px;
	list-style: none;
	position: relative;
	margin: .5em 1em;
}
nav ul:after {
	content: ""; clear: both; display: block;
}
nav ul li {
	float: left;
}
nav ul li:hover {
	background-color: var(--green);
	border-radius: 5px;
}
nav ul li:hover a {
	color: #fff;
}
nav ul li a {
	display: block;
	padding: 10px;
	color: var(--white);
	text-decoration: none;
}
nav ul ul {
	background: var(--green); border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
nav ul ul li {
	float: none;
	position: relative;
}
nav ul ul li a {
	padding: 10px;
	color: var(--lgrey);
	font-weight: normal!important;
}
nav ul ul li a:hover {
	background: var(--yellow);
	color: var(--white);
}
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
ul.sub-menu {
	margin: -5px 0 0 0;
}
.enquiry-form__input {
	width: 48%;
}
footer .contact-details {
	font-size: 16px;
}
.footer-grid {
	grid-template-columns: repeat(4, 1fr);
	text-align: left;
}
.copyright ul {
	display: flex;
	gap: 10px;
	justify-content: center;
}
.discover-monthly .events-list {
	width: 46%;
}
.nav-whats-on {
	order: 0;
}
	/* Third-level submenu */
nav ul ul ul {
  position: absolute;
  top: 0;
  left: 100%;
  display: none; /* Hide by default */
  background-color: var(--green);
  border-radius: 0px;
  padding: 0;
}

nav ul ul ul li {
	float: none;
	position: relative;
	width: 200px;
	border-radius: 5px;
}
nav ul ul ul li a {
  padding: 10px;
  color: var(--lgrey);
  font-weight: normal !important;
}

nav ul ul ul li a:hover {
  background: var(--yellow);
  color: var(--white);
}
.menu-contents {
	gap: 10em;
}
.active-schools-listings-list__image {
	max-height: 300px;
}
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices with bigger screens


*/


@media all and (min-width: 1900px) {

}


.blocker {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    overflow:auto;
    z-index:5;
    padding:20px;
    box-sizing:border-box;
    background-color:#000;
    background-color:rgba(0,0,0,0.9);
    text-align:center
   }
   .blocker:before {
    content:"";
    display:inline-block;
    height:100%;
    vertical-align:middle;
    margin-right:-0.05em
   }
   .blocker.behind {
    background-color:transparent
   }
   .modal {
    display:none;
    vertical-align:middle;
    position:relative;
    z-index:2;
    max-width:900px;
    box-sizing:border-box;
    width:90%;
    /* background:rgba(255,255,255,1); */
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -o-border-radius:10px;
    -ms-border-radius:10px;
    border-radius:10px;
    text-align:left
   }
   .modal a.close-modal {
    position:absolute;
    top:-12.5px;
    right:-12.5px;
    display:block;
    width:30px;
    height:30px;
    text-indent:-9999px;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;
    background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')
   }
   .modal-spinner {
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translateY(-50%) translateX(-50%);
    padding:12px 16px;
    border-radius:5px;
    background-color:#111;
    height:20px
   }
   .modal-spinner>div {
    border-radius:100px;
    background-color:#596760;
    height:20px;
    width:2px;
    margin:0 1px;
    display:inline-block;
    -webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;
    animation:sk-stretchdelay 1.2s infinite ease-in-out
   }
   .modal-spinner .rect2 {
    -webkit-animation-delay:-1.1s;
    animation-delay:-1.1s
   }
   .modal-spinner .rect3 {
    -webkit-animation-delay:-1.0s;
    animation-delay:-1.0s
   }
   .modal-spinner .rect4 {
    -webkit-animation-delay:-0.9s;
    animation-delay:-0.9s
   }
   @-webkit-keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
     -webkit-transform:scaleY(0.5)
    }
    20% {
     -webkit-transform:scaleY(1.0)
    }
   }
   @keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
     transform:scaleY(0.5);
     -webkit-transform:scaleY(0.5)
    }
    20% {
     transform:scaleY(1.0);
     -webkit-transform:scaleY(1.0)
    }
   }
   /**
 * Lightcase - jQuery Plugin
 * The smart and flexible Lightbox Plugin.
 *
 * @author		Cornel Boppart <cornel@bopp-art.com>
 * @copyright	Author
 *
 * @version		2.5.0 (11/03/2018)
 */
/**
 * Lightcase settings
 *
 * Note: Override default settings for your project without touching this source code by simply
 * defining those variables within a SASS map called '$lightcase-custom'.
 *
 * // Example usage
 * $lightcase-custom: (
 *   'breakpoint': 768px
 * );
 */
@font-face {
  font-family: 'lightcase';
  src: url("fonts/lightcase.eot?55356177");
  src: url("fonts/lightcase.eot?55356177#iefix") format("embedded-opentype"), url("fonts/lightcase.woff?55356177") format("woff"), url("fonts/lightcase.ttf?55356177") format("truetype"), url("fonts/lightcase.svg?55356177#lightcase") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* line 12, ../scss/components/fonts/_font-lightcase.scss */
[class*='lightcase-icon-']:before {
  font-family: 'lightcase', sans-serif;
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  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;
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

/* Codes */
/* line 35, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-play:before {
  content: '\e800';
}

/* line 36, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-pause:before {
  content: '\e801';
}

/* line 37, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-close:before {
  content: '\e802';
}

/* line 38, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-prev:before {
  content: '\e803';
}

/* line 39, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-next:before {
  content: '\e804';
}

/* line 40, ../scss/components/fonts/_font-lightcase.scss */
.lightcase-icon-spin:before {
  content: '\e805';
}

/**
 * Mixin providing icon defaults to be used on top of font-lightcase.
 *
 * Example usage:
 * @include icon(#e9e9e9)
 */
/**
 * Mixin providing icon defaults including a hover status to be used
 * on top of font-lightcase.
 *
 * Example usage:
 * @include icon-hover(#e9e9e9, #fff)
 */
/**
 * Provides natural content overflow behavior and scrolling support
 * even so for touch devices.
 *
 * Example usage:
 * @include overflow()
 */
/**
 * Neutralizes/resets dimensions including width, height, position as well as margins,
 * paddings and styles. Used to enforce a neutral and unstyled look and behavoir!
 *
 * Example usage:
 * @include clear(true)
 *
 * @param boolean $important
 */
@-webkit-keyframes lightcase-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-moz-keyframes lightcase-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-o-keyframes lightcase-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-ms-keyframes lightcase-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes lightcase-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
/* line 1, ../scss/components/modules/_case.scss */
#lightcase-case {
  display: none;
  position: fixed;
  z-index: 2002;
  top: 50%;
  left: 50%;
  font-family: arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 640px) {
  /* line 16, ../scss/components/modules/_case.scss */
  html[data-lc-type=inline] #lightcase-case, html[data-lc-type=ajax] #lightcase-case {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 55px 0 70px 0;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
  }
}

@media screen and (min-width: 641px) {
  /* line 4, ../scss/components/modules/_content.scss */
  html:not([data-lc-type=error]) #lightcase-content {
    position: relative;
    z-index: 1;
    text-shadow: none;
    background-color: #fff;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    -webkit-backface-visibility: hidden;
  }
}
@media screen and (min-width: 641px) {
  /* line 23, ../scss/components/modules/_content.scss */
  html[data-lc-type=image] #lightcase-content, html[data-lc-type=video] #lightcase-content {
    background-color: #333;
  }
}
/* line 31, ../scss/components/modules/_content.scss */
html[data-lc-type=inline] #lightcase-content, html[data-lc-type=ajax] #lightcase-content, html[data-lc-type=error] #lightcase-content {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}
@media screen and (max-width: 640px) {
  /* line 31, ../scss/components/modules/_content.scss */
  html[data-lc-type=inline] #lightcase-content, html[data-lc-type=ajax] #lightcase-content, html[data-lc-type=error] #lightcase-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }
}
/* line 43, ../scss/components/modules/_content.scss */
html[data-lc-type=inline] #lightcase-content .lightcase-contentInner, html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner, html[data-lc-type=error] #lightcase-content .lightcase-contentInner {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
@media screen and (max-width: 640px) {
  /* line 43, ../scss/components/modules/_content.scss */
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner, html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner, html[data-lc-type=error] #lightcase-content .lightcase-contentInner {
    padding: 15px;
  }
  /* line 52, ../scss/components/modules/_content.scss */
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner, html[data-lc-type=inline] #lightcase-content .lightcase-contentInner > *, html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner, html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner > *, html[data-lc-type=error] #lightcase-content .lightcase-contentInner, html[data-lc-type=error] #lightcase-content .lightcase-contentInner > * {
    width: 100% !important;
    max-width: none !important;
  }
  /* line 59, ../scss/components/modules/_content.scss */
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner > *:not(iframe), html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner > *:not(iframe), html[data-lc-type=error] #lightcase-content .lightcase-contentInner > *:not(iframe) {
    height: auto !important;
    max-height: none !important;
  }
}
@media screen and (max-width: 640px) {
  /* line 70, ../scss/components/modules/_content.scss */
  html.lightcase-isMobileDevice[data-lc-type=iframe] #lightcase-content .lightcase-contentInner iframe {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media screen and (max-width: 640px) and (min-width: 641px) {
  /* line 74, ../scss/components/modules/_content.scss */
  html[data-lc-type=image] #lightcase-content .lightcase-contentInner, html[data-lc-type=video] #lightcase-content .lightcase-contentInner {
    line-height: 0.75;
  }
}

/* line 82, ../scss/components/modules/_content.scss */
html[data-lc-type=image] #lightcase-content .lightcase-contentInner {
  position: relative;
  overflow: hidden !important;
}
@media screen and (max-width: 640px) {
  /* line 91, ../scss/components/modules/_content.scss */
  html[data-lc-type=inline] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap, html[data-lc-type=ajax] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap, html[data-lc-type=error] #lightcase-content .lightcase-contentInner .lightcase-inlineWrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }
}
@media screen and (min-width: 641px) {
  /* line 100, ../scss/components/modules/_content.scss */
  html:not([data-lc-type=error]) #lightcase-content .lightcase-contentInner .lightcase-inlineWrap {
    padding: 30px;
    overflow: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 640px) {
  /* line 117, ../scss/components/modules/_content.scss */
  #lightcase-content h1, #lightcase-content h2, #lightcase-content h3, #lightcase-content h4, #lightcase-content h5, #lightcase-content h6, #lightcase-content p {
    color: #aaa;
  }
}
@media screen and (min-width: 641px) {
  /* line 117, ../scss/components/modules/_content.scss */
  #lightcase-content h1, #lightcase-content h2, #lightcase-content h3, #lightcase-content h4, #lightcase-content h5, #lightcase-content h6, #lightcase-content p {
    color: #333;
  }
}

/* line 3, ../scss/components/modules/_error.scss */
#lightcase-case p.lightcase-error {
  margin: 0;
  font-size: 17px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #aaa;
}
@media screen and (max-width: 640px) {
  /* line 3, ../scss/components/modules/_error.scss */
  #lightcase-case p.lightcase-error {
    padding: 30px 0;
  }
}
@media screen and (min-width: 641px) {
  /* line 3, ../scss/components/modules/_error.scss */
  #lightcase-case p.lightcase-error {
    padding: 0;
  }
}

/* line 4, ../scss/components/modules/_global.scss */
.lightcase-open body {
  overflow: hidden;
}
/* line 8, ../scss/components/modules/_global.scss */
.lightcase-isMobileDevice .lightcase-open body {
  max-width: 100%;
  max-height: 100%;
}

/* line 1, ../scss/components/modules/_info.scss */
#lightcase-info {
  position: absolute;
  padding-top: 15px;
}
/* line 9, ../scss/components/modules/_info.scss */
#lightcase-info #lightcase-title,
#lightcase-info #lightcase-caption {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-weight: normal;
  text-overflow: ellipsis;
}
/* line 19, ../scss/components/modules/_info.scss */
#lightcase-info #lightcase-title {
  font-size: 17px;
  color: #aaa;
}
@media screen and (max-width: 640px) {
  /* line 19, ../scss/components/modules/_info.scss */
  #lightcase-info #lightcase-title {
    position: fixed;
    top: 10px;
    left: 0;
    max-width: 87.5%;
    padding: 5px 15px;
    background: #333;
  }
}
/* line 33, ../scss/components/modules/_info.scss */
#lightcase-info #lightcase-caption {
  clear: both;
  font-size: 13px;
  color: #aaa;
}
/* line 39, ../scss/components/modules/_info.scss */
#lightcase-info #lightcase-sequenceInfo {
  font-size: 11px;
  color: #aaa;
}
@media screen and (max-width: 640px) {
  /* line 45, ../scss/components/modules/_info.scss */
  .lightcase-fullScreenMode #lightcase-info {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* line 51, ../scss/components/modules/_info.scss */
  html:not([data-lc-type=image]):not([data-lc-type=video]):not([data-lc-type=flash]):not([data-lc-type=error]) #lightcase-info {
    position: static;
  }
}

/* line 1, ../scss/components/modules/_loading.scss */
#lightcase-loading {
  position: fixed;
  z-index: 9999;
  width: 1.123em;
  height: auto;
  font-size: 38px;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  position: fixed;
  z-index: 2001;
  top: 50%;
  left: 50%;
  margin-top: -0.5em;
  margin-left: -0.5em;
  opacity: 1;
  font-size: 32px;
  text-shadow: 0 0 15px #fff;
  -moz-transform-origin: 50% 53%;
  -webkit-animation: lightcase-spin 0.5s infinite linear;
  -moz-animation: lightcase-spin 0.5s infinite linear;
  -o-animation: lightcase-spin 0.5s infinite linear;
  animation: lightcase-spin 0.5s infinite linear;
}
/* line 20, ../scss/components/mixins/_presets.scss */
#lightcase-loading, #lightcase-loading:focus {
  text-decoration: none;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: color, opacity, ease-in-out 0.25s;
  -moz-transition: color, opacity, ease-in-out 0.25s;
  -o-transition: color, opacity, ease-in-out 0.25s;
  transition: color, opacity, ease-in-out 0.25s;
}
/* line 32, ../scss/components/mixins/_presets.scss */
#lightcase-loading > span {
  display: inline-block;
  text-indent: -9999px;
}

/* line 2, ../scss/components/modules/_navigation.scss */
a[class*='lightcase-icon-'] {
  position: fixed;
  z-index: 9999;
  width: 1.123em;
  height: auto;
  font-size: 38px;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  outline: none;
  cursor: pointer;
}
/* line 20, ../scss/components/mixins/_presets.scss */
a[class*='lightcase-icon-'], a[class*='lightcase-icon-']:focus {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: color, opacity, ease-in-out 0.25s;
  -moz-transition: color, opacity, ease-in-out 0.25s;
  -o-transition: color, opacity, ease-in-out 0.25s;
  transition: color, opacity, ease-in-out 0.25s;
}
/* line 32, ../scss/components/mixins/_presets.scss */
a[class*='lightcase-icon-'] > span {
  display: inline-block;
  text-indent: -9999px;
}
/* line 49, ../scss/components/mixins/_presets.scss */
a[class*='lightcase-icon-']:hover {
  color: white;
  text-shadow: 0 0 15px white;
}
/* line 10, ../scss/components/modules/_navigation.scss */
.lightcase-isMobileDevice a[class*='lightcase-icon-']:hover {
  color: #aaa;
  text-shadow: none;
}
/* line 17, ../scss/components/modules/_navigation.scss */
a[class*='lightcase-icon-'].lightcase-icon-close {
  position: fixed;
  top: 15px;
  right: 15px;
  bottom: auto;
  margin: 0;
  opacity: 0;
  outline: none;
}
/* line 28, ../scss/components/modules/_navigation.scss */
a[class*='lightcase-icon-'].lightcase-icon-prev {
  left: 15px;
}
/* line 33, ../scss/components/modules/_navigation.scss */
a[class*='lightcase-icon-'].lightcase-icon-next {
  right: 15px;
}
/* line 38, ../scss/components/modules/_navigation.scss */
a[class*='lightcase-icon-'].lightcase-icon-pause, a[class*='lightcase-icon-'].lightcase-icon-play {
  left: 50%;
  margin-left: -0.5em;
}
@media screen and (min-width: 641px) {
  /* line 38, ../scss/components/modules/_navigation.scss */
  a[class*='lightcase-icon-'].lightcase-icon-pause, a[class*='lightcase-icon-'].lightcase-icon-play {
    opacity: 0;
  }
}
@media screen and (max-width: 640px) {
  /* line 2, ../scss/components/modules/_navigation.scss */
  a[class*='lightcase-icon-'] {
    bottom: 15px;
    font-size: 24px;
  }
}
@media screen and (min-width: 641px) {
  /* line 2, ../scss/components/modules/_navigation.scss */
  a[class*='lightcase-icon-'] {
    bottom: 50%;
    margin-bottom: -0.5em;
  }
  /* line 57, ../scss/components/modules/_navigation.scss */
  a[class*='lightcase-icon-']:hover, #lightcase-case:hover ~ a[class*='lightcase-icon-'] {
    opacity: 1;
  }
}

/* line 1, ../scss/components/modules/_overlay.scss */
#lightcase-overlay {
  display: none;
  width: 100%;
  min-height: 100%;
  position: fixed;
  z-index: 2000;
  top: -9999px;
  bottom: -9999px;
  left: 0;
  background: #333;
}
@media screen and (max-width: 640px) {
  /* line 1, ../scss/components/modules/_overlay.scss */
  #lightcase-overlay {
    opacity: 1 !important;
  }
}
