/**
 * Theme Name: Hidden Highland Retreats
 * Description: A bespoke Theme for Hidden Highland Retreats
 * Author: Plexus Media
 * Author URI:   https://www.plexusmedia.co.uk
 * Template: blocksy
 * Text Domain: hidden-highland-retreats
 * Version: 1.3.1
 */

.has-custom-color-1 {
 color: #0a4552 !important;
}
.has-custom-color-1-background-color {
 background: #0a4552 !important;
}

a.button, .button {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	min-width: 10rem;
}
.rank-math-list {
	padding-left: 1.25rem;
}
.rank-math-list .rank-math-question {
	color: #0a4552;
}
.rank-math-list .rank-math-question.has-hidden, .files[data-show="type1"] .files-child .file-heading, , .files[data-show="type2"] .file-heading {
margin-top: calc(2*var(--theme-list-indent));
margin-left: var(--theme-list-indent);
margin-bottom: calc(var(--theme-list-indent) * 2);
	position: relative;
}
.files .file-heading {
	position: relative;
}
.files .file-heading:after { 
	transition: .2s;
}
.rank-math-list .rank-math-question.has-hidden:before, .files[data-show="type1"] .files-child .file-heading:before, .files[data-show="type2"] .file-heading:before {
	content: '';
	position: absolute;
	margin-left: calc(-1 * var(--theme-list-indent));
	height: .75rem;
	width: .75rem;
	border-right: 1px solid;
		border-bottom: 1px solid;
	text-align: center;
	line-height: 1rem;
		transform: rotate(-45deg);
	transition: .5s;
	margin-top: .5rem;
margin-left: -1.5rem;
}
.files[data-show="type1"] .files-child .file-heading:after, .files[data-show="type2"] .file-heading:after { 
	content: '+';
	right: 0;
	position: absolute;
}
.files[data-show="type1"] .files-child .file-heading:hover:after, .files[data-show="type2"] .file-heading:hover:after {  
	color: var(--theme-palette-color-4);
}
.files[data-show="type1"] .files-child .file-heading.toggled:after, .files[data-show="type2"] .file-heading.toggled:after { 
	content: '-';
}
ul.center {
	margin: 1rem auto;
	text-align: center;
}
ul.inline-list li  {
	display: inline-block; 
	margin-right: 1.5rem;
}

ul.ticks {
  margin: 0 auto;
  padding-left: 1.2rem;
}

ul.ticks li {
  position: relative;
  list-style-type: none;
  padding-left: calc(.5*var(--theme-list-indent));
  margin-bottom: 0.5rem;
}

ul.ticks li:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: calc(var(--theme-font-size)/7);
    width: calc(var(--theme-font-size)/2.5);
    height: calc(var(--theme-font-size)/1.25);
    border-width: 0 calc(var(--theme-font-size)/5) calc(var(--theme-font-size)/5) 0;
    border-style: solid;
    border-color: var(--theme-pa1ette-color-1);
    transform-origin: bottom left;
    transform: rotate(45deg);
}


.rank-math-list .rank-math-question.has-hidden:target, .files[data-show="type1"] .files-child .file-heading:target {
	cursor: text;
}
.rank-math-list .rank-math-question.has-hidden.toggled:before, .rank-math-list .rank-math-question.has-hidden:target:before, .files[data-show="type1"] .files-child .file-heading:target:before, .files[data-show="type2"] .file-heading.toggled:before { 
		transform: rotate(45deg);
	margin-top: .25rem;
margin-left: -1.25rem;
}
.rank-math-list .rank-math-question.has-hidden + .rank-math-answer, .files[data-show="type2"] .file-heading + .files_wrapper, .files[data-show="type1"] .files-child .file-heading + .files_wrapper {
	max-height: 0;
	overflow: hidden;
	transition: .5s;
	opacity: 0;
	color: var(--theme-palette-color-3);
	padding-bottom: .5rem;
	position: relative;
}
.rank-math-list .rank-math-question.has-hidden + .rank-math-answer:after { 
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background: var(--theme-palette-color-1);
	bottom: 20px;
	left: 0;
	transition: 1s;
} 
.rank-math-list .rank-math-question.has-hidden + .rank-math-answer.now-shown, .rank-math-list .rank-math-question.has-hidden:target + .rank-math-answer, .files .file-heading.has-hidden + .files_wrapper.now-shown {
	max-height: 5000px; 
	opacity: 1;
}
.rank-math-list .rank-math-question.has-hidden + .rank-math-answer.now-shown:after, .rank-math-list .rank-math-question.has-hidden:target + .rank-math-answer:after { 
	width: 100%;
}


.wp-block-media-text {
	margin-top: 2rem;
	margin-bottom: 2rem;	
}
.wp-block-media-text .wp-block-media-text__content {
	padding-top: 5rem;
	padding-bottom: 5rem;

}
#main .entry-content > .alignwide {
	width: 100%;
}

.wp-block-media-text .wp-block-media-text__content > * {
	margin-left: 0;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content > * { 
	margin-left: auto;
	margin-right: 0;
}
.wp-block-media-text .wp-block-media-text__content .wp-block-button a {  
	min-width: 180px;
}
.wp-block-media-text .wp-block-media-text__content {

}
.wp-block-media-text.square {

}
.wp-block-media-text.square .wp-block-media-text__media {
		position: relative;
		justify-self: start;
	width: 100%;
	min-height: 100%;
}
.wp-block-media-text.square .wp-block-media-text__media:after {
	content: '';
	padding: 100% 0 0 0;
	display: block;
	width: 100%;
	margin: 0;
}
.wp-block-media-text.square .wp-block-media-text__media > * {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	height: 100%;
}
.wp-block-media-text.square .wp-block-media-text__media img {
	min-height: 100%;
	object-fit: cover;
}
.wp-block-media-text.is-image-fill .wp-block-media-text__media {
	min-height: 500px;
}

ul.plexus-grid {
	display: grid;
	grid-template-columns: none;
	grid-gap: 10px;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	align-items: flex-start;
}
ul.plexus-grid:not([data-type="0"][data-asymmetric="1"]) {
	grid-auto-rows: 1fr;
}	
ul.plexus-grid, ul.plexus-grid li {
	list-style: none;
	padding: 0;
	line-height: .8;
}

.plexus-grid li {
	margin: 0;
}
.plexus-grid[data-type="0"][data-asymmetric=""] li { 
	aspect-ratio: 4 / 3;
	max-width: calc(100/var(--plexCols))%;
}

.plexus-grid li .inner {
	width: 100%;
}
.plexus-grid[data-type="0"] .inner {  
	padding: 30px;
}
.plexus-grid[data-type="0"][data-background="1"] .inner { 
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
	color: var(--theme-palette-color-7);
}
.plexus-grid[data-buttons="1"] li > a > .inner {
	text-align: center;
}
.plexus-grid[data-type="1"] li > * .inner {
	padding: 1rem 2rem;
}
.plexus-grid li > a, .plexus-grid li > div {
	display: flex;
	height: 100%;
	position: relative;
	width: 100%;
	flex-wrap: wrap;
	z-index: 1;
	text-decoration: none;
	line-height: 1.3;
}
.plexus-grid li > .inner > *, .plexus-grid li > .inner .desc {
	flex-basis: 100%;
	width: 100%;
}
.plexus-grid[data-type="0"] li > a { 
	align-items: flex-end;
}
.plexus-grid[data-valign="middle"] li > a {
	align-content: center;
}
.plexus-grid li > a h3, .plexus-grid li > div h3 {
	flex: 1;
	transition: .6s;
	text-decoration: none;
	margin: 0;
	padding: 1rem 0 .5rem 0; 
	text-align: center;
	flex-basis: 100%;
}
.plexus-grid[data-buttons="1"] li > a h3, .plexus-grid[data-buttons="1"] li > div h3 {
	padding: .5em 1em;
}
.plexus-grid[data-type="0"][data-background="1"] li > a h3, .plexus-grid[data-type="0"][data-background="1"] li > div h3 {
	color: var(--theme-palette-color-7);
}
.plexus-grid[data-type="0"][data-background="1"] li > a:hover h3 {

	
}
.plexus-grid[data-type="1"] li > a h3 {
	padding-top : .25rem;
}
.plexus-grid[data-align="left"] li > a h3 {
	text-align: left;
}
.plexus-grid[data-align="right"] li > a {
	justify-content: flex-end;
}
.plexus-grid li .button {
	display: none;
	margin-left: auto;
	margin-right: auto;
}
.plexus-grid li a .button {
	display: inline-block;
	margin-top: 1rem;
}
.plexus-grid li > a {
	
	}
.plexus-grid li > a > *, .plexus-grid li > div > * {
	flex: 0 0 1;
	z-index: 1;
	position: relative;
	text-decoration: none;
	
}
.plexus-grid[data-type="1"] .img_holder {
	aspect-ratio: 4/3;
	display: block;
	min-height: 250px;
	width: 100%;
    @supports not (aspect-ratio: 4/3) {
    &::before {
      float: left;
      padding-top: 75%;
      content: "";
    }
    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }	
}
.plexus-grid[data-type="1"] .img_holder img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.plexus-grid[data-type="1"] .img_holder > img {
	position: absolute;
}
.plexus-grid[data-type="0"] .img_holder, .plexus-grid[data-type="0"] .img_holder > img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 0;
}
.plexus-grid[data-type="0"] .img_holder > img { 
	object-fit: cover;
}
.plexus-grid[data-type="0"] li a:after {
	content: '';
	display: inline-flex;
	height: 0;
	float: left;
	padding: 100% 0 0 0;
}
.plexus-grid[data-type="0"][data-column="2"] li a:after {
	display: none; 
}
.plexus-grid li .desc {
	text-align: center;
}
.plexus-grid li .desc strong {
	display: block;
}

.plexus-square-grid:before {
	content: '';
	height: 0;
	padding: 100% 0 0 0;
display: block;
}

.no-v-margin {
	margin-top: 0;
	margin-bottom: 0;
}

.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > h1 {
	font-weight: 300;
	font-size: 32px;
	letter-spacing: .375rem;
	text-align: center;
	display: block;
}

.alignfull > .wp-block-group__inner-container > iframe {
  min-width: 100%;
}
.site-title-container .site-title > a > span {
	color: var(--theme-palette-color-1);
}
.site-title-container .site-title > a > span:first-of-type {
	color: var(--theme-palette-color-2);
}

[data-menu] > ul > li > a::before, [data-menu] > ul > li > a::after {
	height: 3px;
	transition: .7s;
}

p + .wp-block-gallery {
	margin-top: 3rem;
}



.fixedScroll {
	overflow: hidden;
	clip-path: inset(0);
	-webkit-clip-path: inset(0);
}
.fixedScroll .wp-block-cover__image-background {
object-fit: cover; 
	position: fixed !important;
	left:0;
	top:0;
	width: 100%; 
	height: 100%;
}

table.plexus-doc-list .meta span {
	display: none;
}
table.plexus-doc-list .attachment-thumbnail {
	max-height: 55px;
	width: auto;
}
table.plexus-doc-list td {
  padding: .5em;
}
ul.plexus-doc-list {
	list-style: none;
	padding: 0;
}
ul.plexus-doc-list:not([data-column="1"]) {
	display: grid;
	grid-gap: 1.25rem;
	margin: 1.5rem auto;
	text-align: center;
}
ul.plexus-doc-list:not([data-column="1"]) li {
	border: 1px solid;
	position: relative;
	z-index: 1;
	padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
ul.plexus-doc-list:not([data-column="1"]) li > * {
	width: 100%;
}
ul.plexus-doc-list .meta {
	font-size: 14px;
}
ul.plexus-doc-list .meta span { 
	font-weight: bold;
}
ul.plexus-doc-list:not([data-column="1"]) li .file_download {
	align-self: flex-end;
	margin-top: 1rem;
}




.fadeIn {
animation: fadeIn ease 3s;
  animation-duration: 3s;
-webkit-animation: fadeIn ease 2s;
}
@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@media print 
{
	#header {
		display: none;
	}
	.ct-footer {
		display: none;
	}
}

@media (max-width: 999.98px) {
	.has-huge-font-size {
		font-size: calc(.75 * var(--wp--preset--font-size--huge)) !important;
	}
	.has-large-font-size {
		font-size: calc(.75 * var(--wp--preset--font-size--large)) !important;
	}
	.has-medium-font-size {
		font-size: calc(.75 * var(--wp--preset--font-size--medium)) !important;
	}
	.has-small-font-size {
		font-size: 18px !important;
	}
}
@media only screen and (max-width: 740px) {

	.ui-datepicker-multi-3 .ui-datepicker-group { 
		width: 100% !important;
	}
}

@media only screen and (max-width: 640px) {

	.wp-block-media-text .wp-block-media-text__content .wp-block-button a { 
		min-width: 100%;
	}
	.has-huge-font-size {
		font-size: calc(.8125 * var(--wp--preset--font-size--huge)) !important;
	}
	.has-large-font-size {
		font-size: calc(.8125 * var(--wp--preset--font-size--large)) !important;
	}
	.has-medium-font-size {
		font-size: calc(.8125 * var(--wp--preset--font-size--medium)) !important;
	}	
	.has-small-font-size {
		font-size: 16px !important;
	}	
	#main {
		--wp--preset--spacing--80: 9%;
		--wp--preset--spacing--60: 9%;
		--wp--preset--spacing--40: 9%;
	}
	.plexus-grid[data-type="0"][data-asymmetric=""] li, .plexus-grid[data-type="0"][data-asymmetric="1"] li { 
		aspect-ratio: 1 / 1;
	}
}

@media only screen and (min-width: 640px) {
	.wp-block-media-text + .wp-block-media-text {
		margin-top: calc(-1*var(--theme-content-spacing)); 
	}
	.entry-content .plexus-grid, .editor-styles-wrapper .plexus-grid {
			grid-template-columns: repeat(var(--plexCols), 1fr);
	}
	.entry-content .plexus-doc-list, .editor-styles-wrapper .plexus-doc-list {
			grid-template-columns: repeat(var(--plexCols), 1fr);
	}	
	ul.columns {
		column-count: 3;
		column-gap: 3rem;
	}
	.bordered {
		position: relative;
		z-index: 1;
		overflow: hidden;
		text-align: center;
		display: block;
	}
	.bordered span {
		max-width: min(80%, 880px);
		display: inline-block;
	}
	.bordered:before, .bordered:after {
		position: absolute;
		top: 51%;
		overflow: hidden;
		width: 15%;
		height: 1px;
		content: '\a0';
		background-color: #CCC;
	}
	.bordered:after { 
		margin-left: 2.5%;
	}
	.bordered:before {
		margin-left: -17.5%;
	}
	.plexus-grid[data-type="0"][data-asymmetric="1"] li > a {
		min-height: 580px;
	}
}
@media only screen and (min-width: 860px) {
	.entry-content .plexus-grid[data-type="0"][data-asymmetric="1"], 
	.editor-styles-wrapper .plexus-grid[data-type="0"][data-asymmetric="1"] {
		grid-template-columns: repeat(calc(var(--plexCols) + 1), 1fr) !important;
		align-items: stretch;
	}

	.plexus-grid[data-type="0"][data-asymmetric="1"] > li {
		position: relative;
	}

	.plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(4n + 1),
	.plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(4n + 4) {
		 grid-column-end: span 2;
	}

	.plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(4n + 2),
	.plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(4n + 3) {
		grid-column-end: span 1;
	}
	.plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(odd):last-child, .plexus-grid[data-type="0"][data-asymmetric="1"][data-column="2"] > li:nth-child(odd):last-child {
		grid-column-end: span 3;
	}
}