
/* Community Map
------------------------------------------- 

Table of contents
	- Single Page
	- Page Loop
	- Media Queries

------------------------------------------- */

/* Variables
-------------------------------------------- */

:root {
	--navy: #173146;
	--yellow: #F4D967;
	--teal: #00A9AF;
	--light-teal: #99DDDF;
	--lightest-teal: #D6F1F2;
	--green: #62BF97;
	--red: #FF5252;
	--white: #fff;
}

/* Structure
-------------------------------------------- */

.fusion-tb-header,
.fusion-page-title-bar,
.fusion-footer {
	display: none;
	visibility: hidden;
}

.page-template-community-map-template #main {
	padding: 0 !important;
}

.page-template-community-map-template #main .fusion-row {
	max-width: 100%;
}

.page-template-community-map-template .container {
	display: flex;
	flex-wrap: wrap;
	padding: 80px 24px;
	gap: 40px;
	width: 100%;
}

.page-template-community-map-template .container:after,
.page-template-community-map-template .container:before,
.page-template-community-map-template .container .row:after,
.page-template-community-map-template .container .row:before {
	display: none;
}

.page-template-community-map-template .container .row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 auto;
	max-width: 1140px;
	width: 100%;
}

.page-template-community-map-template .container .row .col-100,
.page-template-community-map-template .container .row .col-66,
.page-template-community-map-template .container .row .col-50,
.page-template-community-map-template .container .row .col-33 {
	width: 100%;
}

.page-template-community-map-template .container .row .narrow-col {
	margin: 0 auto;
	max-width: 960px;
}

.page-template-community-map-template .container.form-row .row .narrow-col {
	max-width: 640px;
}

/* Typography
-------------------------------------------- */

.page-template-community-map-template {
	color: var(--navy);
	font-family: 'Manrope', sans-serif;
	font-size: 18px;
}

.page-template-community-map-template p {
	margin: 0 0 24px;
}

.page-template-community-map-template p.large-text {
	font-size: 24px;
	font-weight: 900;
}

.page-template-community-map-template h1,
.page-template-community-map-template h2,
.page-template-community-map-template h3 {
	color: var(--navy);
	font-family: 'podium-soft-variable', sans-serif;
	font-variation-settings: "wdth" 100;
	font-weight: 400;
	letter-spacing: 1px;
	margin: 0 0 24px;
}

.page-template-community-map-template h1 {
	color: var(--yellow);
	font-size: 72px;
	letter-spacing: 2px;
}

.page-template-community-map-template h1 span {
	color: var(--navy);
	text-shadow:
		-2px -2px 0 var(--yellow),
	     2px -2px 0 var(--yellow),
	    -2px  2px 0 var(--yellow),
	     2px  2px 0 var(--yellow);
}

.page-template-community-map-template h2 {
	font-size: 40px;
}

.page-template-community-map-template h3 {
	font-size: 32px;
}

.page-template-community-map-template .button,
.page-template-community-map-template input[type="submit"] {
	background-color: var(--navy);
	border: 0;
	border-radius: 8px;
	color: var(--yellow);
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	padding: 12px 24px;
	transition: all 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

.page-template-community-map-template .navy-row .button {
	background-color: var(--yellow);
	color: var(--navy);
}

.page-template-community-map-template .button:focus,
.page-template-community-map-template .button:hover,
.page-template-community-map-template input[type="submit"]:focus,
.page-template-community-map-template input[type="submit"]:hover {
	background-color: var(--yellow);
	color: var(--navy);
}

.page-template-community-map-template .navy-row .button:focus,
.page-template-community-map-template .navy-row .button:hover,
.page-template-community-map-template .navy-row input[type="submit"]:focus,
.page-template-community-map-template .navy-row input[type="submit"]:hover {
	background-color: var(--white);
}

.page-template-community-map-template .yellow-row .button:focus,
.page-template-community-map-template .yellow-row .button:hover,
.page-template-community-map-template .yellow-row input[type="submit"]:focus,
.page-template-community-map-template .yellow-row input[type="submit"]:hover {
	background-color: var(--white);
}

.page-template-community-map-template input[type="submit"][aria-disabled="true"] {
	background-color: #ccc;
	color: #666;
}

.page-template-community-map-template .label-above .nf-field-label {
	margin-bottom: 8px;
}

.page-template-community-map-template .nf-field-description {
	font-size: 14px;
	margin-bottom: 8px;
}

.page-template-community-map-template .nf-field-element input, 
.page-template-community-map-template .nf-field-element select, 
.page-template-community-map-template .nf-field-element textarea {
	border: none;
	padding: 12px 16px;
}

/* Form
-------------------------------------------- */

.page-template-community-map-template .nf-before-form-content {
	font-size: 14px;
	margin-bottom: 40px;
}

.page-template-community-map-template .nf-field-label .nf-label-span, 
.page-template-community-map-template .nf-field-label label {
	font-size: 16px;
}

.page-template-community-map-template .list-checkbox-wrap .nf-field-element li input,
.page-template-community-map-template .list-radio-wrap .nf-field-element li input {
	float: none;
	margin: 0;
	opacity: 0;
	position: absolute;
}

.page-template-community-map-template .listcheckbox-container.stylized-ui li label,
.page-template-community-map-template .listradio-container.stylized-ui li label {
    background-color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: block;
	font-size: 14px;
	margin: 0;
    padding: 8px 12px;
    position: relative;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.page-template-community-map-template .listcheckbox-container.stylized-ui li:focus-within label,
.page-template-community-map-template .listcheckbox-container.stylized-ui li label:hover,
.page-template-community-map-template .listcheckbox-container.stylized-ui li label.nf-checked-label,
.page-template-community-map-template .listradio-container.stylized-ui li:focus-within label,
.page-template-community-map-template .listradio-container.stylized-ui li label:hover,
.page-template-community-map-template .listradio-container.stylized-ui li label.nf-checked-label {
    background-color: var(--navy);
    color: var(--white);
}

.page-template-community-map-template .checkbox-container label,
.page-template-community-map-template .radio-container label {
	font-weight: 400;
}

/* Map Page
-------------------------------------------- */

.page-template-community-map-template header.container,
.page-template-community-map-template footer.container {
	padding: 24px 40px;
}

.page-template-community-map-template header.container .row,
.page-template-community-map-template footer.container .row {
	max-width: 100%;
}

.page-template-community-map-template header .site-title img {
	max-width: 140px;
}

.page-template-community-map-template header .share-col {
	align-items: center;
	color: var(--red);
	display: flex;
	font-size: 14px;
	font-weight: 900;
	gap: 12px;
}

.page-template-community-map-template header .share-col .jssocials-shares {
	align-items: center;
	display: flex;
	gap: 12px;
}

.page-template-community-map-template header .share-col a {
	color: var(--red);
}

.page-template-community-map-template header .share-col a:focus,
.page-template-community-map-template header .share-col a:hover {
	color: var(--white);
}

.page-template-community-map-template .navy-row {
	background-color: var(--navy);
	color: var(--white);
}

.page-template-community-map-template .navy-row h2,
.page-template-community-map-template .navy-row h3 {
	color: var(--white);
}

.page-template-community-map-template .yellow-row {
	background-color: var(--yellow);
}

.page-template-community-map-template .teal-row {
	background-color: var(--lightest-teal);
}

.page-template-community-map-template .teal-row a {
	color: var(--navy);
	font-weight: 900;
	text-decoration: underline;
}

.page-template-community-map-template .teal-row a:focus,
.page-template-community-map-template .teal-row a:hover {
	color: var(--red);
}

.page-template-community-map-template .map-hero-row.container {
	padding: 40px 24px 0;
	overflow: visible;
}

.page-template-community-map-template .row.map-header h2 {
	color: var(--yellow);
	margin-bottom: 0;
}

.page-template-community-map-template .row.map-header p {
	font-size: 20px;
	margin-bottom: 0;
}

.page-template-community-map-template .row.map-wrap {
	margin-bottom: -40px;
	max-width: 1440px;
	position: relative;
	width: 100%;
	z-index: 999;
}

.page-template-community-map-template .community-map-container {
	position: relative;
}

.page-template-community-map-template .community-map-container .map-legend {
	background-color: rgb(255 255 255 / 75%);
	border-radius: 8px;
	color: var(--navy);
	font-size: 14px;
	font-weight: 900;
	left: 16px;
	padding: 12px;
	position: absolute;
	top: 16px;
	z-index: 1;
}

.page-template-community-map-template .community-map-container .map-legend .marker-key {
	align-items: center;
	display: flex;
	gap: 8px;
}

.page-template-community-map-template .community-map-container .map-wrapper {
	border-radius: 24px;
	box-shadow: 0 0 8px rgb(244 217 103 / 60%);
}

.page-template-community-map-template .community-map-container .map-wrapper .gm-style-iw-d,
.page-template-community-map-template .community-map-container .map-wrapper .gm-style-iw-d h3 {
	color: var(--navy);
}

.page-template-community-map-template .community-map-container .map-wrapper .gm-style-iw-d h3 {
	margin-bottom: 16px;
}

.page-template-community-map-template .community-map-container .map-wrapper .gm-style-iw-d p {
	margin-bottom: 4px;
}

.page-template-community-map-template .community-messages-header {
	margin-bottom: 40px;
}

.page-template-community-map-template .community-messages-navigation {
	display: flex;
	gap: 12px;
}

.page-template-community-map-template .swiper-button-next, 
.page-template-community-map-template .swiper-button-prev {
	background-color: var(--yellow);
	border-radius: 24px;
	height: 40px;
	left: unset;
	margin-top: 0;
	position: relative;
	right: unset;
	width: 40px;
}

.page-template-community-map-template .swiper-button-next:after, 
.page-template-community-map-template .swiper-button-prev:after {
	color: var(--navy);
	font-size: 16px;
}

.page-template-community-map-template .light-wrap,
.page-template-community-map-template .message-wrap {
	margin-bottom: 24px;
}

.page-template-community-map-template .light-wrap img {
	width: 24px;
}

.page-template-community-map-template .member-identification {
	font-weight: 900;
	margin-bottom: 0;
}

.page-template-community-map-template button.read-more-btn {
	background-color: transparent;
	border: none;
	color: var(--navy);
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	padding: 0;
	text-decoration: underline;
	transition: all 0.2s ease-in-out;
}

.page-template-community-map-template button.read-more-btn:after {
	content: '\f107';
	display: inline-block;
	font-family: 'Font Awesome 6 Pro';
	margin-left: 8px;
}

.page-template-community-map-template button.read-more-btn[aria-expanded="true"]:after {
	content: '\f106';
}

.page-template-community-map-template button.read-more-btn:focus,
.page-template-community-map-template button.read-more-btn:hover {
	color: var(--yellow);
}

.page-template-community-map-template .text-heading {
	padding-left: 88px;
	padding-top: 80px;
	position: relative;
}

.page-template-community-map-template .text-heading .h2-accent {
	left: 0;
	position: absolute;
	top: 0;
}

.page-template-community-map-template .card {
	background-color: var(--white);
	border-radius: 24px;
	box-shadow: 0 0 8px rgb(244 217 103 / 60%);
	color: var(--navy);
	padding: 24px;
}

.page-template-community-map-template .card p:last-of-type {
	margin-bottom: 0;
}

.page-template-community-map-template .card .step {
	align-items: center;
	background: radial-gradient(circle, var(--light-teal), rgb(153 221 223 / 0%) 75%);
	border-radius: 24px;
	display: flex;
	font-family: 'podium-soft-variable', sans-serif;
    font-variation-settings: "wdth" 100;
	height: 40px;
	justify-content: center;
	margin-bottom: 24px;
	width: 40px;
}

.page-template-community-map-template .container.take-action-row .card {
	display: flex;
	flex-wrap: wrap;
}

.page-template-community-map-template .container.take-action-row .card p:last-of-type {
	margin-top: auto;
}

.page-template-community-map-template .container.beed-row {
	padding: 40px 24px;
}

.page-template-community-map-template .container.beed-row .title-wrap p:first-of-type {
	font-weight: 900;
	margin-bottom: 4px;
}

.page-template-community-map-template .container.footer-row {
	gap: 24px;
}

.page-template-community-map-template .footer-row strong {
	font-weight: 900;
}

.page-template-community-map-template .footer-row .footer-lower {
	border-top: 1px solid var(--light-teal);
	padding-top: 24px;
	font-size: 14px;
	text-align: center;
}

.page-template-community-map-template .footer-row .footer-lower a {
	color: var(--navy);
	text-decoration: underline;
	margin-left: 12px;
}

.page-template-community-map-template .footer-row .footer-upper a {
	color: var(--navy);
	font-weight: 900;
}

.page-template-community-map-template .footer-row .footer-lower a:focus,
.page-template-community-map-template .footer-row .footer-lower a:hover,
.page-template-community-map-template .footer-row .footer-upper a:focus,
.page-template-community-map-template .footer-row .footer-upper a:hover {
	color: var(--yellow);
	text-decoration: none;
}

/* Media Queries
------------------------------------------- */

@media only screen and (min-width: 961px) {

	/* Structure
	-------------------------------------------- */

	.page-template-community-map-template .container {
		padding: 120px 24px;
	}

	.page-template-community-map-template .container.community-messages-row {
		padding: 120px 0 120px calc(max(1140px, 100vw)/2 - 580px);
	}

	.page-template-community-map-template .container.community-messages-row .row {
		max-width: 100%;
	}
	
	.page-template-community-map-template .container .row {
		gap: 40px;
	}

	.page-template-community-map-template .container .row:after,
	.page-template-community-map-template .container .row:before {
		display: none;
	}

	.page-template-community-map-template .container .row .col-100 {
		width: 100%;
	}

	.page-template-community-map-template .container .row .col-66 {
		width: calc( ( ( 100% - 80px ) / 3 ) * 2 );
	}
	
	.page-template-community-map-template .container .row .col-50 {
		width: calc( ( 100% - 40px ) / 2 );
	}

	.page-template-community-map-template .container .row .col-33 {
		width: calc( ( 100% - 80px ) / 3 );
	}

	.listcheckbox-container.stylized-ui .nf-field-element ul,
	.listradio-container.stylized-ui .nf-field-element ul {
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
	}

	/* Map Page
	-------------------------------------------- */

	.page-template-community-map-template header .share-col {
		justify-content: flex-end;
	}

	.page-template-community-map-template .row.map-wrap {
		margin-bottom: -120px;
	}

	.community-map-container .map-legend {
		align-items: center;
		display: flex;
		gap: 12px;
	}

	.page-template-community-map-template .community-messages-row.container {
		padding-top: 240px;
	}

	.page-template-community-map-template .community-messages-header {
		align-items: flex-end;
		display: flex;
		justify-content: space-between;
		max-width: 1140px;
	}

	.page-template-community-map-template .community-messages-header h2 {
		margin-bottom: 0;
	}

	.page-template-community-map-template .community-messages-wrap {
		align-items: stretch !important;
	}

	.page-template-community-map-template .community-message-card.swiper-slide {
		display: flex;
		flex-direction: column;
		height: auto;
	}

	.page-template-community-map-template .member-details {
		margin-top: auto;
	}

	.page-template-community-map-template .container.beed-row .col-100 {
		align-items: flex-end;
		display: flex;
		gap: 40px;
	}

	.page-template-community-map-template .container.beed-row .col-100 .title-wrap {
		width: 37%;
	}

	.page-template-community-map-template .container.beed-row .col-100 .excerpt-wrap {
		width: 46%;
	}

	.page-template-community-map-template .container.beed-row .col-100 .cta-wrap {
		width: 15%;
	}

	.page-template-community-map-template .container .row.footer-upper {
		align-items: center;
	}

	.page-template-community-map-template .container .row.footer-upper p:last-of-type {
		margin-bottom: 0;
	}

	.page-template-community-map-template .footer-row .logo-col {
		text-align: right;
	}
	
}

@media only screen and (max-width: 500px) {

	.page-template-community-map-template h1 {
		font-size: 50px !important;
	}

	.page-template-community-map-template h3 {
		font-size: 24px !important;
	}

	.page-template-community-map-template .nf-form-cont .five-sixths, 
	.page-template-community-map-template .nf-form-cont .four-sixths, 
	.page-template-community-map-template .nf-form-cont .one-fourth, 
	.page-template-community-map-template .nf-form-cont .one-half, 
	.page-template-community-map-template .nf-form-cont .one-sixth, 
	.page-template-community-map-template .nf-form-cont .one-third, 
	.page-template-community-map-template .nf-form-cont .three-fourths, 
	.page-template-community-map-template .nf-form-cont .three-sixths, 
	.page-template-community-map-template .nf-form-cont .two-fourths, 
	.page-template-community-map-template .nf-form-cont .two-sixths, 
	.page-template-community-map-template .nf-form-cont .two-thirds {
		margin-left: 0;
		width: 100%;
	}

}