/*
Theme Name: RiverShores Realty 2026
Version: 2026.07.26.01
Author: Tidemark Marketing
template: bb-theme
*/

html {font-size: 62.5%;}
html body {font-size: 1.8rem; background-color: #f7f2f0;}

strong {font-weight: 700;}

h1 {font-size: 4rem;}
h2 {font-size: 3rem;}
h3 {font-size: 2.4rem;}
h4 {font-size: 1.8rem;}
h1, h2, h3, h4 {
	line-height: 1.3;
	color: #000;
}

body > div.fl-page > header p,
body > div.fl-page > footer p {
	margin-bottom: 0;
}

.fl-page-content p {
	margin-bottom: 2rem;
}
.fl-page-content a {
	text-decoration: underline;
}

.heading-lines {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	width: 100%;
	white-space: nowrap;
}

.heading-lines::before,
.heading-lines::after {
	content: "";
	flex: 1;
	height: 3px;
	max-width: 85px;
	background: #b59a63;
}

/* nav > #menu-primary a {
	text-decoration: none;
	position: relative;
}
nav > #menu-primary a::after {
	content: '';
	position: absolute;
	left: 10%;
	bottom: -2px;
	width: 80%;
	height: 2px;
	background-color: #fff;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}	
nav > #menu-primary a:hover::after,
nav > #menu-primary .current-menu-item a::after {
	transform: scaleX(1);
} */

.fl-page input:not([type=button]):not([type=submit]):not([type=search]),
.fl-page textarea,
.fl-page button {
	border-radius: 0 !important;
}

.fl-page input:not([type=button]):not([type=submit]):not([type=search]),
.fl-page textarea {
	font-size: 1.6rem !important;
	background-color: #fff !important;
	color: #000 !important;
}

h2.hero {
	max-width: 975px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.4;
}


.hero-text {
	background: linear-gradient(
		to right,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.75) 20%,
		rgba(255,255,255,0.85) 50%,
		rgba(255,255,255,0.75) 80%,
		rgba(255,255,255,0) 100%
	);
}

/* ========================================
   RiverShores MLS Search
======================================== */
.rivershores-search-row {
	position: relative; 
	z-index: 20; 
	margin-top: -73px; 
	margin-bottom: -73px; 
}

.rivershores-mls-search {
	position: relative;
	z-index: 21;
	width: min(1420px, 76%);
	padding: 16px 24px 22px;
	margin: 0 auto;
	background: #3b4a46;
	box-shadow:
	0 12px 30px rgba(29, 42, 39, 0.14);
}


/* Search the Coast heading */
.mls-search-title {
	margin-bottom: 13px;
	font-size: 1.7rem;
	letter-spacing: 2.8px;
	text-align: center;
	color: #B59A63;
	font-weight: 500;
	text-transform: uppercase;
}


/* Search controls */
.mls-search-form {
	display: grid;
	
	grid-template-columns:
	minmax(190px, 0.9fr)
	minmax(240px, 1.2fr)
	minmax(190px, 0.9fr)
	180px;
	
	gap: 12px;
	
	align-items: stretch;
}


/* Individual dropdown */
.mls-field {
	background: #faf8f4;
	border: 1px solid #e3dfd8;
	padding: 9px 16px 8px;
}


.mls-field label {
	display: block;
	margin-bottom: 4px;
	color: #B59A63;
	font-size: 1.0rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.25px;
	text-transform: uppercase;
}


.mls-field select {
	width: 100%;
	min-height: 31px;
	padding: 0 30px 0 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #3b4a46;
	font-size: 1.6rem;
	cursor: pointer;
}

/* Focus */
.mls-field:focus-within {
	outline: 2px solid #c8a45f;
	outline-offset: 2px;
}

/* Search button */
.mls-search-button {
	border: 0;
	background: #c8a45f;
	color: #2e423f;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 1.25px;
	text-transform: uppercase;
	cursor: pointer;
	transition:
				background-color 0.2s ease,
				color 0.2s ease;
}


.mls-search-button:hover {
	background: #d7b873;
}


/* Outer scrolling container */
.community-scroll {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;

	width: 100%;
	max-width: 100%;
	min-width: 0;

	overflow-x: auto;
	overflow-y: hidden;

	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;

	box-sizing: border-box;
	overscroll-behavior-x: contain;
}

/* Show 5 full cards plus part of the sixth */
.community-scroll > .community-card {
	flex: 0 0 calc((100% - 60px) / 5.6);
	min-width: 0;
	scroll-snap-align: start;
	box-sizing: border-box;
}

/* Ninja Form titles */
[id^="nf-form-title-"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
}

.nf-form-fields-required {
	display: none;
}
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
	background: #fff !important;
	border: 1px solid #BAB3B0 !important;
	color: #000 !important;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit],
.hb-button-wrapper input[type=submit] {
	padding: 12px 30px;
	background-color: #b81e2c !important;
	color: #fff !important;
}
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover,
.hb-button-wrapper input[type=submit]:hover {
	background-color: #000 !important;
}

/** 992 tablet, 768 mobile **/
/* Tablet */
@media (max-width: 992px) {
	.rivershores-search-row {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	.rivershores-mls-search {
		width: 90%;
	}
	
	.mls-search-form {
		grid-template-columns: 1fr 1fr;
	}
	
	.mls-search-button {
		min-height: 58px;
	}
	
	.community-scroll > .community-card {
		flex-basis: calc((100% - 24px) / 3.35);
	}
}

/* Mobile */
@media (max-width: 768px) {
	.heading-lines {
		gap: 15px;
		white-space: normal;
		text-align: center;
	}

	.heading-lines::before,
	.heading-lines::after {
		max-width: 45px;
		min-width: 25px;
	}
	
	.community-scroll > .community-card {
		flex-basis: 85%;
	}
}

@media (max-width: 600px) {

  .rivershores-search-row {
	margin-top: -25px;
  }

  .rivershores-mls-search {
	width: calc(100% - 30px);

	padding: 18px;
  }

  .mls-search-title {
	font-size: 1.7rem;
	letter-spacing: 1.5px;
  }

  .mls-search-form {
	grid-template-columns: 1fr;
  }

  .mls-field,
  .mls-search-button {
	min-height: 58px;
  }

}

 @media (max-width: 425px) {

 }