/* Fonts */
@font-face {
  font-family: 'Futura BT';
  src: url('/static/fonts/Futura Light BT.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Futura BT';
  src: url('/static/fonts/Futura Medium BT.ttf') format('truetype');
  font-weight: 400;
}

html {
  box-sizing: border-box;
  font-size: 3vw;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.container {
  padding: 0 2.5rem;
}

/* Body */
body {
  margin: 0;
  font-family: 'Futura BT', Arial, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #515151;
  height: 100%;
}

main {
  position: relative;
  height: 100%;
}

main.blur {
  filter: blur(3px)
}

/* Inputs */
input:not([type=checkbox]):not([type=radio]):not(.text-group *) {
  border: 1px solid #ddd;
  padding: 0.5rem;
  width: 100%;
}
.text-group {
  width: 100%;
  position: relative;
  margin: 1.7rem 0;
  z-index: 0;
}

.text-group textarea {
  resize: none;
}

.text-group input,
.text-group textarea {
  background: none;
  color: #515151;
  font-size: 1.3rem;
  font-weight: 300;
  padding: 1rem 1rem 1rem 0;
  display: block;
  width: 100%;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #c6c6c6;
}

.text-group.errors input,
.text-group.errors textarea {
  color: rgb(214, 74, 74);
}

.text-group input:focus,
.text-group textarea:focus {
  outline: none;
}

.text-group input:valid ~ label,
.text-group textarea:valid ~ label {
  color: #c6c6c6;
  top: -0.8rem;
  font-size: 1rem;
}

.text-group.errors input:valid ~ label,
.text-group.errors textarea:valid ~ label {
  color: rgb(214, 74, 74);
}

.text-group input:focus ~ label,
.text-group textarea:focus ~ label {
  top: -0.8rem;
  font-size: 1rem;
  color: #b2c90c;
}

.text-group.errors input:focus ~ label,
.text-group.errors textarea:focus ~ label {
  color: rgb(214, 74, 74);
}

.text-group input:focus ~ .bar:before,
.text-group textarea:focus ~ .bar:before {
  width: 100%;
}

.text-group input[type="password"] {
  letter-spacing: 0.3rem;
}

.text-group label {
  color: #c6c6c6;
  font-size: 1.5rem;
  font-weight: 300;
  position: absolute;
  pointer-events: none;
  left: 0rem;
  top: 1rem;
  transition: 0.2s ease all;
}

.text-group.errors label {
  color: rgb(214, 74, 74);
}

.text-group .bar {
  position: relative;
  display: block;
  width: 100%;
}

.text-group .bar:before {
  content: '';
  height: 2px;
  width: 0;
  bottom: 0px;
  position: absolute;
  background: #b2c90c;
  transition: 0.2s ease all;
  left: 0%;
}

.text-group.errors .bar:before {
  background: rgb(214, 74, 74);
}

.text-group .error-message {
  position: absolute;
  font-size: 1rem;
  color: rgb(214, 74, 74);
}

.check-box {
  cursor: pointer;
  position: relative;
  height: 2rem;
  width: 2rem;
  border: 0.15rem solid #515151;
  border-radius: 0.5rem;
}

.check-box > div {
  position: absolute;
  pointer-events: none;
  background: #b2c90c;
  color: #fff;
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  top: -0.15rem;
  left: -0.15rem;
  padding: 0.2rem;
  padding-top: 0.3rem;
}

.check-box .icon {
  margin-top: -0.6rem;
}


/* Links */
a {
  color: #0054a8;
}


/* Icons */
.icon { vertical-align: middle; display: inline-block; }
.icon svg { width: 100%; fill: currentColor; }

/* Tables */
table {
  border-collapse: collapse;
}

td, th {
  vertical-align:top; padding: 0.5rem 1rem;
  text-align: left;
}

td:first-child, th:first-child {
  padding-left: 0;
}

td:last-child, th:last-child {
  padding-right: 0;
}

table.data {
  width: 100%;
}

table.data tr:hover td {
  background: #fafafa;
}

table.data td,
table.data th {
  border-bottom: 1px solid #e5e5e5;
  padding-top: 1rem;
  padding-bottom: 1rem;
}


/* Buttons */
button,
a.button {
  display: inline-block;
  padding: 1rem 0;
  width: 20rem;
  color: white;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
  font-weight: 300;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 1200px;
  outline: none;
  transition: all 0.2s;
  cursor: pointer;
}

button div,
a.button div {
  display: inline-block;
  text-align: left;
}

button img,
a.button img {
  height: 1.5rem;
}

button:hover,
a.button:hover {
  opacity: 0.85;
}

button.primary,
a.button.primary {

  background: #7eb026;
  background: -moz-linear-gradient(-45deg, #7eb026 0%, #b3c90c 99%);
  background: -webkit-linear-gradient(-45deg,#7eb026 0%,#b3c90c 99%);
  background: linear-gradient(135deg,#7eb026 0%,#b3c90c 99%);
}

button.secondary,
a.button.secondary {
  background: #b4992f;
}

hr {
  width: 100%;
  height: 0px;
  border: none;
  border-bottom: 1px solid lightgrey;
}

/* Helpers */
.left {
  float: left;
}
.right {
  float: right;
}
.center {
  float: auto;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}

/* Header */
#header, #menu-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 13.6rem;
  display: block;
  overflow: hidden;
  z-index: 999;
}

#title {
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
}

#menu-header {
  position: static;
  height: 8rem;
}

#header .header-1, #menu-header .header-1 {
  height: 6rem;
}

#header .header-1 h1, #menu-header .header-1 h1 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.4rem;
  font-weight: 400;
  text-shadow: 1px 1px 3px #333;
}

#header .header-2 {
  height: 7.6rem;
}

#header .header-2 h2 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.4rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px #333;
  user-select: none;
}

/* Footer */
#footer {
  height: 7rem;
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 9999;
}

#footer .container-fluid, #footer .row {
  height: 100%;
}

/* Logo */
#logo {

}

#menu-bars, #menu-bars-close {
  padding: 1.5rem 0 1.5rem 3rem;
  max-width: 5.5rem;
  color: white;
}

#menu-bars > .icon, #menu-bars-close > .icon {
  cursor: pointer;
}

#menu-bars-close {
  color: #b2c90c;
}

#menu-bars .icon *,
#menu-bars-close .icon * {
  pointer-events: none;
}

#menu-bars svg, #menu-bars-close svg {
  max-width: 4rem;
}
#logo-wrapper {
  padding: 1.5rem 1rem 1.5rem 0;
}
#logo-wrapper img {
  max-width: 4rem;
}

/* Content */
#content {
  padding: 12rem 0 11.7rem 0;
}


/* Messages */
.messages {
  background: #b2c90c;
  color: white;
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.messages li {
  margin: 0;
  padding: 0;
  text-align: center;
}


.hidden {
  display: None;
}

.fluid-image {
  width: 100%;
  max-width: auto;
}

#menu-wrapper {
  z-index: -1;
  background: #000;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: opacity 0.2s;
}

#menu-wrapper.active {
  opacity: 0.8;
}


#menu-wrapper #menu-items .menu-item {
  display: block;
  color: #fff;
  width: 100%;
  text-decoration: none;
  border-bottom: 0.1rem solid #c6c6c6;
  padding: 2rem 0;
}

#menu-wrapper #menu-items .menu-item.active {
  color: #b2c90c;
}


@media only screen and (max-height: 100vw) {
  #header {
    position: static;
  }
  #footer {
    position: static;
  }
}

@media only screen and (min-width: 48rem) {
  html {
    font-size: 100%;
  }
  .container {
    width: 49rem !important;
  }
}

@media only screen and (min-width: 64em) {
  .container {
    width: 65rem !important;
  }
}