@font-face {
  font-family: 'Avenir';
  src: url(fonts/251FA0_0_0.eot);
  src: url('fonts/251FA0_0_0.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('fonts/251FA0_0_0.woff') format('woff'), /* Moderne Browser */
  url('fonts/251FA0_0_0.ttf') format('truetype')/* Safari, Android, iOS */
}

html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #eee;
  font-family: 'Avenir', Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

.avenir {
  font-family: 'Avenir'
}

.vertical-text {
  position: absolute;
  top: 50vh;
  left: -323px;
  margin-top: -7px;
  font-size: 16px;
  z-index: 1000;
  color: #fff;
  transform: rotate(-90deg);
  max-width: 100vh;
  cursor: pointer;
}

a.vertical-text,
a.mobile-text {
  transition: color .4s ease-in-out;
  text-decoration: none;
}

a.vertical-text:hover,
a.mobile-text:hover {
  color: #000;
}

.mobile-text {
  display: none;
}

.swiper-container {
  width: 100%;
  height: 100%;
  min-height: 650px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  max-width: 75%;
  left: 25%;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-container-horizontal .swiper-button-next {
  right: 30px;
}

.swiper-container-horizontal .swiper-button-prev {
  left: 30px;
}

.extended-spacing {
  letter-spacing: 2px;
}

.r20 {
  padding-right: 22px;
}

.open-dialog {
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 100;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.open-dialog .contact{
  font-size: 25px;
  margin-right: 25px;
  position: relative;
  letter-spacing: 1px;
  top: 0px;
  transition: all .3s ease-in-out;
  transform-origin: 50% 50%; 
  text-decoration: none;
}

.contact a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease-in-out;
}

.contact a:hover {
  color: #000;
}

.open-dialog.close .contact{
  filter: opacity(0);
}

.open-dialog span.close-btn {
  font-size: 32px;
  font-weight: bold;
  transition: all .1s ease-in-out;
  display: inline-block;
  transform: rotate(-45deg);
}

.open-dialog.close span.close-btn {
  transform: rotate(0deg);
}

@media all and (max-width: 1300px) {
  .swiper-slide {
    left: 0px;
    max-width: 100vw;
    width: 100vw;
  }
}

@media all and (max-width: 600px) {
  .vertical-text {
    display: none;
  }

  .mobile-text {
    display: inline-block;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
    color: #fff;
    font-size: 4vw;
    line-height: 1.6em;
  }

  .swiper-slide {
    position: relative;
    top: -150px;
  }

  .swiper-container {
    min-height: 450px !important;
  }

  .swiper-container-vertical .swiper-button-next {
    top: 40px;
    transform: rotate(-90deg);
    left: 50%;
  }

  .swiper-container-vertical .swiper-button-prev {
    top: initial;
    bottom: 20px;
    transform: rotate(-90deg);
    left: 50%;
  }

  .swiper-container-vertical .open-dialog span.close-btn {
    display: none;
  }

  .swiper-container-vertical .open-dialog {
    transform-origin: 100% 0%;
    transform: rotate(-90deg);
    width: 100vh;
    text-align: center;
    top: 0px !important;
  }

  .swiper-container-vertical .open-dialog .contact {
    font-size: 2.5vh;
    margin-right: 0px;
  }

  .swiper-container-vertical .open-dialog.close .contact{
    filter: opacity(1);
   }

   .swiper-container-vertical .swiper-button-prev, .swiper-container-vertical .swiper-button-next {
     display: none;
   }
}

@media all and (max-height: 770px) {
  .vertical-text {
    display: none;
  }
}