﻿/*
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) {

}


