﻿
/*MISC*/

.custom .kadence-sticky-header.item-is-fixed.item-is-stuck {border-bottom: 1px solid #ccc;}
.custom blocks-gallery-caption figcaption, .custom .wp-block-embed figcaption, .custom .wp-block-image figcaption, .custom .wp-block-table figcaption, .custom .wp-block-audio figcaption, .custom .wp-block-video figcaption {color: var(--global-palette2);}
a.post-more-link{font-weight:bold;letter-spacing:.05em;text-transform:uppercase;font-size:80%;}, a.post-more-link .kadence-svg-iconset{margin-left:.5em;}, .wp-block-kadence-posts a.post-more-link{text-decoration:none;color:inherit;}, .wp-block-kadence-posts a.post-more-link:hover{color:var(--global-palette-highlight, #3182CE);}, .more-link-wrap{margin-top:var(--global-xs-spacing, 1em);margin-bottom:0;}
.custom a.post-more-link, .custom .wp-block-kadence-posts a.post-more-link {padding: 8px 10px 8px 10px;}
.mcq-home-blog-grid div.entry-content-wrap, .featured-listing-post-grid div.entry-content-wrap  {padding: 1.5rem;}
.custom .kb-dynamic-list.kb-dynamic-list-style-pill li { margin-right: .25rem; padding: .25rem .5rem;}
.custom .kb-dynamic-list-style-pill .kb-dynamic-list-item { border: 1px solid #aaa;}
.custom .mcq-menu-search.wp-block-search .wp-block-search__input {border-color: #ddd;}
.inline-icon-title {  display: flex; align-items: normal; gap: 10px;}
.inline-icon-title .kt-svg-icon { margin: 0; line-height: 0; vertical-align: middle;}
.inline-icon-title h2, .inline-icon-title h3 { margin: 0; line-height: 1.2;}
.single-content h2.mcq-faq-heading,.single-content h3.mcq-video-heading,.single-content h3.mcq-insight-heading, .single-content h2.mcq-stats-heading {margin: .15em 0 0.5em;}
.mobile-transparent-header .mcq-header-phone, .transparent-header .mcq-header-phone {color: var(--global-palette9);}
.custom .yoast-breadcrumbs.kadence-breadcrumbs {color: var(--global-palette9);}  
.custom .yoast-breadcrumbs.kadence-breadcrumbs a:hover {color: #c7e6ff;} 	
.custom.wp-singular.single.single-post .hero-container.site-container {margin-top: 50px;}



/*Condo and Homes CPT*/
.mcq-cpt-header-r .wp-block-kadence-image .kb-image-ratio-land21 {padding-bottom: 40%;}  /* reduce header image height using 2:1 image ratio setting (from 50% to 40% padding */
.custom .wp-block-cover, .wp-block-cover-image {min-height: 200px;}
.custom .wp-block-separator.has-background.mcq-divider:not(.is-style-dots):not(.is-style-wide) {color: #fefefe; height:1px;}
:root .has-theme-palette-8-background-color.mcq-divider {color: #fefefe;}
.custom .wp-block-table.mcq-price-table td {border: 1px solid var(--global-palette8);}
.bf-line1 {line-height: 1, margin: 10px 0;} .bf-line2 {line-height:1; margin: 0;} .bf-line3 {font-family: Antonio, sans-serif; margin: 30px 0 0;} .bf-line4 {margin: 0;}
.custom a.scroll-to.button.small.mcq-btn { background: var(--global-palette9); border: 1px solid var(--global-palette4); color: var(--global-palette4); font-size: 12px; font-weight: 600; padding: 8px; text-decoration: none;}
.mcq-2img-cta em { color: var(--global-palette1);  font-size: 130%; font-weight:600; }
.mcq-2img-cta-page-title h2 {font-size: 40px; font-weight:900;}
.mcq-insight-box-title { display: inline-block; text-transform: uppercase;}
.fa-smile::before, .fa-meh::before, .fa-shopping-cart::before, .fa-utensils::before, .fa-umbrella-beach::before, .fa-swimmer::before, .fa-city::before {color: var(--global-palette1); margin: 0 7px 0 0;}
.custom :where(.wp-block-columns.mcq-insight-box-cols.has-background){padding: 0 0;}
.custom p.mcq-insight-box-title {margin-bottom: var(--global-xs-spacing)}
.custom .mcq-insight-box-col-1, .custom .mcq-insight-box-col-2, .custom .mcq-insight-box-col-3 {margin-bottom: 20px}
.custom .wp-block-columns.mcq-insight-box-cols { margin-bottom: 0}
.custom .envira-gallery-wrap .envira-pagination {border-top: 2px solid var(--global-palette1); padding-top: 20px; text-align: center;}
.custom .envira-gallery-wrap .envira-pagination span.page-numbers.current {background: var(--global-palette1);color: #fff;font-weight: bold;padding: 18px 20px;}/* Active page number */
.custom .envira-gallery-wrap .envira-pagination a.page-numbers {font-weight: bold;padding: 20px;border: 1px solid #ccc;}/* Inactive page numbers */
.custom .envira-gallery-theme-polaroid .envira-gallery-item:nth-child(3n) .envira-gallery-item-inner { transform: rotate(-2deg)!important;} /*our listing page*/
.mcq-navbar-bottom a {padding: 0 10px;}
.mcq-generated-list { display: flex; gap: 24px; align-items: flex-start;}
.mcq-generated-list ul { flex: 1; margin: 0; padding-left: 18px;}
.custom .quick-links li { line-height: 1.1; padding: 5px 0;}
.custom .quick-links li a { color:#0052c0;}
.mcq-acf-video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9;}
.mcq-acf-video-wrap iframe { width: 100%; height: 100%;}
.mcq-acf-image-wrap { width: 100%; max-width: none; margin: 0; padding: 0;}
.mcq-acf-image-wrap img, .mcq-acf-image { display: block; width: 100%; max-width: none; height: auto;}
div#mcq-video:not(:has(iframe)) { display: none!important;}
.mcq-overview-table.wp-block-table .has-border-color td {border-color: #d6d6d6;}

/*Secondary Menu By Shortcode used in kadence templates*/
.custom-secondary-nav { width: 100%; margin-bottom: 0;}
.custom-secondary-nav .custom-menu { display: flex; flex-direction: column; justify-content: flex-start; list-style: none; margin: 0; padding: 0;}
.custom-secondary-nav .menu-item { border-bottom: 1px solid #e5e5e5; position: relative;}
.custom-secondary-nav .menu-item:last-child { border-bottom: none;}
.custom-secondary-nav a { display: block; padding: 16px 20px; text-decoration: none; color: #fff; font-weight: 500; text-align: center; font-size: 18px;}
.custom-secondary-nav a:hover { background: #748ea2; color: #fff;}
.custom-secondary-nav .current-menu-item > a { background: #748ea2;}

/*NEW*/
.mcq-amenities-row-2 div.kt-row-column-wrap { gap: inherit;} /*fix bullet lists in mobile view*/

/*Condo and Homes Archives CPT*/
.custom .envirabox-bg {background: var(--global-palette1);}
.custom .site-footer-row.site-footer-row-columns-1 .site-footer-section { text-align: left;}
.yn.yes { color: #2e7d32; font-weight: 600;}
.yn.no { color: #c62828; font-weight: 500;}

/* Featured Listing CPT*/

/* HEIGHT CONTROL (same behavior as Kadence video block) */

/* MOBILE FIRST (default) */
.acf-video-ratio { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 for mobile */}

/* VIDEO LAYER */
.acf-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden;}

/* VIDEO (cover behavior) */
.acf-video-wrap iframe { position: absolute; top: 50%; left: 50%; width: max(177.78vh, 100vw); height: max(100vh, 56.25vw); transform: translate(-50%, -50%); pointer-events: none;}

/* REMOVE KADENCE WIDTH CONSTRAINT */
.kb-row-layout-wrap.acf-video-bg > .kt-row-column-wrap { max-width: none; width: 100%;}

/* KEEP CONTENT ABOVE VIDEO */
.kb-row-layout-wrap.acf-video-bg > .kt-row-layout-overlay,.kb-row-layout-wrap.acf-video-bg > .kt-row-column-wrap { position: relative; z-index: 2;}

/* FALLBACK IMAGE */
.acf-image-fallback { background-size: cover; background-position: center; background-repeat: no-repeat;}

/*Video embedd in middle of tempalte, not header*/
.featured-video-embed { position: relative; padding-top: 56.25%;}
.featured-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%;}

/*Featured Image - Small Banner Message Tag*/
/* Force correct positioning context */
.wp-block-post-featured-image a,.wp-block-post-featured-image,.kadence-image,.kb-dynamic-image-wrap,.kb-post-grid-item-image,.post-thumbnail {  position: relative; display: block;}

/* Banner */
.featured-image-banner {position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 3px; z-index: 2;}

/*
**** PLUGINS ****
*/

/* Gravity Forms */
.custom .fine-print, .custom .fine-print-white, .gform_wrapper.gravity-theme .fine-print .gform-field-label {font-size: 10px;}
.custom .fine-print-white .gform-field-label {color: #fff;}
.custom div#gform_wrapper_85.gform_wrapper.gravity-theme .fine-print .gform-field-label, .custom.page-id-32676 div#gform_wrapper_133.gform_wrapper.gravity-theme .fine-print .gform-field-label {color: #fff;}
body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit] { color: #fff;font-size: 18px;padding-top: 15px;padding-bottom: 15px;padding-left: 20px;padding-right: 20px;border: 1px solid rgba(223, 223, 223, 0.4);border-radius: 1px;-moz-border-radius: 3px;-webkit-border-radius: 3px;box-shadow: 0 1px 0px rgba(114, 114, 114, 0.3);-moz-box-shadow: 0 1px 0px rgba(114, 114, 114, 0.3);-webkit-box-shadow: 0 1px 0px rgba(114, 114, 114, 0.3);background-color: var(--global-palette6);}
body .gform_wrapper .gform_footer input[type=submit]:hover {border: 1px solid rgba(223,223,223,0.6);background-color: var(--global-palette2);}
body .gform_wrapper .gform_footer input[type=submit]:active {top: 1px;}
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=range], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], textarea { color: var(--global-palette2)!important;}

/* Gridbuilder Plugin */
.mcq-search-results h4.wpgb-facet-title {margin: 0;}
.mcq-search-results span.wpgb-result-count {font-size: 1em;}
.mcq-search-results.left-margin {margin-left: 15px;}
.custom .wpgb-facet .gm-style .gm-style-iw-d,.custom .wpgb-facet .mapboxgl-popup-content {width: 150px;} /*marker info box*/
.custom .wpgb-facet .gm-style .gm-style-iw-d .wpgb-map-marker-img,.custom .wpgb-facet .mapboxgl-popup-content .wpgb-map-marker-img {max-height: 105px;} /*.custom .wpgb-facet .leaflet-popup-content .wpgb-map-marker-img*/
.custom .wpgb-facet .gm-style .gm-style-iw-d .wpgb-map-marker-body,.custom .wpgb-facet .mapboxgl-popup-content .wpgb-map-marker-body {padding: 10px;} /*.custom .wpgb-facet .leaflet-popup-content .wpgb-map-marker-body*/
.custom .wpgb-facet .gm-style .gm-style-iw-d .wpgb-map-marker-title,.custom .wpgb-facet .mapboxgl-popup-content .wpgb-map-marker-title {/text-align: center;} /*.custom ..wpgb-facet .leaflet-popup-content .wpgb-map-marker-title*/
.custom span.kt-blocks-accordion-title em {font-size: .75em;} /* map open/close accordian*/

/* AeroIDX Plugin */
.custom .single-neighborhoods div.text-xs.opacity-75.text-center.font-lato.font-light {display: none}
.custom .single-condominiums div.text-xs.opacity-75.text-center.font-lato.font-light {display: none}

/* Realscout Website widgets */
.realscout-simple-search { --rs-ss-font-primary-color: #6a6d72; --rs-ss-searchbar-border-color: hsl(0, 0%, 80%); --rs-ss-box-shadow: 0 10px 15px -3px #0000001a; --rs-ss-widget-width: 500px !important;}

/*AeroIDX*/
.custom .mx-auto div.text-xs.opacity-75.text-center.font-lato.font-light {display:none;} /*additonal listings detail pages*/

/* Rate my agent plugin fix to stop widget rotation when perfmatters "remove unused css" is used*/
.custom .wp-block-ratemyagent-review-carousel .swiper-lazy-preloader {display: none!important;}
.custom .swiper-button-prev, .custom .swiper-button-next { width: auto!important; height:auto!important;}

/*
**** MEDIA QUERIES ****
*/

@media (min-width: 768px) {
  .custom-secondary-nav .custom-menu { flex-direction: row; justify-content: center;}
  .custom-secondary-nav .menu-item { border-bottom: none; border-right: 1px solid #acacac;}
  .custom-secondary-nav .menu-item:last-child { border-right: none;}
  .custom-secondary-nav a { padding: 14px 18px; font-size: 16px; text-align: left;}
  .acf-video-ratio { padding-top: 45%;}
}

@media (min-width: 767px) {
  .wp-block-group.mcq-insight-box {min-height: 225px;}
  .mcq-amenities-row-2 div.kt-row-column-wrap {gap: var(--global-row-gutter-md, 2rem) var(--global-row-gutter-md, 2rem);} /*fix bullet list in tablet and wider*/
}

@media (max-width: 767px) {
  .custom .kadence-column24172e-5c > .kt-inside-inner-col { border-bottom: 0; padding-bottom:0;} /* footer: condos widget*/
  .custom .kadence-column57b3f7-62 > .kt-inside-inner-col { padding-left: 0;}
  .mcq-generated-list { flex-direction: column; gap: 0; }
}  
  
@media (min-width: 689px) and (max-width: 767px) { /*fix absolute position issue*/
    .custom .kb-row-layout-wrap.wp-block-kadence-rowlayout .mcq-featured-image-header { margin-top: -317px;}
}

@media (min-width: 1024px) {
    .acf-video-ratio { padding-top: 35%; }
}

