@font-face {
  font-family: Times-Now-Light;
  src: url(../fonts/times_now_light.woff);
}

@font-face {
  font-family: Times-Now-ExtraLight;
  src: url(../fonts/times_now_extralight.woff);
}

html {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
body {
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  color: #404040;
}
p,
button,
li,
h1,
h2,
h3,
h4,
h5,
input {
  font-size: 12px;
  font-weight: 500;
  font-family: 'Times-Now-Light', sans-serif;
}

a {
  color: #404040;
}

a.underline {
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid #404040;
}

a.underline:hover {
  color: #e5e5e5;
  border-color: #e5e5e5;
}

#main {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.overlay__btns {
  position: absolute;
  bottom: 10px;
  left: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.overlay__btns img {
  width: 45px;
  height: auto;
}

.overlay__btns li {
  float: left;
  padding: 2px 2px 0;
}

.btn.btn--left {
  padding-right: 0;
}
.btn.btn--down {
  padding-left: 0;
}

.btn--up {
  position: relative;
}
.btn--up a {
  position: absolute;
  top: -47px;
  margin-left: 2px;
}

.btn.btn--menu {
  padding-right: 10px;
}
.btn.btn--help {
  padding-right: 10px;
}

.btn--book {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

.btn .close {
  display: none;
}

.modals-page--active-help .btn--help .close {
  display: none;
  /* display: block; */
}
.modals-page--active-help .btn--help .action {
  display: none;
}
.modals-page--active-help .btn--menu .close {
  display: block;
}
.modals-page--active-help .btn--menu .action {
  display: none;
}

.modals-page--active-menu .btn--menu .close {
  display: block;
}
.modals-page--active-menu .btn--menu .action {
  display: none;
}

.modals-page--active-menu .btn--help {
  display: none;
}

.modals-page--active .btn--up,
.modals-page--active .btn--down,
.modals-page--active .btn--left,
.modals-page--active .btn--right {
  display: none;
}

.modals {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow: hidden;
  overflow-y: auto;
  display: none;
}
.modals.modals--no-bg {
  background: none;
}
.modals--active .modals {
  display: block;
}
.modals-page--active .overlay__btns {
  z-index: 1;
}
/* .modals--hidden {
  display: none;
} */

.modal {
  display: table;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 100px;
  padding-right: 100px;
  box-sizing: border-box;
  left: 100%;
  top: 0;
  display: none;
}

.modal--page {
  /* transform: scaleY(0.01) scaleX(0);
  animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  display: block; */
  display: none;
  transition: left 1s ease;
  left: 0;
  right: 0;
  padding-top: 120px;
}

.modal--init {
  display: table;
  transition: left 1s ease;
}
.modal--active {
  left: 0;
}
.modal--inactive {
  left: -100%;
}
.modal--out {
  display: none;
}
.modal--1 {
}
.modal--2 {
  /* z-index: 9; */
}
.modal--3,
.modal--question {
  background: #fff;
}
.modal--with-button {
  padding-bottom: 100px;
}
.modal--no-x-padding {
  padding-left: 0;
  padding-right: 0;
}
.modal__content {
  display: table-cell;
  vertical-align: middle;
}

.modal__header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.modal__header .text-medium {
  padding-left: 20px;
  padding-right: 20px;
}
.modal__heading {
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
}
.modal__heading--large {
  font-size: 28px;
}
.modal__sub-heading {
  text-align: center;
  padding-top: 15px;
}
.text-smallest,
.modal__sub-heading {
  font-size: 12px;
}

.modal__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 20px;
}
.footer__link {
  font-size: 12px;
  color: #404040;
  display: block;
  text-decoration: none;
}
.footer__link--modal {
  font-family: 'Times-Now-Light', sans-serif;
  color: #808080;
  margin-top: 50px;
}
.footer__link:hover {
  color: #e5e5e5;
}
.footer__text {
  margin-bottom: 46px;
}

::selection {
  background: #e5e5e5; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #e5e5e5; /* Gecko Browsers */
}

.modal__button {
  padding: 16.75px 100px;
  background: none;
  border: 1px solid #404040;
  border-radius: 5px;
  margin-bottom: 36px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.modal__button:focus {
  outline: none;
}
.modal__button:hover {
  color: grey;
  border-color: grey;
}

.modal__button:hover,
.modal__button:hover {
  cursor: pointer;
}

.modal__button[disabled],
.modal__button:disabled {
  cursor: not-allowed;
  background: #e5e5e5;
}

.modal__input {
  padding: 16.75px 16.75px;
  background: none;
  border: 1px solid #404040;
  border-radius: 5px;
  margin-bottom: 36px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  min-width: 225px;
  box-sizing: border-box;
  text-align: center;
}

.modal__input--invalid {
  border: 1px solid red;
}

.desktop-controls {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.desktop-controls li {
  /* float: left; */
  display: inline-block;
  margin: 0;
  padding: 25px;
  width: auto;
  box-sizing: border-box;
}

.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.logos li {
  display: inline-block;
  margin: 0 25px;
  padding: 0;
}

.logos li:first-child {
  margin-left: 0;
}

.logos li:last-child {
  margin-right: 0;
}

#menu {
  padding: 0;
  background: #fff;
  z-index: 1;
}
#menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}
#menu li {
  margin: 0;
  padding: 0;
  border-top: 1px solid #404040;
  height: 16.667%;
  box-sizing: border-box;
  position: relative;
  min-height: 50px;
}
#menu li:first-child {
  border-top: none;
}

#menu li a {
  transform: translateY(-50%);
  top: 50%;
  padding-top: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
  position: absolute;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  text-decoration: none;
}

#menu li a:hover {
  color: #e5e5e5;
}

/* #overlay-debug {
  position: absolute;
  border: 10px solid yellow;
} */

.overlay__mask {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  /* opacity: 0.6; */
}
.overlay__mask--active {
  display: block;
}

.overlay__mask--top {
  bottom: auto;
}
.overlay__mask--right {
}
.overlay__mask--bottom {
}
.overlay__mask--left {
  right: auto;
}

.overlay-menu--visible .overlay__btns {
  z-index: 1;
}

/**
 * Utils
 */
.img-responsive {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.img-responsive--max {
  width: auto;
  max-width: 100%;
  height: auto;
}

/**
 * Text
 */
.text-center {
  text-align: center;
}
.text-small {
  font-size: 11px;
}
.text-medium {
  font-size: 15px;
}
.text-large {
  font-size: 20px;
}

.tablet-hidden {
  display: block;
}

.desktop-hidden {
  display: none;
}
.desktop-visible {
  display: block;
}

.modal--disable-scroll,
.modal--disable-scroll .modals {
  overflow-y: hidden;
  position: fixed;
}

/**
 * Gallery Modal
 */

.modal--gallery.modal--active {
  display: block;
}
.gallery-bg {
  background: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}
.modals--gallery .modals {
  background: none;
}
.modal--gallery.modal--active .gallery-bg {
  opacity: 0.8;
}
.modal--gallery .image {
  position: absolute;
  box-shadow: 0 0 5px 1px #999;
  /*border: 1px solid #fff; */
}

.modal--gallery .image video {
  width: 100%;
  height: auto;
}

.gallery__nextprev {
  position: absolute;
  /* box-shadow: 0 0 5px 3px #999; */
}

.gallery__nextprev img {
  width: 45px;
  height: 45px;
}

.image__details {
  position: absolute;
  padding-top: 10px;
  box-sizing: border-box;
  margin-right: 70px;
  max-height: 100px;
  overflow: auto;
}

.image__details .text-small {
  font-size: 12px;
}

.image__title {
  font-weight: bold;
  font-family: 'Times-Now-Light', sans-serif;
}

.image__details p {
  margin: 0;
  padding: 0;
}

/** Partners Page **/

.partners__intro,
.partner__block {
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom: 100px;
}

.partner__block {
  border-top: 1px solid #404040;
  padding-top: 50px;
}

.copy {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.copy p,
.copy li {
  font-size: 21px;
}

.copy ul,
.copy ol {
  margin: 0 0 0 2em;
  padding: 0;
}

.modal--poster-info {
  z-index: 999;
  background: #fff;
}

a.modal__close {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 45px;
  height: 45px;
}

.modal__close img {
  width: 45px;
  height: auto;
}

.mdash-break {
  white-space: pre;
}

#partners .partner__block img {
  margin-bottom: 20px;
}

.pointer-visible,
.touch-visible {
  display: none;
}

.no-touch .pointer-visible {
  display: block;
}

.no-touch .touch-visible {
  display: none;
}

.has-touch .pointer-visible {
  display: none;
}

.has-touch .touch-visible {
  display: block;
}

@media only screen and (max-width: 1024px) {
  .modal {
    padding-left: 20px;
    padding-right: 20px;
  }
  .modal--no-x-padding {
    padding-left: 0;
    padding-right: 0;
  }

  .partners__intro,
  .partner__block {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
  }

  .partner__block {
    padding-top: 40px;
  }

  .modal--2 {
    padding-top: 120px;
  }

  .touch-image {
    padding: 0 50px;
  }

  .modal__button {
    padding: 15px 100px;
    margin-bottom: 20px;
  }

  .modal__input {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 20px;
  }

  .modal__heading--large {
    font-size: 20px;
  }

  .text-large {
    font-size: 13px;
  }
  .text-medium {
    font-size: 12px;
  }

  .overlay__btns {
    margin: 0;
    padding: 0;
  }

  .overlay__btns img {
    width: 30px;
  }

  .gallery__nextprev img {
    width: 30px;
    height: 30px;
  }

  .btn--up a {
    top: -32px;
  }
}

@media only screen and (max-width: 580px) {
  .modal--3 {
    padding-top: 180px;
    padding-left: 0;
    padding-right: 0;
  }

  .desktop-hidden {
    display: block;
  }

  .tablet-hidden {
    display: none;
  }
  .tablet-visible {
    display: block;
  }

  .logos img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .logos li {
    float: left;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .logos {
    border-bottom: 1px solid #404040;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .logos .img-half {
    width: 50%;
  }

  .logos .img-center {
    float: none;
    width: 50%;
    margin: auto;
  }

  .logos .img-full {
    float: none;
  }

  .logos__row {
    overflow: hidden;
    border-top: 1px solid #404040;
    padding-left: 20px;
    padding-right: 20px;
  }
  .logos__img {
    float: left;
    padding: 20px 20px;
    box-sizing: border-box;
  }

  .button-spacing {
    display: none;
  }
}

@keyframes unfoldIn {
  0% {
    transform: scaleY(0.005) scaleX(0);
  }
  50% {
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    transform: scaleY(1) scaleX(1);
  }
}

@keyframes unfoldOut {
  0% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    transform: scaleY(0.005) scaleX(0);
  }
}
