@charset "utf-8";
/* CSS Document for homepage only */

/* section #intro begins */
#introvideo {
  position: fixed;
  left: 50%;
  top: 50%;
  transform:translate(-50%,-50%);
  min-width: 100%; 
  min-height: 100%;
  z-index:-100;
}
/* section #intro ends */

/* section community begins */
.community-wrap {
	text-align:center;
	position:relative;
	margin: 0 auto;
	top:25%;
	padding-top:0;
}

.community-bg {
	height:100vh;
	width:100%;
	background-image:url(../../img/home/01.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	position:absolute;
}

.community2-wrap {
	text-align:center;
	position:absolute;
	width:100%;
	max-width:400px;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
}

/* section community ends */

/* section opportunity begins */
.opportunity-wrap {
	position:relative;
	margin:0 auto;
/*	top:50%;
	transform:translateY(-50%);*/
	padding:50px 0;
}

.opportunity-txt-wrap {
	text-align:center;
	position:relative;
	width:calc(100vw - 100px);
	max-width:400px;
	margin:0 auto;
	padding-top:50px;
	padding-bottom: 0;
}

.opportunity-table {
	position:relative;
	max-width:960px;
	width:calc(100vw - 100px);
	margin:0 auto;	
}

.opportunity-img-group-1 {
	width:calc(100% / 3);
	padding-right:10px;
}
.opportunity-img-group-2 {
	width:calc(100% / 3);
	padding-right:5px;
	padding-left:5px;
}
.opportunity-img-group-3 {
	width:calc(100% / 3);
	padding-left:10px;
}

.view-neighbourhood-btn {
	background-image:url(../../img/header_footer/arrow_right.svg);
	background-repeat:no-repeat;
	background-position:right top;
	padding-right:40px;
	height:40px;
	position:relative;
	margin:0 auto;
	width:350px;
}

.view-neighbourhood-btn .txt {
	position:relative;
	top:50%;
	transform:translateY(-50%);
	font-weight:bold;
}
/* section opportunity ends */

/* section home_starts begins */
.home_starts-wrap {
	text-align:right;
	position:absolute;
	margin: 0 auto;
	top:15%;
	right:12%;
	width:calc(50% - 50vh);
	min-width:330px;
	padding:0;
}

.home_starts-wrap .gold-home {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight:bold;
	letter-spacing:2px;
	color:#F4D270;
	font-size: 2em;
}

.home_starts-wrap .starts_here {
	font-family: 'Montserrat', sans-serif;
	font-size:2em;
	font-weight:300;
}

.home_starts-wrap p.body {
/*	max-width:300px;*/
	margin:auto;
	margin-top:1.5em;
	margin-bottom:1.5em;
	margin-right:0;
}

.view-home-btn {
	background-image:url(../../img/header_footer/arrow_right.svg);
	background-repeat:no-repeat;
	background-position:right top;
	padding-right:40px;
	height:40px;
	margin-right:-15px;
	position:relative;
}

.view-home-btn .txt {
	position:relative;
	top:50%;
	transform:translateY(-50%);
	font-weight:bold;
}

.home_starts-bg {
	height:100vh;
	width:100%;
	background-image:url(../../img/home/03.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	position:absolute;
}
/* section home_starts ends */

/* section excellence_starts begins */
.excellence-wrap {
	position:relative;
	margin:0 auto;
	top:50%;
	transform:translateY(-50%);
	width:calc(100% - 50px);
	max-width:1100px;
	padding:0;
}

.excellence-title-wrap {
	position:relative;
	width:70%;
	text-align:left;
	padding:0;
}

.excellence-txt-wrap {
	position:relative;
	width:70%;
	text-align:left;
	padding:0;
	padding-top:50px;
}

.excellence-txt-wrap p.margin-no-top {
	margin-top:0;
}

.excellence-westmark-logo {
	position:absolute;
	right:0;
}

.excellence-table {
	position:absolute;
	width:25%;
	right:0;
	top:0;
	padding:0;
}

.westmark-btn {
	background-image:url(../../img/header_footer/arrow_right.svg);
	background-repeat:no-repeat;
	background-position:right top;
	padding-right:40px;
	height:40px;
	position:absolute;
}

.westmark-btn .txt {
	position:relative;
	top:50%;
	transform:translateY(-50%);
	font-weight:bold;
}

.excellence-img-group-1, .excellence-img-group-2, .excellence-img-group-3 {
	width:100%;
	padding:0;
	display:block;
}

.excellence-img-group-2, .excellence-img-group-3 {
	padding-top:15px;
}

/* image overlay begins */
.content {
  position: relative;
  width: 100%;
/*  max-width: 400px;*/
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: rgba(69,42,19,0.7);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-image{
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3{
  font-weight: 700;
/*  letter-spacing: 0.15em;*/
  margin-bottom: 0.5em;
  text-transform: uppercase;
  font-size:1.2em;
}

.content-details p{
  font-size: 0.8em;
  line-height:1.2em;
  font-style:italic;
}

.fadeIn-top{
  top: 20%;
}
/* image overlay ends */
/* section excellence_starts ends */

@media only screen and (max-width: 768px) {

/* section #intro begins*/
	section#intro {
		min-height:100vh;
	}
/* section #intro ends*/

/* section community begins */	
	.community-bg, .home_starts-bg {
		height:calc(100vw - 50px);
		position:relative;
	}
	.community-wrap {
		padding-top:50px;
		top:0;
	}
	
	.community2-wrap {
		position:relative;
	}
/* section community ends */

/* section home_starts begins */
	.home_starts-wrap {
		right:0;
		margin-right:0;
		width:100%;
		position:relative;
		top:0;
		padding:25px;
		padding-top:50px;
	}
/* section home_starts ends */

/* section opportunity begins */
	.opportunity-img-group-2 {
		width:calc(100% / 2);
		padding:0;
		padding-right:5px;
	}
	.opportunity-img-group-3 {
		width:calc(100% / 2);
		padding:0;
		padding-left:5px;
	}
	
	.opportunity-img-mobile-hide {
		display:none;
	}
/*	.opportunity-img-group-1 {
		display:none;
	}*/
/* section opportunity ends */

/* section excellence_starts begins */
	.excellence-wrap {
		top:0;
		transform:none;
		padding-top:50px;
		padding-bottom:50px;
		width:100%;
	}
	
	.excellence-title-wrap {
		position:relative;
		width:70%;
		text-align:left;
		padding-left:25px;
		padding-right:25px;
	}
	
	.excellence-txt-wrap {
		width:100%;
		padding:25px;
		padding-top:50px;
	}
	
	.excellence-westmark-logo {
		position:relative;
		right:0;
		width:60vw;
		padding-bottom:50px;
	}
	
	.excellence-table {
		position:relative;
		width:100%;
		padding-top:50px;
	}
	
	.excellence-img-group-1, .excellence-img-group-2 {
		width:calc(100% / 2);
		padding:0;
		display:table-cell;
	}
	
	.excellence-img-group-3 {
		display:none;
	}
	
	.excellence-img-group-1 {
		padding-right:5px;
	}
	
	.excellence-img-group-2 {
		padding-left:5px;
	}

/* section excellence_starts ends */
}

@media only screen and (max-width: 414px) {
	
	.community2-wrap {
		max-width:275px;
	}
	.view-neighbourhood-btn {
		width:300px;
	}
	
	.view-neighbourhood-btn .txt {
		line-height: 1.5em;
	}
}

@media only screen and (max-width: 320px) {
	
	.community2-wrap {
		max-width:225px;
	}
	.view-neighbourhood-btn {
		width:200px;
	}
	.logo {
		width: 50vw;
	}
}

/* animation begins */
#community-anim-01, #community-anim-02, #community-anim-03, #community-anim-04, #community2-anim-01, #community2-anim-02, #community2-anim-03, #opportunity-anim-01, #opportunity-anim-02, #opportunity-anim-03, #opportunity-anim-04, #opportunity-anim-05, #opportunity-anim-06, #opportunity-anim-07, #opportunity-anim-08, #homestarts-anim-01, #homestarts-anim-02, #homestarts-anim-03, #homestarts-anim-04, #excellence-anim-01, #excellence-anim-02, #excellence-anim-03, #excellence-anim-04, #excellence-anim-05, #excellence-anim-06, #excellence-anim-07 {
	transform:translateY(-50px);
	opacity:0;
	transition: all 1.5s ease;
}

#community-anim-01.loaded, #community-anim-02.loaded, #community-anim-03.loaded, #community-anim-04.loaded, #community2-anim-01.loaded, #community2-anim-02.loaded, #community2-anim-03.loaded, #opportunity-anim-01.loaded, #opportunity-anim-02.loaded, #opportunity-anim-03.loaded, #opportunity-anim-04.loaded, #opportunity-anim-05.loaded, #opportunity-anim-06.loaded, #opportunity-anim-07.loaded, #opportunity-anim-08.loaded, #homestarts-anim-01.loaded, #homestarts-anim-02.loaded, #homestarts-anim-03.loaded, #homestarts-anim-04.loaded, #excellence-anim-01.loaded, #excellence-anim-02.loaded, #excellence-anim-03.loaded, #excellence-anim-04.loaded, #excellence-anim-05.loaded, #excellence-anim-06.loaded, #excellence-anim-07.loaded {
	transform:translateY(0);
	opacity:1;
}

#excellence-anim-08, #excellence-anim-09, #excellence-anim-10 {
	transform:translateX(50px);
	opacity:0;
	transition: all 1.5s ease;
}

#excellence-anim-08.loaded, #excellence-anim-09.loaded, #excellence-anim-10.loaded {
	transform:translateX(0);
	opacity:1;
}

@media only screen and (max-width: 768px) {
	#excellence-anim-08, #excellence-anim-09 {
		transform:translateY(-50px);
		opacity:0;
		transition: all 1.5s ease;
	}
	
	#excellence-anim-08.loaded, #excellence-anim-09.loaded {
		transform:translateY(0);
		opacity:1;
	}
}
/* animation ends */