/* CSS RESET */
/* --------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Icon Fonts */
/* ---------- */
@font-face {
  font-family: 'jraab';
  src:  url('fonts/jraab.eot?gew2z');
  src:  url('fonts/jraab.eot?gew2z#iefix') format('embedded-opentype'),
    url('fonts/jraab.ttf?gew2z') format('truetype'),
    url('fonts/jraab.woff?gew2z') format('woff'),
    url('fonts/jraab.svg?gew2z#jraab') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'jraab' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-home:before {
  content: "\e900";
}
.icon-menu:before {
  content: "\e901";
}
.icon-paper-plane:before {
  content: "\e902";
}
.icon-menu3:before {
  content: "\e9bf";
}
.icon-menu4:before {
  content: "\e9c0";
}
.icon-cross:before {
  content: "\ea0f";
}

/* General Styles */
/* -------------- */

html {
  font-size: 10px;
}

@media screen and (max-width: 600px) {
  html {
    font-size: 8px;
  }
}

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 100;
  font-size: 1.8rem;
}

button {
  font-family: 'Raleway', sans-serif;
}

h1,
h1 {
  font-weight: 300;
  font-size: 2.6rem;
}

h2 {
  font-weight: 100;
  font-size: 2rem;
}

h3 {
  font-weight: 100;
  font-size: 1.8rem;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.tab { margin-left: 40px; }

.fixed-header {
  width: 100%;
  margin: 0 auto;
  padding:1rem 0;
  position: fixed;
  top: 0;
  background: white;
  z-index: 100;
}

.brand {
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.main-content {
  margin-top: 10rem;
  transition-property: margin-top;
  transition-duration: 0.5s;
}

.footer {
  margin: 4rem 0 4rem;
  text-align: right;
  font-size: 1.6rem;
}

.images {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 25%;
}

/* Navigation */
/* ---------- */
#mainNavigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.main-nav .nav-link:not(:last-child) { /* Adds space between links if more are added in future */
  margin-right: 1rem;
}

.main-nav a,
.main-nav button {
  text-decoration: none;
  display: block;
  color: black;
  text-align: center;
  padding: 1.4rem 1.6rem;
  font-size: 1.8rem;
  font-weight: 100;
}

.main-nav button {
  border: none;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav button:hover {
  text-decoration: underline;
}

.main-nav .icon {
  display: none;
}

#brandLink {
  text-decoration: none;
  display: block;
  color: black;
  text-align: left;
  padding: 0;
  background: none;
}

#brandLink h1 {
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  .main-nav a,
  .main-nav a:hover,
  .main-nav button,
  .main-nav button:hover,
  .main-nav.responsive a.icon,
  .main-nav.responsive a.icon:hover {
    background: none;
  }

  .main-nav .nav-link:not(:last-child) { /* Removes added space between links if more are added in future */
    margin-right: 0;
  }

  .main-nav .nav-link {
    /* display: none; */
    display: none;
    border-radius: 0;
  }

  .main-nav a.icon {
    margin-left: auto;
    display: block;
    font-size: 3.6rem;
  }

  .main-nav.responsive a.icon {
    width: auto;
    margin-left: auto;
    font-size: 3.6rem;
  }

  .main-nav.responsive .nav-link {
    width: 100%;
    display: block;
    text-align: right;
    background: #EEE;
    margin-bottom: 1px;
    font-size: 2.4rem;
  }
  .main-nav.responsive .nav-link:hover {
    background: #DDD;
  }
}

/* Contact Form Modal */
/* ------------------ */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  align-items: center;
}

.modal-content {
  display: flex;
  flex-direction: column;
  background-color: #fefefe;
  margin: auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 800px;
}

@media screen and (max-width: 700px) {
  .modal-content {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  .modal-content {
    width: 100%;
  }
}

.close {
  color: #aaa;
  display: block;
  margin: 0 1rem 2rem auto;
  font-size: 3.6rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.contact-form {
  width: 80%;
  max-width: 600px;
  margin: 0 auto 5rem;
  background: #f3f3f3;
  padding: 2rem;
}

.contact-form h3 {
  font-weight: 300;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  .contact-form {
    width: 90%;
  }
}

.contact-form label {
  display: block;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.contact-form input {
  color: #353535;
}

input[type="email"],
input[type="text"],
input[type="submit"],
textarea {
  width: 100%;
  /* background: (255,255,255,.1); */
  border: none;
  font-size: 1.6rem;
  padding: .7rem;
  background-color: #e9e9e9;
  font-weight: 100;
}

input[type="submit"] {
  color: #FFF;
  background: #acacac;
  font-size: 1.8rem;
  border: 1px solid #919191;
  margin: 1.6rem 0;
}

input[type="submit"]:hover {
  background: #666666;
  cursor: pointer;
}

.required {
  color: red;
}

/* Home Page Styles */
/* ---------------- */
.thumbs-container {
  display: flex;
  flex-direction: row; /* Set to column for small screen */
  flex-wrap: wrap;
  animation-name: fadeUp;
  animation-duration: 1s;
}

.img__wrap {
  width: 33.33%;
  padding: 1px 1px;
  position: relative;
}

.img__wrap img {
  width: 100%;
  display: block;
}

.img__description_layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;

  /* transition effect.*/
  transition: opacity .2s, visibility .2s;
}

.img__wrap:hover img{
  filter: blur(3px);
}

.img__wrap:hover .img__description_layer {
  visibility: visible;
  opacity: 1;
}

.img__description {
  transition: .2s;
  transform: translateY(1em);
  padding: 2rem;
}

.img__wrap:hover .img__description {
  transform: translateY(0);
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10rem);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@media screen and (max-width: 1150px) {
  .img__wrap.featured-video {
    width: 100%;
  }

  .img__wrap {
    width: 50%;
  }
}

@media screen and (max-width: 700px) {
  .img__wrap {
    width: 100%;
  }
}

/* Video Page Styles */
/* ----------------- */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-title {
  margin: 10rem 0 3rem;
}

.video-title-center {
  text-align: center;
  margin: 10rem 0 5rem;
}

.video-title h2 {
  font-size: 2.4rem;
  font-weight: 300;
}

.video-description {
  text-align: center;
  margin: 3rem 0;
}

.video-description p {
  margin: 1em 0;
}

/* Confirmation Page */
/* ----------------- */

.confirmation {
  background: #a8ffa0;
  width: 80%;
  margin: 13rem auto;
  padding: 4rem;
  border-radius: 10px;
  font-weight: 300;
  color: #1b4917;
}

@media screen and (max-width: 400px) {
  .confirmation {
    width: 95%;
  }
}

.confirmation p {
  margin: 1em 0;
}

/* Spinner Animation */
.spinner {
  margin: 3rem auto;
  width: 64px;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1b4917;
  margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}