
/* 04. SERVICES ================================================== */

#content {
	
	overflow: hidden;
    padding-bottom: 0 !important;
    padding-left: 0;
    padding-right: 0;
    padding-top: 160px;
}

#content h2 {
	font-size:22px;
	text-transform:uppercase;
	font-weight:600;
}

#content p:first-child {
	padding-bottom:60px;
}

#content  p {
	line-height:25px;
}

.first.column {
    padding-right: 1.16%;
}

ul.services li img {
    display: block;
    float: left;
    height: 130px;
    margin: 0 1.5em 1.5em 0;
    width: 100px;
}

ul.services li:nth-child(2n+1) {
}

ul.services li:last-child {
    border-bottom: medium none !important;
}

ul.services li {
    min-height: 190px;
    padding: 0 0 3em;
	line-height:22px;
}

ul.services li {
    border-bottom: 1px solid #EEEEEE;
    margin-bottom: 3em;
    margin-right: 3em;
}

.highlight {
    background: none repeat scroll 0 0 #F2F5F8;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.highlight {
    padding: 160px 0;
}

/* 04. INTERSECTION TESTIMONIALS ================================================== */


#intersection {
	background: #16A085; /* Parallax Background */
	background-size: cover;
    background-attachment: fixed;
	padding:70px 0 40px 0;
	
}

.testimonial-quote {
	padding:0px 30px; 
}

.testimonial-quote blockquote {
    border: 0;
    margin: 0;
    padding: 0;
    font-family: 'latoregular', sans-serif;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 600;
    left:20px;   
}

.testimonial-quote blockquote * {
    box-sizing: border-box; 
}

.testimonial-quote blockquote p {
	font-family: 'latolight';
    color: #FFF; 
    font-size:25px;
    line-height: 1.3 !important;
	padding-left:50px;
	padding-top:0px!important;
}

.testimonial-quote blockquote p:first-child:before {
    content: '\201C';
    color: #FFF;
    font-size: 7.5em;
    font-weight: 700;
    opacity: .3;
    position: absolute;
    top: -.2em;
    left: -.3em;    
    text-shadow: none;
    z-index: -300;
}

.testimonial-quote cite {
    color: rgba(255,255,255,0.60);
    display: block;
    font-size: 0.8em; 
	margin-left:70px;
}
  
.testimonial-quote cite span {
    color: #EEE;
    font-size: 1em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 05. CREW  ============================================ */



#crew {
	padding:100px 0; 
	background: #FFF;
}

.teamlink {
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.teamlink span {
    color: #FFFFFF;
    display: none;
    font-size: 0.8em;
    font-weight: normal;
    left: 0;
    top:0px;
    padding: 8px;
    background: none;
    background: none repeat scroll 0 0 rgba(75,171,193,0.90);
    position: absolute;
    text-transform: uppercase;
}

.teamlink:hover span {
    display: block;
}
/* 06. WORKS GRID ================================================== */



#works {
	padding:70px 0;
	background: #F2F5F8;
}


#works p {
	padding-bottom:30px!important;
}

.grid {
	
  	margin: 0px auto 0px;
  	font-size: 0;
  	text-align: left;	
}

.item {
  	height:auto;
  	display: inline-block; 
  	vertical-align: top;
  	position: relative; 
  	overflow: hidden;
  	line-height: 0;
  	-webkit-transition: -webkit-transform 0.2s ease-out;
	-moz-transition: -moz-transform 0.2s ease-out;
	-o-transition: -o-transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
}

  
.item img {
  	position: relative;
  	z-index: 4;
  	width: 100%;
  	-webkit-transform-origin: 50% 50%;
  	-moz-transform-origin: 50% 50%;
  	-ms-transform-origin: 50% 50%;
  	-o-transform-origin: 50% 50%;
  	transform-origin: 50% 50%;
  	/* This is what was making it slow! booooooo */
  	-webkit-transition: opacity 3s ease-out, -webkit-transform 1s ease-in;
  	-moz-transition: opacity 3s ease-out, -moz-transform 1s ease-in;
  	-o-transition: opacity 3s ease-out, -o-transform 1s ease-in;
  	transition: opacity 3s ease-out, transform 1s ease-in;
}

.item .link {
  	display: block;
  	height: 100%;
}

.hovercontent {
  	position: absolute;
  	z-index: 999;
  	font-family: 'latoregular', sans-serif;
  	text-align: center;
  	width: 100%;
  	height: 100%;
  	background: #16a085;
  	background: rgba(22,60,33,0.5);
  	cursor: pointer;
  	opacity: 0;
  	line-height: 24px;
  	filter: alpha(opacity=0);
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  	-moz-transform: scale3d(1.3, 1.3, 1) translate3d(0, 10%, 0);
  	-o-transform: scale3d(1.3, 1.3, 1) translate3d(0, 10%, 0);
  	-webkit-transform: scale3d(1.3, 1.3, 1) translate3d(0, 10%, 0);
  	transform: scale3d(1.3, 1.3, 1) translate3d(0,10%,0);
  	-webkit-transition: opacity 0.2s ease-out, -webkit-transform 0.2s ease-in-out;
  	-moz-transition: opacity 0.2s ease-out, -moz-transform 0.2s ease-in-out;
  	-o-transition: opacity 0.2s ease-out, -o-transform 0.2s ease-in-out;
  	transition: opacity 0.2s ease-out, transform 0.2s ease-in-out;
}

.hovercontent h1 {
  	color: white;
  	font-size: 18px;
  	margin-top:25%;
  	font-family: 'latobold', sans-serif;
}
  	
.hovercontent h4 {
  	color: #DDD;
  	font-family: 'latoregular', sans-serif;
  	font-size:0.8rem;
  	font-weight: 200;
	padding:5px;
}
.hovercontent h4 p { 	
	color: #FFF;
	line-height:18px!important;
}
  	
.item .link:hover .hovercontent {
  	opacity: 1;
  	filter: alpha(opacity=100);
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  	-moz-transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  	-o-transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  	-webkit-transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  	transform: scale3d(1, 1, 1) translate3d(0,0,0);
}

.translate(@x: 0, @y: 0) {
  -webkit-transform: translate(@x, @y);
  -moz-transform: translate(@x, @y);
  -ms-transform: translate(@x, @y);
  -o-transform: translate(@x, @y);
  transform: translate(@x, @y); 
}

.shift_grid(@down, @right: 0) {
  .translate(@right * 50%, @down * 50%);
}

/* 2-GRID */
@media screen and (min-width: 600px) {
  .item {
    width: 50%;
    max-height: none;
    > a { height: 50%; }
    &.tall {
      margin-bottom: -25.1%;
      &.shift1 { .shift_grid(0.6666666); }
      &.shift2 { .shift_grid(1.3333333); }
      &.shift3 { .shift_grid(2); }
      &.shift4 { .shift_grid(2.6666666); }
      &.shift5 { .shift_grid(3.3333333); }
    }
    &.shift1 { .shift_grid(1); }
    &.shift2 { .shift_grid(2); }
    &.shift3 { .shift_grid(3); }
    &.shift4 { .shift_grid(4); }
    &.shift5 { .shift_grid(5); }
  }
}

/* 3-GRID */
@media screen and (min-width: 900px) {
  .item {
    width: 33.33332%;
    > a { height: 50%; }
    &.tall {
      margin-bottom: -16.7%;
    }
  }
}

/* 4-GRID */
@media screen and (min-width: 1200px) {
  .item {
   width: 24%;
   margin:0 0 10px 10px;
    > a { height: 25%; }
    &.tall {
      margin-bottom: -12.6%;
    }
  }
}


/* Expander of the works Settings */

.slide_portfolio {
	text-align:center;
	display:none;
	padding:10px 0 60px 0;
	background: #333333; /* Old browsers */
	background: -moz-linear-gradient(left,  #333333 0%, #444444 50%, #333333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#333333), color-stop(50%,#444444), color-stop(100%,#333333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #333333 0%,#444444 50%,#333333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #333333 0%,#444444 50%,#333333 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #333333 0%,#444444 50%,#333333 100%); /* IE10+ */
	background: linear-gradient(to right,  #333333 0%,#444444 50%,#333333 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=1 ); /* IE6-9 */

}
	
.slide_portfolio h3 {
	color:#FFF;
	padding-bottom: 20px;
	
}	
	
.slide_portfolio p{
	color:#FFF;
}

/* Space between img */

.slide_portfolio img{
	padding: 20px 0;
}


/* Close Icon */

.slide_portfolio .closeit {
	cursor: pointer;
	margin-top:50px;
	margin-bottom:0px;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition:  all 0.2s ease-out;
	-o-transition:  all 0.2s ease-out;
	transition:  all 0.2s ease-out;
}

.slide_portfolio .closeit:hover {
	opacity:0.4;}





/* 12. MEDIA QUERIES  ============================================ */


/* iPad (Portrait) ----------- */

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 

.mobile-menu {display:block;}	

.cbp-af-header {display: none;}

#leadFader {margin: 0; position: absolute; margin-top:0px; width:740px; text-align: center;  z-index: 9999;}		

.ls-wrapper .ls-nav a { margin: 0px 24px; }

	
}



/* Smartphones (landscape) ----------- */


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) {

#leadFader {position: relative; text-align: center; margin-top:20%;}

  .item {
    width: 50%;
    max-height: none;
    > a { height: 50%; }
    &.tall {
      margin-bottom: -25.1%;
      &.shift1 { .shift_grid(0.6666666); }
      &.shift2 { .shift_grid(1.3333333); }
      &.shift3 { .shift_grid(2); }
      &.shift4 { .shift_grid(2.6666666); }
      &.shift5 { .shift_grid(3.3333333); }
    }
    &.shift1 { .shift_grid(1); }
    &.shift2 { .shift_grid(2); }
    &.shift3 { .shift_grid(3); }
    &.shift4 { .shift_grid(4); }
    &.shift5 { .shift_grid(5); }
  }



}


/* Smartphones (Portraits) ----------- */


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) { 
	
#leadFader {position: relative; text-align: center; margin-top:70%;}
	
}



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

	/* Display the mobile menu */
	
	.mobile-menu {display:block;}	
	
	#leadFader {    
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 50px;}
	
	#leadFader .Head {font-size:24px;}
	
	#leadFader .Sub {font-size: 15px;}
	
	#intersection, #client, #contact_intersection {background-size:auto; background-origin:  content-box ;}
	
	/* Not Showing the Navigation */

	.cbp-af-header {display: none;}
	
	.separator { border-top: 1px solid #EEEEEE; margin:40px auto 10px auto; width:10%;}
	
	.slide_portfolio {padding:20px;}
	
	#contact , #contact p{text-align: center;}
	
	
	       
}


.hidden {
	display:none;
}



