﻿/*
Theme Name: Cairnty Lodges
Theme URI: https://cairntylodges.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-01021
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/

:root {
	--main-color: #151515;
	--green: #4C524B;
	--brown: #D8AA3B;
	--cream: #ECE8D7;
	--lgrey: #e5e5e5;
  	--white: #FFFFFF;
	--black: rgba(0, 0, 0, 0.2);
	--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-color: var(--cream);
	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 -------------------- */

.container {
    width: 95%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
.easy-reading {
	width: 80%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
a {
  text-decoration: none;
}
h1, h2, h3, summary {
	font-family: 'Playfair Display', serif;
	font-weight: normal;
}
p {
	line-height:1.6;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}
/* -------------------- Colours -------------------- */
.green-background {
    background-color: var(--green);
}
.cream-background {
	background-color: var(--cream);
}
/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:5em;
}
.ptb {
	padding-top: 5em;
	padding-bottom: 5em;
}
.pb {
	padding-bottom: 5em;
}
.mb {
	margin-bottom: 5em;
}
.pad {
	padding-top: 10em;
	margin-top: -5em;
    padding-bottom: 5em;
}
.move-left {
	margin-left: auto;
	width: 95%;
	border-radius: 10px 0 0 10px;
	padding: 2em 1em;
	box-sizing: border-box;
}
/* -------------------- unordered list -------------------- */
/* -------------------- Hyperlinks -------------------- */
/* -------------------- Header -------------------- */
header {
    color: var(--white);
    background-color: var(--green);
}
.header-grid {
	display: grid;
	grid-template-columns: 1fr 150px;
	padding-top: 1em;
    padding-bottom: 1em;
	margin-bottom: 5em;
	align-items: center;
	grid-gap: 2em;
    border-bottom: solid 1px var(--lgrey);
}
.logo img {
	width: 100%;
	height: auto;
	max-width: 275px;
}
.page-introduction {
    padding-bottom: 6em;
}
/* -------------------- Feature Images -------------------- */
.feature-image {
   height: 50vh;
}
.feature-image img, .welcome-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border);
    box-shadow: var(--boxshadow) var(--black);
}
/* -------------------- Navigation -------------------- */
.navigation {
	display: none;
    justify-content: center;
}
/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
#navoverlay {
	background-color: var(--green);
	color: var(--white);
}
.mobile {
	display: none;
	opacity: 0;
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	width: 30px;
	position: absolute;
	top: 1em;
	right: 1em;
	color: var(--brown);
}
.mobile {
	position: fixed;
	padding: 2em;
	width: calc(100vw - 4em);
	height: calc(100vh - 4em);
	z-index: 200;
}
.close-btn {
	width: 28px;
	cursor: pointer;
	position: absolute;
	right: 1em;
	top: 1em;
}
.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: 90vh;
}
.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);
}
/* -------------------- 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 {
    font-size: clamp(3.5rem, 4vw + 1rem, 5rem);
    margin: 0;
}
.page-title h2 {
    margin: 0;
}
.page-title-image img {
    width: 100%;
    height: auto;
    max-width: 260px;
}
.welcome-text h2 {
	font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
	max-width: 13ch;
}
.accommodation-title h3 {
	font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
	margin: 0;
}
.accommodation-title {
	margin-bottom: 3em;
}
.room-description h2 {
	font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
}
/* -------------------- Half Grid and Welcome Section -------------------- */
.half-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3em;
}
.welcome-text {
	align-self: center;
	margin: auto;
	width: 80%;
}
.welcome-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}
.welcome-gallery__image:nth-child(3) {
    grid-column: 1/-1;
}
/* -------------------- Gallery / Banner -------------------- */
.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	);
}
.gallery-item img:hover {
	opacity: 0.6;
}
.banner {
    height: 50vh;
}
.banner img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}
.image-decoration img {
	width: 100%;
	height: auto;
	max-width: 300px;
}
.banner-split {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	height: 50vh;
}
.banner__image {
    height: 40vh;
}
.banner__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* -------------------- Rooms Select -------------------- */
.rooms-selection {
	display: grid;
	grid-gap: 1em;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: scroll;
	-ms-scroll-snap-type: x mandatory;
	scroll-snap-type: x mandatory;
}
.room-select {
	max-height: 400px;
	overflow: hidden;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
	background-color: var(--main-color);
}
.room-select__title {
    position: absolute;
    top: 55%;
    left: 50%;
	width: 100%;
    transform: translate(-50%, -55%);
    color: var(--white);
	text-align: center;
	opacity: 1;
	transition: top 0.5s ease-in-out;
}
.room-select:hover .room-select__title {
    top: 50%;
}
.room-select__title h2 {
    margin: 0;
}
.room-select img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.room-select__title p {
    opacity: 0;
    margin: 0;
    text-align: center;
	transition: opacity 0.5s ease-in-out;
}
.room-select:hover .room-select__title p {
    opacity: 1;
}
.room-select__image {
    opacity: 1;
	height: 100%;
}
.room-select__image:hover {
    opacity: 0.1;
	transition: all 0.5s ease-in-out;	
}

/* -------------------- Book Now Badge -------------------- */
.book-now__badge {
    position: absolute;
    background-color: var(--brown);
    width: 100px;
    height: 100px;
    border-radius: 50%;
	top: -30px;
	right: 0px;
	border: solid 1px transparent;
	box-shadow: var(--boxshadow) var(--black);
	transition: 
		background-color 0.5s linear, 
		transform 0.2s linear;
}
.book-now__badge:hover {
	transform: scale(1.2);
	border: solid 1px var(--white);
    background-color: var(--green);
}
.book-now__badge a {
    height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--white);
}
/* -------------------- Room Details -------------------- */
.property-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1em;
}
blockquote {
    margin: 0;
    font-size: 1.5rem;
    max-width: 500px;
    color: var(--green);
}
summary {
    padding: 1em 0 0.5em 0;
    cursor: pointer;
    outline: none;
    color: var(--green);
    margin-top: 2em;
	border-bottom: solid thin var(--green);
	font-size: 1.5rem;
}
details p {
	padding-bottom: 2em;
}
/* details > summary {
	list-style: none;
} */
details[open] summary {
    border-bottom: solid thin var(--brown);
}
details[open] p {
	animation-name: comein;
	animation-duration: 500ms, 200ms;
	animation-delay: 0ms, 500ms;

}
@keyframes comein {
	0% {
	  opacity: 0;
	}
	  100% {
		  opacity: 1;
	}
}
/* -------------------- Iframe -------------------- */
.google-maps iframe {
	width: 100%;
	border: none;
	border-radius: var(--border);
}
.tour iframe {
	width: 100%;
	height: 600px;
}
.abCalendarNote {
	background-color: var(--cream);
}
div #pjWrapperRPBC_1, #pjWrapperRPBC_4, #pjWrapperRPBC_3, #pjWrapperRPBC_2 {
	background-color: var(--cream);
}
/* -------------------- Property Menu -------------------- */
.property-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-gap: 0.5em;
}
.property-menu li a {
	background-color: var(--green);
	color: var(--white);
	padding: 1em;
	border-radius: 10px;
	display: block;
	text-align: center;
	border: solid thin var(--white);
	font-weight: 700;
}
.property-menu li a:hover {
	background-color: var(--brown);
}
.property-menu .current-menu-item a {
	font-weight: normal;
	background-color: var(--black);
}

/* -------------------- Button -------------------- */
.btn a {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
    color: var(--white);
    box-shadow: 0 0.5em 1em var(--lightshadow);
}
.btn-outline a {
	border: solid 1px var(--brown);
	background-color: var(--brown);
}
.btn-main a {
	border: solid 1px var(--green);
	background-color: var(--green);
}
.btn a:hover {
	background-color: var(--main-color);
	color: var(--white);
	border: solid 1px var(--main-color);
}
.book-now-btn {
	display: none;
}
/* -------------------- Footer -------------------- */
footer {
	padding: 3em 0 2em 0;
	color: var(--white);
	background-color: var(--green);
}
.footer-image img {
	max-width: 300px;
	width: 100%;
	height: auto;
}
.footer-social {
    display: flex;
    justify-content: center;
	margin-bottom: 2em;
}
.footer-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
	align-items: center;
}
.footer-social li {
	padding: 5px;
}
.footer-social a svg {
	fill: var(--white);
}
.footer-social a:hover svg {
	fill: var(--brown);
}
footer a {
	color: var(--white);
}
footer a:hover {
	color: var(--brown);
}
.footer-logo {
	margin-bottom: 2em;
}
.footer-contact {
    text-align: center;
	margin-bottom: 2em;
}
.copyright p {
	margin: 0;
}
.small {
	font-size: 12px;
}

/*

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


*/
/* -------------------- 700 -------------------- */
@media all and (min-width: 50em) {
.header-grid {
	grid-template-columns: 1fr 150px 50px;
}
.book-now-btn {
	display: block;
}
}

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

@media all and (min-width: 65em) {
/* -------------------- Navigation -------------------- */
.navigation {
	display: flex;
}
.menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
}
.header-grid {
    grid-template-columns: 150px 2fr 150px;
}
.rooms-selection {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	overflow-x: visible;
}
/* -------------------- Drop-Down -------------------- */
.sub-menu {
	margin-top: -5px;
}
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;
}
nav ul:after {
	content: ""; clear: both; display: block;
}
nav ul li {
	float: left;
}
nav ul li:hover {
	background-color: var(--brown);
	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(--brown); 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(--black);
	color: var(--white);
}
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
.half-grid {
    grid-template-columns: 1fr 1fr;
}
}


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

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

.half-grid {
    grid-template-columns: 1fr 1fr;
}
.property-grid {
	grid-template-columns: 1fr 2fr;
}
}

/*

	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) {

}



