html, body {
	height: 100%;
}
.home #wrapper,
.page-template-page-local #wrapper {
	max-width: 1050px;
}
@media screen and (max-width: 1050px) and (min-width: 960px) {
	body {
		background: none;
	}
}
h2 {
	font-family: Raleway, Oswald, sans-serif;
	font-weight: 800;
}

/* MENU */
header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 140;
	width: 100%;
	max-width: 1050px;
	margin-left: auto;
	margin-right: auto;
    transition: background-color .25s ease-in;
}
header .desktop-logo img {
	max-width: 175px;
	margin: 0 auto;
}

@media (max-width: 568px) {
	.desktop-logo {
		display: none;
	}
	header.nav-scrolled {
		min-height:60px;
	}
}

@media (min-width: 569px) {
	header {
		background: none;
		box-shadow: none;
		text-align: center;
		padding: 10px 0px;	
	}
	nav ul li a {
		color: #ffffff;
	}

	header nav {
		float: none;
		display: block !important;
	}
	header nav ul {
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	header nav ul li {
		margin: 0 15px;
		width: 97px;
	}
	header nav ul li:nth-of-type(3),
	header nav ul li:last-of-type {
		text-align: left;
	}
	header nav ul li.desktop-logo {
		width: 175px;
		margin: 0 40px;
		text-align: center;
	}
	.nav-scrolled {
		background-color: #ffffff;
		max-width: 1050px;
		width: 100%;
		margin: 0 auto;
		padding: 0;
		box-shadow: 0 1px 6px 1px #888;
	}
	.nav-scrolled nav ul li a {
		color: #004e73;
	}
	.nav-scrolled .desktop-logo img {
		height: 50px;
		width: auto;
	}
/*	.desktop-logo {
		width: 100%;
	}*/
	.mobile-logo {
		display: none;
	}
}
@media (min-width: 569px) and (max-width: 699px) {
	header nav ul {
		flex-wrap: wrap;
	}
	header nav ul li {
		order: 1;
	}
	header nav ul li.desktop-logo {
		order: 0;
		width: 100%;
		margin-bottom: 15px;
	}
}

/*down arrow*/
.down-arrow {
	margin-top:10%;
}
.down-arrow img {
	max-width: 50px;
}
section .intro {
	position: relative;
	width: 100%;
	height: 100%;
}
section .intro::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 80%;
}

.intro-viewport {
	position: relative;
	width: 100%;
	min-height: 100vh;
	z-index: 110;
}
.nav-margin {
	margin-top: 0;
}


.intro {
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;
	height: 100vh;
	background-image: url(img/home-hero-bg.jpg);
	background-size: cover;
	background-position: center;
	padding: 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}
.intro-text {
	padding-top: 112px;
}
.intro-text > img {
	width: 65%;
	max-width: 600px;
}
.intro-text p {
	color: #ffffff;
	font-size: 20px;
	font-family: Raleway, Oswald, 'open_sansregular', Helvetica, sans-serif;
	margin: 0;
}
.intro hr {
	width: 50px;
	height: 1px;
	background: #ffffff;
	border: none;
	margin: 20px auto;
}
.wrapper-viewport {
	width: 100%;
	height: 100vh;
}
.intro-viewport.intro-scrolled .wrapper-viewport {
	overflow-y: auto;
}
.intro-viewport.intro-scrolled {
	margin-top: -200vh;
}


/*body .residence-photo-gallery {
    z-index: 200;
}
*/


#reveal {
	font-family: Raleway, Oswald, sans-serif;
	text-align: center;
	font-weight: bold;
	padding: 40px 10%;
}
#reveal p {
	font-size: 32px;
	color: #0b3958;
	line-height: 1.25;
	padding: 0 3%;
	margin-top: 0;
}
#reveal .videos div {
	position: relative;
	margin: 5px;
	flex: 1;
}
#reveal .videos div img {
	display: block;
	max-width: 100%;
}
#reveal .videos div span {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 87%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 28px;
}
@media (min-width: 600px) {
	#reveal .videos {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}	
}

/* RUN WILD SECTION */
#run-wild {
	background-color: #020e31;
	background: url(img/run-wild.jpg), linear-gradient( to bottom, #020e31, #04265c);
	background-repeat:  no-repeat;
	background-size: 100%;
	background-position: bottom right;
	color: #ffffff;
	font-weight: bold;
	font-size: 18px;
	text-align: left;
	font-family: Raleway, Oswald, 'open_sansregular', Helvetica, sans-serif;
	padding: 40px 5% 14.5vw 5%;
}
@media (max-width: 550px) {
	#run-wild {
		background-size: 117%;
	}
}
@media (min-width: 735px) {
	#run-wild {
		display: flex;
		flex-direction: row-reverse;
		align-items: flex-start;
		justify-content: flex-end;
		padding-left: 13%;
		padding-bottom: 25vw;
	}
}
@media (min-width: 930px) {
	#run-wild {
		padding-bottom: 26.5vw;
	}
}
@media (min-width: 1050px) {
	#run-wild {
		padding-bottom: 283px;
	}
}
#run-wild p {
	text-align: left;
	margin: 0;
}
#run-wild ul {
	margin: .25rem 0 2rem 0;
	padding: 0 0 0 1.25rem;
}
#run-wild .run-wild-text {
	position: relative;
	max-width: 90%;
}


/* RESIDENCES SECTION */
.residences-p {
	text-align: center;
}
.interior-design, 
.build-quality {
    background-color: #f0f0f0;
	margin: 20px;
	position: relative;
}
.testimonials-title {
	background-color: #e8e8e8;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 20px 10px 145px;
	text-align: left;
	margin: 0;
	font-size: .75rem;
}
.testimonials-name-container {
	position: relative;
	margin: 10px 20px 10px 145px;
}
.testimonials-image {
	position: absolute;
	left: 30px;
	top: -15px;
}
.testimonials-name {
	color: #008fcb;
    text-transform: uppercase;
	margin-bottom: 0px;
	margin-top: 0px;
	text-align: left;
}
.testimonials-name-title {
	color: #008fcb;
	margin-top: 0px;
	font-weight: bold;
	text-align: left;
	font-size: .875em;
}
.testimonials-testimonial {
	font-size: 1.2rem;
    font-weight: 500;
	padding: 0px 20px;
}
.testimonials-learnmore {
	padding: 0px 20px 20px 20px;
}
.testimonials-learnmore a {
	text-align: center;
	color: #008fcb;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
}
.testimonials-learnmore a:hover {
	text-decoration: underline;
}
@media (max-width: 767px) {
	.interior-design,
	.build-quality {
		margin-top: 60px;
	}
}
@media (min-width: 550px) {
	.residence-gallery {
		margin-left: 10%;
		margin-right: 10%;
	}
}
@media (min-width: 768px) {
	.designers {
		display: flex;
		align-items: stretch;
		justify-content: space-between;
	}
	.interior-design,
	.build-quality {
		width: 47%;
	}
}
@media (min-width: 1050px) {
	.designers {
		margin-left: 10%;
		margin-right: 10%;		
	}
	.interior-design,
	.build-quality {
		margin: 0;
	}
}
@media (min-width: 700px) {
	.testimonials-name-container::before {
		content: "-";
		color: #008fcb;
	    font-size: 1.2em;
	    position: absolute;
	    left: -10px;
	}
}

/* COMMUNITY SECTION */
#community {
	background-color: #ffffff;
}
#community, #contact {
	padding-left: 3.5%;
	padding-right: 3.5%;
}

#community h2 span {
	background-color: #ffffff;
}
#community .overlay-button {
	cursor: pointer;
}
#community .overlay-button span {
	text-decoration: none;
    border: 2px solid #d2cabd;
    padding: 5px 30px;
    background: #ebe2d6;
    color: #3c3c3c;
}
.community-map {
	background: url(img/site-map-bg.jpg) no-repeat;
	background-size: cover;
	background-position: center;
	border: 1px solid #a69d86;
	padding: 0;
}
.community-map svg {
	position: static;
	height: auto;
}
.community-map svg a:hover {
	cursor: pointer;
}
.community-p {
	text-align: center;
}

#tooltip {
    position: absolute;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 0 10px #000;
    padding: 0 7px;
    font-family: 'open_sansregular', Helvetica, sans-serif;
    color: #231f20;
    display: flex;
    align-items: center;
    z-index: 100;
    width: 173px;
    height: 67px;
    font-size: 13px;
}
#tooltip:after {
    content: '';
    width: 15px;
    height: 15px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    bottom: -6px;
    left: 65px;
    background-color: #ffffff;
    z-index: -1;
}
#tooltip .site-number {
	font-size: 18px;
	color: #ffffff;
	font-weight: bold;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: .125em;
	background-color: #008fcb;
}
#tooltip.available .site-number {
	background-color: #2f7429;
}
#tooltip .site-info {
	margin-left: 7px;
}
#tooltip .site-info span {
	display: block;
}
#tooltip .site-price {
	font-weight: bold;
	text-transform: uppercase;
	color: #008fcb;
}
#tooltip.available .site-price {
	color: #231f20;
}

/* EXPLORE SECTION */
#explore p {
	padding: 0; /* override main style sheet */
}
.explore-text {
	margin: 20px 3.5%;
}
.explore-text img {
	max-width: 134px;
	display: block;
	margin: 0 auto;
}
.explore-pdf:hover {
	opacity: .8;
}
@media (min-width: 700px) {
	.explore-text {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 20px 70px;
	}
	.explore-text img {
		margin-right: 20px;
	}
	.explore-text p {
		text-align: justify;
	}
}

/*media query*/

@media screen and (min-width: 1050px) {
    body #to-top {
        margin-right: -521px;
    }
}



@media (max-width: 450px) {    
	.intro p {
		font-size:15px;
	}
}

/* OVERLAY */
#overlay-new {
	display: none;
    background-color: #000000;
    position: fixed;
    z-index: 150;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    overflow: auto;
}
#overlay-new-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#overlay-new iframe {
    margin: 2rem auto;
    width: 90vw;
    height: 58.5vw;
    max-width: 80%;
    max-height: 80vh;
}
.overlay-button {
    cursor: pointer;
}
.overlay-button:hover {
	opacity: .8;
}


