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


/* *****************************
 * HERO - INTERNAL PAGES, HOME SLIDER & CONTENT
 * *************************** */
.hero:before {
	mix-blend-mode: multiply !important;
	opacity: 1 !important;
}
.hero-slider-content {
    position: absolute !important;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 10 !important;
}
.hero-slider-content .text-button-wrapper {
    position: absolute !important;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 10 !important;
}
.jet-carousel__item {
	padding-top: 0;
}


/* *****************************
 * SERVICE BOXES
 * *************************** */
.service-box {
  cursor: pointer;	
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;	
  height: 100%;
  justify-content: center;
  overflow: hidden !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: 480px) {
	.service-box:not(.section-mega-menu .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;	
	}
	
}


/* *****************************
 * GALLERY
 * *************************** */
.gallery-pics-grid .elementor-element .raven-image img {
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.gallery-pics-grid .pic-col {
	min-height: 100% !important;
}
.gallery-pics-grid .elementor-widget-raven-image,
.gallery-pics-grid .elementor-widget-container,
.gallery-pics-grid .raven-image,
.gallery-pics-grid .raven-image a {
    height: 100% !important;
}
.gallery-pics-grid .pic-col .full-pic {
	height: 40rem !important;
}
.gallery-pics-grid .pic-col .tall-pic {
	height: 25rem !important;
}
.gallery-pics-grid .pic-col .short-pic {
	height: 15rem !important;
}

@media (max-width: 768px) {
	.gallery-pics-grid .pic-col .full-pic {
		height: 35rem !important;
	}
	.gallery-pics-grid .pic-col .tall-pic {
		height: 20rem !important;
	}
	.gallery-pics-grid .pic-col .short-pic {
		height: 12rem !important;
	}
}

@media (max-width: 568px) {
	.gallery-pics-grid .pic-col .full-pic {
		height: 35rem !important;
	}
	.gallery-pics-grid .pic-col .tall-pic,
	.gallery-pics-grid .pic-col .short-pic {
		height: 15rem !important;
	}
}



/* *****************************
 * PROPERTY PAGES
 * *************************** */
.floor-plan-image-wrapper img {
    height: 20rem !important;
    object-fit: contain;
}


/* *****************************
 * PROPERTY PAGES NAV BAR
 * *************************** */
.page-nav .elementor-widget-icon-list {
    width: 100%;
}
.page-nav ul.elementor-icon-list-items {
  display: flex;
  gap: 0;
}
.page-nav ul li a,
.on-page-nav ul li a {
	padding: 1rem 0;
}
.page-nav .responsive-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #0B0B0B;
  background-image: url('/wp-content/uploads/2023/05/arrow-down-white.png');
  background-position: right 1rem top 60%, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: 25px;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  color: #FFF;
  cursor: pointer;
  display: none; /* Hidden by default, shown below 1200px */
  font-size: 1rem;
  font-size: max(15px, 1.175rem);
  line-height: 1.3;
  margin: 0 auto;
  max-width: 100%;
  min-width: 300px;
  opacity: 0;
  padding: .75rem 1.5rem .75rem .5rem;
}
/* Hide arrow icon in IE browsers */
.select-css::-ms-expand {
  display: none;
}

@media (max-width: 1200px) {
	.page-nav ul.elementor-icon-list-items {
		display: none !important;
	}
	.page-nav .responsive-select {
		display: block;
		opacity: 1;
	}
}


/* *****************************
 * PROPERTY PAGES ON PAGE NAV BAR
 * *************************** */
@media (max-width: 1200px) {
	.on-page-nav {
		padding: 0 !important;
	}	
	.on-page-nav .elementor-widget-icon-list {
		width: 100%;
	}
	.on-page-nav ul {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	.on-page-nav ul li {
		border-bottom: 1px solid #fff;
		width: 100%;		
	}	
}


/* *****************************
 * EMBEDPRESS PDF
 * *************************** */
.PDF-container .embedpress-elements-wrapper .ose-embedpress-responsive, 
.PDF-container .embedpress-elements-wrapper .ose-embedpress-responsive>iframe {
    width: 105rem !important;
}


/* ******************************
 * BLOG TILES GRID
 * *************************** */
.ha-tiles__tile--lg .ha-tiles__tile-title {
	font-size: max(22px, 1.85rem) !important;
}
.ha-tiles__tile--md .ha-tiles__tile-title,
.ha-tiles__tile--sm .ha-tiles__tile-title {
	font-size: max(18px, 1.25rem) !important;
}

@media (max-width: 767px) {
    .ha-tiles.ha-tiles--6.ha-tiles--4by2 {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        grid-template-rows: repeat(1, minmax(200px, 1fr));
    }	
	.ha-tiles__tile {
		grid-row: span 1;
		grid-column: span 2;
	}
}


/* ******************************
 * HOME TEAM TABS
 * *************************** */
.team-tabs .raven-tabs-content {
    padding: 0rem 4rem 4rem;
}
.team-tabs .raven-tabs-title {
    position: relative;
    background-size: cover;
    background-position: center;
    justify-content: flex-start !important;
    overflow: hidden !important;
    transition: transform 0.5s ease-in-out;
}
.team-tabs .raven-tabs-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply !important;
    transition: all 0.5s ease-in-out;
    z-index: 0;
    will-change: transform;
}
.team-tabs .raven-tabs-title:hover::before {
    transform: scale(1.05);
}
.team-tabs .raven-tabs-title-text {
    position: relative;
	z-index: 10;
	white-space: normal;
}
.team-tabs .raven-tabs-title .raven-tabs-title-text b {
	transition: all .5s ease-in-out;
}
.team-tabs .raven-tabs-title:hover .raven-tabs-title-text b {
	color: #007FB3;
	transition: all .5s ease-in-out;
}

@media (min-width: 1025px) {
	.team-tabs .raven-tabs-title {
	    width: 33% !important;
	}	
}

@media (max-width: 1024px) {
	.team-tabs .raven-tabs-content {
	    padding: 0rem 2rem 2rem !important
	}
}

.team-tabs .raven-tabs-title[data-tab="1"]::before {
	background-image: url(/wp-content/uploads/2024/11/BG-Richmond-Great-Point-Nantucket-pexels-david-kanigan.jpg) !important;	
}
.team-tabs .raven-tabs-title[data-tab="2"]::before {
	background-image: url(/wp-content/uploads/2024/11/BG-Richmond-Great-Point-Nantucket-pexels-david-kanigan-Lighthouse.jpg) !important;
	/* z-index: 1; */
}
.team-tabs .raven-tabs-title[data-tab="3"]::before {
	background-image: url(/wp-content/uploads/2024/11/BG-Richmond-Great-Point-Beach-jack-cohen-9dL.jpg) !important;
}


/* ******************************
 * HALF IMAGE / HALF TEXT SECTIONS
 * *************************** */
@media (max-width: 1024px) {
	.container-cols-img-txt .text-col,
	.container-cols-img-txt .large-bg-img {
		width: 100% !important;
	}
}