* {
  margin: 0;
  padding: 0;
}
html, body {
  height:100%;
  width:100%;
  border:0;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  background-color: #fff;
}
.container {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 10px;
}
h1 {
  font-size: 2.5em;
  line-height: 1.1em;
  font-weight: 500;
}
h2 {
  font-size: 1.875em;
  line-height: 1.1em;
  font-weight: 500;
}
h3 {
  font-size: 1.5em;
  line-height: 1.1em;
  font-weight: 300;
}
h4 {
  font-size: 1.5em;
  line-height: 1.1em;
  font-weight: 300;
}
p {
  margin-bottom: 30px;
}
a {
  text-decoration: none;
  color: #fff;
}
a:hover {
  color: #3d9b91;
}
img {
  max-width: 100%;
}
header {
  background-color: #444;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
header .email, header .phone {
  display: block;
}
#head-contact {
  margin-top: 20px;
  text-align: center;
}
#head-contact  .email {
  font-size: 1.1111111111111112em;
}
#head-contact  .phone {
  font-size: 1.5em;
}
nav {
  background-color: #555;
  font-size: 1.1111111111111112em;
  line-height: 1.25em;
  font-weight: 300;
  text-align: center;
}
nav .container {
  padding: 0;
}
nav ul {
  list-style: none;
}
nav ul li a {
  color: #fff;
  display: block;
  padding: 10px 10px 11px;
}
nav ul li a.quote {
  background-color: #cc2825;
}
nav ul li a.quote:hover {
  background-color: #b11b18;
  color: #fff;
}
nav > ul {
  overflow: hidden;
  -webkit-transition: max-height 0.35s ease-out;
  -moz-transition: max-height 0.35s ease-out;
  -ms-transition: max-height 0.35s ease-out;
  -o-transition: max-height 0.35s ease-out;
  transition: max-height 0.35s ease-out;
  display: none;
}
nav > ul.open {
  border-top: 1px solid #616161;
  display: block;
}
nav #nav-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
}
#top {
  background: url(../imgs/diag-lines.png) left top repeat, url("../imgs/cover.jpg") top center no-repeat;
  background-size: auto, cover;
  min-height: 260px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.65); }
}
#top .container {
  max-width: 265px;
  padding: 0;
}
#top h1 {
  line-height: 1em;
  margin: 0 auto;
  padding-top: 100px;
}
#top h1 span {
  display: block;
  font-size: 0.625em;
  line-height: 0.75em !important;
  font-weight: 400;
}
#top h3 {
  font-size: 1.1em;
  line-height: 1.75em;
  font-weight: 500;
  text-transform: uppercase;
}
@-webkit-keyframes fadein{
    from{
        opacity:0;
        top:-5px;
    }
    to{
        opacity:1;
        top:0px;
    }
}
#top h1, #top h3 {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
   animation: fadein 2s;
}
#services {
  background: url(../imgs/zig-zag-lines.png) left top repeat #3d9b91;
  padding: 40px 10px 20px;
  text-align: center;
  overflow: hidden;
}
#services h1, #services h2, #services h3, .service .title, .service ul {
    text-align: center;
}
#services h3 {
  font-weight: 300;
}
.service ul {
  list-style: none;
}
.service {
  background-color: rgba(41, 101, 97, 0.2);
  margin: 40px auto;
  padding: 30px;
}
.service h2 {
  margin-bottom: 10px;
}
.service .title img {
    margin-bottom: 10px;
}
.service ul {
  line-height: 24px;
} 
.animate.slide-left {
  opacity: 0;
  -moz-transition: all 1s linear;
  -webkit-transition: all 1s linear;
  -o-transition: all 1s linear;
  transition: all 1s linear;
  -moz-transform: translate(-200px, 0px);
  -webkit-transform: translate(-200px, 0px);
  -o-transform: translate(-200px, 0px);
  -ms-transform: translate(-200px, 0px);
  transform: translate(-200px, 0px);
}
.animate.slide-right {
  opacity: 0;
  -moz-transition: all 1s linear;
  -webkit-transition: all 1s linear;
  -o-transition: all 1s linear;
  transition: all 1s linear;
  -moz-transform: translate(200px, 0px);
  -webkit-transform: translate(200px, 0px);
  -o-transform: translate(200px, 0px);
  -ms-transform: translate(200px, 0px); 
  transform: translate(200px, 0px);
}
.animate.slide-up {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate(0px, 40px);
  -webkit-transform: translate(0px, 40px);
  o-transform: translate(0px, 40px);
  -ms-transform: translate(0px, 40px); 
  transform: translate(0px, 40px);
}
.animate.in-view {
  opacity: 1;
  -moz-transform: translate(0px, 0px);
  -webkit-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}
#projects {
  padding: 40px 0;
  background: url(../imgs/vert-lines.png) left top repeat #fff;
  color: #555;
  text-align: center;
}
#projects h1 {
  color: #cc2825;
}
#projects h3 {
  color: #444;
}
#projects .project {
  display: block;
  margin-top: 40px;
}
#projects .project .fa {
  margin-left: 5px;
}
#projects img {
  margin-bottom: 20px;
}
#projects p {
  font-size: 1.5em;
  margin-bottom: 10px;
}
#projects a {
  color: #3d9b91;
}
#projects a:hover {
  color: #29877d;
}
#contact {
  padding: 40px 0;
  background-color: #444;
  text-align: center;
}
#contact-info, #form {
  margin-top: 40px;
}
footer {
  padding: 40px 0;
  background: url(../imgs/diag-lines.png) left top repeat #555;
  font-size: 1.1em;
  font-weight: 300;
  text-align: center;
}
#top-btn {
  display: inline-block;
  border: none;
  outline: none;
  background-color: #cc2825;
  color: white;
  cursor: pointer;
  margin: 10px auto;
  padding: 10px 17px;
  border-radius: 10px;
}
#top-btn:hover {
  background-color: #b11b18;
}
#top-btn .fa-arrow-up {
  font-size: 32px;
  line-height: 32px;
}
#top-btn span {
  display: block;
  font-size: 12px;
  line-height: 12px;
}
#ft-nav {
  margin-bottom: 40px;
}
#ft-contact a.phone {
  font-weight: 400;
  font-size: 1.1em;
}
#trade {
  background-color: #cc2825;
  text-align: center;
  padding: 10px 0;
}
#trade p {
  margin-bottom: 0;
}
#trade p span {
  display: block;
}

/********  Tab & Desktop ********/

@media screen and (min-width: 850px) {
  header {
    text-align: left;
  }
  #head-contact {
    float: right;
    text-align: right;
  }
  #head-contact .email, #head-contact .phone {
    display: inline-block;
  }
  #head-contact .email {
    margin-right: 30px;
  }
  nav #nav-btn {
    display: none;
  }
  nav {
    text-align: right;
  }
  nav > ul {
    display: block;
  }
  nav ul li {
    display: inline-block;
  }
  nav ul li a.quote {
    margin-left: 10px;
  }
  #top {
    height: calc(100% - 169px);
    height: -o-calc(100% - 169px); /* opera */
    height: -webkit-calc(100% - 169px); /* google, safari */
    height: -moz-calc(100% -169px); /* firefox */
  }
  #top .container {
    max-width: 700px;
  }
  #top h1 {
    padding-top: 55%;
  }
  #top h1 {
    font-size: 4.5em;
    line-height: 1em;
  }
  #top h3 {
    font-size: 1.1em;
  }
  footer, #contact {
    white-space: nowrap;
  }
  #form {
    max-width: 700px;
    margin: 40px auto 0;
  }
  #ft-nav, #ft-contact, #contact-info {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    width: 48%;
  }
  #ft-nav {
    margin-right: 4%;
  }
  #ft-nav {
    text-align: left;
  }
  #ft-contact {
    text-align: right;
  }
  #top-btn {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 20px; 
    z-index: 99; 
  }
  .phone {
    pointer-events: none;
    cursor: default;
  }
  #trade p span {
    display: inline;
  }
}

/* Services Section only */
@media screen and (min-width: 850px) {
  .service h2 {
    margin-bottom: 0;
  }
  .service .title, .service ul {
    display: inline-block;
    margin: 20px 3% 20px 0;
    vertical-align: middle;
  }
  .service:nth-child(odd) {
    -webkit-clip-path: polygon(0% 0%, 84% 0%, 100% 50%, 84% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 84% 0%, 100% 50%, 84% 100%, 0% 100%);
    padding-right: 15%;
  }
  .service:nth-child(odd) ul {
    text-align: left;
  }
  .service:nth-child(even) {
    -webkit-clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 16% 100%, 0% 50%);
    clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 16% 100%, 0% 50%);
    padding-left: 15%;
    display: flex;
  }
  .service:nth-child(even) > .title {
    order: 2;
  }
  .service:nth-child(even) > ul {
    order: 1;
    margin-top: 52px;
    text-align: right;
  }
}