/* CSS Responsive */

/* ------------------------------------------------------------------- 
 * responsive:
 * header
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 1600px) {
  .header-logo {
    left: 60px;
  }

  .header-menu-toggle {
    right: 60px;
  }
}
@media only screen and (max-width: 800px) {
  .header-logo {
    left: 40px;
  }

  .header-menu-toggle {
    right: 40px;
  }
}
@media only screen and (max-width: 600px) {
  .s-header {
    height: 90px;
    top: 12px;
  }

  .header-logo {
    left: 30px;
  }
  .header-logo img {
    width: 60px;
    /*height: 34px;*/
  }

  .header-menu-toggle {
    right: 25px;
    top: 30px;
  }
}
@media only screen and (max-width: 500px) {
  .header-menu-toggle::before {
    display: none;
  }
}
@media only screen and (max-width: 400px) {
  .s-header {
    top: 6px;
  }

  .header-logo {
    left: 25px;
  }
  .header-logo img img {
    width: 60px;
  }

  .header-menu-toggle {
    top: 24px;
    right: 20px;
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * home
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 1200px) {
  .home-content h1 {
    font-size: 3.7rem;
  }
  .home-content h1 + p {
    font-size: 1.6rem;
  }
  .home-content br {
    display: none;
  }
  .home-content__main {
    max-width: 850px;
  }
	.header-nav {
	  width: 42%;
	}
}
@media only screen and (max-width: 1000px) {
  .home-content__main {
    max-width: 650px;
    padding-right: 0;
  }
	.header-nav {
	  width: 50%;
	}
}
@media only screen and (max-width: 800px) {
  .home-content__main {
    max-width: 580px;
  }
  .home-scroll {
    right: 40px;
  }
}
@media only screen and (max-width: 700px) {
  .home-content__main {
    max-width: 480px;
  }
}
@media only screen and (max-width: 600px) {
  .home-content__main {
    width: auto;
    padding-left: 35px;
    padding-right: 35px;
  }
  .home-scroll {
    right: 30px;
    bottom: 6rem;
  }
  .home-scroll__icon {
    height: 4.2rem;
    width: 4.2rem;
  }
	.header-nav {
	  width: 80%;
	}
}
@media only screen and (max-width: 500px) {
  .home-content h1 {
    font-size: 3.1rem;
  }
  .home-content h1 + p {
    font-size: 1.4rem;
  }
  .s-home {
    min-height: 642px;
  }
}
@media only screen and (max-width: 400px) {
  .s-home {
    min-height: 630px;
  }
  .home-content__main {
    padding-left: 25px;
    padding-right: 25px;
  }
  .home-scroll {
    right: 25px;
  }
  .home-content__main .subheader {
	  display: inline-block;
	  max-width: 70%
  }
  .home-content h1 + p {
    font-size: 1.6rem;
  }
	.header-nav {
	  width: 94%;
	}
}

/* ------------------------------------------------------------------- 
 * responsive:
 * works
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  .s-works {
    padding: 15rem 0 22.2rem;
  }
}
@media only screen and (max-width: 800px) {
  .s-works {
    padding: 12rem 0 21rem;
  }
}
@media only screen and (max-width: 400px) {
  .s-works {
    padding: 9.6rem 0 21rem;
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * display headings
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  p.lead {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 900px) {
  .display-1 {
    font-size: 3.5rem;
  }
  .subhead {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 500px) {
  .display-1 {
    font-size: 3rem;
  }
  .subhead {
    font-size: 1.2rem;
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * services
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  .s-services {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }
  .services-list [class*="col-"]:nth-child(2n + 1) {
    padding-right: 30px;
  }
  .services-list [class*="col-"]:nth-child(2n + 2) {
    padding-left: 30px;
  }
}
@media only screen and (max-width: 800px) {
	.s-services .display-1{
		font-size: 3rem;
	}
  .s-services {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
  .services-list {
    margin-top: 3rem;
  }
  .services-list .service-icon {
    font-size: 4.5rem;
  }
  .services-list [class*="col-"]:nth-child(n) {
    padding: 0 15px;
  }
}
@media only screen and (max-width: 600px) {
  .services-list [class*="col-"]:nth-child(n) {
    padding: 0 10px;
  }
}
@media only screen and (max-width: 500px) {
	.s-services .display-1{
		font-size: 2.3rem;
	}
}
@media only screen and (max-width: 400px) {
  .s-services {
    padding-top: 9.6rem;
  }
  .services-list [class*="col-"]:nth-child(n) {
    padding: 0;
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * about
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  .s-about {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }

  .process__vline-left {
    left: calc(15px + 22px);
  }
  .process__vline-right {
    left: calc(50% + 15px + 22px);
  }
  .process h4 {
    font-size: 2.6rem;
	 padding-left: 0;
  }
  .process__col::before {
    height: 45px;
    width: 45px;
    line-height: 45px;
    font-size: 1.8rem;
    left: 15px;
  }
  .process__text {
    margin-left: 6.8rem;
    padding-right: 0;
  }
}
@media only screen and (max-width: 800px) {
  .s-about {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }

  .process {
    margin-top: 3rem;
  }
  .process__vline-right {
    display: none;
  }
  .process__col {
    min-height: 0;
  }
  .process__col::before {
    top: -3px;
  }
}
@media only screen and (max-width: 600px) {
  .process__vline-left {
    left: calc(10px + 22px);
  }
  .process__col::before {
    top: -3px;
    left: 10px;
  }
  .process h4 {
    font-size: 2.4rem;
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * contact
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 1200px) {
  .s-contact {
    padding-top: 15rem;
  }
  .contact-main {
    margin-top: 13.2rem;
  }
}
@media only screen and (max-width: 1000px) {
  .contact-email {
    font-size: 4.2rem;
  }
}
@media only screen and (max-width: 800px) {
  .s-contact {
    padding-top: 12rem;
    padding-bottom: 9rem;
  }

  .contact-secondary,
  .cl-copyright {
    padding-right: 7.8rem;
  }

  .contact-secondary {
    margin-bottom: 1.5rem;
  }

  .contact-email {
    font-size: 3.6rem;
  }

  .contact-number {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 600px) {
  .s-contact {
    padding-bottom: 6rem;
  }
  .contact-main {
    margin-top: 12rem;
  }
  .contact-email {
    font-size: 3rem;
  }
  .cl-go-top {
    right: 50%;
    margin-right: -60px;
    bottom: 4rem;
  }
}
@media only screen and (max-width: 480px) {
  .cl-copyright {
    margin-top: 0;
  }
}
@media only screen and (max-width: 400px) {
  .s-contact {
    padding-top: 9.6rem;
    padding-bottom: 3rem;
  }
  .contact-main {
    margin-top: 9.6rem;
  }
  .contact-secondary {
    padding: 0;
  }
  .contact-email {
    font-size: 2.4rem;
  }
  .cl-copyright {
    margin-top: 9rem;
    padding: 0;
    text-align: center;
  }
  .cl-copyright span {
    font-size: 14px;
  }
  .cl-copyright span::after {
    display: none;
  }
}
