/*******************************************************************/
/***  VISIBILITY  ***/
/*******************************************************************/
.block-editor-block-list__block.hide-editor {
	filter: grayscale(1);
	opacity: 0.5;
	transition: all 0.3s ease;
	position: relative;
}

.block-editor-block-list__block.hide-editor::after {
	content: "Visibility Setting Active";
	position: absolute;
	top: 5px;
	left: 5px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	pointer-events: none;
}

/*******************************************************************/
/*PARAGRAPH AND HEADINGS DESKTOP MAX-WIDTH*/
/*******************************************************************/
@media (min-width: 900px) {
	.ota-custom-width {
		max-width: var(--ota-custom-width) !important;
	}

	.ota-custom-width.has-text-align-center {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/*paragraph and heading responsive alignment*/
@media (min-width: 601px) and (max-width: 900px) {
	.align-tablet-left {
		text-align: left !important;
	}

	.align-tablet-center {
		text-align: center !important;
	}

	.align-tablet-right {
		text-align: right !important;
	}
}


@media (max-width: 600px) {
	.align-mobile-left {
		text-align: left !important;
	}

	.align-mobile-center {
		text-align: center !important;
	}

	.align-mobile-right {
		text-align: right !important;
	}
}

/*******************************************************************/
/*COLUMNS*/
/*******************************************************************/

/* --- RESPONSIVE COLUMNS --- */
@media (min-width:901px) and (max-width:1200px) {

	.laptop-3-cols,
	.laptop-2-cols {
		flex-wrap: wrap !important;
	}

	.laptop-3-cols.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: calc(33.33% - 80px) !important;
	}

	.laptop-2-cols.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: calc(50% - 80px) !important;
	}

	.laptop-stack {
		flex-direction: column !important;
	}

}

@media (min-width:601px) and (max-width:900px) {
	.tablet-2-cols.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: calc(50% - 80px) !important;
	}

	.tablet-3-cols.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: calc(33.33% - 80px) !important;
	}

	.wp-block-columns.tablet-reverse-order {
		display: flex;
		flex-wrap: wrap-reverse !important;
	}

	.wp-block-columns.tablet-reverse-order.tablet-2-cols,
	.wp-block-columns.tablet-reverse-order.tablet-3-cols {
		flex-direction: row-reverse;
	}

	.wp-block-columns.tablet-reverse-order:not(.tablet-2-cols):not(.tablet-3-cols) {
		flex-direction: column-reverse;
	}

	.wp-block-columns.tablet-reverse-order>.wp-block-column.has-background {
		max-width: calc(100% - (var(--wp--preset--spacing--sm) * 2));
	}
}

@media screen and (max-width:600px) {
	.mobile-2-cols.wp-block-columns>.wp-block-column {
		flex-basis: calc(50% - 80px) !important;
	}

	.wp-block-columns.mobile-reverse-order {
		display: flex;
		flex-wrap: wrap-reverse !important;
	}

	.wp-block-columns.mobile-reverse-order.mobile-2-cols {
		flex-direction: row-reverse;
	}

	.wp-block-columns.mobile-reverse-order:not(.mobile-2-cols) {
		flex-direction: column-reverse;
	}

	.wp-block-columns.mobile-reverse-order>.wp-block-column.has-background {
		max-width: calc(100% - (var(--wp--preset--spacing--sm) * 2));
	}
}

/*******************************************************************/
/* VIDEO POPUP EMBED */
/*******************************************************************/
.video-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.video-popup-inner {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.video-popup-inner iframe {
	aspect-ratio: 16 / 9;
	width: 70vw;
	height: auto;
}

.video-popup-inner video {
	width: 70vw;
	height: auto;
	max-height: 90vh;
}

.video-popup-wrapper {
	background-color: var(--wp--custom--dark--1);
	position: relative;
	display: inline-block;
}

.video-popup-trigger {
	display: flex;
}

.video-popup-image {
	cursor: pointer;
	max-width: 100%;
	display: block;
	aspect-ratio: 2 / 1;
	opacity: .8;
	object-fit: cover;
	transition: all 300ms ease-in-out;
}

.video-popup-trigger:hover .video-popup-image,
.video-popup-trigger:focus-visible .video-popup-image {
	opacity: 1;
}

.video-popup-wrapper::after {
	content: "\f144";
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 5.625em;
	pointer-events: none;
	color: var(--wp--custom--primary--main);
}

/*******************************************************************/
/* BLOCK ANIMATIONS */
/*******************************************************************/
body:not(.block-editor-page) [class*="animate-on-scroll"]:not(.animate__animated),
.main-container h2:not(.animate__animated),
.main-container .wp-block-button:not(.animate__animated),
.banner h1:not(.animate__animated),
.banner .deck-wrap:not(.animate__animated),
.banner .banner-content-wrap:not(.animate__animated) {
	opacity: 0 !important;
}

/* Columns custom responsive settings width fix */
.block-editor-block-inspector .ota-columns-portal-wrapper .components-base-control,
.block-editor-block-inspector .ota-columns-portal-wrapper .components-select-control,
.block-editor-block-inspector .ota-columns-portal-wrapper .components-select-control__input,
.block-editor-block-inspector .ota-columns-portal-wrapper select {
	width: 100% !important;
	max-width: none !important;
}

.block-editor-block-inspector .ota-columns-portal-wrapper svg {
	display: none !important;
}

.block-editor-block-inspector .ota-columns-portal-wrapper .components-input-control__label {
	margin: 7px 0 5px;
	display: block;
}

.block-editor-block-inspector .ota-columns-portal-wrapper .components-toggle-control__label {
	margin-left: 7px;
}