/*
Theme Name: Sylvia Morris Rebuild
Description: Clean child theme for the Sylvia Morris recovery rebuild.
Template: Divi
Version: 0.1.0
Text Domain: sylvia-morris-rebuild
*/

:root {
	--sm-lime: #c6ed65;
	--sm-navy: #190b46;
	--sm-black: #000;
}

@media (min-width: 1301px) {
	#et-top-navigation {
		margin-right: 40px;
	}

	#top-menu li {
		padding-left: 7px;
		padding-right: 7px;
	}
}

/* Divi's native header supplies the markup and menu behavior. These two
 * source-measured rules only restore its earlier mobile breakpoint and label. */
@media (max-width: 1300px) {
	#top-menu-nav {
		display: none;
	}

	#et_mobile_nav_menu {
		display: block;
	}

	#et_mobile_nav_menu .mobile_nav .select_page {
		display: block;
		float: left;
		font-size: 0;
		padding-right: 5px;
		padding-top: 2px;
	}

	#et_mobile_nav_menu .mobile_nav .select_page::after {
		content: "Menu";
		font: 600 14px/1 Arial, Helvetica, sans-serif;
	}
}

@media (max-width: 980px) {
	#main-header .container {
		max-width: 100%;
		padding-left: 30px;
		padding-right: 32px;
		width: 100%;
	}

	#logo {
		max-width: 220px !important;
		width: 220px;
	}

	#et_mobile_nav_menu {
		transform: translateX(-22px);
	}
}

/*
 * Page-specific positioning for the photographed hero. The images and text
 * remain normal, editable Divi modules; these rules only reproduce their
 * overlapping placement in the visual reference.
 */
.sm-home-hero,
.sm-home-hero .et_pb_row,
.sm-home-hero .et_pb_column {
	height: 680px;
	overflow: hidden;
	position: relative;
}

.sm-home-hero .et_pb_row {
	width: 100% !important;
	max-width: none !important;
}

.sm-home-hero-portrait {
	bottom: -1px;
	left: calc(50% - 440px);
	margin: 0 !important;
	max-height: 85%;
	position: absolute;
	width: min(31vw, 407px);
	z-index: 1;
}

.sm-home-hero-portrait img {
	display: block;
	height: auto;
	max-height: 100%;
	width: 100%;
}

.sm-home-hero-phone {
	left: calc(50% + 270px);
	margin: 0 !important;
	position: absolute;
	right: auto;
	top: 118px;
	transform: translateX(-50%);
	z-index: 2;
}

.sm-home-hero-phone p,
.sm-home-hero-phone a {
	color: var(--sm-navy) !important;
	font: 700 70px/1 Arial, Helvetica, sans-serif;
	margin: 0;
	text-decoration: none;
}

.sm-home-open-houses-heading h1 {
	box-shadow: 0 6px 12px rgba(0, 0, 0, .18);
	color: var(--sm-black);
	font: 700 40px/1 Arial, Helvetica, sans-serif;
	letter-spacing: .28em;
	margin: 0 auto 65px;
	padding: 9px 20px 10px;
	text-transform: uppercase;
}

.sm-home-credentials {
	background-color: #fff !important;
	padding: 54px 0 !important;
}

.sm-home-testimonials {
	background-color: var(--sm-navy) !important;
	padding: 0 !important;
}

.sm-home-testimonial-slider {
	margin-bottom: 0 !important;
}

.sm-home-testimonial-slider .et_pb_slide {
	background-color: var(--sm-navy) !important;
}

.sm-home-testimonial-slider .et_pb_container {
	max-width: none !important;
	width: 100% !important;
}

.sm-home-testimonial-slider .et_pb_slide_description {
	padding: 88px 0 67px !important;
	width: 100% !important;
}


.sm-home-testimonial-slide {
	display: grid;
	gap: 7%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 89%;
}

.sm-home-testimonial-card {
	color: #fff !important;
	font: 400 15px/1.6 Arial, Helvetica, sans-serif;
	text-align: center;
}

.sm-home-testimonial-card img {
	display: block;
	height: auto;
	margin: 0 auto 50px;
	max-width: 35px;
}

.sm-home-testimonial-card p {
	color: inherit !important;
	font: inherit;
	margin: 0;
	padding: 0;
}

.sm-home-testimonial-card strong {
	font-weight: 700;
}

.sm-home-communities {
	padding: 100px 0 !important;
}

.sm-home-communities-heading h2 {
	color: var(--sm-black);
	font: 300 48px/1.12 Arial, Helvetica, sans-serif;
	letter-spacing: .01em;
	margin: 0 0 82px;
	text-align: center;
	text-transform: uppercase;
}

.sm-home-communities-heading h2 strong {
	font-weight: 700;
}

.sm-home-community-logo {
	margin: 0 auto 62px !important;
	max-width: 262px;
	text-align: center;
}

.sm-home-footer,
.sm-site-footer {
	background-color: #0d0d0d !important;
	padding: 65px 0 30px !important;
}

.sm-home-footer-logo,
.sm-site-footer-logo {
	margin: 0 0 28px !important;
	max-width: 255px;
}

.sm-home-footer-contact h4,
.sm-site-footer-contact h4 {
	color: #707070;
	font: 600 16px/1.4 Arial, Helvetica, sans-serif;
	margin: 0 0 15px;
	padding: 0;
	text-transform: uppercase;
}

.sm-home-footer-contact,
.sm-home-footer-contact p,
.sm-home-footer-contact a,
.sm-site-footer-contact,
.sm-site-footer-contact p,
.sm-site-footer-contact a {
	color: #fff !important;
	font: 400 16px/1.5 Arial, Helvetica, sans-serif;
}

.sm-home-footer-contact p,
.sm-site-footer-contact p {
	margin: 0 0 20px;
	padding: 0;
}

body.home #main-footer {
	display: none;
}

body.page-id-11 #main-footer {
	display: none;
}

body.page-id-6 #main-footer {
	display: none;
}

body.page-id-7 #main-footer {
	display: none;
}

body.page-id-8 #main-footer {
	display: none;
}

body.page-id-9 #main-footer {
	display: none;
}

body.page-id-10 #main-footer {
	display: none;
}

body.page-id-16 #main-footer {
	display: none;
}

body.page-id-12 #main-footer {
	display: none;
}

body.page-id-13 #main-footer {
	display: none;
}

body.page-id-15 #main-footer { display: none; }
body.page-id-14 #main-footer { display: none; }

.sm-listings-page {
	padding: 54px 0 30px !important;
}

.sm-listing-card {
	border-bottom: 1px solid #e7e7e7;
	padding: 0 0 52px !important;
	margin-bottom: 48px !important;
}

.sm-listing-card:last-child {
	border-bottom: 0;
	margin-bottom: 0 !important;
}

.sm-listing-tagline h3 {
	color: #000;
	font: 700 21px/1.3 Arial, Helvetica, sans-serif;
	margin: 0 0 20px;
	padding: 0;
	text-align: center;
}

.sm-listing-image {
	border: 1px solid #ddd;
	margin: 0 !important;
}

.sm-listing-image .et_pb_image_wrap,
.sm-listing-image img {
	display: block;
	width: 100%;
}

.sm-listing-copy,
.sm-listing-copy p {
	color: #232323;
	font: 400 18px/1.35 Arial, Helvetica, sans-serif;
}

.sm-listing-copy h2 {
	color: #000;
	font: 700 27px/1.2 Arial, Helvetica, sans-serif;
	margin: 0 0 10px;
	padding: 0;
}

.sm-listing-copy h2 + h2 {
	margin-bottom: 24px;
}

.sm-listing-copy p {
	margin: 0 0 17px;
	padding: 0;
}

.sm-listing-contact,
.sm-listing-contact p {
	color: #515051;
	font: 400 20px/1.25 Arial, Helvetica, sans-serif;
}

.sm-listing-contact p {
	margin: 0 0 8px;
	padding: 0;
}

.sm-listing-contact a {
	color: inherit;
}

.sm-solds-page {
	padding: 56px 0 30px !important;
}

.sm-solds-heading h1 {
	color: #000;
	font: 300 46px/1.15 Arial, Helvetica, sans-serif;
	margin: 0 0 20px;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}

.sm-sold-card {
	margin-bottom: 48px !important;
}

.sm-sold-image {
	border: 1px solid #ddd;
	margin: 0 0 14px !important;
}

.sm-sold-image .et_pb_image_wrap,
.sm-sold-image img {
	display: block;
	width: 100%;
}

.sm-sold-caption h3 {
	color: #000;
	font: 700 18px/1.35 Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	text-align: center;
}

.sm-sold-caption em {
	font-weight: 400;
}

.sm-contact-page {
	padding: 65px 0 35px !important;
}

.sm-contact-page h1 {
	color: #000;
	font: 700 38px/1.2 Arial, Helvetica, sans-serif;
	margin: 0 0 16px;
	padding: 0;
}

.sm-contact-page p {
	color: #232323;
	font: 400 18px/1.35 Arial, Helvetica, sans-serif;
}

.sm-contact-social img {
	display: inline-block;
	height: 34px;
	margin-right: 18px;
	width: 34px;
}

.sm-contact-photo {
	margin: 0 !important;
}

.sm-contact-photo img {
	display: block;
	width: 100%;
}

.sm-page-content {
	padding: 80px 0 !important;
}

.sm-page-heading h1 {
	color: var(--sm-black);
	font: 300 48px/1.12 Arial, Helvetica, sans-serif;
	margin: 0 0 28px;
	text-transform: uppercase;
}

.sm-page-heading h1 strong {
	font-weight: 700;
}

.sm-team-page {
	padding: 55px 0 109px !important;
}

.sm-team-page .et_pb_row:first-child {
	margin-bottom: -32px;
	padding-bottom: 0 !important;
}

.sm-team-page .sm-page-heading h1 {
	margin-bottom: 0;
	padding-bottom: 10px;
}

.sm-team-page .sm-page-heading {
	margin-bottom: 0 !important;
}

.sm-team-member-image {
	border: 9px ridge rgba(191, 191, 191, .99);
	box-shadow: 10px 10px 0 rgba(0, 0, 0, .3);
	margin: 0 0 30px !important;
}

.sm-team-member-copy,
.sm-team-member-copy p {
	color: #222;
	font: 400 18px/1.4 Arial, Helvetica, sans-serif;
}

.sm-team-member-copy p {
	margin: 0 0 20px;
	padding: 0;
}

.sm-team-member-copy a {
	color: #2ea3f2;
}

.sm-about-hero,
.sm-about-hero .et_pb_row,
.sm-about-hero .et_pb_column {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.sm-about-hero-image {
	margin: 0 !important;
}

.sm-about-hero-image .et_pb_image_wrap,
.sm-about-hero-image img {
	display: block;
	height: 490px;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.sm-about-page .et_pb_row {
	padding: 0 0 50px !important;
}

.sm-about-page .sm-page-heading {
	margin: 0 !important;
}

.sm-about-page .sm-page-heading h1 {
	margin-bottom: 0;
}

.sm-about-portrait {
	margin-bottom: 30px !important;
}

.sm-about-contact,
.sm-about-contact p {
	color: #515051;
	font: 400 24px/1.08 Arial, Helvetica, sans-serif;
}

.sm-about-contact p {
	margin: 0 0 12px;
	padding: 0 0 0 30px;
	position: relative;
}

.sm-about-contact p::before {
	border: 2px solid #999;
	border-radius: 50%;
	color: #999;
	content: '•';
	font-size: 20px;
	height: 19px;
	left: 0;
	line-height: 13px;
	position: absolute;
	text-align: center;
	top: 2px;
	width: 19px;
}

.sm-about-contact p:last-child::before {
	content: '✉';
	font-size: 12px;
	line-height: 16px;
}

.sm-about-contact a {
	color: inherit;
}

.sm-about-copy,
.sm-about-copy p {
	color: #232323;
	font: 400 18px/1.33 Arial, Helvetica, sans-serif;
}

.sm-about-copy p {
	margin: 0 0 19px;
	padding: 0;
}

.sm-about-interview h2 {
	color: #000;
	font: 300 42px/1.2 Arial, Helvetica, sans-serif;
	padding: 0 0 15px;
	text-transform: uppercase;
}

.sm-about-interview p {
	color: #232323;
	font: 400 18px/1.33 Arial, Helvetica, sans-serif;
}

.sm-about-testimonials {
	background-color: #190b46 !important;
}

.sm-about-awards {
	background-color: #687ead !important;
	background-position: right top !important;
	background-repeat: no-repeat !important;
	background-size: 62% 100% !important;
}

.sm-about-awards .et_pb_row {
	margin: 0 auto;
	max-width: 1080px;
	padding: 0;
}

.sm-about-awards-copy {
	background-color: #687ead;
	padding: 50px 0 !important;
}

.sm-about-awards-copy,
.sm-about-awards-copy p,
.sm-about-awards-copy li {
	color: #fff;
	font: 400 18px/1.33 Arial, Helvetica, sans-serif;
}

.sm-about-awards-copy h2 {
	color: #fff;
	font: 600 44px/1.23 Arial, Helvetica, sans-serif;
	padding: 0 0 10px;
}

.sm-about-awards-copy p {
	margin: 0 0 30px;
	padding: 0;
}

.sm-about-awards-copy ul {
	height: 268px;
	margin: 0;
	overflow: auto;
	padding: 0 18px 0 20px;
}

.sm-buyers-hero,
.sm-buyers-hero .et_pb_row,
.sm-buyers-hero .et_pb_column {
	height: 490px;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.sm-buyers-page {
	padding: 72px 0 55px !important;
}

.sm-buyers-intro,
.sm-buyers-intro p {
	color: #666;
	font: 400 28px/1.06 Arial, Helvetica, sans-serif;
	margin: 0 0 24px;
	padding: 0;
}

.sm-buyers-intro strong {
	font-weight: 700;
}

.sm-buyers-form .et_pb_contact_field {
	margin-bottom: 20px !important;
}

.sm-buyers-form .input {
	background-color: #eee !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #777 !important;
	font: 400 15px/1.3 Arial, Helvetica, sans-serif !important;
	padding: 16px !important;
}

.sm-buyers-form textarea.input {
	min-height: 216px;
}

.sm-buyers-form .et_contact_bottom_container {
	margin-top: 9px;
}

.sm-buyers-form .et_pb_contact_submit {
	border-color: #2ea3f2 !important;
	border-radius: 3px !important;
	color: #2ea3f2 !important;
	font: 400 20px/1.7 Arial, Helvetica, sans-serif !important;
	padding: .3em 1em !important;
}

.sm-contact-details-row {
	padding-top: 10px !important;
}

.sm-contact-details,
.sm-contact-details p {
	color: #666;
	font: 400 20px/1.25 Arial, Helvetica, sans-serif;
}

.sm-contact-details p {
	margin: 0 0 24px;
	padding: 0;
}

.sm-contact-details strong {
	font-weight: 700;
}

.sm-contact-details a {
	color: #2ea3f2;
}

.sm-contact-map iframe {
	display: block;
	max-width: 100%;
	width: 100%;
}

.sm-resources-page {
	padding: 74px 0 0 !important;
}

.sm-resources-heading h1 {
	color: #000;
	font: 300 48px/1.12 Arial, Helvetica, sans-serif;
	margin: 0 0 28px;
	text-transform: uppercase;
}

.sm-resources-heading h1 strong { font-weight: 700; }
.sm-resource-row { padding: 0 0 44px !important; }
.sm-resource-card { color: #232323; font: 400 18px/1.34 Arial, Helvetica, sans-serif; }
.sm-resource-photo { margin: 0 0 17px !important; text-align: left; }
.sm-resource-photo .et_pb_image_wrap,
.sm-resource-gallery-image .et_pb_image_wrap {
	border: 9px ridge rgba(191, 191, 191, .99);
	box-shadow: 10px 10px 0 rgba(0, 0, 0, .3);
}
.sm-resource-photo img { display: block; max-height: 450px; object-fit: cover; width: 100%; }
.sm-resource-info { margin-bottom: 15px !important; }
.sm-resource-info p,
.sm-resource-copy p { color: #232323; font: 400 18px/1.34 Arial, Helvetica, sans-serif; }
.sm-resource-info strong { color: #000; }
.sm-resource-info a { color: #190b46; overflow-wrap: anywhere; }
.sm-resource-copy p { margin: 0 0 1em; }
.sm-resource-gallery { margin-bottom: 34px !important; }
.sm-resource-gallery .et_pb_column { margin-bottom: 25px; }
.sm-resource-gallery-image { margin: 0 !important; text-align: left; }
.sm-resource-gallery-image img { display: block; width: 100%; }
.sm-resource-form-row { padding-bottom: 74px !important; }
.sm-resources-form .et_pb_contact_main_title:before { content: 'Request For More Information:'; }
.sm-resources-form .et_pb_contact_main_title { font-size: 0; }

.sm-calculators-page { min-height: 520px; padding: 72px 0 !important; }
.sm-ratehub-calculator { margin: 0 auto !important; max-width: 825px; }
.sm-ratehub-calculator h2 { font: 600 30px/1.2 Arial, Helvetica, sans-serif; }
.sm-ratehub-calculator h2 a { color: #2ea3f2; }
.sm-ratehub-calculator p { color: #666; font: 400 16px/1.4 Arial, Helvetica, sans-serif; }

.sm-market-watch-page { padding: 74px 0 0 !important; }
.sm-market-watch-heading h1 { color: #000; font: 300 48px/1.12 Arial, Helvetica, sans-serif; margin: 0 0 28px; text-transform: uppercase; }
.sm-market-watch-heading h1 strong { font-weight: 700; }
.sm-market-watch-row { padding: 0 0 34px !important; }
.sm-market-watch-label h2 { color: #000; font: 700 20px/1.2 Arial, Helvetica, sans-serif; margin: 0 0 15px; text-align: center; }
.sm-market-watch-image { margin: 0 !important; }
.sm-market-watch-image img { display: block; width: 100%; }
.sm-newsletter-heading-row { padding-top: 22px !important; }
.sm-newsletter-row { padding-bottom: 45px !important; }
.sm-market-watch-form-row { padding-bottom: 74px !important; }
.sm-newsletter-form .et_pb_contact_main_title:before { content: 'Request For A Newsletter'; }
.sm-newsletter-form .et_pb_contact_main_title { font-size: 0; }

.sm-community-page { padding: 74px 0 0 !important; }
.sm-community-heading h1 { color: #000; font: 300 48px/1.12 Arial, Helvetica, sans-serif; margin: 0 0 28px; text-transform: uppercase; }
.sm-community-heading h1 strong { font-weight: 700; }
.sm-community-row { padding: 0 0 35px !important; }
.sm-community-image { margin: 0 0 15px !important; }
.sm-community-image img { display: block; width: 100%; }
.sm-community-caption p { color: #232323; font: 400 18px/1.34 Arial, Helvetica, sans-serif; }

@media (max-width: 980px) {
	.sm-home-hero,
	.sm-home-hero .et_pb_row,
	.sm-home-hero .et_pb_column {
		height: 722px;
	}

	.sm-home-hero {
		background-position: 47% center !important;
	}

	.sm-home-hero-portrait {
		bottom: 188px;
		left: 50%;
		max-height: 83%;
		transform: translateX(-50%);
		width: min(78vw, 340px);
	}

	.sm-home-hero-phone {
		bottom: 45px;
		left: auto;
		right: 0;
		top: auto;
		transform: none;
		width: 100%;
	}

	.sm-home-hero-phone p,
	.sm-home-hero-phone a {
		font-size: clamp(56px, 17vw, 72px);
		line-height: .98;
	}

	.sm-home-open-houses-heading h1 {
		font-size: 31px;
		letter-spacing: .22em;
	}

	.sm-home-credentials {
		padding: 50px 0 !important;
	}

	.sm-home-testimonials {
		padding: 0 !important;
	}

	.sm-home-testimonial-slider .et_pb_slide_description {
		padding: 58px 0 54px !important;
	}

	.sm-home-testimonial-slide {
		gap: 36px;
		grid-template-columns: 1fr;
		max-width: 80%;
	}

	.sm-home-testimonial-card img {
		margin-bottom: 26px;
	}

	.sm-home-communities {
		padding: 72px 0 34px !important;
	}

	.sm-home-communities-heading h2 {
		font-size: 33px;
		margin-bottom: 58px;
	}

	.sm-home-community-logo {
		margin-bottom: 42px !important;
	}

	.sm-home-footer,
	.sm-site-footer {
		padding: 55px 0 25px !important;
	}

	.sm-home-footer-logo,
	.sm-site-footer-logo {
		margin: 0 auto 28px !important;
		max-width: 230px;
	}

	.sm-home-footer-contact,
	.sm-site-footer-contact {
		text-align: center;
	}

	.sm-page-content {
		padding: 54px 0 !important;
	}

	.sm-team-page {
		padding: 50px 0 !important;
	}

	.sm-page-heading h1 {
		font-size: 35px;
	}

	.sm-about-hero-image .et_pb_image_wrap,
	.sm-about-hero-image img {
		height: 280px;
	}

	.sm-about-contact,
	.sm-about-contact p {
		font-size: 20px;
	}

	.sm-about-interview h2 {
		font-size: 31px;
	}

	.sm-about-awards {
		background-image: none !important;
	}

	.sm-about-awards-copy {
		padding: 50px 0 !important;
	}

	.sm-buyers-hero,
	.sm-buyers-hero .et_pb_row,
	.sm-buyers-hero .et_pb_column {
		height: 280px;
	}

	.sm-buyers-page {
		padding: 52px 0 !important;
	}

	.sm-buyers-intro,
	.sm-buyers-intro p {
		font-size: 23px;
	}

	.sm-listings-page {
		padding: 50px 0 20px !important;
	}

	.sm-listing-card {
		padding-bottom: 38px !important;
		margin-bottom: 35px !important;
	}

	.sm-listing-tagline h3 {
		font-size: 19px;
	}

	.sm-listing-copy h2 {
		font-size: 24px;
	}

	.sm-solds-heading h1 {
		font-size: 34px;
	}
}
