/* **********************************************************
 * SECTION COLUMN STYLES
 * ******************************************************** */
 

/* *****************************
 * SEARCH BAR ROW - like on Blog, Blog Category, Shop
 * *************************** */
.search-col, 
.search-col .site-search,
.search-col .jet-search, 
.search-col .jet-ajax-search,
.search-col .jet-ajax-search__form,
.view-all-col,
.btn-archive-view-all a {
    height: 100% !important;
    width: 100%;	
}
.btn-archive-view-all .elementor-button-wrapper,
.btn-archive-view-all .ha-creative-btn-wrap {
	display: flex;
    width: 100%;
}


/* *****************************
 * PARALLAX SECTION BACKGROUND
 * *************************** */
.section-bg-parallax {
	/* Adjust the Effect */
    transform: translateZ(-1px) scale(1.15); 
    background-position: center !important;
    position: absolute;
}


/* *****************************
 * FIXED BACKGROUND - OVERRIDE SO ALSO FIXED ON MOBILE
 * Add the class bg-fixed to the section - adjust as needed
 * *************************** */
.bg-fixed,
.bg-fixed .elementor-background-overlay,
.bg-fixed:before {
    background-attachment: fixed !important;
    transform: translateZ(1);
}
.ios .bg-fixed,
.ios .bg-fixed .elementor-background-overlay,
.ios .bg-fixed:before {
    background-attachment: scroll !important;
    transform: translateZ(0); /* This can help with rendering */
}
html:not(.ios) .bg-fixed,
html:not(.ios) .bg-fixed .elementor-background-overlay,
html:not(.ios) .bg-fixed:before {
    background-attachment: fixed !important;
}
@media (max-width: 1040px) {
	.mac .bg-fixed,
	.mac .bg-fixed .elementor-background-overlay,
	.mac .bg-fixed:before,
	.ios .bg-fixed,
	.ios .bg-fixed .elementor-background-overlay,
	.ios .bg-fixed:before {
		background-attachment: scroll !important;
		transform: translateZ(0);
		background-size: conver !important;
		background-repeat: no-repeat !important;
	}
}


/* ******************************
 * FIXED BACKGROUND - APPLE LANDSCAPE TWEAK
 * *************************** */
/* SAFARI */
@media only screen and (orientation: landscape) {
    .e--ua-appleWebkit.e--ua-safari .elementor-element.e-con::before {
        background-attachment: intial !important;
    }
}

/* OTHERS */
@media only screen and (orientation: landscape) {
    .e--ua-appleWebkit .elementor-element.e-con::before {
       background-attachment: initial !important;
    }
}


/* ******************************
 * BACKGROUND REPEAT Y FORCCED
 * *************************** */
.bg-fixed.bg-repeat-y:before {
	background-repeat: repeat-y !important;
}


/* *****************************
 * COLUMN GRADIENT - use col-hover and colorX class on the column and change colors below, can add extra classes for different columns w/different colors
 e.g. Z Demo Content Page Custom Hover Image Boxes
 * *************************** */
.col-hover .elementor-widget-wrap.elementor-element-populated {
    background-color: transparent !important;
    background-image: none !important;
	overflow: hidden;
}
.col-hover .elementor-widget-wrap.elementor-element-populated:before,
.col-hover .elementor-widget-wrap.elementor-element-populated:after {
	content: "";
    display: block;
    position: absolute;
	margin: 1px;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    width: auto;
    height: auto;
	z-index: -1;	
	transition: all .5s ease-out;
}
.col-hover .elementor-widget-wrap.elementor-element-populated:before {
    z-index: -1;
	opacity: 1;
}
.col-hover .elementor-widget-wrap.elementor-element-populated:after {
    z-index: -1;
	opacity: 0;
}
.col-hover .elementor-widget-wrap.elementor-element-populated:hover:before {
	opacity: 0;
}
.col-hover .elementor-widget-wrap.elementor-element-populated:hover:after {
	 opacity: 1;
}
.col-hover.color1 .elementor-widget-wrap.elementor-element-populated:before {
	background-color: #99000050;
    background-image: linear-gradient(180deg, #fff 0%, #99000022 100%);
}
.col-hover.color1 .elementor-widget-wrap.elementor-element-populated:after {
	background-color: #99000050;
    background-image: linear-gradient(180deg, #99000022 0%, #fff 100%);	
}
.col-hover.color2 .elementor-widget-wrap.elementor-element-populated:before {
	background-color: #aaaaaa50;
    background-image: linear-gradient(180deg, #fff 0%, #aaaaaa22 100%);
}
.col-hover.color2 .elementor-widget-wrap.elementor-element-populated:after {
	background-color: #aaaaaa50;
    background-image: linear-gradient(180deg, #aaaaaa22 0%, #fff 100%);	
}


/* *****************************
 * SECTION WITH 2 COLS - 1 FULL WIDTH 1 BOXED WIDTH - on Z Demo Content Pg
 * IMPORTANT!!! Change WIDTH BELOW to the TO THE MAX-WIDTH REM ADDED ABOVE in Site Settings > Layout
 * *************************** */
.full-container-boxed-col {
	max-width: calc(97.5rem / 2); /* set site boxed width & divide by 2 */
	margin-left: auto;
}

@media (max-width: 1024px){
	.full-container-boxed-col {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
}


/* *****************************
 * SECTION CONTENT COLUMNS with INNER SECTION with PADDED COLUMNS 
   e.g. Z Demo Content Page - Services We Offer Cols
 * *************************** */
.section-content-cols.elementor-section.elementor-section-boxed > .elementor-container,
.section-content-cols.elementor-section.elementor-section-boxed > .elementor-container .inner-section-padded-cols .elementor-container {
	max-width: 77rem !important;
}
.inner-section-padded-cols {
    margin-left: -1rem; 
    margin-right: -1rem;	
}

@media (min-width: 1024px) {
	/* Equal Height */
	.section-content-cols .elementor-column.content-col {
		height: 100% !important;
	}
	.section-content-cols .elementor-inner-section .elementor-column-wrap {
		height: 100%;
		flex-direction: column;
	}
	.section-content-cols .inner-section-padded-cols .elementor-widget-wrap {
		height: 100%;
		flex-direction: column;
	}
	.section-content-cols .elementor-widget-icon {
	    margin-top: auto !important;
		padding: 1rem;
	}
}

@media (max-width: 1024px) {
	/* CONTENT COLUMNS */
	.section-content-cols .content-col.last {
		margin: 0 auto;
	}
}


/* *****************************
 * SECTION 3 COL INSET SHADOWS - like Contact
 * *************************** */
.section-3-cols .col1 {
    border-left: 0px solid #333 !important;
    border-right: 1px solid #000 !important; 
}
.section-3-cols .col2 {
    border-left: 1px solid #333 !important;
    border-right: 1px solid #000 !important;    
}
.section-3-cols .col3 {
    border-left: 1px solid #333 !important;
    border-right: 0px solid #000 !important;
}

@media (max-width:767px) {
    .section-3-cols .col1 {
        border-left: 0px solid #444 !important;
        border-right: 0px solid #000 !important; 
        border-top: 1px solid #444 !important; 
        border-bottom: 1px solid #000 !important;         
    }
    .section-3-cols .col2 {
        border-left: 0px solid #444 !important;
        border-right: 0px solid #000 !important;
        border-top: 1px solid #444 !important;        
        border-bottom: 1px solid #000 !important;        
    }
    .section-3-cols .col3 {
        border-left: 0px solid #444 !important;
        border-right: 0px solid #000 !important;  
        border-top: 1px solid #444 !important;         
    }   
}


/* *****************************
 * VERTICAL IMAGE ACCORDION
 * *************************** */
.ha-image-accordion .ha-ia-item:after {
   content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000000;
    background-image: linear-gradient(180deg, #000000AA 50%, #404040 100%) !important;	
    background-size: 0% !important;
	opacity: 0.1 !important;
    transition: all .5s linear !important;
	z-index: 0 !important;
}
.ha-image-accordion .ha-ia-item:hover:after,
.ha-image-accordion .ha-ia-item.active:after {
    background-size: 1000% !important;
    opacity: 1 !important;
    transition: all 0.5s ease-in 0s !important;
	background-image: linear-gradient(180deg, #000000AA 50%, #404040 100%) !important;
}
/* Styling */
.ha-image-accordion .ha-ia-gallery-wrap .ha-ia-content-title,
.ha-image-accordion .ha-ia-gallery-wrap .ha-ia-content-description {
	text-align: center;
}
/* Default State Vertical Title */
/* .ha-image-accordion .ha-ia-item:not(.active) {
	padding: 20px 0 0 0;	
} */
.ha-image-accordion .ha-ia-item.active .ha-overlay {
	-webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;		
}
.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-wrapper {
	background:#000000AA !important;
	transition: all .5s linear;
	display: flex !important;
	padding: 1rem 0 0.25rem !important;
	min-width: 50rem !important;
	width: 100% !important;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-direction: column;
	background: transparent;
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	z-index: 5;
}
@media (max-width: 768px) {
	.ha-ia-content-wrapper.ha_fadeInUp {
		animation-name: none !important;
	}	
	.ha-image-accordion .ha-ia-item.active .ha-overlay,
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-wrapper {
		-webkit-animation-name: none !important;
		animation-name: none !important;
		-webkit-animation-duration: .5s;
		animation-duration: .5s;
		z-index: 5;
	}	
}
.ha-image-accordion .ha-ia-content-wrapper {
    z-index: 5;
}
.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-icon-title {
	width: 100%;
}
.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-title {
	font-size: 1.75rem !important;
	line-height: 1.75rem;
	padding: 0.5rem;
	width: 100% !important;
}
.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-description,
.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-button {
	font-size: 0 !important;
    display: none;
}
@media (min-width: 769px) {
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-wrapper {
		transform: rotate(90deg);
		will-change: transform !important;		
	}
}
@media (max-width: 768px) {
    .ha-image-accordion .ha-ia-gallery-wrap {
        flex-wrap: wrap;
        display: flex;
        flex-direction: column !important;
		border-width: 0 !important;
    }  
    .ha-image-accordion .ha-ia-item {
        margin-bottom: 10px;
    	margin-right: 0 !important;		
    }
	.ha-image-accordion .ha-ia-item:not(.active) {
		padding: 20px 0 0 0;    
	}	
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-wrapper {
		min-width: 100% !important;
		width: 100% !important;
	}	
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-title {
		background: #000000AA;
		font-size: 1.5rem !important;
		line-height: 1.5rem;
		padding: 0.35rem;
		width: 100% !important;
	}	
}


/* *****************************
 * SERVICE BOXES
 * *************************** */
.service-box {
  cursor: pointer;	
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;	
  height: 100%;
  justify-content: center;
  min-height: 35rem !important;
  overflow: hidden !important;	
}

@media (min-width: 431px) and (max-width: 1440px) {
	.service-box {
	  min-height: 30rem !important;
	}	
}

.service-box .service-box-title {
  height: auto;
  text-align: center;
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;	
  width: 100%;	
  z-index: 1;
}
.service-box:hover .service-box-title {
  height: 0 !important;
  opacity: 0;
  transform: translateY(-50%);
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;	
}
.service-box .content-box {
  position: absolute;
  width: 100%;
  height: 110%;	
  opacity: 0;	
  bottom: 0;
  top: 100%;
  transform: translateY(100%);
  transition: 
	  height 0.5s ease-in-out,
	  opacity 0.5s ease-in-out, 
	  bottom 0.5s ease-in-out, 
	  top 0.5s ease-in-out, 
	  transform 0.5s ease-in-out;
  z-index: 0;
}
.service-box:hover .content-box {
  transform: translateY(0);
  opacity: 1;
  height: 100%;
  bottom: 0%;
  top: 0;
}
.service-box:hover .content-box .service-box-title {
  height: auto !important;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;	
}

/* SERVICE BOX MOBILE LAYOUT */
@media (max-width: 430px) {
	.service-box {
	  min-height: 34rem !important;
	}	

	.service-box>.service-box-title {
	  height: 0 !important;
	  opacity: 0;
	  transform: translateY(-50%);
	  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;	
	}
	.service-box .content-box {
	  transform: translateY(0) !important;
	  opacity: 1;
	  height: 100%;
	  bottom: 0%;
	  top: 0;
	}
	.service-box .content-box .service-box-title {
	  height: auto !important;
	  opacity: 1;
	  transform: translateY(0);
	  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;	
	}
	
}


/* ******************************
 * GOOGLE MAP HTML
 * *************************** */
.google-map-html {
    position: relative !important;
    height: 100% !important;
    display: inline-flex;
    align-content: stretch !important;
    align-items: stretch !important;
    flex-direction: column !important;
}
.google-map-html .elementor-widget-container {
    position: relative !important;
    height: 100% !important;
    overflow: hidden;
    display: flex;
    align-content: stretch;
    align-items: stretch;
    min-height: 70vh;
}
.google-map-html iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: stretch;
}
.google-map-html #map {
	position: initial !important; 
	overflow: visible !important;
}


/* CONTACT BOX */
.contact-box {
  top: 50%;
  right: 5% !important;
  transform: translateY(-50%);
	width: fit-content !important;
}

@media (max-width: 1023px) {
	.contact-box {
	  min-width: 300px !important;
	  bottom: 25px !important;
	  top: auto;
	  left: 50% !important;
	  right: auto;
	  transform: translateX(-50%) translateY(0%);
	  width: fit-content !important;
	  padding: 2rem 2rem !important;
	}	
}
