html,
body {
  background-color: #000;
  margin-top: -12px;
}

.landingWrapper {
  position: relative;
  width: 100%;
  height: calc(100% - 53px);
  overflow: hidden;
  white-space: nowrap;
}
#logo {
  opacity: 0;
}

body.displayMinMenu #logo {
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  -ms-animation: fadeIn ease-in 1;
  -o-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  -ms-animation-duration: 0.8s;
  -o-animation-duration: 0.8s;
  animation-duration: 0.8s;

  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
  -ms-animation-delay: 3s;
  -o-animation-delay: 3s;
  animation-delay: 3s;
}

body.displayMenuBlock .menu-block {
  display: block;
}

/* --- Menu text --- */

/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.displayMenuBlock .menu-block-content .text .textImg {
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  -ms-animation: fadeIn ease-in 1;
  -o-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}

.menu-block {
  -webkit-backface-visibility: hidden;
  position: relative;
  display: none;
  cursor: pointer;
  -webkit-transform: skewY(5deg);
  -moz-transform: skewY(5deg);
  -ms-transform: skewY(5deg);
  -o-transform: skewY(5deg);
  transform: skewY(5deg);
  -webkit-transform-origin: bottom;
  -moz-transform-origin: bottom;
  -ms-transform-origin: bottom;
  -o-transform-origin: bottom;
  transform-origin: bottom;
  overflow: hidden;
  height: calc(100% / 3);
}
.menu-block-content {
  height: 100%;
  -webkit-transform: skewY(-5deg);
  -moz-transform: skewY(-5deg);
  -ms-transform: skewY(-5deg);
  -o-transform: skewY(-5deg);
  transform: skewY(-5deg);
}
.menu-block-content .text {
  height: 100%;
  text-align: center;
}
.menu-block-content .text:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.menu-block-content .text .textImg {
  opacity: 0;
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 65%;
  margin: 0 auto;

  display: inline-block;
  vertical-align: middle;
  width: 90%;
}

.menu-block:hover {
  background: rgba(148, 130, 59, 0.5);
}

#menuBlock2,
#menuBlock3 {
  -webkit-box-shadow: -14px -14px 35px -10px #000;
  box-shadow: -14px -14px 35px -10px #000;
}
#menuBlock1 {
  margin-top: -4.5%;
  z-index: 3;
}
#menuBlock2 {
  z-index: 2;
}
#menuBlock3 {
  z-index: 1;
  padding-bottom: 200px; /* push angle below the fold */
  box-sizing: content-box;
}

.menu-block:nth-last-of-type(1) .btn-trapezium {
  bottom: 191px; /* bring button back above the fold */
}

.textImg:after {
  /* attempt to preload for mobile */
  position: absolute;
  top: -99999px;
  left: -99999px;
}
#menuBlock1 .textImg {
  margin-top: 5%;
}
/* --- Landing Page Menu button --- */
@-webkit-keyframes slide-trapezium {
  0% {
    right: -91px;
  }
  100% {
    right: -1px;
  }
}
@-moz-keyframes slide-trapezium {
  0% {
    right: -91px;
  }
  100% {
    right: -1px;
  }
}
@keyframes slide-trapezium {
  0% {
    right: -91px;
  }
  100% {
    right: -1px;
  }
}

.menu-block-btn {
  -webkit-transform-origin: bottom;
  -moz-transform-origin: bottom;
  -ms-transform-origin: bottom;
  -o-transform-origin: bottom;
  transform-origin: bottom;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.btn-trapezium {
  background: #e7010a;
  width: 91px;
  height: 80px;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: -91px;
}
.btn-trapezium:before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 42px;
  right: 25px;
  -webkit-transform: skewY(-5deg);
  -moz-transform: skewY(-5deg);
  -ms-transform: skewY(-5deg);
  -o-transform: skewY(-5deg);
  transform: skewY(-5deg);
}
.btn-trapezium:after {
  content: "";
  display: block;
  border-right: 2px solid #fff;
  height: 40px;
  background: #fff;
  position: absolute;
  top: 23px;
  right: 44px;
  -webkit-transform: skewY(5deg);
  -moz-transform: skewY(5deg);
  -ms-transform: skewY(5deg);
  -o-transform: skewY(5deg);
  transform: skewY(5deg);
}

.displayBtn .btn-trapezium {
  /* animate the buttons onto the page */
  -webkit-animation: slide-trapezium linear 1;
  -moz-animation: slide-trapezium linear 1;
  -ms-animation: slide-trapezium linear 1;
  -o-animation: slide-trapezium linear 1;
  animation: slide-trapezium linear 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 0.9s;
  -moz-animation-duration: 0.9s;
  -ms-animation-duration: 0.9s;
  -o-animation-duration: 0.9s;
  animation-duration: 0.9s;
}

/* ---- Mini Header Menu ---- */
#wrapper2 {
  overflow: hidden;
}
#mini-nav {
  z-index: 10;
  opacity: 0;
  right: -108px;
}

@-webkit-keyframes slideNav {
  0% {
    right: -108px;
  }
  100% {
    right: 0px;
  }
}
@-moz-keyframes slideNav {
  0% {
    right: -108px;
  }
  100% {
    right: 0px;
  }
}
@keyframes slideNav {
  0% {
    right: -108px;
  }
  100% {
    right: 0px;
  }
}

.displayMinMenu div#mini-nav {
  -webkit-animation: fadeIn ease-in 1, slideNav linear 1;
  -moz-animation: fadeIn ease-in 1, slideNav linear 1;
  -ms-animation: fadeIn ease-in 1, slideNav linear 1;
  -o-animation: fadeIn ease-in 1, slideNav linear 1;
  animation: fadeIn ease-in 1, slideNav linear 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 0.3s;
  -moz-animation-duration: 0.3s;
  -ms-animation-duration: 0.3s;
  -o-animation-duration: 0.3s;
  animation-duration: 0.3s;

  -webkit-animation-delay: 3.4s;
  -moz-animation-delay: 3.4s;
  -ms-animation-delay: 3.4s;
  -o-animation-delay: 3.4s;
  animation-delay: 3.4s;
}

/* --- Video --- */
video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  visibility: hidden;
  opacity: 0;
}

@media (max-height: 992px) and (max-width: 768px) {
  /* vertical layout */
  /* shrink the button based on browser height and width */
  .btn-trapezium {
    background: #e7010a;
    width: 51px;
    height: 40px;
    right: -91px;
  }
  .btn-trapezium:before {
    width: 25px;
    top: 20px;
    right: 12px;
  }
  .btn-trapezium:after {
    height: 25px;
    top: 9px;
    right: 24px;
  }
  .menu-block:nth-last-of-type(1) .btn-trapezium {
    bottom: 195px;
  }
}

@media (min-width: 992px) {
  #mini-nav {
    margin-right: 30px;
  }

  .landingWrapper {
    height: 100%;
    min-height: 500px;
  }
  .menu-block {
    -webkit-transform: skewX(-15deg);
    -moz-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
    -ms-transform-origin: bottom;
    -o-transform-origin: bottom;
    transform-origin: bottom;
    min-height: 500px;
    float: left;
  }
  /*.menu-block-btn {
        position: relative;
        width: 100%;
        height: 100%;
    }*/
  #menuBlock1 {
    width: 49%;
    margin-left: -28%;
    margin-top: 0;
    height: 100%;
  }
  #menuBlock1 .menu-block-content {
    width: 70%;
  }
  #menuBlock2 {
    width: 35%;
    height: 100%;
  }
  #menuBlock3 {
    width: 44%;
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 0;
  }

  #menuBlock2,
  #menuBlock3 {
    -webkit-box-shadow: -14px 0px 60px -10px #000;
    box-shadow: -14px 0px 60px -10px #000;
  }

  #menuBlock1 .textImg {
    margin-top: 0;
  }
  .menu-block-content {
    width: 100%;
    height: 100%;
    -webkit-transform: skewX(15deg);
    -moz-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
    position: absolute;
    text-align: center;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    right: 0;

    /* attempt to middle align copy */
    display: inline-block; /*table;*/
    vertical-align: middle;
  }

  .menu-block-content .text {
    /*display: table-cell;*/
    vertical-align: inherit;
  }
  .menu-block-content .text .textImg {
    height: 47.06%;
    max-height: 450px;
  }
  #menuBlock3 .menu-block-content {
    width: 120%;
  }
  /* --- Landing Page Menu button --- */
  @-webkit-keyframes slide-trapezium {
    0% {
      right: -81px;
    }
    100% {
      right: -1px;
    }
  }
  @-moz-keyframes slide-trapezium {
    0% {
      right: -81px;
    }
    100% {
      right: -1px;
    }
  }
  @keyframes slide-trapezium {
    0% {
      right: -81px;
    }
    100% {
      right: -1px;
    }
  }

  .btn-trapezium:before {
    -webkit-transform: skewX(0deg);
    -moz-transform: skewX(0deg);
    -ms-transform: skewX(0deg);
    -o-transform: skewX(0deg);
    transform: skewX(0deg);
  }
  .btn-trapezium:after {
    -webkit-transform: skewX(15deg);
    -moz-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
  }
  .menu-block:nth-last-of-type(1) .btn-trapezium {
    bottom: 0px;
  }
}

@media (max-height: 992px) and (orientation: landscape) {
  .landingWrapper {
    height: 100%;
  }
  .menu-block {
    -webkit-transform: skewX(-15deg);
    -moz-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
    -ms-transform-origin: bottom;
    -o-transform-origin: bottom;
    transform-origin: bottom;
    float: left;
    height: calc(100% - 53px);
  }
  /*.menu-block-btn {
        position: relative;
        width: 100%;
        height: 100%;
    }*/
  #menuBlock1 {
    width: 49%;
    margin-left: -28%;
    margin-top: 0;
  }
  #menuBlock1 .menu-block-content {
    width: 70%;
  }
  #menuBlock2 {
    width: 35%;
  }
  #menuBlock3 {
    width: 44%;
    box-sizing: border-box;
    padding-bottom: 0;
  }

  #menuBlock2,
  #menuBlock3 {
    -webkit-box-shadow: -14px 0px 60px -10px #000;
    box-shadow: -14px 0px 60px -10px #000;
  }
  #menuBlock1 .textImg {
    margin-top: 0;
  }

  .menu-block-content {
    width: 100%;
    height: 100%;
    -webkit-transform: skewX(15deg);
    -moz-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
    position: absolute;
    text-align: center;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    right: 0;

    /* attempt to middle align copy */
    display: inline-block; /*table;*/
    vertical-align: middle;
  }

  .menu-block-content .text {
    /*display: table-cell;*/
    vertical-align: inherit;
  }
  #menuBlock3 .menu-block-content {
    width: 120%;
  }
  .menu-block-content .text .textImg {
    height: 47.06%;
    max-height: 450px;
  }

  .btn-trapezium:before {
    -webkit-transform: skewX(0deg);
    -moz-transform: skewX(0deg);
    -ms-transform: skewX(0deg);
    -o-transform: skewX(0deg);
    transform: skewX(0deg);
  }
  .btn-trapezium:after {
    -webkit-transform: skewX(15deg);
    -moz-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
  }
  .menu-block:nth-last-of-type(1) .btn-trapezium {
    bottom: 0px;
  }
}
@-webkit-keyframes bounceInUp {
  0%,
  100%,
  60%,
  75%,
  90% {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -95px, 0);
    transform: translate3d(0, -95px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, -65px, 0);
    transform: translate3d(0, -65px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -80px, 0);
    transform: translate3d(0, -80px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, -75px, 0);
    transform: translate3d(0, -75px, 0);
  }
}

@keyframes bounceInUp {
  0%,
  100%,
  60%,
  75%,
  90% {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -95px, 0);
    transform: translate3d(0, -95px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, -65px, 0);
    transform: translate3d(0, -65px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -80px, 0);
    transform: translate3d(0, -80px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, -75px, 0);
    transform: translate3d(0, -75px, 0);
  }
}

#toast {
  padding: 12px 15px;
  background: rgba(153, 153, 51, 0.8);
  color: #fff;
  text-align: center;
  height: 75px;
  position: fixed;
  bottom: -75px;
  right: 65px;
  z-index: 10;
  transform: skewX(-15deg);
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;

  -webkit-animation-duration: 0.75s;
  -moz-animation-duration: 0.75s;
  -ms-animation-duration: 0.75s;
  -o-animation-duration: 0.75s;
  animation-duration: 0.75s;

  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  -ms-animation-delay: 6s;
  -o-animation-delay: 6s;
  animation-delay: 6s;

  -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
#toast a {
  color: #fff;
}
#toast span {
  white-space: nowrap;
}
@media (min-width: 768px) {
  #toast {
    right: 100px;
  }
}
/* --- Video auto play not supported = no video will be dispayed --- */

.no-videoautoplay #toast,
.videoautoplay.video-denied-permission #toast {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -ms-animation-delay: 0.5s;
  -o-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.no-videoautoplay .imageStill,
.videoautoplay.video-denied-permission .imageStill {
  width: 100%;
  height: 100%;
  position: absolute;
  background-position: center center;
  background-size: cover;
}

.no-videoautoplay video,
.videoautoplay.video-denied-permission video {
  display: none;
}
.no-videoautoplay .menu-block,
.videoautoplay.video-denied-permission .menu-block {
  display: block;
}
.no-videoautoplay #logo,
.videoautoplay.video-denied-permission #logo,
.no-videoautoplay .menu-block-content .text .textImg,
.videoautoplay.video-denied-permission .menu-block-content .text .textImg {
  opacity: 1;
}
.no-videoautoplay #mini-nav,
.videoautoplay.video-denied-permission #mini-nav {
  opacity: 1;
  right: 0px;
}
.no-videoautoplay .btn-trapezium,
.videoautoplay.video-denied-permission .btn-trapezium {
  right: -1px;
}

@media (min-width: 992px) {
  .no-videoautoplay #mini-nav,
  .videoautoplay.video-denied-permission #mini-nav {
    right: 30px;
  }
}
