/************************************************************************************
smaller than 1170px
*************************************************************************************/
@media screen and (max-width: 1170px) {

	div.content {
	  width: 980px;
	}
	h1 {
		font-size: 32px;
	}
	h1 span {
		font-size:45px;
	}
	header div.title {
		margin-top: 7px;
	}
	div.bg-img div.text {
	    width: 525px;
	}

}

/************************************************************************************
smaller than 980px
*************************************************************************************/
@media screen and (max-width: 980px) {

	div.content {
	  width: 90%;
	  padding: 0 5%;
	  text-align: center;
	}

	header {
		height: auto;
		text-align: center;
	}
	header div.title, nav.nav, footer p, footer nav.menu {
		float: none;
	}
	nav.nav ul li {
		line-height: normal;
		margin: 5px 0 20px 0;
	}
	div.bg-img {
		height: 400px;
	}
	div.bg-img div.text {
		width: 50%;
		padding: 0 0;
	}
	h2 {
		font-size: 21px;
		line-height: 30px;
	}
	div.bg-img div.text {
		font-size: 15px;
	}

	div.bg-img form {
		max-width: 345px;
		width: 90%;
		margin: 0 auto 40px auto;
		float: none;
		padding: 15px 5% 10px 5%;
	}
	div.bg-img form div.title, section.quote h3 {
	    font-size: 26px;
	}

	section {
	    padding: 60px 0;
	}

	div.featured, section.testimonials div.testimonial {
		float: none;
		width: 100%;
		margin: 0 0 40px 0;
	}

	footer {
		text-align: center;
	}
	.slick-slider img	{
		height: 312px;
	}
}
/************************************************************************************
smaller than 640px
*************************************************************************************/
@media screen and (max-width: 640px) {
	.btn {
		display: none;
	}
	div.bg-img {
		height: 300px;
	}
	h2 {
		font-size: 16px;
		line-height: 20px;
	}
	div.bg-img div.text {
		font-size: 13px;
	}
}
@media screen and (max-width: 540px) {
	.slick-slider img	{
		height: 200px;
	}

}
@media screen and (max-width: 450px) {
	div.bg-img {
	  height: auto;
	  background: url('../img/bg2.jpg') no-repeat center center;
		background-size: cover;
}
