@font-face {
  font-family: 'FS Lola Web Regular Italic';
  src: url('fonts/fs_lola_regular_italic.eot');
  src: url('fonts/fs_lola_regular_italic.eot?#iefix') format('embedded-opentype'),
  url('fonts/fs_lola_regular_italic.woff2') format('woff2'),
  url('fonts/fs_lola_regular_italic.woff') format('woff'),
  url('fonts/fs_lola_regular_italic.ttf') format('truetype'),
  url('fonts/fs_lola_regular_italic.svg#fs_lolamedium_italic') format('svg');
  font-weight: normal;
  font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
}
/* used to hide images being preloaded */
body > img {
    opacity: 0;
}
svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
input {
    width: 60%;
    height: 20px;
    margin: 10px;
}
.hidden {
    display: none;
}
.invisible {
    opacity: 0;
    pointer-events: none;
}
.fill-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}



.half-circle-loader.invisible {
  display: none;
  animation: none;
}
.half-circle-loader {
  border-top: 5px solid rgba(255,255,255,0.5);
  border-right: 5px solid rgba(255,255,255,0.5);
  border-bottom: 5px solid rgba(255,255,255,0.5);
  border-left: 5px solid rgba(127, 127, 127, 0.5);
  display: block;
  font-size: 10px;
  left: 50%;
  margin: -40px;
  top: 50%;
  position: absolute;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
  z-index: 2;
}
.half-circle-loader,
.half-circle-loader:after {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}



#loader {
    background-color: #fff;
    background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
}
.full-bg {
    background-repeat: no-repeat;
    background-size: auto 100%;
    -webkit-background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    /*background-position: top left;
    background-repeat: no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;*/
}
.watermark-layer {
    z-index: 3;
    pointer-events: none;
    background: url('watermark.png') bottom right no-repeat;
    top: 50%;
    height: 100vh;
    width: 100vw;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    left: 50%;
}
.watermark-layer a {
    width: 260px;
    height: 40px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: all;
}

.no-transform img {
    width: 100%;
    height: 100%;
}

.video-wrapper {
    width: 100%;
    position: relative;
    line-height: 0;
}
video {
    width: 100%;
    background: #000;
    position: relative;
    z-index: 0;
}
video.invisible{
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    position: absolute;
    /*z-index: -2;*/
}
#intro-video {
    z-index: 0;
}
#loop-video {
    z-index: -1;
}

.glare-layer {
    width: 0;
    background: rgba(0,0,0,0);
    position: absolute;
    height: 100vh;
    left: 50%;
    top: 50%;
    pointer-events: none;
    transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}
.glare-layer img {
    position: relative;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: auto;
    display: block;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
}

#device-viewport {
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(0.6px);
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}
#device-viewport.is_frontal {
    filter: blur(0.5px);
    -webkit-filter: blur(0.6px);
}
.preloader{
    width: 0.5px;
    height: 0.5px;
    position: fixed;
    top: -1000px;
    left: -1000px;
    opacity: 0;
    -webkit-filter: blur(1px);
    filter: url(filters.svg#iframeBlur);
}
.no-events {
    pointer-events: none;
}
.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(loading.gif) no-repeat 50% 50%;
    margin-bottom: -17px;
}
.bubble {
    background: rgba(0,0,0,0.12);
    border: solid 1px #fff;
    border-bottom: none;
    border-radius: 4px;
    box-shadow: inset 0px 1px 8px 3px rgba(0,0,0,0.15);
    color: #fff;
    font-family: 'FS Lola Web Regular Italic';
    font-size: 18px;
    font-style: italic;
    height: 40px;
    line-height: 40px;
    left: 50%;
    letter-spacing: 1px;
    margin: auto;
    padding: 0 20px;
    position: absolute;
    text-shadow: -2px 2px 3px rgba(0,0,0,0.2);
    top: 0px;
    transform: translateX(-50%) translateY(0%);
    transition: opacity 1s, transform 1s;
    -webkit-transform: translateX(-50%) translateY(0%);
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    z-index: 2;
}

.bubble.invisible{
    transform: translateX(-50%) translateY(10%);
    -webkit-transform: translateX(-50%) translateY(10%);
}

@media all and (min-height: 800px) {
    #device-viewport {
        filter: blur(0.5px);
    }
}
@media all and (max-height: 800px) {
    #device-viewport {
        -webkit-filter: blur(1.2px);
    }
    #device-viewport.is_frontal {
        -webkit-filter: blur(0.5px);
    }
    .Safari #device-viewport {
        -webkit-filter: blur(0.3px);
    }
}

.browser__feature-not-supported {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    line-height: 26px;
    font-family: "Helvetica Neue", Helvetica-, Arial, sans-serif;
    background-color: rgba(255,255,255,.85);
    text-align: center;
}
.browser__feature-not-supported.show {
    display: block;
}
.browser__feature-not-supported .wrapper {
    display: table;
    width: 100%;
    height: 100%;
}
.browser__feature-not-supported .inner {
    display: table-cell;
    vertical-align: middle;
}
.browser__feature-not-supported .title {
    font-size: 16px;
    color: #616466;
    font-weight: bold;
}
.browser__feature-not-supported .message {
    font-size: 12px;
    color: #919699;
}
.browser__feature-not-supported a {
    color: #919699;
    text-decoration: underline;
}


@media all and (max-aspect-ratio: 16/9){
    .video-wrapper {
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
}
@media all and (min-aspect-ratio: 16/9){
    video {
        width: 100%;
        height: auto;
    }
    .video-wrapper {
        height: auto;
        top: 50%;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    .glare-layer{
        top: 0;
        bottom: 0;
        height: auto;
        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
}
@media all and (aspect-ratio: 16/9){
    .video-wrapper {
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
}
@media all and (max-aspect-ratio: 1/1){
    .video-wrapper {
        height: 100%;
    }
    video {
        width: auto;
        height: 100%;
        background: #000 none repeat scroll 0% 0%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
    }
}
@media all and (min-aspect-ratio: 1/1) and (max-aspect-ratio: 16/9){
    video {
        width: auto;
        height: 100%;
        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        left: 50%;
        top: auto;
        transform: translateY(auto);
        -moz-transform: translateY(auto);
        -webkit-transform: translateY(auto);
    }
}