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


/* *****************************
 * 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(105rem / 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: 105rem !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:768px) {
    .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;         
    }   
}


/* *****************************
 * SERVICE BOX
 * *************************** */
.service-box {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 30rem !important;
  overflow: hidden !important;
}
.service-box > .service-box-title {
  height: auto;
  text-align: center;
  width: 100%;
  z-index: 1;
  transform: translateY(0); /* Hidden position */
  opacity: 0; /* Initially hidden */
  transition: transform 0.25s ease-in-out, opacity .75s ease-in-out !important;	
}
.service-box:hover > .service-box-title {
  height: 0 !important;
  opacity: 0 !important;
  transform: translateY(0) !important;
  transition: transform .5s ease-in-out, opacity 0.25s ease-in-out !important;
}
.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;
}
@media (max-width: 480px) {
  .service-box {
    min-height: 34rem !important;
  }
  .service-box:before {
	background-image: linear-gradient(180deg, #ECE1D5 0%, #ECE1D5 100%) !important;
	opacity: .85 !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;
  }
}


/* *****************************
 * FEATURED BOX
 * *************************** */
.featured-box {
	overflow: hidden;
}
.featured-box h3 {
	text-shadow: 0 -2px 5px rgba(236, 225, 213, 1);
	transition: all 1s ease;	
}
.featured-box:hover h3 {
	transform: translateY(20px);
	opacity: 0;
}
.featured-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(236, 225, 213, 0) 25%, 
    rgba(236, 225, 213, 1) 100%) !important;
  background-size: 100% 100% !important;
  background-position: bottom !important;
  transition: background-position 1s ease;
  z-index: 0;
}
.featured-box:hover:before,
.featured-box:focus:before {
  opacity: 0;
}
.featured-box:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #182D4CDD !important;
  background-size: 100% !important;
  background-position: top !important;
  transition: background-position 1s ease;
  z-index: 0;
  opacity:0;
  transition: opacity 1s ease;
}
.featured-box:hover:after,
.featured-box:focus:after {
  opacity: 1;
}


/* *****************************
 * PROJECTS GRID
 * *************************** */
.projects-grid .raven-post {
	padding: 0;
}
.projects-grid h3.raven-post-title {
    display: flex;
    justify-content: center;
}
.projects-grid a.raven-post-title-link {
    display: flex;
    padding: 20rem 1rem 1rem;
    width: 100%;
    justify-content: center;
    background-image: linear-gradient(180deg, transparent 20%, #ECE1D5 90%);
	background-size: 100% 100%;
	background-position: bottom;
	opacity: .75;
	transition: background-size 1s ease, color 1s ease, opacity 1s ease;
}
.projects-grid a.raven-post-title-link:hover {
    background-size: 100% 100%; 
    opacity: 1; 
}

/* *****************************
 * HERO OVERLAY
 * *************************** */
.hero::before {
    mix-blend-mode: multiply !important;
}

/* *****************************
 * MAC HERO PADDING
 * *************************** */
html.mac .hero .e-con > .e-con,
html.iphone .hero .e-con > .e-con {
    padding: 2rem 4rem 1.35rem !important;
}

@media (max-width: 1200px) {
    html.mac .hero .e-con > .e-con,
	html.iphone .hero .e-con > .e-con {
        padding: 2rem 2rem 1.35rem !important;
    }
}

@media (max-width: 1024px) {
    html.mac .hero .e-con > .e-con,
	html.iphone .hero .e-con > .e-con {
        padding: 2rem 2rem 1.35rem !important;
    }
}

html.mac .single-post .hero .e-con > .e-con,
html.iphone .single-post .hero .e-con > .e-con {
    padding: 2rem 4rem 2rem !important;
}

@media (max-width: 1200px) {
    html.mac .single-post .hero .e-con > .e-con,
	html.iphone .single-post .hero .e-con > .e-con {
        padding: 2rem 2rem !important;
    }
}
