/*--------------------------------------------------------------
# Flextension Blocks
--------------------------------------------------------------*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Map
# Section
# List
# Counter
# Post
# Post Carousel
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/

.flext-block-map iframe {
	border: none;
	margin: auto;
}

/*--------------------------------------------------------------
# Section
--------------------------------------------------------------*/

.flext-block-section {
	align-items: center;
	display: flex;
	justify-content: center;
	margin: 4rem auto;
	min-height: 1rem;
	position: relative;
	width: 100%;
}

.flext-has-scheme-dark {
	color: #fff;
}

.flext-block-section.flext-is-full-height {
	min-height: 100vh;
}

.flext-block-section.flext-has-animation {
	animation-fill-mode: none;
}

.flext-block-section .flext-block-section-background,
.flext-block-section .flext-block-section-overlay-background {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

.flext-block-section .flext-block-section-background {
	background-position: center center;
	background-size: cover;
}

.flext-block-section .flext-block-section-overlay-background {
	z-index: 1;
}

.flext-block-section.flext-has-background-parallax .flext-block-section-background {
	background-attachment: fixed;
}

@supports (-webkit-overflow-scrolling: touch) {

	.flext-block-section.flext-has-background-parallax .flext-block-section-background {
		background-attachment: scroll;
	}
}

.flext-block-section.flext-is-background-repeated .flext-block-section-background {
	background-repeat: repeat;
	background-size: auto;
}

.flext-block-section .flext-block-section-image-background,
.flext-block-section .flext-block-section-video-background {
	border: none;
	bottom: 0;
	box-shadow: none;
	height: 100%;
	left: 0;
	margin: 0;
	max-width: none;
	max-height: none;
	object-fit: cover;
	outline: none;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.flext-block-section.flext-has-background-dim .flext-block-section-overlay-background {
	opacity: 0.5;
}

.flext-block-section.has-background-dim-10 .flext-block-section-overlay-background {
	opacity: 0.1;
}

.flext-block-section.has-background-dim-20 .flext-block-section-overlay-background {
	opacity: 0.2;
}

.flext-block-section.has-background-dim-30 .flext-block-section-overlay-background {
	opacity: 0.3;
}

.flext-block-section.has-background-dim-40 .flext-block-section-overlay-background {
	opacity: 0.4;
}

.flext-block-section.has-background-dim-50 .flext-block-section-overlay-background {
	opacity: 0.5;
}

.flext-block-section.has-background-dim-60 .flext-block-section-overlay-background {
	opacity: 0.6;
}

.flext-block-section.has-background-dim-70 .flext-block-section-overlay-background {
	opacity: 0.7;
}

.flext-block-section.has-background-dim-80 .flext-block-section-overlay-background {
	opacity: 0.8;
}

.flext-block-section.has-background-dim-90 .flext-block-section-overlay-background {
	opacity: 0.9;
}

.flext-block-section.has-background-dim-100 .flext-block-section-overlay-background {
	opacity: 1;
}

.flext-block-section .flext-block-section-inner {
	position: relative;
	width: 100%;
	z-index: 1;
}

/*--------------------------------------------------------------
# List
--------------------------------------------------------------*/

/* Ordered List */

ol.is-style-flext-list-circle {
	counter-reset: list-item-index calc(var(--flext-item-index, 1) - 1);
	list-style: none;
}

ol.is-style-flext-list-circle[reversed] {
	counter-reset: list-item-index calc(var(--flext-item-index, 1) + 1);
}

ol.is-style-flext-list-circle ol {
	counter-reset: list-item-index 0;
}

ol.is-style-flext-list-circle > li {
	counter-increment: list-item-index;
	list-style: none;
	padding-left: 3rem;
	position: relative;
}

ol.is-style-flext-list-circle[reversed] > li {
	counter-increment: list-item-index -1;
}

ol.is-style-flext-list-circle > li::before {
	align-items: center;
	background: rgb(160, 160, 160);
	border-radius: 50%;
	color: rgb(255, 255, 255);
	content: counter(list-item-index);
	display: flex;
	font-weight: 400;
	justify-content: center;
	height: 2.2rem;
	left: 0;
	line-height: 2.2rem;
	position: absolute;
	top: 0.2rem;
	width: 2.2rem;
}

/* Unordered List */

ul.is-style-default > li {
	padding: 0 0 0 2.5rem;
	position: relative;
}

ul.is-style-default > li::marker {
	align-items: center;
	content: "\e831";
	display: flex;
	font-family: flextension, sans-serif;
}

ul.is-style-flext-list-circle > li {
	position: relative;
}

ul.is-style-flext-list-circle > li::marker {
	align-items: center;
	content: "\e92e";
	display: flex;
	font-family: flextension, sans-serif;
	left: 0;
	position: absolute;
	top: 0;
}

/*--------------------------------------------------------------
# Counter
--------------------------------------------------------------*/

.flext-block-counter {
	font-weight: 700;
}

/*--------------------------------------------------------------
# Post Block
--------------------------------------------------------------*/

.flext-post-meta {
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	flex-flow: row wrap;
	font-size: 1.4rem;
	gap: 1.5rem;
	margin-bottom: 0.5rem;
}

.flext-post-footer {
	color: inherit;
	display: flex;
	flex-flow: row wrap;
	font-size: 1.4rem;
	gap: 0.5rem;
	margin-top: 2rem;
}

.flext-posted-on {
	align-items: center;
	display: flex;
	font-size: 1.2rem;
	gap: 1rem;
}

.flext-post-buttons {
	display: flex;
	gap: 0.5rem;
	flex-direction: row;
	z-index: 2;
}

.flext-post-buttons a {
	align-items: center;
	display: inline-flex;
	gap: 0.25rem;
	justify-content: center;
	padding: 0.6rem;
}

/*--------------------------------------------------------------
# Post Carousel Block
--------------------------------------------------------------*/

.flext-block-post-carousel {
	overflow: hidden;
	position: relative;
}

.flext-block-post-carousel.has-post-number {
	counter-reset: flext-post-number;
}

.flext-block-post-carousel .post-carousel-header {
	align-items: flex-end;
	gap: 2rem;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	margin-bottom: 2rem;
	width: 100%;
}

.flext-block-post-carousel .block-title {
	margin: 0;
}

.flext-block-post-carousel.flext-carousel .flext-pagination {
	line-height: 0;
}

.flext-block-post-carousel .see-more-link {
	align-items: center;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 1rem;
	display: inline-flex;
	padding: 0.5rem 1rem;
	right: 0;
}

.flext-block-post-carousel .flext-pagination-progressbar .flext-progressbar {
	height: 0.1rem;
}

.flext-block-post-carousel .entry {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 1.5rem;
	display: flex;
	flex-direction: column;
	height: auto;
	justify-content: space-between;
	overflow: hidden;
	transform: translateZ(0);
}

.flext-block-post-carousel.has-post-number .entry {
	counter-increment: flext-post-number;
}

.flext-block-post-carousel.has-post-number .entry::before {
	color: inherit;
	content: counter(flext-post-number);
	font-weight: 700;
	line-height: 1;
	position: absolute;
	right: 2rem;
	top: 1.5rem;
	z-index: 20;
}

.flext-block-post-carousel.has-post-number .entry:hover::before {
	opacity: 0;
	transform: translateY(-1rem);
}

.flext-block-post-carousel.has-post-number .has-post-thumbnail .flext-post-gallery .total-images {
	opacity: 0;
	transform: translateY(-1rem);
}

.flext-block-post-carousel.has-post-number .has-post-thumbnail:hover .flext-post-gallery .total-images {
	opacity: 1;
	transform: translateY(0);
}

.flext-block-post-carousel .content-inner {
	padding: 2rem;
}

.flext-block-post-carousel .has-post-thumbnail .content-inner {
	background-image: linear-gradient(to top, rgba(30, 30, 30, 0.9) 0%, rgba(30, 30, 30, 0.3) 56.5%, rgba(30, 30, 30, 0.021) 91%, rgba(30, 30, 30, 0.008) 95.2%, rgba(30, 30, 30, 0.002) 98.2%, transparent 100%);
	bottom: 0;
	color: rgb(255, 255, 255);
	left: 0;
	padding-top: 0;
	position: absolute;
	right: 0;
}

.flext-block-post-carousel .has-post-thumbnail .entry-title {
	color: inherit;
	margin: 0;
}

.flext-block-post-carousel .has-post-thumbnail .entry-title a {
	display: inline-block;
	display: -webkit-box;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

@media (min-width: 1024px) {

	.flext-block-post-carousel .post-carousel-header {
		flex-flow: row nowrap;
		gap: 4rem;
		margin-bottom: 3rem;
	}

	.flext-block-post-carousel .block-title {
		max-width: 70%;
	}
}

@media (prefers-reduced-motion: reduce) {

	.flext-block-section.flext-has-background-parallax .flext-block-section-background {
		background-attachment: scroll;
	}
}

