/* Extra small devices (phones, less than 768px) */
@media (max-width : 766px) {
	/*home-carousel*/
	 .controls li{
		padding:30px 10px;
	}
	 .controls li span{
		display:none;
	}
	 #home .carousel-caption {
	  margin-top: -80px;
	}
	 #home .carousel-caption h1 {
	  font-size: 22px;
	  line-height: 35px;
	  letter-spacing: 0px;
	  margin-bottom: 0;	
	}
	 #home .carousel-caption p {
	  font-size: 10px;
	  margin-bottom: 15px;
	}
	 #home .carousel-caption .btn {
	  font-size: 14px;
	  padding: 10px 30px;
	}
#menu {
    padding: 0px;
    transition: all 0.8s;
}


}

/* Landscape Mobile */
@media only screen and (min-width : 480px) and (max-width : 767px) {

	/* === HOME CAROUSEL === */
	 .controls li{
		padding:30px 10px;
	}
	 .controls li span{
		font-size: 14px;
		display:block;
	}
	 #home .carousel-caption {
	  margin-top: -95px;
	}
	 #home .carousel-caption h1 {
	  font-size: 33px;
	  line-height: 56px;
	}
	 #home .carousel-caption p {
	  font-size: 14px;
	  margin-bottom: 25px;
	}
 

}


/* Small devices (tablets, 768px and up) */
@media (min-width : 768px) and (max-width : 991px) {


	/*home-carousel*/
	 .controls li{
		padding:30px 10px;
	}
	 #home .carousel-caption {
	  margin-top: -142px;
	}
	 #home .carousel-caption h1 {
	  font-size: 60px;
	  line-height: 44px;
	  letter-spacing: -3px;
	  margin-bottom: 30px;
	}

	
}


@media (min-width: 768px) and (max-width: 979px) {
	/* works */

.work-item {
  width: 33%;
}
}
@media only screen and (max-width: 767px) {
	
	/* works */

.work-item {
  //left: 5% !important;
  width: 100%;
  margin-bottom:20px;
  
}

.counters-item i {
    margin-top: 20px;
}
#subscribe .subcribe_form input[type="submit"] {
width: 25%;
margin-left: -5px;
}
#subscribe .subcribe_form input[type="text"] {
    width: 50%;
}

#contact form .col-sm-6,#contact form .col-sm-8,#contact form .col-sm-12,#contact .contact-info .col-sm-4{
    padding-right: 0px;
    padding-left: 0px;
}

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	
	.site-logo{padding-left: 16px;}

	/* Navigation */
	.mobile-nav-button{
		display: block;
	}
	.nav-menu{
		display: none;
		width: 100%;
		height: auto;
		top: 30%;
		background: #ecf0f1;
		padding: 32px 16px;
	}
	.nav li {float: none;}
	.nav li a:after{content:"";}

	/* Home Section */
	.text-slides{
		font-size: 32px;
		line-height: 40px;
	}

	/* Parallax Backgrounds */
	.testimonials, .services-list, .counter, .accordion, .static-testimonial{
		background-attachment:initial;
		background-position: center top;
	}

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	/* Home Section */
	.home {background-attachment:scroll;}
	
	/* Portfolio */
	.item h5 {display: none;}

}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	/* Home Section */
	.header .logo{
		font-size: 72px;
		line-height: 80px;
	}	
	.text-slides{
		font-size: 24px;
		line-height: 32px;
	}
	.home {background-attachment:scroll;}

	/* Layout */
	.columns, .column {margin-bottom: 24px !important;}
	#google-map {height:300px;}

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 568px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 567px) {}