/* Home page */
.hero {
  /* 1024/1440 = .711111 */
  height: 71vw;
  max-height: 100%;
  min-height: 720px;
}

.hero .heading {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero .text {
  margin-top: 20px;
}

/* Background video */
.background {
  background-color: black;
}
.background .mobile {
  /* Make sure the background image covers the entire background */
  height: 100%;
}
.video {
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;

  -webkit-opacity: 0.5;
  opacity: 0.5;
}

/* First Technology section */
.technology {
  background-color: #FFFFFF;
  text-align: left;
  padding: 50px 0;
}

.technology .section img {
  max-height: 400px;
}

.technology .column {
  align-self: center;
}

.technology .scroll_video {
  max-height: 700px;
  max-width: 100%;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 1000px) {
  .technology .container {
    flex-direction: column-reverse;
  }

  .technology .scroll_video {
    display: none;
  }

  .technology .mobile-only {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
  }
}

.process {
  position: relative;
  height: 700px;
  color: #FFFFFF;
}

.process .content {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);

  left: 50%;
  width: 40%;
  max-width: 620px;
}

.process .text {
  margin-right: 50px;
}

.hardware {
  margin: 100px 0;
  text-align: center;
}

.developer {
  background-image: url("/static/img/tech/developers.d6a03626adb0.png");
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  color: #FFFFFF;
  height: 500px;
}

.developer .parallax {
  height: 100%;
  width: 100%;
}

.developer .section {
  position: absolute;
  top:  0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.developer .section .text {
  width: 80%;
  margin: 20px auto;
  min-width: 300px;
  max-width: 640px;
}

.developer .sub_heading {
  margin-bottom: 20px;
  line-height: 50px;
}

.news {
  margin: 50px 0 100px;
  text-align: center;
}

.news .eighti_hover_list {
  margin: 40px auto 40px;
}

.news .morenews {
  width: 80%;
  margin: 0px auto;
  text-align: center;
}

.page .radial_break {
  position: absolute;
  top: 0;
}

@keyframes cf4FadeInOut {
  0% {
    opacity:0;
  }
  /* fade in for 1/10th of the time */
  10% {
    opacity:1;
  }
  /* 100% opaque for 1/4 - 1/10 of the time */
  25% {
    opacity:1;
  }
  /* fading out for 1/10 of the time */
  35% {
    opacity:0;
  }
  /* invisible for the rest of the time */
  100% {
    opacity:0;
  }
}
.page .process img {
  height: 100%;
  object-fit: contain;
  object-position: 0;
  position: absolute;
  max-width: unset;
  width: initial;
}

.page img.fade {
  animation-name: cf4FadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 8s;
  opacity: 0;
}

.page .fade:nth-of-type(1) {
  animation-delay: 0s;
}
.page .fade:nth-of-type(2) {
  animation-delay: 2s;
}
.page .fade:nth-of-type(3) {
  animation-delay: 4s;
}
.page .fade:nth-of-type(4) {
  animation-delay: 6s;
}

.page {
  background-color: #000000;
}

.line {
  max-width: 329px;
  height: 0px;
  margin: -1px auto;
  opacity: 0.15;
  border-top: solid 2px #ffffff;
}
.page .content .line {
  margin: 50px auto;
}
.section {
  padding: 100px 0;
}

.buttons {
  color: white;
  margin: 40px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2.2px;
}

.buttons .button {
  border-color: #888888;
  padding: 16px 43px;
}

.quotes {
  background-color: #242627;
  padding: 0px 0;
  position: relative;
}

.quotes .carousel {
  margin: 0px auto;
  max-width: 100%;
  overflow: hidden;
  width: 500px;
  height: 500px;
}
.quotes ul {
  height: 400px;
}

.quote a {
  display: inline-block;
}

.left-quote {
  position: absolute;
  left: 0;
  top: 0;
}
.right-quote {
  position: absolute;
  right: 0;
  bottom: 0;
}

.quote {
  max-width: 500px;
  box-sizing: border-box;
  color: #461e1e;
  font-size: 24px;
  font-weight: 300;
  left: 50%;
  line-height: 34px;
  opacity: 1;
  position: absolute;
  text-align: center;
  transition: 1s;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.quote-hidden {
  opacity: 0;
  /* Don't allow clicking on invisible quotes */
  pointer-events: none;
}

.quote .wrapper {
  position: relative;
  overflow: hidden;
}
.quote .what {
  color: #efefef;
  margin: 20px 40px;
}

.partners {
  overflow: hidden;
  padding: 50px 0;
}


.partners .sub_heading {
  margin: 30px auto 40px;
}

.partners .item {
  padding: 0px;
  min-width: 260px;
  width: auto;
}

/* TODO still needed??? */
.press {
  /* 260 * 4 */
  max-width: 1040px;
  width: 90%;
  margin: 0 auto;
}

.press .article {
  cursor: pointer;
  display: inline-block;
  height: 116px;
  margin: 10px;
  position: relative;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  width: 235px;
}
.press .article:hover {
  border-radius: 5px;
  box-shadow: 0 10px 24px 0 rgba(0, 0, 0, 0.15);
}

.press .article img {
  object-fit: contain;
  width: 50%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.press .article:hover img {
  -webkit-filter: none; /* Safari 6.0 - 9.0 */
  filter: none;
}

.fullVideo {
  /* Firefox doesn't support display:none for this.
     Instead use an off page position to hide it.
  */
  position: absolute;
  top: -200%;

  width: 100%;
  height: 100%;
}

@media(max-width: 1000px) {
  .process {
    /* Will fit the text in. */
    background-color: #323536;
    height: inherit;
  }
  .process .processFadeContainer {
    position: relative;
    z-index: 0;
    height: 600px;
  }
  .process .content {
    position: initial;
    padding: 50px 5%;
    width: 60%;
    transform: none;
  }

  .showcase .background {
    background-color: #000;
  }

  .showcase .background img {
    opacity: 0.4;
  }

  .showcase .content {
    margin: 100px auto;
  }

  .news,
  .news .morenews {
    text-align: left;
  }
}

@media(max-width: 600px) {
  .process .processFadeContainer {
    height: 400px;
  }
  .process .content {
    width: initial;
    padding: 50px 10%;
  }

  .quotes .carosel {
    position: initial;
    width: 90%;
    min-width: initial;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
  }

  .quote {
    font-size: 18px;
    margin: 0px;
    width: 80%;
  }
}

.notHero {
  background-color: #fff;
}
