/*
Theme Name: Findochty Town Hall
Theme URI: https://findochtytownhall.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: 1 Build-1222
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/

/* playfair-display-regular - latin */
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400;
	src: local("Playfair Display"),
	     url('fonts/playfair-display-v28-latin-regular.woff2') format('woff2'), 
         url('fonts/playfair-display-v28-latin-regular.woff') format('woff'); 
}
/* 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: #151515;
	--brown: #B48A62;
	--blue: #60AEE1;
	--darkblue: #152850;
	--lgrey: #e5e5e5;
	--grey: #F2F2F2;
    --white: #ffffff;
    --blue-banner: #48526B;
	--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);
}
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 -------------------- */

main {
	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 -------------------- */

.container {
	width: min(90%, 1600px);
	margin-inline: auto;
}
.easy-reading {
	width: min(90%, 900px);
	margin-inline: auto;
}
a {
  text-decoration: none;
}

/* h1, h2 {
	font-family: 'Playfair Display', serif;
	font-weight: normal;
} */

p {
	line-height:1.6;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}

.lightcase-contentInner img {
	border-radius: var(--border);
}
/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:10em;
}
.drop {
    margin-top: 3em;
}
.page-drop {
	margin-top: 3em;
}
.ptb {
	padding: 4em 0;
}
.overlap {
	padding-top: 5em;
	padding-bottom: 20em;
}
.bring-up {
	margin-top: -20em;
}
/* -------------------- Colours -------------------- */
.grey-banner {
	background-color: var(--grey);
}
.blue-banner {
	background-color: var(--blue-banner);
	color: var(--white);
}
.blue-background a {
	background-color: var(--blue);
	color: var(--white) !important;
}
.net-decoration {
	background-image: url('svg/net.svg');
	background-repeat: no-repeat;
	background-position: right -20%;
}
/* -------------------- Top Bar -------------------- */
.topbar {
    padding: 1em;
    box-shadow: var(--boxshadow) var(--black);
}
.topbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.topbar ul {
    display: flex;
    justify-content: flex-end;
}
.topbar li {
    margin-right: 5px;
}
.top-contact .facebook,
.top-contact .contactemailicon {
	display: block;
}
.top-contact .contactemail {
	display: none;
}
.nav .contactemailicon {
	display: none;
}
.top-contact a {
	color: currentColor;
}
.top-contact a:hover {
	color: var(--blue);
}
/* -------------------- Header -------------------- */
.logo-nav {
    display: grid;
    grid-template-areas: 
    "crest"
    "logo"
    "quick-links" 
    "topsearchbar";
    grid-template-columns: 1fr;
    margin-top: 2em;
	align-items: center;
}
.logo {
    grid-area: logo;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}
.logo p {
	margin: 0;
	padding-left: 4px;
}
.logo img, .crest img, .footer-logo img {
    width: 100%;
    height: auto;
    max-width: 100px;
}
.crest {
    text-align: center;
    grid-area: crest;
}
.navigation {
    grid-area: navigation;
}
.quick-links {
    grid-area: quick-links;
}
.topsearchbar {
    grid-area: topsearchbar;
}
.borderline {
    grid-area: borderline;
}
.main-feature-image {
	z-index: -1;
	position: absolute;
	width: 100%;
	height: 100vh;
}
.slogan {
	margin-top: 3em;
}
.slogan svg {
    width: 80%;
    height: auto;
    max-width: 600px;
}
/* -------------------- Search Container -------------------- */
.search-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 0.75em;
    border: solid thin var(--lgrey);
    transition: box-shadow 0.5s ease-in-out;
    align-self: center;
}
.search-container:hover {
    box-shadow: var(--boxshadow) var(--lightshadow);
}
.search-container form {
    display: grid;
    grid-template-columns: 2fr 20px;
}
.search-container input {
    border: none;
    font-weight: bold;
    color: var(--blue);
}
/* -------------------- Quick Links -------------------- */
.quick-links {
    overflow: hidden;
}
.quick-links ul {
	padding: 0;
	list-style: none;
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	height: auto;
	justify-content: flex-start;
}
.quick-links li {
	flex: 0 0 auto;
	width: max-content;
}
.quick-links li {
    text-align: center;
}
.quick-links li a {
    font-size: 15px;
    border-radius: 10px;
    color: var(--main-color);
    padding: 10px 20px;
    display: block;
    border: solid thin var(--lgrey);
    margin-right: 5px;
}
.quick-links li a:hover {
	background-color: var(--darkblue);
	color: var(--white);
}
/* -------------------- Navigation -------------------- */
.navigation {
	display: none;
}
.navigation ul:hover li {
    opacity: 0.5;
	transition: opacity 300ms ease-in-out;
}
.navigation ul:hover li:hover {
   opacity: 1;
}
/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
#navoverlay {
	background-color: var(--darkblue);
	color: var(--white);
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	color: var(--white);
	background-color: var(--blue);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--blue);
	outline-offset: 2px;
	transition: background-color 0.5s ease-in-out;
	grid-row: 1;
	margin-left: auto;
	position: absolute;
	top: 5px;
	left: 10px;
}
.menu-btn:hover {
	background-color: var(--brown);
}
.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;
	left: 10px;
	top: 5px;
	color: var(--white);
	background-color: var(--blue);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--blue);
	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: flex;
	flex-wrap: wrap;
	height: 100vh;
}
.nav ul:nth-child(1) {
	font-size: 1.5rem;
}
.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%;
	text-align: center;
}
.nav, .contact-nav {
	margin-bottom: 20px;
}
.nav li a, .contact-nav li a {
	color: var(--white);
	fill: var(--white);
}
.current_page_item a {
	font-weight: bold;
}
/* -------------------- 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 p, .page-title h1, .page-title h2 {
    margin: 0;
}
.inner .page-title h1 {
	line-height: 1;
}
.page-title p {
    color: var(--main-color);
    font-weight: var(--bold);
}
.page-intro {
    align-self: flex-end;
}
.page-title__max {
    max-width: 60ch;
}
.page-into {
	max-width: 60ch;
	margin-inline: auto;
}
.page-title h1 strong {
	font-size: 1.5rem;
}
/* -------------------- 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;
}
.gallery-item img:hover {
	opacity: 0.6;
}

/* -------------------- Price Table -------------------- */
.price-table td {
	padding: 0.5em;
	border-bottom: solid thin var(--blue);
}
.price-table td:nth-child(2n) {
	font-weight: var(--bold);
}
/* -------------------- Banner -------------------- */
.feature-banner {
	height: 80vh;
	overflow: hidden;
}
.feature-image {
    height: 100vh;
    overflow: hidden;
}
.feature-banner img, .feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.google_map {
	padding-bottom: 10em;
}
.google_map iframe {
	width: 100%;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.tour svg {
	max-width: 300px;
	width: 100%;
	height: auto;
}
.tour iframe {
	width: 100%;
	height: 600px;
}
.feature-split-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
	background-color: var(--main-color);
	color: var(--white);
}
.inner .feature-split {
	height: 50vh;
}
.Hide-Second-Image {
	display: none;
}
.feature-split-grid img {
	opacity: 0.5;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page-title-overlay {
	position: absolute;
	width: 80%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 1em 0;
	z-index: 1;
}
.inner .feature-split:nth-child(3) {
	display: none;
}
.inner .feature-split:nth-child(4) {
	display: none;
}
/* -------------------- findochty Selection -------------------- */
.findochty-selection__grid {
	display: grid;
	grid-gap: 1em;
	grid-auto-flow: column;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}
.findochty-selection__link {
	overflow: hidden;
	transition: background-color 200ms ease-in-out;
	width: 300px;
	border-radius: var(--border);
}

.findochty-selection__link:hover .findochty-selection__image img {
	transform: scale(1.1);
}
.findochty-selection__image {
    overflow: hidden;
    height: 300px;
    border-radius: var(--border);
}
.findochty-selection__image img {
	border-radius: var(--border);
	transition: transform 200ms ease-in-out;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.findochty-selection__text {
    color: var(--white);
    padding: .5em;
    margin-top: .5em;
}
.findochty-selection__sleep {
	font-size: 12px;
}
.findochty-selection__text h2 {
	font-size: 1.5rem;
	margin: 0;
}
.findochty-selection__sleep p {
	margin: 0;
}
.findochty-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    color: var(--white);
    background-color: var(--blue);
    z-index: 1;
    border-radius: 0 0 0 50px;
    /* padding: 0 5px; */
    width: 100px;
    height: 80px;
}
.findochty-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;
}
/* -------------------- Button -------------------- */
.btn a {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
}
.btn-outline a {
	color: var(--white);
	border: solid 1px var(--blue);
	background-color: var(--blue);
	box-shadow: 0 0.5em 1em var(--lightshadow);
	outline: solid 1px var(--blue);
	outline-offset: 5px;
	transition: outline-offset 0.1s ease-in-out;
}
.btn a:hover, button:hover {
	background-color: var(--darkblue);
	border: solid 1px var(--darkblue);
	outline: solid 1px var(--darkblue);
	outline-offset: 2px;
}
/* -------------------- 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(--main-color);
	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);
	font-weight: var(--bold);
	font-size: 15px;
}

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

input[type=submit] {
	color: var(--white);
	background-color: var(--darkblue);
	border: none;
	width: 200px;
	border-radius: 10px;
	cursor: pointer;
}
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: pink;
	padding: 0.5em;
	border-radius: 10px;
	margin-top: 1em;
}
.wpcf7 form.sent .wpcf7-response-output {
	background-color: #38883f;
	border-radius: 10px;
	width: 100%;
	text-align: center;
	color: var(--white);
	padding: 2em;
}
/* -------------------- 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(--darkblue);
	outline-offset: 5px;
	background-color: var(--darkblue);
	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 -------------------- */
footer {
	padding: 4em 0;
}

footer a {
	color: var(--main-color);
}
footer a:hover {
	color: var(--blue);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1em;
	text-align: center;
}
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.copyright {
	border-top: solid thin var(--lgrey);
	padding-top: 1em;
	font-size: 12px;
}

.em.em-calendar .em-cal-head {
	background: var(--darkblue)!important;
}
.em.em-calendar .em-cal-head > div {
	color: var(--white)!important;
}
.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
	background-color: var(--blue)!important;
	border: 1px solid var(--blue)!important;
}
.em.em-list .em-item .em-item-info {
	border-left: 4px solid var(--blue) !important;
}
.em.em-list.size-small .em-item .em-item-info {
	border-top: 4px solid var(--blue) !important;
}
.em-view-container h2 {
	text-align: center;
	border-bottom: solid thin var(--blue);
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}
.em-view-container {
	width: 100%;
}
/* -------------------- Event Details -------------------- */
.event-details {
	padding: 1em;
	background-color: var(--white);
	box-shadow: 0 5px 1em var(--lightshadow);
	border: solid thin var(--grey);
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
	height: 300px;
	grid-gap: 1em;
	color: var(--main-color);
	border-radius: var(--border);
	transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
}
.single-event-details {
	padding: 1em;
	box-shadow: var(--boxshadow) var(--lightshadow);
	border: solid thin var(--blue);
	border-radius: var(--border);
}
.single-event-details .event-name {
	font-weight: var(--bold);
	font-size: 1.17rem;

}
.event-details:hover {
	background-color: var(--black);
	border: solid thin var(--black);
	box-shadow: 0 5px 1em var(--black);
}
.event-details-grid {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 1fr;
	margin-bottom: 5em;
}
.event-post-details {
	align-self: center;
}
.event-image {
	border-radius: 50%;
	height: 50px;
	width: 50px;
	overflow: hidden;
	background-size: cover;
	background-color: var(--darkblue);
	background-position: center;
}
.event-details h3, .event-date p, .event-description p {
	margin: 0;
}
.event-date {
	color: var(--main-color);
	align-self: flex-end;
}
.event-date i {
	display: none;
}
.event-link a {
	color: var(--main-color);
}
.event-description {
	opacity: 0.5;
	transition: opacity 0.5s ease-in-out;
	font-size: var(--smallfont)
}
.event-details:hover .event-description {
	opacity: 1;
}
.css-events-list h2::before {
	content: 'Findochty Town Hall';
	display: block;
	font-size: 1rem;
	color: var(--darkgreen);
}
.css-events-list h2 {
	text-align: center;
	margin-bottom: 3em;
}
/* -------------------- Upcoming Events -------------------- */
.upcoming-events-grid {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.discover-monthly {
	display: grid;
	grid-gap: 20px;
	grid-template-rows: 1fr;
	grid-auto-flow: column;
	grid-auto-columns: 80%;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	margin-bottom: 3em;
}
.upcoming-events-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.upcoming-events, .discover-monthly-events {
	border-radius: 10px;
	height: 200px;
	width: 100%;
	color: var(--white);
	background-color: var(--blue);
	box-sizing: border-box;
	position: relative;
	transition: all 0.1s ease-in-out;
}
.discover-monthly .upcoming-events {
	height: auto;
	top: 0;
}
/* .discover-monthly .upcoming-events:hover {
    top: -6px;
} */
.upcoming-events:hover {
	background-color: var(--darkblue);
	box-shadow: 0 0.5em 1em var(--black);
}
.upcoming-events a {
	display: block;
	color: var(--white);
}
.upcoming-events__date p:nth-child(1) {
	font-size: 2rem;
}
.upcoming-events__text {
	position: absolute;
	bottom: 0;
	padding: 20px;
}
.discover-monthly .upcoming-events__text {
	position:unset;
}
.upcoming-events__text h3 {
	margin: 0;
	line-height: 1;
}
.upcoming-events__text p {
	font-size: 12px;
}
.upcoming-events__date {
	font-weight: 700;
	padding: 20px;
}
.upcoming-events p {
	margin: 0;
	line-height: 1.2;
}
.small-events ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.small-events li {
	flex-grow: 1;
	width: 100%;
	margin-right: 0;
	margin-bottom: 10px;
}
.upcoming-events-small a {
	padding: 20px;
	box-shadow: 0 0 1em var(--black);
	display: block;
	border-radius: 10px;
	color: var(--white);
	background-color: var(--lightblue);
	box-sizing: border-box;
}
.upcoming-events-small a:hover {
	background-color: var(--blue);
}
.upcoming-events-small p, .upcoming-events-small h3 {
	margin: 0;
}
/* -------------------- Search Results -------------------- */
.search-results {
	width: 100%;
	margin-bottom: 60px;
	padding-bottom: 30px;
	border-bottom: solid 1px var(--lgrey);
	display: flex;
	flex-wrap: wrap;
	transition: border-bottom 200ms ease-in-out;
}
.search-results:hover {
	border-bottom: solid 1px var(--lightgreen);
}
.search-results-text h3, .search-results-text p {
	margin: 0;
	color: var(--main-color);
}
.search-results-image {
	width: 100px;
	height: 100px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 30px;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--lightshadow);
	background-image: url('https://findochtytownhall.co.uk/fth/webp/Findochty-crest.webp');
}
.search-results-image img {
	width: 100%;
	height: 100%;
	border-radius: var(--border);
	object-fit: cover;
}
.search-results-text {
	flex-grow: 1;
	width: 60%;
	align-self: center;
}
/* -------------------- Search Not Found -------------------- */
.not-found {
	text-align: center;
	margin-bottom: 5em;
}
.unhappy {
	font-size: 3rem;
	font-weight: bold;
}
#searchcar {
	padding-bottom: 3em;
}
.full {
	margin: auto;
}

/* -------------------- Team -------------------- */
.team-grid {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	margin-bottom: 6em;
}
.team {
	border-radius: 10px;
	border: solid thin var(--lgrey);
	background-color: var(--white);
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.team:hover {
	box-shadow: 0 0 1em var(--black);
}
.team__image {
	width: 150px;
	height: 150px;
	margin: 3em auto auto auto;
	background-color: var(--main-color);
	border-radius: 50%;
	box-shadow: 0 0.5em 1em var(--black);
	background-size: cover;
	background-position: center;
}
.team__name {
	text-align: center;
}
.team__name h2 {
	border-bottom: solid thin var(--blue);
	display: inline-block;
	margin: 20px 0 5px 0;
	color: var(--darkblue);
	font-size: 1.5rem;
}
.team__name p {
	margin: 0;
	font-size: 10pt;
}
.team__bio {
	padding: 0 30px 30px 30px;
}
.team-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background-image: url('images/team-background.jpg');
	background-size: cover;
	background-position: center;
	z-index: -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) {
.logo-nav {
    display: grid;
    grid-template-areas: 
    "crest crest"
    "logo logo"
    "quick-links topsearchbar";
    grid-template-columns: 1fr 0.4fr;
    margin-top: 2em;
    align-items: center;
}
.logo {
    text-align: center;
	font-size: 2rem;
}
.crest img {
    width: 150px;
}
.footer-grid {
	grid-template-columns: 200px 1fr 1fr;
	text-align: left;
}
.slogan {
	margin-top: 7em;
}
.top-contact .facebook,
.top-contact .contactemailicon {
	display: none;
}

.top-contact .contactemail {
	display: block;
}
}


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

@media all and (min-width: 75em) {
.logo-nav {
	grid-template-areas: 
	"logo crest navigation" 
	"quick-links crest topsearchbar";
	grid-template-columns: 1fr 0.2fr 1fr;
	grid-template-rows: 70px 70px;
	margin-top: 7em;
	align-items: center;
	grid-gap: 1em;
}
.logo {
    text-align: left;
}
.crest img {
    max-width: 200px;
}
.topbar ul {
    justify-content: center;
}
h1 {
	font-size: 3rem;
}
h1 {
	font-size: 2rem;
}
/* -------------------- Navigation -------------------- */
.navigation {
	display: block;
}
.menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
}
/* -------------------- Drop-Down -------------------- */
.sub-menu {
	margin-top: -5px;
}
nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}
nav li a {
	padding: 10px;
	color: var(--main-color);
	font-size: 15px;
}
.findochty-selection__link {
	width: 100%;
}
.event-details-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
}
.enquiry-form__input {
	width: 48%;
}
.inner .feature-split:nth-child(3) {
	display: block;
}
.inner .feature-split:nth-child(4) {
	display: block;
}
.discover-monthly {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	overflow-x: visible;
}
.discover-monthly {
	grid-auto-flow:unset;
	grid-auto-columns: auto;
	margin-bottom: 5em !important;
}
.page-drop {
	margin-top: 8em;
}
}

/*

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


*/


