/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (phones, less than 768px) */
@media (max-width: 479px) {
	.row {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
	}
 	#logo {
 		margin-top: 140px;
 	}
	#partners h2 {
		display: none;		
	}
	.section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	#offers .pull-left, 
	#offers .pull-right {
    width: 50%;
	}
	#offers .pull-left {
    padding-right: 20px;
	}
	#offers figure {
		margin-top: 20px;
	}
	#features figure {
		margin-top: 20px;
	}
	.about-tabs {
		margin-left: auto;
		margin-right: auto;
		padding: 0 0 0 10px !important;
		text-align: center !important;
		clear: both !important;
		padding-top: 40px !important;
		margin-bottom: 30px !important;
	}
	.about-tabs li {		
		height: 200px;
		display: inline;
		padding: 0 3px;
	}
	.feature img {
		max-width: 25% !important;
		margin-top: 5px;
	}
	#partners figure,
	#partners figure img {
		width: 120px !important;		
		height: 120px;
	}
	#gallery .col-xs-12 {
		width: 260px !important;
		margin: 0 auto 80px !important;
		padding-bottom: 110px;
	}
	#gallery .row:first-of-type {
		margin-bottom: -70px !important;
		padding-top: 0;
	}
	.ekko-lightbox-nav-overlay a span {
		opacity: 0;
	}
	#services .mobile-first {
		margin-top: 40px;
	}
	#gallery p {
		margin-bottom: 0 !important;
	}
	#gallery .header {
		margin-top: -20px;
	}
	#subscribe {
		padding: 100px 0 !important;
	}
	#subscribe-form {
		padding: 40px;
	}
	#subscribe-form p,
	#subscribe-form input,
	#subscribe-form input[type="email"] {
		display: block;
		width: 200px;
		margin-right: auto !important;
		clear: both;
	}
	#subscribe-form input[type="email"] {
		width: 160px;
	}
	#testimonials {
		padding-top: 80px;
	}
}
/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {
	.navbar-inverse {
		border-bottom: 1px solid  #1a1a1a;
	}
	#intro h2 {
		margin: 0;
		padding: 50px 0 5px;
		font-size: 40px;
		text-transform: uppercase;
		font-weight: 100;
	}
	.row {
		width: 94%;
		margin-left: auto;
		margin-right: auto;
	}
	.section {
		padding-top: 54px;
		padding-bottom: 54px;
	}
	h2.header {
		display: block;
		padding-top: 50px;
		clear: both;
	}
	.about-tabs {
		text-align: center;
		clear: both;
		padding-top: 40px;
		margin-bottom: 30px;
	}
	.about-tabs li {		
		height: 200px;
		display: inline;
		padding: 0 3px;
	}
	.feature img {
		max-width: 10%;
		margin-right: 20px;
	}
	#action img {
		display: none;
	}
	#gallery h2,
	#partners h2 {
		margin-top: -40px;
		margin-bottom: 30px;
		margin-left: 0;
		margin-right: 0;
		color: #444;
		text-align: center;
		transform: none;
	}
	#gallery{
		padding-bottom: 0;
	}
	#partners figure {
		display: block;
		width: 120px !important;		
		margin: 0 auto !important;
		clear: both;
	}
	#gallery .col-xs-12 {
		display: block;
		float: none;
		width: 260px !important;
		margin: 0 auto 80px !important;
		padding-bottom: 110px;
	}
	#gallery .row:first-of-type {
		margin-bottom: -70px !important;
		padding-top: 0;
	}
	#gallery p {
		margin-bottom: 20px;
	}
	#partners {
		padding-bottom: 60px;
	}
	#partners h2 {
		margin-top: -100px;
	}
	#services {
		margin-bottom: -60px;
	}
	#services .mobile-first {
		margin-top: 60px;
	}
	#services h2 {
		margin: -70px 10% 20px;
	}
	#services .btn {
		display: block;
		width: 140px;
		margin: 0 auto 80px;
		clear: both;
	}
	#subscribe {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	#subscribe p.text-right {
		font-size: 15px;
	}
	#subscribe p.text-right,
	#subscribe input {
		float: none;
		display: block;
		width: 60%;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	#testimonials {
		padding-top: 80px;
	}
	#contact {
		padding-top: 40px;
	}
	#contact .row {
		width: 60%;
		margin-left: auto;
		margin-right: auto;
	}
	#contact h2,
	#contact address,
	#contact p.hidden-sm {
		text-align: center;
	}
	#contact .text-right {
		text-align: center;
		padding-top: 20px;
	}
	footer {
		padding: 30px 0;
		height: auto;
		line-height: 3;
		text-align: center;
	}
	footer a.text-center.top {
		display: block;
		position: relative;
		width: 100%;
		left: auto;
		right: auto;
		text-align: center;
	}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {  
	.row {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.section {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	h2.header {
		display: block;
		padding-top: 60px;
		clear: both;
	}
	#offers,
	#features {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	#about {
		padding-top: 80px;
	}
	#features .feature {
		display: inline-block;
		width: 33.333%;
		clear: none;
		float: left;
		margin-bottom: 40px;
	}
	#features h2 {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	#features .feature p,
	#features .feature img {
		max-width: 80%;
		display: block;
		margin: 0 10% 10px;
	}
	#features .feature p {
		text-align: center;
	}
	.about-tabs {
		text-align: center;
		clear: both;
		padding-top: 40px;
		margin-bottom: 30px;
	}
	.about-tabs li {		
		height: 200px;
		display: inline;
		padding: 0 3px;
	}
	.callus img {
		display: block;
		width: 80px;
		float: none !important;
		margin: 0 auto 20px !important;
	}
	#gallery h2,
	#partners h2 {
		margin-top: -40px;
		margin-bottom: 30px;
		margin-left: 0;
		margin-right: 0;
		color: #444;
		text-align: center;
		transform: none;
	}
	#partners,
	#services {
		padding-bottom: 80px;
	}
	#partners h2 {
		margin-top: -60px;
	}
	#services h2 {
		margin: -60px 10% 20px;
		font-size: 16px;
		font-weight: 500;
	}
	#testimonials {
		margin-top: 100px;
	}
	#subscribe-form {
		padding: 20px;
	}
	#subscribe-form input[type="email"] {
		width: 200px;
	}
	#contact h2.header {
		margin-top: -30px;
	}
	footer {
		padding: 20px 0;
		height: auto;
		min-height: 160px;
		line-height: 20px;
	}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) { 
	.callus h4 {
		font-size: 110%;
	}
	#gallery .orange-box,
	#partners .grey-box {
		width: 100px;
	}
	#partners h2 {
		margin-right: 25px;
		margin-top: 125px;
	}
	#gallery h2 {
		margin-left: 20px;
		margin-top: 200px;
	}
	#subscribe-form input[type="email"] {
		width: 300px;
	}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }