﻿html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%; }

body {
  font-family: verdana, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  min-height: 700px; }

.full-page {
  height: 400%;
  position: relative; }

p {
  margin: 0 0 1em 0; }

a {
  text-decoration: none;
  color: #284b8c;
  cursor: pointer; }

.clear {
  clear: both; }
/*
::selection {
  background: #284b8c;
  color: #fff;
  text-shadow: none; }
*/
.width-container {
  max-width: 960px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative; }

nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: -20px;
  right: -20px;
  height: 70px;
  padding: 0 20px;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  background: white;
  color: #284b8c; }
  nav h1 {
    float: left;
    margin-top: 0px;
    padding: 0; }
    nav h1 a {
      width: 250px;
      height: 72px;
      background: url(../images/logo.png) center no-repeat;
      background-size: contain;
      display: block; }
      nav h1 a span {
        display: none; }
  nav .right {
    position: absolute;
    right: 0;
    line-height: 70px; }
    nav .right a {
      display: inline-block;
      color: #284b8c;
      padding: 0 15px;
      margin: 0;
      line-height: 40px;
      height: 40px; }
      nav .right a.active {
        background-color: #284b8c;
        color: white;
        border-radius: 3px; }

#menu {
  display: none;
  position: absolute;
  top: 17px;
  right: 35px;
  /* add 20 for the nav bar overlap */
  width: 34px;
  height: 34px;
  padding: 1px;
  border-radius: 3px;
  border: 1px solid #284b8c;
  background: white; }

#menu span {
  display: block;
  margin: 5px;
  background: #284b8c;
  border-radius: 2px;
  height: 5px; }

#menu:active {
  background: #284b8c; }

#menu:active span {
  background: white; }

@media only screen and (max-width: 750px) {
  #menu {
    display: block; }

  nav .right {
    display: none;
    width: 100px;
    padding: 5px;
    top: 70px;
    right: 20px;
    text-align: right;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #284b8c;
    background: white; }
    nav .right.visible {
      display: block; }
    nav .right a {
      display: block; } }
@media only screen and (max-width: 570px) {
  #menu {
    width: 28px;
    height: 28px;
    right: 14px;
    padding-top: 2px; }

  #menu span {
    height: 4px;
    margin: 4px; }

  nav .right a {
    padding: 0 10px;
    height: 33px;
    line-height: 33px; } }
    
h1 {
  font-size: 30px;
  line-height: 70px;
  margin: 0;
  font-weight: normal;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-style: italic; }

section {
  height: 25%;
  clear: both;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; }
  section h1 {
    background: #284b8c;
    color: white;
    height: 70px;
    overflow: hidden;
    z-index: 10;
    position: relative;
    opacity:0.75;
    text-shadow: none; }

#home {
  background-image: url(../images/background-1111.jpg);
  background-position: center; }
  #home .content {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    text-shadow: 0 1px 1px white;
    background: rgba(255, 255, 255, 0.70);
    clear: both;
    text-align: center;
    font-size: 28px;
    padding: 55px 20px;
    height: 85px;
    position: absolute;
    margin: auto;
    top: -155px;
    left: 0;
    right: 0;
    bottom: 0; }
    @media only screen and (max-width: 1050px) {
      #home .content {
        font-size: 30px;
        height: 75px; } }
    @media only screen and (max-width: 800px) {
      #home .content {
        font-size: 24px;
        height: 60px; } }

#about {
  background-image: url('../images/background-2222.jpg'); }
  #about .grey {
    background-color: #eeeeee;
    padding: 30px 0 20px 0;
    height: 80px; }
  #about .features {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 150px;
    height: 420px;
    margin: auto;
    }
    #about .features article {
      height: 320px;
      width: 21%;
      padding: 0 2%;
      margin: 50px 4.0%;
      float: left;
      text-align: center;
      background-color: #284b8c;
      color: white;
      border-radius: 8px; }
      #about .features article .icon {
        width: 75px;
        height: 75px;
        margin: 40px auto 30px auto;
        background: center no-repeat;
        background-size: contain; }
        @media only screen and (max-width: 800px) {
          #about .features article .icon {
            width: 50px;
            height: 50px;
            margin-top: 20px;
            margin-bottom: 15px; } }
      #about .features article h2 {
        font-weight: normal;
        font-size: 20px; }
    #about .features .focus .icon {
      background-image: url('../images/icon-focus.png'); }
    #about .features .bespoke .icon {
      background-image: url('../images/icon-bespoke.png'); }
    #about .features .support .icon {
      background-image: url('../images/icon-support.png'); }
  #about .white {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 50px 0;
    height: 50px; }

#join {
  background-image: url('../images/background-6666.jpg'); }
  #join .width-container.main {
    position: absolute;
    top: 70px;
    bottom: 0;
    left: 0;
    right: 0; }
  #join .content {
    background: rgba(255, 255, 255, 0.70);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 43.5%;
    margin: auto 0;
    height: 430px;
    padding: 50px;
    width: 40%;
    border-radius: 8px;
    overflow: hidden;
    text-align: justify; }
    #join .content .post {
      background-color: #cccccc;
      border-radius: 8px;
      padding: 15px 25px;
      margin-bottom: 20px;
      text-align: left; }
      #join .content .post h3 {
        margin: 0;
        font-size: 14px; }
      #join .content .post p {
        margin: 0; }
    @media only screen and (max-width: 800px) {
      #join .content {
        font-size: 12px; } }

#contact {
  background-image: url('../images/background-contact.jpg'); }
  #contact .office {
    height: 200px;
    width: 18%;
    padding: 40px 2% 0 2%;
    margin: 0 1.5% 50px 1.5%;
    float: left;
    background-color: #eeeeee;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
    border-bottom: 5px solid #284b8c; }
    #contact .office h3 {
      font-size: 16px;
      margin-bottom: 25px; }
      @media only screen and (max-width: 930px) {
        #contact .office h3 {
          font-size: 13px; } }
    #contact .office .light {
      color: #999999; }
    @media only screen and (max-width: 930px) {
      #contact .office {
        font-size: 11px;
        padding-top: 20px; } }

footer {
  position: absolute;
  bottom: 0;
  z-index: 100;
  background-color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  padding: 15px 0; }
  footer p {
    margin: 0; }
  footer .left {
    float: left; }
  footer .right {
    float: right; }
  footer .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: -5px 0 -8px 10px;
    background: center no-repeat;
    background-size: contain; }
    footer .icon.twitter {
      background-image: url('../images/icon-twitter.png'); }
    footer .icon.linkedin {
      background-image: url('../images/icon-linkedin.png'); }

@media only screen and (max-width: 640px) {
  body, html, .full-page {
    height: auto; }

  #about, #join, #contact {
    background-image: none; }

  section {
    height: auto; }
    section .divider {
      height: 125px;
      background: center no-repeat;
      background-size: cover;
      background-attachment: fixed; }

  #home {
    padding-top: 195px;
    background-size: cover;
    background-position: top; }
    #home .content {
      position: static;
      background-color: white;
      height: auto;
      font-size: 16px; }

  #about .grey, #about .features, #about .white {
    position: static;
    height: auto; }
  #about .features {
    background-color: #284b8c; }
    #about .features article {
      float: none;
      width: auto;
      height: auto;
      margin: 0;
      padding: 10px 0; }
  #about .divider {
    background-image: url('../images/background-about.jpg'); }

  #join .width-container.main {
    position: static;
    margin: 0; }
    #join .width-container.main .content {
      position: static;
      margin: 0;
      padding: 20px 0;
      width: auto;
      height: auto; }
  #join .divider {
    background-image: url('../images/background-join.jpg'); }

  #contact .office {
    float: none;
    width: auto;
    padding: 0;
    margin: 0 0 20px 0;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    border: none; }
    #contact .office h3 {
      margin-bottom: 0; }
  #contact .divider {
    background-image: url('../images/background-contact.jpg'); }

  footer {
    position: static; }
    footer .center, footer .left, footer .right {
      clear: both;
      display: block;
      float: none;
      text-align: center; } }
