/**
 * Theme Name: Poyntzfield Herbs
 * Description: A bespoke Theme for Poyntzfield Herb Nursery
 * Author: Plexus Media
 * Author URI:   https://www.plexusmedia.co.uk
 * Template: blocksy
 * Text Domain: poyntzfield-herbs
 */
a.button, .button {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	min-width: 10rem;
}
.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;

}

.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: 200px;
}
.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;
}

ul.plexus-grid {
	display: grid;
	grid-template-columns: none;
	grid-gap: 40px;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}	
.sub-menu ul.plexus-grid {
 grid-gap: 10px;
}
ul.plexus-grid.no-v-margin {
	margin-top: 0;
	margin-bottom: 0;
}
ul.plexus-grid, ul.plexus-grid li {
	list-style: none;
	padding: 0;
	line-height: .8;
}

.plexus-grid li {
	flex: 0 0 33.3333333%;
	margin: 0;
	aspect-ratio: 1 / 1;
	min-height: 100%;
}
.plexus-grid[data-type="2"] li { 
	aspect-ratio: auto;
}
.plexus-grid li > a {
	display: flex;
	height: 100%;
	align-items: center;
  justify-content: center;
	position: relative;
	width: 100%;
	flex-wrap: wrap;
	z-index: 1;
	text-decoration: none;
	align-items: flex-end; 
	line-height: 1.3;
	background: var(--theme-palette-color-1);
	color: var(--theme-palette-color-8);
}
.plexus-grid[data-type="2"] li > a {
	color: var(--theme-palette-color-2);
	background: transparent !important;
	justify-content: flex-start;
	flex-wrap: nowrap;
	align-items: center;
}
.plexus-grid li > a > .inner {
	width: 100%;
}
.plexus-grid[data-type="2"] li > a > .inner {
	width: auto;
	text-align: left;
	order: 2;
}
.plexus-grid li > a * {
	text-decoration: none;
	text-align: center;
}
.plexus-grid[data-valign="middle"] li > a {
	align-content: center;
}
.plexus-grid li > a h2 {
	text-transform: uppercase;
	text-align: center;
	color: #ffffff;
	padding: .3em .5em 1em .5em;
	flex: 1;
	margin: 0;
	transition: .6s;
	position: relative;
	z-index: 2;
}
.plexus-grid[data-background="1"] li.hasimg > a .inner { 
	z-index: 2;
}
.plexus-grid[data-background="1"] li.hasimg > a .inner::after { 
	content: '';
	width: 90%;
	height: 80%;
	top: 0;
	left: 5%;
	background: var(--theme-palette-color-1);
	opacity: .75;
	transition: .75s;
	z-index: 1;
	position: absolute;
}
.plexus-grid[data-background="1"] li.hasimg > a:hover .inner::after {
	opacity: 100%;
}
.plexus-grid[data-shadow="1"] li > a .inner { 
	text-shadow: 0 0 3px rgba(0,0,0,.5);
}

.plexus-grid[data-align="left"] li > a h2 {
	text-align: left;
}
.plexus-grid[data-align="right"] li > a {
	justify-content: flex-end;
}

.plexus-grid li > a > * {
	z-index: 1;
	position: relative;
	text-decoration: none;
}
.plexus-grid li > a > .img_holder {
	position: static;
}
.plexus-grid[data-type="2"] li > a > .img_holder { 
	max-width: 50px;
	order: 1;
	margin-right: 10px;
}
.plexus-grid .img-backg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	z-index: 0;
}

.plexus-square-grid h2.wp-block-getwid-template-post-title {
	margin: 0;
	width: 100%;
	font-weight: 300;
}
.plexus-square-grid:before {
	content: '';
	height: 0;
	padding: 100% 0 0 0;
display: block;
}
.plexus-square-grid h2.wp-block-getwid-template-post-title a {
text-decoration: none;
	display: block;
	padding: 15px;
	text-align: center;
	line-height: 1em;
	background: rgba(0,0,0,.5)
}

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

 .editor-styles-wrapper #post-title-0 {
	font-weight: 300;
	font-size: 32px;
	letter-spacing: .375rem;
	text-align: center;
}

.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;
}


.plexus_slider {
	overflow: hidden;
}
.plexus_slider .plexus_slide {
	min-height: 640px;	
	max-height: 700px;	
	max-height: calc(100vh - 140px);
	overflow: hidden;
		display: flex;
	width: 100%;
}
.plexus_slider {
	opacity: 1;
	transition: 1s;
}
.plexus_slider:not(.slick-initialized) {
opacity: 0;
}
.plexus_slider .plexus_slide {
		display: flex !important;
}
.plexus_slider .plexus_slide, .plexus_slider .plexus_banner {
	overflow: hidden;
	position: relative;
}
.plexus_slider .plexus_banner, .plexus_slider .plexus_banner img {
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	height: 100%;
}
.plexus_slider .plexus_banner img { 
	object-fit: cover;
}
.plexus_slider .has_img .plexus_inner:before {
	content: '';
	padding: 60% 0 0 0;
	height: 0;
	display: inline-flex;
}
.plexus_slider .plexus_inner {
	width: 100%;
	justify-content: flex-end;
	text-align: center;
	display: flex;
	width: 100%;
	flex-direction: column;
	padding: 0;
	font-size: 30px;
	max-width: var(--theme-container-width);
	margin: 0 auto;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.plexus_slider .plexus_inner > * {
	color: #fff;
	text-shadow: 0px 8px 13px rgba(0,0,0,0.4),
             0px 18px 23px rgba(0,0,0,0.1);
	position: relative;
	margin: 0;
	padding: 2% 0;
	z-index: 1;
	animation-duration: 2s;
}
.plexus_slider .plexus_inner > *:after {
content: '';
	  background: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.738) 19%, rgba(0, 0, 0, 0.541) 34%, rgba(0, 0, 0, 0.382) 47%, rgba(0, 0, 0, 0.278) 56.5%, rgba(0, 0, 0, 0.194) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%);
	transform: rotate(180deg);
	position: absolute;
	left: 50%;
	display: block;
	width: 100vw;
	margin-left: -50vw;
	top: 0;
	bottom: 0;
	z-index: -1;
	
}
.plexus_slider .slick-arrow {
z-index: 2;
	width: 2rem;
	height: 2rem;
	border-top: 5px solid #fff;
	text-indent: 2rem;
	overflow: hidden;
	transition: 1s;
}
.plexus_slider .slick-arrow:hover { 
	border-color: var(--theme-palette-color-4);
}
.plexus_slider .slick-prev {
    left: 2rem;
		border-left: 5px solid #fff;
 	transform: rotate(310deg);
}
.plexus_slider .slick-next {
    right: 2rem;
		border-right: 5px solid #fff;
 	transform: rotate(45deg);
}

.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 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;
	}
}