/* **********************************************************
 * 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
 * *************************** */
.bg-fixed,
.bg-fixed .elementor-background-overlay,
.bg-fixed:before {
    background-attachment: fixed !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;
    }
}


/* *****************************
 * 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 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;         
    }   
}


/* *****************************
 * HERO STYLING
 * *************************** */
.hero::after {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2024/06/section-bottom-angle.png');	
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
	background-size: 100% 200px !important;
    height: 38vh;
	background-size: 100% 100% !important;	
    background-repeat: no-repeat !important;
    background-position: bottom left;
	margin-bottom: -2px;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 1600px) {
	.hero::after {	
		height: 25vh;
	}
}
@media (max-width: 1440px) {
	.hero::after {
    width: 100%;
    height: 200px;	
    background-size: auto !important;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: 1;
	}	
}
@media (max-width: 420px) {
	.hero::after {
    width: 100%;
    height: 300px;	
    background-size: 300% !important;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: 1;
	}	
}


/* *****************************
 * ROUNDED BOX - like on Home
 * *************************** */
@media (min-width: 768px) {
	.rounded-box:hover {
		transform: translateY(2rem);
	}
	.rounded-box .box-text p:not(:first-child) {
		margin-bottom: .75rem;
	}	
}


/* *****************************
 * BLOG TILES - like on Home
 * *************************** */
.ha-tiles__tile--lg .ha-tiles__tile-title {
    font-size: clamp(22px, 2rem, 30px) !important;
}
.ha-tiles__tile--md .ha-tiles__tile-title, 
.ha-tiles__tile--sm .ha-tiles__tile-title {
    font-size: clamp(14px, 1.35rem, 22px) !important;
}


/* *****************************
 * IMAGES - OFFSET RED BG
 * *************************** */
.photo-bg-container {
    position: relative;
    display: inline-block;
}
.photo-bg-container::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2024/06/Photo-BG.jpg');
    background-size: cover;
    z-index: 1;
    border-radius: 2% 2% 15% 2%;
}
.photo-bg-container img {
	border-radius: 2% 2% 15% 2% !important;
    position: relative;
    z-index: 2;
}

@media (max-width: 480px) {
	.photo-bg-container::before {
	    top: 12px;
	    left: 12px;
	}
}





/* ******************************
 * HOME BLOG GRID
 * *************************** */
.ha-tiles__tile--lg .ha-tiles__tile-title {
	font-size: 2.5rem;
}
.blog-tiles .ha-tiles__tile--md .ha-tiles__tile-title,
.blog-tiles .ha-tiles__tile--sm .ha-tiles__tile-title {
	font-size: 1.35rem;
}

@media (max-width: 1441px) {
	.blog-tiles .ha-tiles__tile--md .ha-tiles__tile-title,
	.blog-tiles .ha-tiles__tile--sm .ha-tiles__tile-title {
		font-size: 1.5rem;
	}	
}

@media (max-width: 767px) {
	.ha-tiles__tile--lg .ha-tiles__tile-title {
		font-size: 2.15rem !important;
	}	
}

@media screen and (min-width: 450px) and (max-width: 767px) {
	.ha-tiles__tile--lg .ha-tiles__tile-title {
		font-size: 2.15rem !important;
	}	
	.blog-tiles .ha-tiles__tile--md .ha-tiles__tile-title,
	.blog-tiles .ha-tiles__tile--sm .ha-tiles__tile-title {
		font-size: 1.5rem;
	}		
    .blog-tiles .ha-tiles.ha-tiles--4by2, 
	.blog-tiles .ha-tiles.ha-tiles--4by5 {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        grid-template-rows: repeat(4, minmax(225px, 1fr));		
	}
}
