/* SCREEN WIDTH UNDER 1200px */
@media screen and (max-width: 1199px) {
  .about-box {
    margin-top: 0;
  }
  .overflow-box {
    margin-left: 0;
  }
  .grid figure {
    margin: 0;
  }
  .steps {
    margin-top: 75px;
  }
  .steps .step .step-box-left {
    margin-left: 0;
    margin-top: 0;
  }
  .steps .step .step-box-right {
    margin-right: 0;
    margin-top: 0;
  }
  .testimonials .single-feedback .feedback-content .top {
    top: 160px;
  }
  .testimonials .single-feedback .feedback-content {
    margin-top: 0;
    margin-left: 0;
  }
  .testimonials .owl-theme .owl-controls {
    text-align: center;
    margin-top: 50px;
  }
  .fixed-bg {
    background-attachment: scroll;
  }
}

/* PORTFOLIO FIXES */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  figure.effect-zoe p.description {
    bottom: 110px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .grid figure {
    width: 50%;
  }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
  .grid figure {
    width: 50%;
  }
  figure.effect-zoe p.description {
    bottom: 100px;
  }
}

@media screen and (max-width: 639px) {
  .grid figure {
    width: 100%;
    max-width: 100%;
  }
}

/* SECREEN WIDTH undeer 992px */
@media screen and (max-width: 991px) {
  .footer-col {
    text-align: center !important;
  }
}

/* SCREEN WIDTH <= 640px */
@media screen and (max-width: 640px) {
  .steps .step .step-box-left,
  .steps .step .step-box-right {
    width: 100%;
    height: auto;
  }
  .subscribe-form .input-box {
    border-radius: 30px;
  }
  .subscribe-form .standard-button {
    margin-left: 0;
    border-radius: 30px;
  }
}

/* SCREEN WIDTH <= 480px */
@media screen and (max-width: 480px) {
  html {
    font-size: 62.5%;
  }
  .home .color-overlay {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .home .red-button {

  }
  .about-box .about-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .steps .step .step-number {
    margin-bottom: 50px;
  }
  .testimonials .single-feedback .feedback-content blockquote cite .client-image {
    display: none;
  }
}

/* RESPONSIVE NAVIGATION FIXES */
@media (max-width: 991px) {

.pull-left,
    .pull-right {
		float: none !important;
		margin: auto !important;
	}
}
/*---------------------------------------
   4.5 FIXES FOR <= 768PX SCREENS          
-----------------------------------------*/
@media (max-width: 767px) {
	html {
		font-size: 80%;
	}

	.navbar-toggle {
		font-size: 30px !important;
	}

	.navbar-inverse .navbar-toggle {
		border: 0 !important;
	}

	.navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
		background-color: inherit;
	}

	.sticky-navigation .main-navigation li a {
		line-height: inherit;
		padding: 10px;
	}

	.border-right-colored,
    .border-left-colored {
		boreder: none;
	}

	.navbar-inverse .navbar-collapse,
    .navbar-inverse .navbar-form {
		border-color: rgba(49, 49, 49, 0.1);
	}

	.sticky-navigation {
		min-height: 60px;
	}

	

	.sticky-navigation .navbar-brand {
		line-height: inherit;
	}

	.single-service {
		margin: 54px 0 54px 0;
	}

	.brief {
		padding-top: 65px;
		padding-bottom: 75px;
	}

	.section-header {
		margin-top: 75px;
		margin-bottom: 50px;
	}

	.features .overlay-layer-2 {
		padding-bottom: 50px;
	}

	.pricing-table {
		padding-left: 30px;
		padding-right: 30px;
		padding-top: 0;
	}

	.highlighted {
		margin-top: 0;
	}

	.single-pricing {
		margin-bottom: 40px;
	}

	.single-stats .icon-container {
		margin-bottom: 20px;
	}

	.single-stats .icon-container span {
		font-size: 50px;
	}

	.team-member {
		margin-bottom: 50px;
		max-width: 270px;
		margin: auto;
	}

	.contact-info .contact-links a {
		padding-top: 0;
		padding-bottom: 0;
	}
	.focuses .single-focus1,.focuses .single-focus2 {
	width:auto;
	height:auto;
	border-radius: 0px;
	}
	
}

@media (max-width: 580px) {
	html {
		font-size: 62.5% !important;
	}

	body {
		font-size: 14px;
		line-height: 23px;
		font-weight: 400;
	}
	
	h3,
    h4 {
		font-weight: 600;
	}

	h4 {
		font-size: 16px;
		line-height: 26px;
	}

	h5 {
		font-size: 15px;
		line-height: 24px;
	}

	.single-stats {
	    display: block;
	    width: 100%;
	}

	.contact-links .row[class^="col-xs"],
    .contact-links .row[class*=" col-xs"] {
		margin-bottom: 10px;
	}

	.section-header {
		margin-bottom: 25px;
	}

	.header .overlay-layer {
	   padding-top: 55px;
    }
    .header .overlay-layer .pull-right {
	   padding: 0;
    }

    .vertical-registration-form {
	   background: #ffffff;
	   padding: 7px 16px 16px 16px;
	   margin-top: 34px;
	   width: 100%;
	   border-radius: 0;
	   -webkit-box-shadow: none;
	   box-shadow: none;
    }

	.only-logo .navbar-header img {
		max-width: 80px;
	}

	.intro-section {
	   margin-top: 80px;
    }

	.intro-section h5 {
		margin-top: 15px;
		margin-bottom: 30px;
	}
	
	.pricing-table {
	    padding-left: 0;
	    padding-right: 0;
	}

	.standard-button {

	}

	.timeline-section {
		padding-left: 95px;
	}
}