/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Fira Sans", sans-serif;
  color: #767070;
  background-color: #ffffff;
}

a {
  color: #ccd0c1;
  text-decoration: none;
}

/* -------------------------------- 

Slider

-------------------------------- */
.cd-slider-wrapper {
  position: relative;
  height: 100vh;
 /* padding: 10px;*/
}
@media only screen and (min-width: 900px) {
  .cd-slider-wrapper {
    /*padding: 30px;*/
  }
  
  .cd-slider .cd-half-block.content{
		width:30%;	
	}
	.cd-slider .cd-half-block.image{
		width:70%;	
	}
}

.cd-slider {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  list-style:none;
}
.cd-slider li {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.6s;
  -moz-transition: -moz-transform 0.6s;
  transition: transform 0.6s;
}
.cd-slider li.is-visible {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-slider .cd-half-block {
  height: 50%;
  background-position: center center;
  background-repeat: no-repeat;
}

.cd-slider .image {
  background-size: cover;
}
.cd-slider .content {
  padding: 30px 40px;
  color: #ffffff;
  background-color: #767070;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-slider .light-bg {
  color: rgba(0, 0, 0, 0.6);
}
.cd-slider .btn {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  padding: 1em 1.6em;
  margin-top: 1em;
  font-size: 1.3rem;
  color: #ffffff;
  border-radius: 50em;
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}
.no-touch .cd-slider .btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.cd-slider li .content p{
	font-family: 'NimbusSansDOT-Regu';
	font-size:14px;
	padding-top:40px;
	letter-spacing:1px;
}


/* -------------------------------- 

Commercial

-------------------------------- */

/*********************************//* Slide 01 *//****************************************/
.cd-slider li:first-of-type .image {
  background-image: url(../images/commercial/concept/01.jpg);
}
.cd-slider li:nth-of-type(1) .content {
  background-color: #f0ebe6;
}
.cd-slider li:nth-of-type(1) .content h4{
	color:#999;	
}
.cd-slider li:nth-of-type(1) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider li:nth-of-type(1) .content h2{
	color:#5e8588;	
}
.cd-slider li:nth-of-type(1) .content p{
	color:#666;
}

/*********************************//* Slide 02 *//****************************************/
.cd-slider li:nth-of-type(2) .image {
  background-image: url(../images/perspectives/01.jpg);
}
.cd-slider li:nth-of-type(2) .content {
  background-color: #f0ebe6;
}
.cd-slider li:nth-of-type(2) .content h2{
	color:#503825;	
}
.cd-slider li:nth-of-type(2) .content hr{
	border-top: 1px solid #666;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider li:nth-of-type(2) .content p{
	color:#333;
}

/*********************************//* Slide 03 *//****************************************/
.cd-slider li:nth-of-type(3) .image {
  background-image: url(../images/perspectives/02.jpg);
}
.cd-slider li:nth-of-type(3) .content {
  background-color: #f0ebe6;
}
.cd-slider li:nth-of-type(3) .content h4{
	color:#999;	
}
.cd-slider li:nth-of-type(3) .content h2{
	color:#447172;	
}
.cd-slider li:nth-of-type(3) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider li:nth-of-type(3) .content p{
	color:#666;
}


/*********************************//* Slide 04 *//****************************************/
.cd-slider li:nth-of-type(4) .image {
  background-image: url(../images/perspectives/03.jpg);
}
.cd-slider li:nth-of-type(4) .content {
  background-color: #f0ebe6;
}
.cd-slider li:nth-of-type(4) .content h4{
	color:#999;	
}
.cd-slider li:nth-of-type(4) .content h2{
	color:#fbb056;
}
.cd-slider li:nth-of-type(4) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider li:nth-of-type(4) .content p{
	color:#666;
}






/* -------------------------------- 

Residential

-------------------------------- */

/*********************************//* Slide 01 *//****************************************/
.cd-slider.residential li:first-of-type .image {
  background-image: url(../images/perspectives/05.jpg);
}
.cd-slider.residential li:nth-of-type(1) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(1) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(1) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(1) .content h2{
	color:#8fa377;	
}
.cd-slider.residential li:nth-of-type(1) .content p{
	color:#666;
}

/*********************************//* Slide 02 *//****************************************/
/*.cd-slider.residential li:nth-of-type(2) .image {
  background-image: url(../images/perspectives/01.jpg);
}*/
.cd-slider.residential li:nth-of-type(2) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(2) .content h2{
	color:#af9a84;	
}
.cd-slider.residential li:nth-of-type(2) .content hr{
	border-top: 1px solid #666;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(2) .content p{
	color:#333;
}

/*********************************//* Slide 03 *//****************************************/
/*.cd-slider.residential li:nth-of-type(3) .image {
  background-image: url(../images/perspectives/07.jpg);
}*/
.cd-slider.residential li:nth-of-type(3) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(3) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(3) .content h2{
	color:#fbb057;	
}
.cd-slider.residential li:nth-of-type(3) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(3) .content p{
	color:#666;
}


/*********************************//* Slide 04 *//****************************************/
/*.cd-slider.residential li:nth-of-type(4) .image {
  background-image: url(../images/perspectives/08.jpg);
}*/
.cd-slider.residential li:nth-of-type(4) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(4) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(4) .content h2{
	color:#f26649;
}
.cd-slider.residential li:nth-of-type(4) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(4) .content p{
	color:#666;
}

/*********************************//* Slide 05 *//****************************************/
.cd-slider.residential li:first-of-type .image {
  background-image: url(../images/perspectives/05.jpg);
}
.cd-slider.residential li:nth-of-type(5) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(5) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(5) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(5) .content h2{
	color:#8fa377;	
}
.cd-slider.residential li:nth-of-type(5) .content p{
	color:#666;
}

/*********************************//* Slide 06 *//****************************************/
/*.cd-slider.residential li:nth-of-type(2) .image {
  background-image: url(../images/perspectives/01.jpg);
}*/
.cd-slider.residential li:nth-of-type(6) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(6) .content h2{
	color:#af9a84;	
}
.cd-slider.residential li:nth-of-type(6) .content hr{
	border-top: 1px solid #666;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(6) .content p{
	color:#333;
}

/*********************************//* Slide 07 *//****************************************/
/*.cd-slider.residential li:nth-of-type(3) .image {
  background-image: url(../images/perspectives/07.jpg);
}*/
.cd-slider.residential li:nth-of-type(7) .content {
  background-color: #f0ebe6;
}
.cd-slider.residential li:nth-of-type(7) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(7) .content h2{
	color:#447172;	
}
.cd-slider.residential li:nth-of-type(7) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(7) .content p{
	color:#666;
}


/*********************************//* Slide 08 *//****************************************/
/*.cd-slider.residential li:nth-of-type(4) .image {
  background-image: url(../images/perspectives/08.jpg);
}*/
.cd-slider.residential li:nth-of-type(8) .content {
  background-color: #ede3da;
}
.cd-slider.residential li:nth-of-type(8) .content h4{
	color:#999;	
}
.cd-slider.residential li:nth-of-type(8) .content h2{
	color:#fbb056;
}
.cd-slider.residential li:nth-of-type(8) .content hr{
	border-top: 1px solid #CCC;
    margin-top: 10px;
    margin-bottom: 10px
}
.cd-slider.residential li:nth-of-type(8) .content p{
	color:#666;
}
























.cd-slider h2 {
  font-size: 2.2rem;
  margin-bottom: .4em;
}
.cd-slider p {
  font-size: 1.4rem;
}
.cd-slider h2, .cd-slider p {
  line-height: 1.4;
}
@media only screen and (min-width: 900px) {
  .cd-slider li {
    pointer-events: none;
    z-index: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: z-index 0s 0.6s;
    -moz-transition: z-index 0s 0.6s;
    transition: z-index 0s 0.6s;
  }
  .cd-slider li.is-visible {
    pointer-events: auto;
    z-index: 3;
    -webkit-transition: z-index 0s 0s;
    -moz-transition: z-index 0s 0s;
    transition: z-index 0s 0s;
  }
  .cd-slider li.is-visible.covered {
    /* list item still there, but covered by the list item entering the viewport (.is-visible) */
    z-index: 2;
  }
  .cd-slider .cd-half-block {
    height: 100%;
    width: 50%;
    float: left;
  }
  .cd-slider .cd-half-block.content {
    -webkit-transform: translateX(-350%);
    -moz-transform: translateX(-350%);
    -ms-transform: translateX(-350%);
    -o-transform: translateX(-350%);
    transform: translateX(-350%);
    -webkit-transition: -webkit-transform 0.6s 0s ease-in-out;
    -moz-transition: -moz-transform 0.6s 0s ease-in-out;
    transition: transform 0.6s 0s ease-in-out;
  }
  .cd-slider .cd-half-block.image {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: all 0s 0.3s;
    -moz-transition: all 0s 0.3s;
    transition: all 0s 0.3s;
	opacity:0;
  }
  
  .cd-slider li.is-visible .cd-half-block.image {
	  opacity:1;  
  }
  
  .cd-slider li.is-visible .cd-half-block.content,
  .cd-slider li.is-visible .cd-half-block.image {
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
  .cd-slider li.is-visible .cd-half-block.content {
    -webkit-transition: -webkit-transform 0.6s 0s ease-in-out;
    -moz-transition: -moz-transform 0.6s 0s ease-in-out;
    transition: transform 0.6s 0s ease-in-out;
  }
  .cd-slider .content {
    /* vertically align its content */
    display: table;
    padding: 0 40px;
  }
  .cd-slider .content > div {
    /* vertically align <div> inside div.content */
    display: table-cell;
    vertical-align: middle;
  }
  .cd-slider .btn {
    padding: 1.4em 2em;
    font-size: 1.4rem;
  }
  .cd-slider p {
    font-size: 1.6rem;
  }
  .cd-slider h2 {
    font-size: 26px;
    padding-bottom: 0;
  }
  .cd-slider h2, .cd-slider p {
    /*line-height: 2;*/
  }
}
@media only screen and (min-width: 1400px) {
  .cd-slider .content {
    padding: 0 90px;
  }
  .cd-slider h2 {
    /*font-weight: 300;*/
  }
}

/* -------------------------------- 

Slider Navigation

-------------------------------- */
.cd-slider-navigation {
  /* you won't see this element in the html but it will be created using jQuery */
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 30px;
  padding-left:0;
}
.cd-slider-navigation li {
  display: inline-block;
  /*margin: 0 .25em;*/
}
.cd-slider-navigation li.selected a {
  background-color: #ffffff;
}
.cd-slider-navigation a {
  display: block;
  height: 20px;
  width: 20px;
  margin:2px;
  /*border-radius: 50%;*/
  color: transparent;
  /* image replacement */
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  border: 1px solid #ffffff;
}
@media only screen and (min-width: 900px) {
  .cd-slider-navigation {
    padding: 0.5em 1em;
    background-color: rgba(0, 0, 0, 0.8);
    /* fixes a bug on Firefox with ul.cd-slider-navigation z-index */
    -webkit-transform: translateZ(2px) translateX(-50%);
    -moz-transform: translateZ(2px) translateX(-50%);
    -ms-transform: translateZ(2px) translateX(-50%);
    -o-transform: translateZ(2px) translateX(-50%);
    transform: translateZ(2px) translateX(-50%);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .cd-slider-navigation.slider-animating {
    /* fixes a bug on Firefox with ul.cd-slider-navigation z-index */
    -webkit-transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    -o-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
  }
  .cd-slider-navigation a {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    /* reset style */
    text-indent: 0;
    border: none;
    border-radius: 0;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .cd-slider-navigation li.selected a {
    background-color: transparent;
    color: #f3b96c;
  }
}



@media only screen and (max-width: 900px) {
.cd-slider li.is-visible{
	overflow-y:scroll;	
}

.cd-nav-trigger .cd-nav-icon.black-phone {
    background-color: #666;
}

.gradient-white{
	opacity:0.8;
	width:100%;
	height:100%;
	position:absolute;
	z-index:2;
	
	/*background: rgba(255,255,255,1);*/    
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%); 
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,0)));
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%); 
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%); 
	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
}

.cd-slider .content{
	padding-bottom:80px;	
}
}

@media only screen and (max-width: 480px) {
.cd-slider .content{
	height:auto;	
}
.cd-slider li.is-visible{
	background-color: #f0ebe6;
}
.residential h2{
	padding-bottom:0;	
}
.cd-slider li .content p{
	padding-top:10px;	
}
}