html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* Global
-----------------------------------------------------------*/
body {
  color: #414042;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

h1, h2, h3, h4 {
  color: #414042;
  font-weight: 700;
}

h1 {
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  line-height: 34px;
}

a, .button {
  -moz-transition-property: all;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

/* Header
-----------------------------------------------------------*/
.header-wrapper {
  background: #fff;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #636466;
}

.logo h1 {
  margin: 0;
}

/* Main nav
-----------------------------------------------------------*/
.main-nav {
  text-align: right;
}

.main-nav a {
  color: #414042;
  display: inline-block;
  font-weight: 700;
  padding: 12px;
}

.main-nav a:hover {
  color: #f36f21;
}

/* Hero
-----------------------------------------------------------*/
.hero-wrapper {
  padding-top: 76px;
}

.hero-caption {
  background: #414042;
  color: #fff;
  position: absolute;
  top: 80px;
  right: 75px;
  padding: 40px;
  max-width: 480px;
}

.hero-caption h1 {
  color: #fff;
}

.hero .flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 40px;
  text-align: center;
  z-index: 100;
}

.hero .flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.hero .flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #eeeeee;
  cursor: pointer;
  text-indent: -9999px;
  box-shadow: none;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.hero .flex-control-paging li a:hover {
  background: #fff;
}

.hero .flex-control-paging li a.flex-active {
  background: #fff;
  cursor: default;
}

/* Content
-----------------------------------------------------------*/
.section-wrapper {
  padding: 60px 0;
}

.primary-content {
  padding-top: 78px;
  min-height: 600px;
}

.primary-content header {
  text-align: center;
  padding: 25px 0;
}

.primary-content h1 {
  color: #f36f21;
}

.primary-content p {
  margin-bottom: 15px;
}

/* Home page */
.who.section-wrapper {
  background-image: url("images/bg-who-2.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro-text {
  padding-top: 8%;
}

.what.section-wrapper {
  background: #f36f21;
  color: #fff;
}

.what h1 {
  color: #fff;
}

.service-list {
  padding: 50px 15px;
}

.service-list .block-grid {
  margin: 0;
}

.service-list .block-grid li {
  border-bottom: 1px solid #b2b2b2;
  font-size: 28px;
  padding: 20px 15px;
  max-width: 530px;
}

.service-list .block-grid li:nth-child(even) {
  margin-right: 0;
  float: right;
}

.contact .centered {
  text-align: left;
}

/* Footer
-----------------------------------------------------------*/
footer {
  background: #414042;
  color: #b1b3b6;
  padding: 10px 0;
}

footer img {
  display: inline-block;
  vertical-align: text-bottom;
}

footer a {
  color: #b1b3b6;
}

.copyright {
  margin-top: 6px;
}

.footer-logo {
  text-align: right;
}

/* Form
-----------------------------------------------------------*/
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  background: #eeeeee;
  border: none;
  font-family: 'Karla', sans-serif;
  padding: 15px 20px;
  outline: none;
}

.gfield {
  margin-bottom: 20px !important;
}

.contact label {
  display: none;
}

.validation_error {
  display: none;
}

.gfield_description.validation_message {
  color: red;
}

/* Misc.
-----------------------------------------------------------*/
.button {
  background: #f36f21;
  color: #fff;
  cursor: pointer;
  border: none;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  padding: 15px 25px;
  outline: none;
  text-transform: uppercase;
  -moz-border-radius: 4px / 4px;
  -webkit-border-radius: 4px 4px;
  border-radius: 4px / 4px;
}

.column.centered, .columns.centered {
  float: none;
  margin: 0 auto;
}

.center {
  text-align: center;
}

.right {
  float: right;
}

@media only screen and (max-width: 767px) {
  .header-wrapper {
    position: relative;
  }

  .logo {
    position: absolute;
    left: 0;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .who.section-wrapper {
    background-image: url("images/bg-who.png");
    background-position: center center;
  }

  .hero-wrapper {
    background: #414042;
    padding-top: 0;
  }

  .hero-caption {
    position: relative;
    top: 0;
    right: 0;
    padding: 20px;
    max-width: 100%;
  }

  .hero-caption h1 {
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .hero .flex-control-nav {
    width: 100%;
    position: relative;
    bottom: 0px;
    padding: 20px;
  }

  .intro-text {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .copyright {
    margin-bottom: 8px;
  }

  .copyright,
  .footer-logo {
    text-align: center;
  }
}
/* end 767px */
@media only screen and (max-width: 615px) {
  .logo {
    position: relative;
    text-align: center;
  }

  .main-nav {
    float: none !important;
    text-align: center;
  }

  .main-nav.mobile-three {
    width: 100% !important;
  }
}
/* end 615px */
