/*******************************************************************/
/***  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);
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	pointer-events: none;
}


/*******************************************************************/
/***  GROUPS  ***/
/*******************************************************************/
.wp-block-group.is-style-canvas.alignwide > *, 
.wp-block-group.is-style-canvas.alignfull > * {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}


/*******************************************************************/
/***  IMAGES  ***/
/*******************************************************************/
.is-style-fancy img {
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--1);
}

.is-style-fancy-2 img {
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--2);
}


/*******************************************************************/
/***  LISTS  ***/
/*******************************************************************/
.is-style-arrow-list, 
.is-style-check-list,
.is-style-brand-list {
	list-style: none;
}

.is-style-arrow-list li, 
.is-style-check-list li, 
.is-style-brand-list li, 
.is-style-arrow-list-item, 
.is-style-check-list-item, 
.is-style-brand-list-item, 
.is-style-map-marker-list-item, 
.is-style-envelope-list-item, 
.is-style-phone-list-item, 
.is-style-fax-list-item, 
.is-style-clock-list-item {
	position: relative;
	list-style: none;
}

.is-style-arrow-list li:before, 
.is-style-check-list li:before, 
.is-style-brand-list li:before, 
.is-style-arrow-list-item:before, 
.is-style-check-list-item:before, 
.is-style-brand-list-item:before, 
.is-style-map-marker-list-item:before, 
.is-style-envelope-list-item:before, 
.is-style-phone-list-item:before, 
.is-style-fax-list-item:before, 
.is-style-clock-list-item:before {
	position: absolute;
	top: 0.33em;
	left: -1.75em;
	width: 1.3em;
	height: 1.3em;
	display: block;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 300;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-size: 1em;
	font-weight:900;
	text-align: center;
	color: var(--wp--custom--primary--light);
}

.is-style-arrow-list li:before, 
.is-style-arrow-list-item:before {
	content: "\f105";
}

.is-style-check-list li:before, 
.is-style-check-list-item:before {
	content: "\f00c";
}

.is-style-brand-list li:before, 
.is-style-brand-list-item:before {
	content:'';
	width: 17px;
	height: 17px;
	background-image: url("/wp-content/uploads/touch-icon.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.is-style-map-marker-list-item:before {
	content: "\f3c5"!important;
}

.is-style-envelope-list-item:before {
	content: "\f0e0"!important;
}

.is-style-phone-list-item:before {
	content: "\f095"!important;
}

.is-style-fax-list-item:before {
	content: "\f1ac"!important;
}

.is-style-clock-list-item:before {
	content: "\f017"!important;
}

/* Second level (nested ul li) */
.is-style-brand-list li ul li:before,
.is-style-brand-list-item li ul li:before {
    content: "\f192";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    background: none;
    width: auto;
    height: auto;
    display: inline-block;
}


/* INLINE LIST */
.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding-left: 0;
    margin-left: 0;
}


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

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

/* HEADING & PARAGRAPH RESPONSIVE FONT SIZES */
@media (min-width:601px) and (max-width:900px){
	.wp-block-heading.ota-override-tablet-size,
	p.ota-override-tablet-size {
		font-size: var(--responsive-tablet-size) !important;
	}
}

@media (max-width: 600px) {
	.wp-block-heading.ota-override-mobile-size,
	p.ota-override-mobile-size {
		font-size: var(--responsive-mobile-size) !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));
	}
}

/* --- CARDS --- */
.is-style-cards .wp-block-column.has-link, 
.is-style-card.has-link {
	cursor: pointer;
}


/*******************************************************************/
/*BUTTONS*/
/* --- RESPONSIVE ALIGHMENT --- */
@media (min-width: 601px) and (max-width: 900px) {
	.wp-block-buttons.align-tablet-left { justify-content: flex-start !important; }
	.wp-block-buttons.align-tablet-center { justify-content: center !important; }
	.wp-block-buttons.align-tablet-right { justify-content: flex-end !important; }
	.wp-block-buttons.align-tablet-space-between { justify-content: space-between !important; }
}


@media (max-width: 600px) {
	.wp-block-buttons.align-mobile-left { justify-content: flex-start !important; }
	.wp-block-buttons.align-mobile-center { justify-content: center !important; }
	.wp-block-buttons.align-mobile-right { justify-content: flex-end !important; }
	.wp-block-buttons.align-mobile-space-between { justify-content: space-between !important; }
}

/* --- BUTTON PROFILES --- */

/* secondary button */
.wp-block-button.is-style-secondary .wp-block-button__link {
    background-color: var(--wp--custom--secondary--main);
    border: 1px solid var(--wp--custom--secondary--main);
    color: white;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover {
    background-color: var(--wp--custom--secondary--dark);
    border-color: var(--wp--custom--secondary--dark);
    color: white;
}

/* white button */
.wp-block-button.is-style-white .wp-block-button__link {
    background-color: white;
    border: 1px solid white;
    color: var(--wp--custom--dark--1);
}

.wp-block-button.is-style-white .wp-block-button__link:hover {
    background-color: var(--wp--custom--secondary--main);
    border-color: var(--wp--custom--secondary--main);
    color: white;
}

/* Secondary Outline button*/
.wp-block-button.is-style-outline.is-style-secondary .wp-block-button__link {
    background-color: transparent;
    color: var(--wp--custom--secondary--main);
    border-color: var(--wp--custom--secondary--main);
}

.wp-block-button.is-style-outline.is-style-secondary .wp-block-button__link:hover {
    background-color: var(--wp--custom--secondary--dark);
    border-color: var(--wp--custom--secondary--dark);
    color: white;
}

/* White Outline button*/
.wp-block-button.is-style-outline.is-style-white .wp-block-button__link {
    background-color: transparent;
    color: white;
    border-color: white;
}

.wp-block-button.is-style-outline.is-style-white .wp-block-button__link:hover {
    background-color: white;
    color: var(--wp--custom--primary--main);
}

/* --- BUTTON SIZES --- */

/* Small Size */
.wp-block-button.is-size-small .wp-block-button__link {
    padding: .45em .5em .25em;
    min-height: auto; /* Ensures padding isn't overridden by line-height */
	font-size: .85em;
}

/* Medium Size */
.wp-block-button.is-size-medium .wp-block-button__link {
    padding: .5em .75em;
}

/* Large Size */
.wp-block-button.is-size-large .wp-block-button__link {
    padding: 1em 2.5em;
    font-size: 1.2em;   
}

/* --- BUTTON LINKS --- */
/* primary button */
.wp-block-button.is-style-link-button .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--custom--primary--main);
	border: unset;
	padding: unset;
}

.wp-block-button.is-style-link-button .wp-block-button__link:hover {
	background-color: transparent;
	color: var(--wp--custom--secondary--main);
}

/* secondary button */
.wp-block-button.is-style-link-button.is-style-secondary .wp-block-button__link {
	color: var(--wp--custom--secondary--main);
}

.wp-block-button.is-style-link-button.is-style-secondary .wp-block-button__link:hover {
    color: var(--wp--custom--primary--main);
}

/* white button */
.wp-block-button.is-style-link-button.is-style-white .wp-block-button__link {
    color: white;
}

.wp-block-button.is-style-link-button.is-style-white .wp-block-button__link:hover {
    color: var(--wp--custom--primary--main);
}

/*BLOCK COLUMNS*/
@media screen and (max-width: 900px) {
    .wp-block-columns .wp-block-column{flex-basis:100%!important;}
}

/*DETAILS*/
details summary:hover{ background-color: var(--wp--custom--primary--light); }

details[open] summary{
	background-color: var(--wp--custom--primary--main);
	color: white;
}

details[open] summary:after{ color: white; }