/*
Theme Name: Frisella Nursery
Version: 6.0
Theme URI: https://cyberoptik.net/
Description: Customizable responsive Wordpress theme created by CyberOptik
Author: CyberOptik
Author URI: https://cyberoptik.net/
Template: optik-theme
*/





/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/

@import url("../optik-theme/style.css");



/* Add font imports here */

/***  OpenSans  ***/ 

/* Regular */
@font-face {
	font-family: 'Open Sans';
	font-weight: 400;
	src: url('fonts/opensans/opensans-regular.woff2');
}

/*Regular Italic */
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	src: url('fonts/opensans/opensans-italic.woff2');
}

/* Bold */
@font-face {
	font-family: 'Open Sans';
	font-weight: 700;
	src: url('fonts/opensans/opensans-bold.woff2');
}

/***  Montserrat  ***/ 

/* Regular */
@font-face {
	font-family: 'Montserrat';
	font-weight: 400;
	src: url('fonts/montserrat/montserrat-regular.woff2');
}


/* Medium */
@font-face {
	font-family: 'Montserrat';
	font-weight: 500;
	src: url('fonts/montserrat/montserrat-medium.woff2');
}

/* Semi Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 600;
	src: url('fonts/montserrat/montserrat-semibold.woff2');
}

/* Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 700;
	src: url('fonts/montserrat/montserrat-bold.woff2');
}




/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
	scroll-behavior: smooth;/*smooth anchor scroll*/
	scroll-padding-top: 60px;/*offset for sticky header*/

}

body {
	line-height: 1.6em;
	font-family: var(--wp--custom--font--1);
	color: var(--wp--custom--dark--2);
	text-wrap: balance;
	background-color: var(--wp--custom--light--3);
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.container{max-width: var(--wp--custom--content-width);}

/*.wp-block-group.alignwide > *,
.wp-block-group.alignfull > *{
	padding-left: unset;
	padding-right: unset;
}*/

/***  BACK TO TOP BUTTON  ***/

.btt-button .fa {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
}

.btt-button:hover .fa {
	background-color: var(--wp--custom--primary--light);
	color: white;
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--secondary--dark);
}

main a:not([class]){
	text-decoration:underline;
}




/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	color: var(--wp--custom--dark--3);
	font-family: var(--wp--custom--font--2);
	text-transform: uppercase;
}

h1 {
	font-size: 4em;
	letter-spacing: 2px;
}

h2 {
	font-size: 2.25em;
	letter-spacing: 2px;
}

h3 {
	font-size: 1.75em;
	font-weight: 600;
}

h4 {
	font-size: 1.375em;
}

h5 {
	font-size: 1.25em;
}

h6 {
	font-size: 0.85em;
}

@media screen and (max-width:900px) {
	h1{font-size: 2.5em;}

	h2{font-size: 2em;}
}


/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 1em 1.5em;
	border-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--lg);
	background-color: var(--wp--custom--primary--main);
	font-weight: 700;
	font-size: 1.125em;
	color: var(--wp--custom--light--3);
	font-family: var(--wp--custom--font--2);
	min-width: 180px;
	text-align: center;
	text-transform: uppercase;
}

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

.button [class*="fa-"], 
.wp-block-button__link [class*="fa-"], 
.button:hover [class*="fa-"], 
.wp-block-button__link:hover [class*="fa-"] {
	color: inherit !important;
}

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

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

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

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


/* OUTLINED BUTTONS */

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

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

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

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

/*white*/
.white-button.button-outline, 
.white-button.is-style-outline .wp-block-button__link {
	background: none;
	color: white;
}

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




/***  ICONS  ***/

.fa {font-weight: 300;}

/* Icon Colors */

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--primary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: var(--wp--custom--primary--main);
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: var(--wp--custom--secondary--main);
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--primary--main);
}

a .fa-br {
	border-color: var(--wp--custom--primary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--main);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before {
	color: var(--wp--custom--primary--main);
}

.contact-page.contact-list li{
    display: flex;
	align-items: center;
    gap: 30px;
    margin-bottom: 30px;
	margin-left: 0;
}



.contact-page.contact-list li:before{
	font-weight: 700;
	font-size: 1.5em;
	height: 80px;
    width: 80px;
    border: 2px solid var(--wp--custom--secondary--main);
    border-radius: var(--wp--custom--radius--full);
    display: inline-flex;
    justify-content: center;
    align-items: center;
	color: var(--wp--custom--light--2);
	position: initial;
}

@media screen and (max-width:600px) {
	.contact-page.contact-list li{
		gap: 15px;
		margin-bottom: 15px;
	}

	.contact-page.contact-list li:before{
		font-size: 1.2em;
		height: 50px;
		width: 50px;
	}
	
	.contact-form-col{
		padding:var(--wp--preset--spacing--lg) 20px 20px!important
	}
}

.contact-page.contact-list li a{
	color: var(--wp--custom--dark--1);
	flex: 1;
}

.contact-page.contact-list li a:hover{color: var(--wp--custom--secondary--main);}


/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	font-size: 1.125em;
    padding: 20px 25px;
    border-radius: 100px;
}

textarea{
	border-radius: 30px;
	height: 150px!important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

.filter-form select,
.filter-form input[type="text"]{
	padding: 0 20px;
	background-color:white;
}

.filter-reset{
background-color: var(--wp--custom--primary--light);
    color: var(--wp--custom--dark--1);
    font-size: .9em;
    border-radius: var(--wp--custom--radius--md);
}

@media screen and (max-width:900px){
	.filter-form{
		display:flex;
		flex-wrap:wrap;
        gap: 10px;
        justify-content: center;
	}
}

/* Buttons */

input[type="submit"], input[type="reset"], input[type="button"] {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--lg);
    font-weight: 700;
    font-size: 1.125em;
	color: white;
	text-transform: uppercase;
	padding: .8em 1.5em;
}

/*NF SUBMIT CONTAINER*/
.submit-container{text-align: center;}

input[type="Submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

input[type="Submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}

/* Ninja Forms */

.nf-form-fields-required {display: none;}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--dark--2);
	border-bottom: 1px solid var(--wp--custom--light--1);
}

.scroll-bar-container{max-width: 1920px;}

.scroll-logo {
	max-height: 50px;
}

.scroll-bar .wp-block-button__link{
	padding: .5em 1.5em;
}



/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--light--2);
}



/***  HEADER  ***/

.header-wrap{background-color: var(--wp--custom--dark--2);}

.header-container{max-width: 1920px;}

.scroll-right,
.header-right{
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}

.scroll-right-nav,
.header-right-nav{
	flex-basis: 100%;
    text-align: center;
}

.scroll-right-widget,
.header-right-widget{
	width: 210px;
	margin: 0;
	text-transform: uppercase;
}

@media screen and (max-width:1200px) {
	.header-right{display: none;}
}

.header-logo {
	max-height: 60px;
}

/* Menu Button */

.header .menu-button .fa, 
.header .menu-button:hover .fa {
	color: var(--wp--custom--primary--main);
}

.header .menu-button.active .fa {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
}



/***  NAV MENUS  ***/

.nav-menu > li > a, .nav-menu > li > span {
	color: white;
	font-size: 1.125em;
	font-family: var(--wp--custom--font--2);
	text-transform: uppercase;
	font-weight: 500;
}

.single-service .nav-menu > li.services-link > a, 
.single-service .nav-menu > li.services-link > span, 
.single-product .nav-menu > li.products-link > a, 
.single-product .nav-menu > li.products-link > span, 
.single-member .nav-menu > li.members-link > a, 
.single-member .nav-menu > li.members-link > span, 
.single-post .nav-menu > li.posts-link > a, 
.single-post .nav-menu > li.posts-link > span, 
.category .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > span, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-page-ancestor > a, 
.nav-menu > li.current-page-ancestor > span, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}

.nav-menu > li > a [class*="fa-"],
.nav-menu > li > span [class*="fa-"]{
	font-size: .7em;
    font-weight: 800;
}

/* Nav Button */

.nav-menu > li.nav-button > a > span {
	padding: 0.75em 1.5em;
	margin-top: -0.75em;
	margin-bottom: -0.75em;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button:hover > a > span {
	background-color: var(--wp--custom--primary--light);
}



/***  DROPDOWN MENUS  ***/

.nav-menu li > ul{width: 280px;}

.nav-menu li ul li:first-child {
	padding-top: 8px;
}

.nav-menu li ul li:last-child {
	padding-bottom: 8px;
}

.nav-menu li ul li > a, 
.nav-menu li ul li > span {
	color: var(--wp--custom--dark--3);
}

.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li:hover > a {
	color: var(--wp--custom--primary--main);
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -8px;
}



/***  HIDDEN NAV  ***/

.hidden-menu li a {
	color: var(--wp--custom--dark--3);
}

.hidden-menu li.current-menu-item > a {
	color: var(--wp--custom--primary--main);
}

.hidden-nav::-webkit-scrollbar {
	width: 10px;
	background-color: var(--wp--custom--light--1, #E9E9E9);
}

.hidden-nav::-webkit-scrollbar-thumb {
	border: 0;
	background-color: var(--wp--custom--dark--3, #898989);
}

.hidden-menu li ul{
	padding-left: 10px;
	font-size: .95em;
}

.hidden-menu li a + [class*="fa-"], .hidden-menu li span + [class*="fa-"]{
width:100%;
padding-right: 15px;
justify-content: flex-end;
}

.hidden-menu li.menu-item-has-children.active > [class*="fa-"] {
transform: none!important;
}

.hidden-menu li.menu-item-has-children > [class*="fa-"]:before{transition: all 300ms ease-in-out;}

.hidden-menu li.menu-item-has-children.active > [class*="fa-"]:before{transform: rotate(180deg);}

/*reduce header sizes on responsive*/
@media screen and (max-width:1530px) {
	.nav-menu > li > a, .nav-menu > li > span,
	.scroll-bar .wp-block-button__link,
	.header-right .wp-block-button__link{font-size: 1em;}

	.scroll-masthead,
	.header-masthead {
		width: 160px;
	}

	.scroll-left, .scroll-right,
	.header-left, .header-right {
		width: calc(100% - 160px);
	}
}

@media screen and (max-width:1250px) {
	.nav-menu > li > a, .nav-menu > li > span,
	.scroll-bar .wp-block-button__link,
	.header-right .wp-block-button__link{font-size: .9em;}
}


/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  BANNER  ***/

.banner {
	background-color: var(--wp--custom--primary--main);
	border-bottom: 6px solid var(--wp--custom--primary--main);
}

.banner-inner {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	min-height: 490px;
}

.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner-container{max-width: 1150px;}

.banner .deck{
	font-size: 1.25em;
	margin-top: 20px;
}

.banner a {
	color: var(--wp--custom--primary--light);
}

.banner a:hover {
	color: white;
}

/*home-banner*/
.home-banner{
	position: relative;
	border-bottom: 6px solid var(--wp--custom--primary--main);
}

@media screen and (min-width: 601px) {
	.home-banner .wp-block-group .wp-block-cover:hover { justify-content: start; }

	.home-banner .wp-block-group.box-cards-top .wp-block-cover:hover {align-items: flex-start; }

	.home-banner .wp-block-group .wp-block-cover:first-child:hover .wp-block-cover__inner-container { flex-direction: row-reverse; }
	
	.home-banner .wp-block-group.box-cards-bottom .wp-block-cover:hover {align-items: flex-end; }
	
	.home-banner .wp-block-cover .wp-block-cover__inner-container { transition: background-color 0s !important; }
	
	.home-banner .wp-block-cover:hover .wp-block-cover__inner-container {
		display: flex;
		align-items: center;
		gap: 1em;
		background-color: var(--wp--custom--primary--main);
		padding: 10px 40px;
		width: calc(100% + 60px);
		transition: all 300ms ease-in-out !important;
	}
	
	.home-banner .wp-block-group.box-cards-top .wp-block-cover:hover .wp-block-cover__inner-container {
		margin: -16px -60px; 
	}
	
	.home-banner .wp-block-group.box-cards-bottom .wp-block-cover:hover .wp-block-cover__inner-container {
		margin: -16px -20px; 
	}
	
	.home-banner .wp-block-cover:hover .wp-block-outermost-icon-block { 
		margin: 0;
	}
	
	.home-banner .wp-block-cover:hover .wp-block-cover__inner-container svg { 
		filter: brightness(0) invert(1); 
	}	
}


.main .home-banner a { text-decoration: none; }

@media screen and (min-width:601px) {
	.home-banner > .wp-block-outermost-icon-block{
		position: absolute;
		top: calc(50% - 200px);
		left: calc(50% - 200px);
		z-index: 5;
		width: 400px;
		padding: 0;
	}

	.home-banner > .wp-block-outermost-icon-block,
	.home-banner > .wp-block-outermost-icon-block .icon-container,
	.home-banner > .wp-block-outermost-icon-block .icon-container svg{
		border-radius: var(--wp--custom--radius--full);
		overflow: hidden;
	}
}

@media screen and (min-width:1250px) {
	.home-banner > .wp-block-outermost-icon-block{
		width: auto;
		top: calc(50% - 250px);
		left: calc(50% - 250px);
	}
}

.home-banner > .wp-block-group{
	padding-left: 0!important;
	padding-right: 0!important;
}

.home-banner .wp-block-cover{
	width: 50%;
    height: calc(50vh - 48px);
    min-height: unset;
}

@media screen and (max-width: 1530px) {
	.home-banner .wp-block-cover{height: calc(50vh - 42px);}
}

@media screen and (max-width:1100px) {
	.home-banner .wp-block-cover{height: 300px;}
	
	.home-banner > .wp-block-outermost-icon-block .icon-container{width: 250px!important;}
	
	.home-banner > .wp-block-outermost-icon-block{ top: calc(50% - 125px); }
}

@media screen and (max-width:900px) {
	.home-banner .wp-block-cover .wp-block-outermost-icon-block{margin-bottom:10px!important;}
	
	.home-banner .wp-block-cover__inner-container .wp-block-heading{ font-size:1.2em!important;}
}

@media screen and (max-width:600px) {
	.home-banner > .wp-block-outermost-icon-block .icon-container{width: 200px!important;}
	
	.home-banner > .wp-block-outermost-icon-block{
		padding: 20px;
        z-index: 5;
        position: relative;
		background-color:white;
	}

	.home-banner > .wp-block-group{flex-direction: column;}
	
	.home-banner .wp-block-cover{
		width: 100%;
		/*height: 80px;*/
		height: calc(25vh - 78.8625px);
		min-height:unset;
	}
	.home-banner .wp-block-group .wp-block-cover{border-bottom:1px solid white;}
	
	.home-banner .wp-block-group:last-of-type .wp-block-cover:last-of-type{border-bottom:unset;}
	
	.home-banner .wp-block-cover__inner-container{
		display: flex;
		align-items: center;
		gap:20px;
	}
	
	.home-banner .wp-block-cover .wp-block-outermost-icon-block{margin-bottom:0!important;}
	
	.home-banner .wp-block-cover .icon-container{
		width:50px!important;
	}
	
	.home-banner .wp-block-cover__inner-container .wp-block-heading{
		text-align:left!important;
		font-size:1em!important;
	}
	
	
	
}


.home-banner .wp-block-cover .wp-block-cover__background{ transition: all 600ms ease-in-out;}

body:not(.block-editor-page) .home-banner .wp-block-cover:hover .wp-block-cover__background{ 
	opacity: 0; 
	cursor: pointer;
}

body:not(.block-editor-page) .home-banner .wp-block-cover .wp-block-cover__inner-container { transition: all 600ms ease-in-out; }

body:not(.block-editor-page) .home-banner .wp-block-cover:hover .wp-block-cover__inner-container{
	/*opacity: 0;*/
	pointer-events: none;
}

.home-banner .wp-block-cover .wp-block-outermost-icon-block{
	margin-bottom: 30px;
}

.home-banner .wp-block-cover .wp-block-heading{letter-spacing: 2px;}

/* Home SVG Animation */
.home-banner svg [id*="banner-logo-"] { 
	opacity: 0;
	animation: fadeInE 2s ease-in-out forwards;
}

.home-banner #banner-logo-bar-top,
.home-banner #banner-logo-bar-bottom { animation-delay: 1.5s; }

.home-banner #banner-logo-leaf {
	animation-delay: 2s;
}

.home-banner #banner-logo-slogan {
	animation-delay: 1s;
}

.home-banner #banner-logo-since-text,
.home-banner #banner-logo-since-date {
	animation-delay: 2.5s;
}



@keyframes fadeInE {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*box-link*/
.box-link{cursor: pointer;}

/***  HEADLINE BAR  ***/

.headline-bar {
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main-boxed, 
.main-sidebar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

.spaced-xs, 
.spaced-xs-top {
	padding-top: var(--wp--custom--spacer--xs);
}

.spaced-xs, 
.spaced-xs-btm {
	padding-bottom: var(--wp--custom--spacer--xs);
}

.spaced-sm, 
.spaced-sm-top {
	padding-top: var(--wp--custom--spacer--sm);
}

.spaced-sm, 
.spaced-sm-btm {
	padding-bottom: var(--wp--custom--spacer--sm);
}

.spaced, 
.spaced-top, 
.spaced-md, 
.spaced-md-top {
	padding-top: var(--wp--custom--spacer--md);
}

.spaced, 
.spaced-btm, 
.spaced-md, 
.spaced-md-btm {
	padding-bottom: var(--wp--custom--spacer--md);
}

.spaced-lg, 
.spaced-lg-top {
	padding-top: var(--wp--custom--spacer--lg);
}

.spaced-lg, 
.spaced-lg-btm {
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xl, 
.spaced-xl-top {
	padding-top: var(--wp--custom--spacer--xl);
}

.spaced-xl, 
.spaced-xl-btm {
	padding-bottom: var(--wp--custom--spacer--xl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	color: var(--wp--custom--dark--2);
}

.entry-cols .entry-link:hover {transform: translateY(-3px);}

.entry-cols .entry-icon-wrap:first-child {padding: 30px 30px 0;}

.entry-cols .entry-icon svg {
	width: 60px;
	fill: var(--wp--custom--primary--main);
}

.entry-cols .entry-thumb{
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--1);
	width: 100%;
	/*aspect-ratio: unset;*/
}

.entry-cols .entry-meta{
	margin-top: 0!important;
	text-transform: uppercase;
}

body:not(.blog) .entry-cols .entry-meta{
	margin-bottom: -15px;
}

.entry-cols .entry-text-wrap {padding: 30px;}

.entry-cols .post-date{color: var(--wp--custom--primary--main);}

.includes-link-text .entry:not(.col-full) .entry-text-wrap {padding-bottom: 80px;}

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {color: var(--wp--custom--primary--main);}

.entry-cols .entry-link:hover .entry-link-text {color: var(--wp--custom--primary--main);}

.entry-cols .entry-title{
	text-transform: unset;
	font-size: 1.375em;
}

.entry-cols .entry-link:hover .entry-title{color: var(--wp--custom--primary--main);}

.entry-cols .entry-link-text{
	text-transform: uppercase;
	font-style: var(--wp--custom--font--2);
	font-weight: 500;
	padding-bottom: 3px;
	border-bottom: 1px solid var(--wp--custom--primary--main);
	position: relative;
}

.entry-cols .entry-link-text:after{
	content: '\f061';
	font-family: 'Font Awesome 6 Pro';
	border-radius: var(--wp--custom--radius--full);
	border: 1px solid var(--wp--custom--primary--main);
	height: 28px;
    width: 28px;
    display: flex;
    position: absolute;
    right: -40px;
    top: 0;
    justify-content: center;
    align-items: center;
    font-size: .75em;
	transition: all 300ms ease-in-out;
}

.entry-cols .entry-link:hover .entry-link-text:after{
	right: -50px;
	border-color: var(--wp--custom--primary--main);
}

/*.post-cols .entry-link{

}









*/

.member-cols .member-box{text-align: left;}

/*team-slider*/
.team-swiper-container .member-title{
	color: white;
	font-size: 1.75em;
	font-weight: 500;
}
/* Archive Pagination */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--light--1);
	color: var(--wp--custom--primary--main);
}

.archive-pagination a:hover {
	border-color: var(--wp--custom--primary--light);
	color: var(--wp--custom--primary--light);
}

.archive-pagination a .fa, 
.archive-pagination a:hover .fa {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}

/*PORTFOLIO CAT ARCHIVE*/
/*.ajax-nav-buttons{
	display:flex;
	flex-wrap:wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.ajax-nav-buttons a{
	background-color:var(--wp--custom--primary--main);
	border-color::var(--wp--custom--primary--main);
	color:white;
	padding: 5px 10px;
    font-size: .9em;
    border-radius: var(--wp--custom--radius--xs);
}

.ajax-nav-buttons a:hover{
	text-decoration:unset;
	background-color:var(--wp--custom--primary--light);
	border-color::var(--wp--custom--primary--light);
	cursor:pointer;
}*/
.portfolio-cat-nav{
	gap:20px;
	    padding-top: var(--wp--custom--spacer--xxl);
}

.portfolio-cat-nav a{
    width: calc(50% - 10px);
    height:400px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
	display: flex;
    align-items: flex-end;
	transition: all 300ms ease-in-out;
	position:relative;
}

.portfolio-cat-nav a:after{
	content:'';
	height:100%;
	width:100%;
	position:absolute;
	left:0;
	top:0;
	background-color: var(--wp--preset--color--primary-dark) !important;
	opacity:.7;
	transition: all 300ms ease-in-out;
}

.portfolio-cat-nav a:hover{
	padding:0;
}

.portfolio-cat-nav h3{
	transition: all 300ms ease-in-out;
	background-color:transparent;
	padding:0;
	width:calc(100% - 40px);
	position:absolute;
	z-index:1;
	left:20px;
	bottom:20px;
	color:white;
	font-size: 1.5em;
}

.portfolio-cat-nav a:hover:after{opacity:0;}
.portfolio-cat-nav a:hover h3{
	padding:20px;
	background-color:var(--wp--custom--primary--main);
	bottom:0;
	left:0;
}


@media screen and (max-width:900px) {
	.portfolio-cat-nav a{
		height:300px;
	}
	.portfolio-cat-nav a{
    	width: 100%;	
	}
}

/***  SINGLE  ***/





/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  CTA BAR  ***/

.cta-bar {
	padding-top: 0;
	padding-bottom: 0;
	background-color: unset;
	color: white;
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {color: white;} 

.cta-cols{
	border-radius: var(--wp--custom--radius--xl);
	overflow:hidden;
}

.cta-cols .custom-swiper-container .wp-block-image img{
	object-fit:cover;
	height:700px;
	width: 100%;
}

body.home .cta-cols .custom-swiper-container .wp-block-image img{
	height:500px;
}

@media screen and (max-width:1400px) {
	.cta-cols > .wp-block-column:first-of-type{
		padding: 40px!important;
	}
}

@media screen and (max-width:900px) {
	.cta-cols > .wp-block-column:first-of-type{
		padding: 80px 40px!important;
	}

	.cta-cols .custom-swiper-container .wp-block-image{
		height: 400px;
	}

	.cta-cols .custom-swiper-container .wp-block-image img{
		min-height:440px!important;
	}
}

@media screen and (max-width:900px) {
	.cta-cols > .wp-block-column:first-of-type{
		padding: 60px 30px!important;
		font-size: .9em;
	}
}

@media screen and (max-width:600px) {
	.cta-cols > .wp-block-column:first-of-type{
		padding: 60px 30px!important;
		font-size: .8em;
	}
	
	.cta-cols .custom-swiper-container{
		display:none;
	}
}

/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	background-color: transparent;
	font-size: 0.9em;
}

.footer a {
	color: var(--wp--custom--dark--3);
}

.footer a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--main);
}

.footer-gallery{
	align-items: center !important;
	justify-content: space-between!important;
}

.footer-gallery .wp-block-image{
	margin-bottom:0!important;
}

@media screen and (min-width:901px) {
	.footer-gallery{flex-wrap: nowrap!important;}

	.footer-gallery .wp-block-image{ width: auto!important; }
}

.footer-gallery img{
	max-height:100px;
	object-fit: contain;
}

@media screen and (max-width:900px) {
    .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
        width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * .8);
    }
}

/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--dark--2);
	color: var(--wp--custom--light--3);
	position: relative; /* Needed to position ::before absolutely */
    z-index: 2; 
}

.bottom-bar-divider{
	position: absolute;
	width: 100%;
	left: 0;
}

/* Menus */
.bottom-bar h4,
.bottom-bar .menu a {
	color: var(--wp--custom--light--3);
}

.bottom-bar li a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--main);
}
.bottom-bar .footer-menu-cols .wp-block-column{text-align:left!important;}

.bottom-bar .footer-menu-cols hr{
	width:50px;
	height: 4px;
    border-radius: var(--wp--custom--radius--xs);
	margin:30px 0 0!important;
}

.bottom-bar .footer-menu-cols .widget_nav_menu li{
	margin-left:0;
	display: block;
}

.bottom-bar .footer-menu-cols .widget_nav_menu li a{
	display:block;
	padding-left: 0;
	padding-right: 0;
}

@media (min-width:600px) and (max-width:1024px) {
	.bottom-bar .footer-menu-cols .wp-block-column{
		flex-basis:calc(50% - 5px)!important;
	}
}

@media screen and (max-width:900px) {
	.bottom-bar .footer-menu-cols .wp-block-column:nth-of-type(3),
	.bottom-bar .footer-menu-cols .wp-block-column:nth-of-type(4){
		margin-top: 40px;
	}

	.bottom-bar .footer-menu-cols hr{
		margin: 10px 0 -10px !important;
		height: 2px;
	}
}

@media screen and (max-width:600px) {
	.bottom-bar .footer-menu-cols .wp-block-column:nth-of-type(2){
		margin-top: 40px;
	}
}

.bottom-bar .contact-list li{
	display:block;
}

.bottom-bar .contact-list li a{
	display:inline-block;
	margin-left: 15px;
	color:white;
}

.bottom-bar .contact-list li a:hover{color:var(--wp--custom--primary--main);}

.bottom-bar .contact-list li:before{
	left: -5px;
	top: 10px;
	color:white;
	font-weight: 700;
}

.social-icons{
	display: flex;
	gap: 15px;
}

.social-icons i{
    background-color: var(--wp--custom--primary--main);
    color: white;
    height: 50px;
    width: 50px;
    border-radius: var(--wp--custom--radius--full);
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.social-icons a:hover i{
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.social-icons img{height: 50px;}

@media screen and (max-width:1500px) {
	.social-icons{ gap: 10px;}

	.social-icons img,
	.social-icons i{
		height: 30px;
		width: 30px;
		font-size: .9em;
	}
}
/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/

/* Add custom theme styles here */



@media screen and (max-width:900px){
	.tablet-mobile-left-text,
	.has-text-align-right{text-align: left;}

	.wp-block-buttons.is-content-justification-right{ justify-content: flex-start; }
}

@media screen and (max-width:900px){
	.tablet-no-padding-top{
		margin-top: -100px;
	}
}

/*CONTENT BLOCK IMAGE WITH LINKS*/
section#main .wp-block-image a img{transition: all 300ms ease-in-out;}

section#main .wp-block-image a:hover img { transform: scale(1.05); }

/*MEDIA TEXT WIDGET*/

@media screen and (max-width:600px){
    .wp-block-media-text__media img{
        width:auto;
		max-width: 100%;
		margin-bottom: 1em;
    }

	.wp-block-media-text>.wp-block-media-text__content{padding:0;}
}


/*BLOCK COLUMNS*/
@media screen and (max-width: 900px) {
    /*customized column width to full width on tablet*/
    .wp-block-columns .wp-block-column{flex-basis:100%!important;}
    
	.tablet-reverse-order{flex-direction: column-reverse;}
}

@media (min-width:601px) and (max-width:900px) {
	.cols-tablet-half{
		flex-wrap: wrap!important;
	}

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

@media screen and (max-width: 781px) {
	.mobile-reverse-order{flex-direction: column-reverse;}
}

/*half-cover*/
.half-cover.wp-block-cover .wp-block-cover__image-background{width: 50%;}

.half-cover.hc-right .wp-block-cover__image-background{
	left: unset;
	right: 0;
}

.half-cover .wp-block-columns .wp-block-column{
	padding-left: var(--wp--custom--spacer--lg)!important;
	padding-right: var(--wp--custom--spacer--sm) !important;
}

@media screen and (max-width:900px) {
	.half-cover{
		display: flex;
		flex-direction: column;
	}

	.half-cover .wp-block-columns .wp-block-column{
		padding-left: var(--wp--custom--spacer--sm)!important;
	}

	.half-cover.wp-block-cover .wp-block-cover__image-background{
		position: initial;
        width: calc(100% + 34px);
        margin-left: -17px;
        margin-right: -17px;
	}
	
	.half-cover > .wp-block-cover__inner-container > .wp-block-columns{
		padding-top: var(--wp--preset--spacing--md)!important;
		padding-bottom:0!important;
	}
	
	div.wp-block-column:empty {display:none!important;}
}

/*SWIPER*/
.custom-swiper-container {
    width: 100%;
    height: auto;
	position:relative;
	overflow:hidden;
}


.custom-swiper-container .swiper-slide {
    text-align: center;
	margin-block-start:0;
}

body.block-editor-page .swiper-wrapper{
	display:block!important;
}
.custom-swiper-container .swiper-wrapper{ align-items: center; }

.custom-swiper-container .swiper-buttons{margin-top:-50px;}

.custom-swiper-container .swiper-button-next,.custom-swiper-container  .swiper-button-prev{
	color: var(--wp--custom--primary--dark);
	transition: all 300ms ease-in-out;
	font-size: .75em;
}

.custom-swiper-container .swiper-button-next{
	right: -45px;
}

.custom-swiper-container .swiper-button-prev{
	left: -45px;
}

.custom-swiper-container .swiper-button-next:hover,
.custom-swiper-container  .swiper-button-prev:hover{
	background-color: var(--wp--custom--primary--dark);
	color:white;
}

.custom-swiper-container .swiper-button-next:after,
.custom-swiper-container  .swiper-button-prev:after{ font-size: 2em; }

.custom-swiper-container .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
	width: 15px;
    height: 15px;
}

.custom-swiper-container .swiper-pagination-bullet-active {
    opacity:1;
}

@media screen and (max-width:900px){
	.custom-swiper-container .swiper-buttons{margin-top:-75px;}
	
	.custom-swiper-container .swiper-button-next{
		right: -25px;
	}

	.custom-swiper-container .swiper-button-prev{
		left: -25px;
	}

}

@media screen and (max-width:600px){
	.custom-swiper-container .swiper-buttons{margin-top:-80px;}
	
	.custom-swiper-container .swiper-button-next, .custom-swiper-container .swiper-button-prev{
		font-size: .5em;
	}
}

/*icon-absolute-pos*/

.icon-absolute-pos{
	position: absolute;
	padding-left: 0!important;
	padding-right: 0!important;
}

.index-top-3{
	position:relative;
	z-index:3;
}

.wave-line{
    position: absolute;
    left: calc(50% - 290px);
    top: calc(50% - 250px);
}

@media screen and (max-width:900px) {
	.wave-line{display: none!important;}
}

.index-top-6{
	position:relative;
	z-index:6;
}

/*background masks*/
.mask-parent{ 
	overflow: hidden; 
	position: relative!important;
}

.mask-1{
	height: 100%;
	min-height: 400px;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}


@media screen and (min-width:901px) {
	.mask-1{
		position: absolute;
		width: 50vw;
		-webkit-mask-image: url(/wp-content/uploads/mask-1.svg);
		mask-image: url(/wp-content/uploads/mask-1.svg);
		-webkit-mask-position: right center;
		mask-position: right center;
	}	
}
@media screen and (max-width:900px) {
	.mask-1{
		-webkit-mask-image: url(/wp-content/uploads/mask-1-rotate.svg);
		mask-image: url(/wp-content/uploads/mask-1-rotate.svg);
		-webkit-mask-position: center bottom;
		mask-position: center bottom;
		margin-bottom: -100px;
	}
}

.mask-2{
	min-height: 820px;
	right: 0;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-image: url(/wp-content/uploads/mask-2.svg);
	mask-image: url(/wp-content/uploads/mask-2.svg);
}

@media screen and (max-width:1500px) {
	.mask-2{
		min-height: 620px;
	}
}

@media screen and (min-width:901px) {
	.mask-2{
		position: absolute;
		width: 40vw;
		-webkit-mask-position: left center;
		mask-position: left center;
	}	
}

@media screen and (max-width:900px) {
	.mask-2{
		min-height: 400px;
		-webkit-mask-position: center bottom;
		mask-position: center bottom;
		margin-bottom: -50px;
	}
}

.mask-3{
	min-height: 700px;
	bottom: 0;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-image: url(/wp-content/uploads/mask-03.svg);
	mask-image: url(/wp-content/uploads/mask-03.svg);
}

@media screen and (min-width:901px) {
	.mask-3{
		position: absolute;
		width: 40vw;

		-webkit-mask-position: right center;
		mask-position: right center;
	}	
}

@media screen and (max-width:900px) {
	.mask-3{
		min-height: 400px;
		-webkit-mask-position: center bottom;
		mask-position: center bottom;
		margin-bottom: -50px;
	}
}

.mask-4{
	min-height: 1100px;
	bottom: 0;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-image: url(/wp-content/uploads/mask-04.svg);
	mask-image: url(/wp-content/uploads/mask-04.svg);
}

@media screen and (min-width:901px) {
	.mask-4{
		position: absolute;
		width: 45vw;
		right: 0;
		-webkit-mask-position: left center;
		mask-position: left center;
	}	
}

@media screen and (max-width:900px) {
	.mask-4{
		min-height: 400px;
		margin-bottom: -50px;
				-webkit-mask-position: right top;
		mask-position: right top;
		margin-bottom: -50px;
		-webkit-mask-size: contain;
		mask-size: contain;
	}
}
@media screen and (max-width:600px) {
	.mask-4{
		-webkit-mask-position: right;
		mask-position: right;
		margin-bottom: -50px;
		-webkit-mask-size: contain;
		mask-size: contain;
	}
}

.mask-5{
	min-height: 600px;
	top: 0;
	-webkit-mask-image: url(/wp-content/uploads/mask-05.svg);
	mask-image: url(/wp-content/uploads/mask-05.svg);
	-webkit-mask-position: left center;
	mask-position: left center;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

@media screen and (min-width:901px) {
	.mask-5{
		position: absolute;
		width: 45vw;
		right: 0;

	}	
}

@media screen and (max-width:900px) {
	.mask-5{
		min-height: 400px;
		-webkit-mask-position: right top;
		mask-position: right top;
		margin-bottom: -50px;
		-webkit-mask-size: contain;
		mask-size: contain;
	}
}

.mask-6{
	min-height: 800px;
	bottom: 0;
	-webkit-mask-image: url(/wp-content/uploads/mask-06.svg);
	mask-image: url(/wp-content/uploads/mask-06.svg);
	-webkit-mask-position: right center;
	mask-position: right center;
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

@media screen and (min-width:901px) {
	.mask-6{
		position: absolute;
		width: 40vw;
		left: 0;
	}	
}

@media screen and (max-width:900px) {
	.mask-6{
		min-height: 400px;
		-webkit-mask-position: left bottom;
		mask-position: left bottom;
		margin-bottom: -50px;
		-webkit-mask-size: contain;
		mask-size: contain;
	}
}


.masks-spacer{
    max-height: 200px;
    min-height: 100px;
}

@media screen and (max-width:900px) {
	.masks-spacer{
		min-height: unset;
		height: 0!important;
		margin-top: -50px;
	 }	
}

@media screen and (max-width:1400px){
	.display-large-spacer{
		margin-top: -5vw;
		margin-bottom: -5vw;
	}
}

@media screen and (max-width:1400px){
	.display-large-spacer{display:none;}
}

/*box counter*/
.box-counter{
	counter-reset: box-counter;
}

.box-counter > .wp-block-group{
    counter-increment: box-counter;
	position:relative;
	z-index:2;
	margin-left: 140px!important;
}

.box-counter > .wp-block-group:before{
	content: '0' counter(box-counter);
    position: absolute;
    top: 0;
    left: -140px;
    font-size: 2.25em;
	color: var(--wp--custom--light--2);
    height: 108px;
    width: 108px;
    border: 2px solid var(--wp--custom--secondary--main);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--wp--custom--radius--full);

}

.box-counter > .wp-block-group:not(:first-of-type){
	margin-top: 50px!important;
}

.box-counter > .wp-block-group > p{
	margin-block-start: 10px;
}

@media screen and (max-width:1366px) {
	.box-counter > .wp-block-group{
		margin-left: 70px!important;
	}
	.box-counter > .wp-block-group:before{
		font-size: 1.5em;
		height: 50px;
		width: 50px;
		left: -70px;
	}
}
@media screen and (max-width:600px) {
	.box-counter > .wp-block-group{
		margin-left: 0!important;
	}

	.box-counter > .wp-block-group:before{
        left: 0;
        height: 30px;
        width: 30px;
        font-size: 1.1em;
	}
	
	.box-counter .is-layout-constrained > .wp-block-heading:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:50px!important;}
}

/*box-counter-alpha*/
.box-counter-alpha{
	counter-reset: box-counter;
}


.box-counter-alpha > .wp-block-columns{
    counter-increment: box-counter;
}

.box-counter-alpha > .wp-block-columns > .wp-block-column{
	position:relative;
	z-index:2;
	margin-left: 140px!important;
}

.box-counter-alpha > .wp-block-columns > .wp-block-column > .wp-block-group:before{
	content: counter(box-counter, upper-alpha);
    position: absolute;
    top: 0;
    left: -140px;
    font-size: 2.25em;
	color: var(--wp--custom--light--2);
    height: 108px;
    width: 108px;
    border: 2px solid var(--wp--custom--secondary--main);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--wp--custom--radius--full);
	z-index: 999;

}

@media screen and (max-width:1366px) {
	.box-counter-alpha > .wp-block-columns > .wp-block-column{
		margin-left: 70px!important;
	}

	.box-counter-alpha > .wp-block-columns > .wp-block-column > .wp-block-group:before{
		font-size: 1.5em;
		height: 50px;
		width: 50px;
		left: -70px;
	}
}
@media screen and (max-width:600px) {
	.box-counter-alpha > .wp-block-columns > .wp-block-column{
		margin-left: 0!important;
	}

	.box-counter-alpha > .wp-block-columns > .wp-block-column > .wp-block-group:before{
		position: initial;
		margin-bottom: 20px;
	}
}*/

/*yt-video*/
.yt-video img{
	transition: all 300ms ease-in-out;
	border-radius: var(--wp--custom--radius--md);
}

.yt-video iframe{
	position: relative;
	border-radius: var(--wp--custom--radius--md);
	z-index: 3;
}

.yt-video img:hover{ 
	opacity: .8;
	cursor: pointer;
}

/*testimonial-slider*/
.testimonial-slider{

    margin-left: -18%;

}

.testimonial-slider .swiper{
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
}

.testimonial-slider .swiper-slide{height: auto!important;}

.testimonial-slider p{ margin: var(--wp--custom--spacer--lg) 0!important; }

@media screen and (max-width:900px) {
	.testimonial-slider{ margin-left: 0; }
}

/*team slider*/
.team-slider-container .wp-block-columns{position: relative;}

.team-swiper-container{
	overflow: hidden;
	position: relative;
	margin-right: -400px;
    width: calc(100% + 400px);
}

@media screen and (max-width:900px) {
	.team-swiper-container{
		width: 100%;
		margin-right: 0;
	}
}

@media screen and (max-width:600px) {
	/*.team-swiper-container .member-portrait{max-height: 300px ;}*/
	.team-swiper-container .cols-spaced{margin:0;}
}

.team-swiper-container .swiper-wrapper {
	display: flex;
    width: 100%;
    height: auto;
	position:relative;
	flex-wrap: nowrap;
}


.team-swiper-container .swiper-slide {
	margin-block-start:0;
}


.team-slider-container .swiper-button-next,
.team-slider-container .swiper-button-prev{
	color:white;
	background-color:var(--wp--custom--primary--main);
	transition: all 300ms ease-in-out;
	bottom: 0;
	top: unset;
	height: 60px;
    width: 60px;
    border-radius: 100%;
}

.team-slider-container .swiper-button-next:hover,
.team-slider-container .swiper-button-prev:hover{
	color: var(--wp--custom--primary--main);
	background-color: white;
}

@media screen and (max-width:900px) {
	.team-slider-container .swiper-button-next,
	.team-slider-container .swiper-button-prev{
		position: initial;
	}

	.team-slider-container > .wp-block-columns{justify-content: flex-start;}
}

.team-slider-container .swiper-button-next{ left: 140px; }

.team-slider-container .swiper-button-prev{ left: 60px; }

.team-slider-container .swiper-button-next:after{ content: '\f061'; }

.team-slider-container .swiper-button-prev:after{ content: '\f060'; }

.team-slider-container .swiper-button-next:after, 
.team-slider-container .swiper-button-prev:after{ 
	font-size: 1.5em;
	font-family: 'Font Awesome 6 Pro';
 }

 /*services slider*/
 .services-swiper-container{
	position:relative;
	overflow:hidden;
	padding: 0 10px;
	border-radius: var(--wp--custom--radius--lg);
 }

 .services-swiper-container .swiper-wrapper {
	margin: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
	width: 100%;
}

.services-swiper-container .service{
	flex-basis: 25%!important;
}

.services-swiper-container .entry-icon-wrap{display:none;}

.services-swiper-container .swiper-slide-active{ flex-basis: 50%!important; }

@media screen and (max-width:1024px) {
	.services-swiper-container .service{ flex-basis: 25%!important; }
	
	.services-swiper-container .swiper-slide-active{flex-basis: 75%!important;}
}

@media screen and (max-width:768px) {
	.services-swiper-container .service{ flex-basis: 100%!important; }
}

.services-swiper-container .entry-thumb-wrap:after{
	content:'';
	height:100%;
	width:100%;
	position:absolute;
	top:0;
	left:0;
	background-color:var(--wp--custom--primary--main);
	opacity:.5;
	transition: all 300ms ease-in-out;
}

.services-swiper-container .entry-link:hover .entry-thumb-wrap:after{opacity: 0;}

.services-swiper-container .entry-link:hover .entry-text-wrap { 
	bottom: 0;
	background-color: var(--wp--custom--primary--main);
 }

.services-swiper-container .service img{
	width: 100%;
	height: 500px;
	border-radius: unset;
	box-shadow: unset;
}

@media screen and (max-width:768px) {
	.services-swiper-container .service img{height: 350px;}
}

.services-swiper-container .entry-text-wrap{
	box-sizing: border-box; 
	position: absolute;
	bottom: 20px;
	width: 100%;
	transition: all 300ms ease-in-out;
}

.services-swiper-container .entry-title,
.services-swiper-container .entry-link:hover .entry-title{ 
	font-size: 1.25em; 
	color:white;
}



@media screen and (max-width:1024px) {
	.services-swiper-container .entry-text-wrap{padding: 10px;}
	.services-swiper-container .entry-title{ font-size: 1em; }
}

.services-swiper-container .swiper-button-next{    
	right: 0;
    left: unset;
}
.services-swiper-container .swiper-button-prev{left: 0;}

.services-swiper-container .swiper-button-next,
.services-swiper-container .swiper-button-prev{
	color:white;
	background-color:var(--wp--custom--primary--main);
	transition: all 300ms ease-in-out;
	top: 50%;
	height: 60px;
    width: 60px;
    border-radius: 100%;
}

.services-swiper-container .swiper-button-next:hover,
.services-swiper-container .swiper-button-prev:hover{
	background-color: var(--wp--custom--dark--3);
}
.services-swiper-container .swiper-button-prev:after {
    content: '\f060';
}

.services-swiper-container .swiper-button-next:after {
    content: '\f061';
}

.services-swiper-container .swiper-button-next:after, 
.services-swiper-container .swiper-button-prev:after{
	font-size: 1.5em;
    font-family: 'Font Awesome 6 Pro';
 }


 /*association*/
 .association .wp-block-cover{
	min-height: 262px;
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--custom--spacer--xs);
 }

 .association .wp-block-cover .wp-block-image img{
	max-width: 100%;
	max-height: 120px;
    object-fit: contain !important;
 }

 .association .wp-block-cover + .wp-block-heading{
	font-weight: 600;
	margin-top: 20px;
 }

 .association .wp-block-cover + .wp-block-heading + p{
	margin-top: -10px;
 }

 /*container-radius*/
 .container-radius-md{
	border-radius: var(--wp--custom--radius--md);
 }

 /*portfolio-cover-links*/
 .portfolio-cover-links .wp-block-cover{
	width: 50%;
	height: 500px;
	align-items: flex-end;
	padding: 0 0 40px 40px;
}

.main .portfolio-cover-links a { text-decoration: none; }

.portfolio-cover-links .wp-block-cover:hover .wp-block-cover__inner-container { 
	display: flex;
	gap: 1em;
	margin: 0 0 -40px -40px;
	padding: 10px 40px;
	background-color: var(--wp--custom--primary--main);
}

@media screen and (max-width:900px) {
	.portfolio-cover-links > .wp-block-group{flex-direction: column;}

	.portfolio-cover-links .wp-block-cover{
		width: 100%;
		height: 400px;
	}
}

@media screen and (max-width:600px) {
	.portfolio-cover-links .wp-block-cover{height: 300px;}
}


.portfolio-cover-links .wp-block-cover .wp-block-cover__background{ transition: all 300ms ease-in-out;}

body:not(.block-editor-page) .portfolio-cover-links .wp-block-cover:hover .wp-block-cover__background{ 
	opacity: 0; 
	cursor: pointer;
}

body:not(.block-editor-page) .portfolio-cover-links .wp-block-cover .wp-block-cover__inner-container { transition: all 300ms ease-in-out; }

body:not(.block-editor-page) .portfolio-cover-links .wp-block-cover:hover .wp-block-cover__inner-container { /*opacity: 0;*/ }

/*body:not(.block-editor-page) .portfolio-cover-links .wp-block-cover:hover .wp-block-cover__inner-container{display: none;}*/

.portfolio-cover-links .wp-block-cover .wp-block-heading{letter-spacing: 2px;}

/*MASONRY CSS*/
.masonry-gallery { margin: 0 auto; }

.masonry-gallery .wp-block-image { padding: 5px; }

.masonry-gallery figure.wp-block-image:has(figcaption):before,
.masonry-gallery .wp-element-caption{display: none;}

/*animate.css*/
.custom-delay-quarter-s { animation-delay: .25s; }
.custom-delay-half-s { animation-delay: .5s; }
.custom-delay-three-quarter-s { animation-delay: .75s; }
.custom-delay-one-n-quarter-s { animation-delay: 1.25s; }
.custom-delay-one-n-half-s { animation-delay: 1.5s; }

/*animate hide initial*/
/*blocks with animate-on-scroll- start in class*/
body:not(.block-editor-page) [class^="animate-on-scroll"],
/*banner*/
body:not(.block-editor-page) .banner h1:not(.animate__animated),
body:not(.block-editor-page) .banner .deck-wrap:not(.animate__animated),
body:not(.block-editor-page) .button:not(.animate__animated),
/*cta*/
body:not(.block-editor-page) section.cta-bar h2:not(.animate__animated),
body:not(.block-editor-page) section.cta-bar p:not(.animate__animated),
/*content*/
body:not(.block-editor-page) .main-container h2:not(.animate__animated),
body:not(.block-editor-page) .wp-block-button:not(.animate__animated),
body:not(.block-editor-page) .animate_opacity:not(.animate__animated)
{ opacity:0; }


.single-post .main-boxed .container {max-width: 1200px;}

/* TEMP */
.temporary-menu-hide { display: none !important; }

.home-banner{background-color: var(--wp--custom--primary--dark)!important;}
/*gallery-lighbox*/
.glightbox-clean .gbtn{background-color:var(--wp--custom--primary--dark);}

.glightbox-clean .gbtn:hover{background-color:var(--wp--custom--primary--light);}

.glightbox-pagination-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.glightbox-pagination-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}
.glightbox-pagination-dots .dot.active {
  background: var(--wp--custom--primary--dark);
}