#page {
    height: 6000px;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#canvas img,
#canvas div {
    display: block !important;
    width: 100%;
    height: 100%;
}

#videoimage {
    z-index: 0;
}

#bigvideoimagecontainer {
    /* <img> with position absolute is horribly broken on Android browser */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.0;
    width: 100%;
    height: 100%;
}

#bigvideoimage {
    display: block;
    width: 100%;
    height: 100%;
}

.box,
.center-box {
    z-index: 10;
    position: fixed;
    display: none;
}

.box,
.center-box,
.pano-box {
    background-color: #df091e;
    padding: 20px;
    border-radius: 10px;
    opacity: 0.8;
    text-align: center;
    color: #ffffff;
}

.box p,
.center-box p,
.pano-box p {
    color: #ffffff;
}

.box h2,
.box h3,
.center-box h2,
.center-box h3 {
    margin-top: 10px !important;
}

.box .scroll-box-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.box .scroll-box-detail a {
    color: #ffffff;
}

.box .scroll-box-detail p a:before {
    font-family: FontAwesome;
    content: "\f138";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
}

#nav>li {
    position: fixed;
    z-index: 9;
    right: 0;
    top: 0;
    list-style-type: none;
    color: #ffffff;
}

#nav>li>a {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px #333333;
    text-transform: uppercase;
    font-size: 12px;
}

#nav>li>a:hover {
    color: #df091e;
    text-decoration: none;
}

#nav>li.active>a {
    color: #df091e;
}

#nav>li>a:focus {
    outline: 0;
}

#nav>li.active:after {
    color: #df091e;
}

#nav>li:hover, #nav>li.active {
    color: #df091e;
}

#nav>li>a,
#nav>li {
    transition: color 0.5s;
}

#video-container video {
    width: 100%;
    height: 100%;
}

a.video-play-button {
    color: #ffffff;
}

a.back-button {
    color: #ffffff;
}

#controls {
    position: fixed;
    top: 15px;
    left: 10px;
}

#controls>a {
    width: 50px;
    height: 50px;
    margin-left: 5px;
    line-height: 45px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #ffffff;
    display: inline-block;
    text-align: center;
    border-radius: 25px;
    font-size: 25px;
}

#controls>a:hover {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

#controls>a:focus {
    outline: 0;
}

#debug-block {
    position: fixed;
    z-index: 99999;
    padding: 5px;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}


.smartphoneturn {
    display: block;
}

@media (min-width: 480px) {
    .smartphoneturn {
        display: none;
    }
}


