/**
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */

html, body {
  height: 100%;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 18px;
}

.front h1.page-header {
  display: none;
}

#navwrapper {
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 20;
  -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
      -ms-transform: translateZ(0);
          transform: translateZ(0);
  /* forces browser to use seperate
     layer for repainting .active
     changes. */
}
#navbar {
  width: 100%;
  /*height: 150px;*/
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}
@media screen and (min-width: 2000px) {
  #navbar {
    background-size: 100% auto;
  }
}
#navbar .leaf {
  font-weight: 500;
}
@media screen and (max-width: 992px) {
  #navbar .leaf a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 16px;
  }
}
.navbar-nav {
  float: right;
}
.navbar-collapse {
  padding: 0;
}
.main-container {
  padding-top: 100px;
}

.front #navbar.front {
  background: transparent;
  position: relative;
  text-align: right;
}
.front #navbar.front .container {
  position: absolute;
  top: 10px;
  right: 10px;
}
.front #navbar.front .navbar-nav {
  margin-top: 0;
}
.front #navbar.front .logo {
  display: none;
}
.front #navbar.front .name {
  display: none;
}
.front #navbar.front .leaf {
  float: none;
}
.front #navbar.front a, .front #navbar.front a:hover {
  background: transparent;
  color: #000;
  height: 30px;
  padding: 5px;
  font-size: 28px;
  font-weight: normal;
}
.front #navbar.front a:hover {
  color: #555;
}

#first-time {
  display: none;
}
.front #block-system-main {
  display: none;
}
.not-front .main-container .row {
  padding: 50px 20px 0 20px;
}

.main-container, .row, .col-sm-12 {
  width: 100%;
  margin: 0;
  padding: 0;
}
.block {
  position: relative;
  background-position: 50% 50%;
  width: 100%;
  padding: 150px 70px 50px 70px;
  min-height: 100vh;
  perspective: 1px;
  overflow: hidden;
  z-index: 1;
}
.block:nth-of-type(odd) {
  color: #000;
}
.block:nth-of-type(odd) div.parallax {
  background-color: #EEE;
}

footer {
  display: none;
}

.block.block-block .parallaxwrapper > div,
.block.block-views .view-header p:first-child,
.block-user .parallaxwrapper > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  z-index: -2;
  /* Force browsers to create seperate layer. */
  -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
      -ms-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  /* Animation for slider */
  -webkit-transition: margin-left 1s;
     -moz-transition: margin-left 1s;
          transition: margin-left 1s;
}

.block .parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  -moz-object-fit: cover; 
    -o-object-fit: cover;
       object-fit: cover;
  -moz-object-position: center center;
    -o-object-position: center center;
       object-position: center center;
  z-index: -2;
}
.block div.parallax {
  bottom: 0;
}
.block img.parallax {
  z-index: -2;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}
.block img.parallax:nth-child(1)  { z-index: -1; }
.block img.parallax:nth-child(2)  { left: 100%; }
.block img.parallax:nth-child(3)  { left: 200%; }
.block img.parallax:nth-child(4)  { left: 300%; }
.block img.parallax:nth-child(5)  { left: 400%; }
.block img.parallax:nth-child(6)  { left: 500%; }
.block img.parallax:nth-child(7)  { left: 600%; }
.block img.parallax:nth-child(8)  { left: 700%; }
.block img.parallax:nth-child(9)  { left: 800%; }
.block img.parallax:nth-child(10) { left: 900%; }
.block img.parallax:nth-child(11) { left: 1000%; }
.block img.parallax:nth-child(12) { left: 1100%; }
.block img.parallax:nth-child(13) { left: 1200%; }
.block img.parallax:nth-child(14) { left: 1300%; }
.block img.parallax:nth-child(15) { left: 1400%; }
.block img.parallax:nth-child(16) { left: 1500%; }
.block img.parallax:nth-child(17) { left: 1600%; }
.block img.parallax:nth-child(18) { left: 1700%; }
.block img.parallax:nth-child(19) { left: 1800%; }
.block img.parallax:nth-child(20) { left: 1900%; }

.block-heading {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: 30px;
  text-align: center;
}
.block-heading h2 {
  line-height: 80px;
  font-size: 28px;
}

img.logo {
  max-width: 543px;
  height: auto;
}

@media screen and (max-width: 767px) {
  #navbar {
    padding: 0;
  }
  .navbar-collapse {
    border: 0;
    overflow-x: hidden;
  }
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background: rgba(0,0,0, 0.4);
  }
  ul.nav, ul.nav .leaf {
    width: 100%;
    text-align: left;
  }
  .block {
    padding: 70px 5px 30px 5px;
  }
  img.logo {
    max-width: 100%;
    height: auto;
  }
  .block.fixed-background {
    background-color: transparent;
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
    background-attachment: scroll;
    /* bg-a: fixed is broken on iOS, can't use that */
  }
}

#continue-arrow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
}
#continue-arrow a {
  color: #45320C !important;
  font-size: 32px;
}
@media screen and (min-width: 768px) {
  #continue-arrow a {
    font-size: 64px;
  }
}

.bg-slider-controls {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  text-align: center;
}
.bg-slider-control {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px 0 5px;
  cursor: pointer;
  border-radius: 50%;
  border: 3px solid #000;
  background: #FFF;
}
.bg-slider-control.active {
  background: #000;
}
.bg-slider-arrow {
  font-size: 36px;
  top: 50%;
  margin-top: -18px;
  position: absolute;
  cursor: pointer;
}
.bg-slider-previous {
  left: 50px;
}
.bg-slider-next {
  right: 50px;
}

.block-user form {
  width: 100%;
  text-align: center;
}
.block-user form > div {
  display: inline-block;
  width: 400px;
  text-align: left;
}
.block-user .form-item {
  position: relative;
}
.block-user label {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 300px;
  text-align: right;
  padding-right: 20px;
}
.block-user input {
  height: 100%;
}
.block-user button {
  width: 400px;
}
.block-user ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .block-user form > div {
    width: 100%;
    padding: 0 10px;
  }
  .block-user .form-item {
    width: 100%;
    height: auto;
  }
  .block-user label {
    position: relative;
    right: 0;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .block-user input {
    height: 50px;
  }
  .block-user button {
    width: 100%;
    height: 50px;
    margin-top: 10px;
  }
  .block-user ul {
    width: 100%;
    text-align: left;
  }
}

.col-sm-12 > .alert {
  position: fixed;
  bottom: 70px;
  left: 20px;
  right: 20px;
  z-index: 90;
}
div.error {
  background: transparent !important;
}
