* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", Helvetica, Arial, Sans-Serif;
  color: white;
}

h1 {
  font-size: 1.8em;
}

#bg, #bg2 {
  position: fixed;
  background: url(../images/background1fade.jpg) #333333 no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  width: 100%;
  z-index: -1;
}

#bg2 {
  background: url(../images/triangularlight.png) repeat;
  z-index: -2;
}

a, a:visited, a:hover {
  text-decoration: none;
  color: white;
}

.logo {
  height: 89px;
  width: 217px;
  margin: 20px auto;
  background-image: url(../images/logo.png);
}

.nav {
  font-weight: 600;
  margin-top: 50px;
  font-size: 1em;
  border-bottom: 2px solid;
  border-bottom-color: rgba(255, 255, 255, 0);
  padding-bottom: 10px;
}

#tagline {
  text-align: center;
  margin-top: 150px;
}
#tagline h2 {
  font-size: 1.1em;
}

.shadow {
  -moz-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.textCenter {
  text-align: center;
}

#arrow {
  width: 32px;
  height: 32px;
  background-image: url(../images/arrow.png);
  position: fixed;
  left: 50%;
  margin-left: -16px;
  bottom: 100px;
  display: none;
  opacity: 0;
}

#footer {
  background-color: #222222;
  padding: 30px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
}

#offset {
  color: black;
  position: absolute;
  top: 100%;
  width: 100%;
}

#footerOffset {
  margin-top: 360px;
}

.thumb {
  display: block;
  position: relative;
  text-align: center;
  height: 380px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.thumb img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.brand {
  background: #222222;
}

.site {
  background: white;
}

.overlay {
  background: rgba(0, 0, 0, 0.83);
  color: white;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 999;
  top: 0;
  display: table;
  display: none;
  opacity: 0;
}
.overlay .overlay-inner {
  display: table-cell;
  vertical-align: middle;
}

.section {
  margin-bottom: 40px;
}
.section h1 {
  margin-bottom: 30px;
}

.col-md-6, .col-xs-12 {
  padding: 8px !important;
}

#contact {
  color: #333333;
  margin-top: 200px;
  text-align: center;
}
#contact br {
  line-height: 13px;
}
#contact input[type='email'], #contact textarea {
  color: black;
  background: white;
  padding: 5px;
  padding-top: 0;
  border: none;
  margin-bottom: 36px;
  padding-left: 58px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
#contact button {
  color: #333333;
  height: 60px;
  background: transparent;
  border: 3px solid #333333;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 8px;
}
#contact h1 {
  margin-bottom: 20px;
}
#contact h2 {
  text-align: left;
}
#contact textarea {
  height: 220px;
  background: url("../images/bubble.png") white 12px 13px no-repeat;
  padding-top: 12px;
}
#contact input[type='email'] {
  margin-top: 8px;
  height: 60px;
  background: url("../images/email.png") white 12px 13px no-repeat;
}

#cd-dropdown:first-child {
  background: url("../images/website.png") white 10px 10px no-repeat;
}

#about {
  color: #333333;
  opacity: 0;
}

form {
  position: relative;
  height: 521px;
}

#formoverlay {
  display: none;
  top: 0;
  width: 60%;
  margin: auto;
  text-align: center;
}
#formoverlay h2 {
  text-align: center;
}

@media (max-width: 376px) {
  body {
    font-size: 14px;
  }
}
@media (max-width: 434px) {
  #tubetnr img {
    width: 90%;
  }
}
@media (max-width: 479px) {
  #header {
    margin: auto;
  }
  #header .logo {
    position: absolute;
    left: 50%;
    margin-left: -50%;
    right: 0;
    left: 0;
    margin: auto;
  }

  .nav {
    position: relative;
    z-index: 100;
    top: 130px;
  }
  .nav:first-child {
    margin-right: 20px;
  }
  .nav:last-child {
    margin-left: 20px;
  }

  .cd-dropdown,
  .cd-select {
    width: 80%;
  }

  input[type='email'], textarea {
    width: 80%;
  }

  button {
    width: 45%;
  }
}
@media (min-width: 480px) {
  body {
    font-size: 20px;
  }

  #header {
    display: inline-block;
    margin: auto;
  }
  #header * {
    float: left;
  }

  .nav:first-child {
    margin-right: 40px;
  }
  .nav:last-child {
    margin-left: 40px;
  }

  .cd-dropdown,
  .cd-select {
    width: 60%;
  }

  input[type='email'], textarea {
    width: 60%;
  }

  button {
    width: 25%;
  }
}
@media (max-width: 565px) {
  #stonehouse img {
    width: 100%;
  }

  #dropsphere img {
    width: 90%;
  }
}
@media (min-width: 768px) {
  body {
    font-size: 24px;
  }
}
@media (min-width: 992px) {
  #stonehouse img {
    width: 98%;
  }
}
@media (min-width: 1200px) {
  #stonehouse {
    width: auto;
  }
}
