* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -ms-content-zooming: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    background-color: #000;
    color: #fff;
}

strong {
    font-weight: bold;
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit
}

.h1,.h2,.h3,h1,h2,h3 {
    margin-top: 20px;
    margin-bottom: 10px
}
.h4,.h5,.h6,h4,h5,h6 {
    margin-top: 10px;
    margin-bottom: 10px
}

.h1,h1 {
    font-size: 36px
}

.h2,h2 {
    font-size: 30px
}

.h3,h3 {
    font-size: 24px
}

.h4,h4 {
    font-size: 18px
}

.h5,h5 {
    font-size: 14px
}

.h6,h6 {
    font-size: 12px
}

p {
    margin: 0 0 10px;
    line-height: 1.5em;
}

dl,ol,ul {
    margin-top: 0;
    margin-bottom: 1rem
}

ol ol,ol ul,ul ol,ul ul {
    margin-bottom: 0
}
li {
    line-height: 1.2rem;
}

#design {
    position: absolute;
    top: 2%;
    right: 0.2%;
    margin-top: 40px;
    display: block;
    width: 60px;
    height: 60px;
    background: url(img/design.jpg) no-repeat;
    background-size: contain;
    background-color: white;
    border-radius: 50%;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    border: 5px solid;
}

#design > a {
    display: block;
    height: 100%;
}

#price {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto 25% 0;
    display: block;
    width: auto;
    text-align: center;
    height: 32px;
    padding: 8px 7px 0;
    background-color: rgba(58,68,84,0.8);
    border-radius: 6px 6px 0 0;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
}

a, a:hover, a:active, a:visited {
    text-decoration: none;
    color: inherit;
}

#price {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto 25% 0;
    display: block;
    width: auto;
    text-align: center;
    height: 32px;
    padding: 8px 12px 0 0;
    background-color: rgba(33, 150, 243, 0.9);
    border-radius: 6px 6px 0 0;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
}

#pano {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#titleBar {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px;
    height: 40px;
    text-align: center;
}

.mobile #titleBar {
    height: 50px;
    right: 50px;
}

#avito {
    position: absolute;
    top: 10%;
    right: 0px;
    margin-top: 40px;
    display: block;
    width: 60px;
    height: 60px;
    background: url(img/avito.svg) no-repeat;
    background-size: contain;
    background-color: white;
    border-radius: 6px 0 0 6px;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    border: 3px solid;
}


#avito > a {
    height: 100%;
    display: block;
}

#youla > a {
    height: 100%;
    display: block;
}
#youla {
    position: absolute;
    top: 10%;
    right: 0px;
    margin-top: 40px;
    display: block;
    width: 60px;
    height: 60px;
    background: url(img/youla.svg) no-repeat;
    background-size: contain;
    background-color: white;
    border-radius: 6px 0 0 6px;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    border: 5px solid;
}
/*#phone > a {
    height: 100%;
    display: block;
}
#phone {
    position: absolute;
    top: 10%;
    right: 0px;
    margin-top: 40px;
    display: block;
    width: 60px;
    height: 60px;
    background: url(img/phone.svg) no-repeat;
    background-size: contain;
    background-color: white;
    border-radius: 6px 0 0 6px;
    box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.6);
    border: 5px solid;
}*/

span.icon-arrow {
    display: inline-block;
    position: absolute;
    width: 22px;
    height: 22px;
    background: url(img/arrow-down.svg) no-repeat;
    background-size: cover;
    top: 0px;
    margin-left: 3px;
}

.mobile .Phone, .mobile .Phone::before {
    width: 60px;
    height: 60px;
}
.mobile .Phone::after {
    top: 15px;
    left: 15px;
}
.Phone {
    position: absolute;
    bottom: 20px;
    right: 15px;
    display: block;
    margin: 0;
    width: 100px;
    height: 100px;
    font-size: 25vmin;
    background-color: #47cf73;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
}

.Phone::before,
.Phone::after {
    position: absolute;
    content: "";
}

.Phone::before {
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(0);
    transform: translate3d(0, 0, 0) scale(0);
}

.Phone::after {
    top: 25px;
    left: 25px;
    width: 50%;
    height: 50%;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTYuNiAxMC44YzEuNCAyLjggMy44IDUuMSA2LjYgNi42bDIuMi0yLjJjLjMtLjMuNy0uNCAxLS4yIDEuMS40IDIuMy42IDMuNi42LjUgMCAxIC40IDEgMVYyMGMwIC41LS41IDEtMSAxLTkuNCAwLTE3LTcuNi0xNy0xNyAwLS42LjQtMSAxLTFoMy41Yy41IDAgMSAuNCAxIDEgMCAxLjIuMiAyLjUuNiAzLjYuMS40IDAgLjctLjIgMWwtMi4zIDIuMnoiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.Phone.is-animating {
    -webkit-animation: phone-outer 7000ms infinite;
    animation: phone-outer 7000ms infinite;
}
.Phone.is-animating::before {
    -webkit-animation: phone-inner 7000ms infinite;
    animation: phone-inner 7000ms infinite;
}
.Phone.is-animating::after {
    -webkit-animation: phone-icon 7000ms infinite;
    animation: phone-icon 7000ms infinite;
}

@-webkit-keyframes phone-outer {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    10% {
        -webkit-transform: translate3d(0, 0, 0) scale(1.1);
        transform: translate3d(0, 0, 0) scale(1.1);
        -webkit-box-shadow: 0 0 0 0em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
    }
    20% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0.5em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0.5em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    40% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
}

@keyframes phone-outer {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(255, 255, 255, 1), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    10% {
        -webkit-transform: translate3d(0, 0, 0) scale(1.1);
        transform: translate3d(0, 0, 0) scale(1.1);
        -webkit-box-shadow: 0 0 0 0em rgba(255, 255, 255, 0.5), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 0 0em rgba(255, 255, 255, 0.5), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
    }
    20% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0.5em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0.5em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    40% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
        -webkit-box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
    }
}
@-webkit-keyframes phone-inner {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    10% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0.9);
        transform: translate3d(0, 0, 0) scale(0.9);
    }
    20% {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    40% {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
}
@keyframes phone-inner {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    10% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0.9);
        transform: translate3d(0, 0, 0) scale(0.9);
    }
    20% {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    40% {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(0);
        transform: translate3d(0, 0, 0) scale(0);
    }
}
@-webkit-keyframes phone-icon {
    0% {
        -webkit-transform: rotateZ(-25deg);
        transform: rotateZ(-25deg);
    }
    2% {
        -webkit-transform: rotateZ(25deg);
        transform: rotateZ(25deg);
    }
    4% {
        -webkit-transform: rotateZ(-20deg);
        transform: rotateZ(-20deg);
    }
    6% {
        -webkit-transform: rotateZ(15deg);
        transform: rotateZ(15deg);
    }
    8% {
        -webkit-transform: rotateZ(-10deg);
        transform: rotateZ(-10deg);
    }
    10% {
        -webkit-transform: rotateZ(5deg);
        transform: rotateZ(5deg);
    }
    12% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }
}
@keyframes phone-icon {
    0% {
        -webkit-transform: rotateZ(-25deg);
        transform: rotateZ(-25deg);
    }
    2% {
        -webkit-transform: rotateZ(25deg);
        transform: rotateZ(25deg);
    }
    4% {
        -webkit-transform: rotateZ(-20deg);
        transform: rotateZ(-20deg);
    }
    6% {
        -webkit-transform: rotateZ(15deg);
        transform: rotateZ(15deg);
    }
    8% {
        -webkit-transform: rotateZ(-10deg);
        transform: rotateZ(-10deg);
    }
    10% {
        -webkit-transform: rotateZ(5deg);
        transform: rotateZ(5deg);
    }
    12% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }
}

.modal-window {
    color:#000;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.85);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

#open-modal .modal-close:after {
    position: absolute;
}
#open-modal-des > .description {
    max-width: 900px;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 0 20px 2px #c5c5c5;
    border-radius: 5px;
    text-align: left;
    padding: 20px 60px 60px 60px;
}

.description > .modal-close {
    position: relative;
    right: -60px;
}

.modal-window:target {
    opacity: 1;
    pointer-events: auto;
}
.modal-window > div {
    max-width: 400px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 80px 0 40px;
    background: #fff;    
    box-shadow: 0 0 20px 2px #c5c5c5;
    border-radius: 5px;
    text-align: center;
}
.modal-window > div > .tel {
    font-size: 26px;
    margin-bottom: 40px;
    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
.modal-window header {
    font-weight: bold;
}
.modal-window h1 {
    font-size: 150%;
    margin: 20px 0;
}
.modal-close:after {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    margin: 10px 12px;
    position: sticky;
    right: 0px;
    top: 22px;
    float: right;
    background: url(img/close.svg) no-repeat;
    background-size: cover;
    z-index: 1;
}
.modal_logo {
    display: block;
    width: 150px;
    height: 150px;
    background: url(img/face.jpg) no-repeat;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: inset 2px 2px 10px 0px black;
}
.social {}
.social_item, .messanger_item {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 10px 0 0;
}
.social_item > a, .messanger_item > a {
    width: 100%;
    display: block;
    position: relative;
}
.social_item_instagram {
    background-image: url(img/instagram.png);
}
.social_item_vk {
    background-image: url(img/vk.png);
}
.social_item_youtube {
    background-image: url(img/youtube.png);
}
.social_item_facebook {
    background-image: url(img/facebook.png);
}
.messanger_item_whatsup {
    background-image: url(img/whatsup.png);    
}
.messanger_item_viber {
    background-image: url(img/viber.png);    
}
.messanger_item_call {
    border: 1px solid #fff;
    border-radius: 10px;
    font-size: 16px;
    line-height: 3;
    width: 150px;
    background: #f8ffe8;
    background: -moz-linear-gradient(top, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
    background: -webkit-linear-gradient(top, #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%);
    background: linear-gradient(to bottom, #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#b7df2d',GradientType=0 );
}
.messanger_item_call > a:before {
    content: "Позвонить";
    position: absolute;
    width: 100%;
    left: 0;
}
.call_button {    
    display: block;
    border: 1px solid #fff;
    border-radius: 10px;
    font-size: 20px;
    padding: 20px;
    margin: auto 60px;
    background: #f8ffe8;
    background: -moz-linear-gradient(top, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
    background: -webkit-linear-gradient(top, #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%);
    background: linear-gradient(to bottom, #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#b7df2d',GradientType=0 );
}
/* If there is a fullscreen button the title bar must make space for it */
body.fullscreen-enabled #titleBar {
    right: 80px;
}

body.fullscreen-enabled.mobile #titleBar {
    right: 100px;
}

/* If there are multiple scenes the title bar must make space for the scene list toggle */
body.multiple-scenes #titleBar {
    left: 40px;
}

body.multiple-scenes.mobile #titleBar {
    left: 50px;
}

#titleBar .sceneName {
    width: 100%;
    height: 100%;
    line-height: 30px;
    font-size: 16px;
    margin-top: 0;
    padding: 5px;
    background-color: rgb(58,68,84);
    background-color: rgba(58,68,84,0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.mobile #titleBar .sceneName {
    line-height: 40px;
}

#fullscreenToggle {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

.mobile #fullscreenToggle {
    width: 50px;
    height: 50px;
}

body.fullscreen-enabled #fullscreenToggle {
    display: block;
}

#fullscreenToggle .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
}

.mobile #fullscreenToggle .icon {
    top: 10px;
    right: 10px;
}

#fullscreenToggle .icon.on {
    display: none;
}

#fullscreenToggle .icon.off {
    display: block;
}

#fullscreenToggle.enabled .icon.on {
    display: block;
}

#fullscreenToggle.enabled .icon.off {
    display: none;
}

#autorotateToggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

.mobile #autorotateToggle {
    width: 50px;
    height: 50px;
}

/* If there is a fullscreen button, autorotate must placed a bit to the left */
body.fullscreen-enabled #autorotateToggle {
    right: 40px;
}

body.fullscreen-enabled.mobile #autorotateToggle {
    right: 50px;
}
@media (max-width: 724px) {
    body.fullscreen-enabled #fullscreenToggle {
        display: none;
    }

    body.fullscreen-enabled #titleBar {
        right: 40px;
    }
    body.fullscreen-enabled.mobile #titleBar {
        right: 50px;
    }

    body.fullscreen-enabled #autorotateToggle {
        right: 0px !important;
    }
    #avito, #youla {
        width: 45px;
        height: 45px;}
}

#autorotateToggle .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
}

.mobile #autorotateToggle .icon {
    top: 10px;
    right: 10px;
}

#autorotateToggle .icon.on {
    display: none;
}

#autorotateToggle .icon.off {
    display: block;
}

#autorotateToggle.enabled .icon.on {
    display: block;
}

#autorotateToggle.enabled .icon.off {
    display: none;
}

#sceneListToggle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    padding: 5px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    box-shadow: 1px 3px 20px -5px black;
    z-index: 3;
}

.mobile #sceneListToggle {
    width: 85px;
    height: 85px;
    /*width: 50px;*/
    /*height: 50px;*/
}

#sceneListToggle .text {
    position: absolute;
    top: 5px;
    left: 15px;
    width: 100%;
    line-height: 30px;
}

#sceneListToggle .icon {
    position: absolute;
    top: 25px;
    right: 10px;
    width: 40px;
    height: 30px;
}

.mobile #sceneListToggle .icon {
    position: absolute;
    top: 30px;
    right: 17px;
    width: 40px;
    height: 40px;
    /*top: 10px;*/
    /*right: 10px;*/
}

#sceneListToggle .icon.on {
    display: none;
}

#sceneListToggle .icon.off {
    display: block;
}

#sceneListToggle.enabled .icon.on {
    display: block;
}

#sceneListToggle.enabled .icon.off {
    display: none;
}

#sceneList {
    position: absolute;
    top: 0;
    left: -220px;
    padding-top: 40px;
    width: 220px;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 0;
    -webkit-transition: margin-left 0.5s ease-in-out;
    transition: margin-left 0.5s ease-in-out;
}

.mobile #sceneList {
    padding-top: 50px;
}

#sceneList .scenes {
    width: 100%;
    background-color: rgb(58,68,84);
    background-color: rgba(58,68,84,0.8);
}

.mobile #sceneList {
    width: 100%;
    height: 100%;
    left: -100%;
}

.mobile #sceneList.enabled {
    margin-left: 100%;
}

.mobile #sceneList .scenes {
    height: 100%;
}

#sceneList.enabled {
    margin-left: 220px;
}

#sceneList .scene {
    display: block;
    width: 100%;
    height: 30px;
}

.mobile #sceneList .scene {
    height: 40px;
}

#sceneList .scene .text {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile #sceneList .scene .text {
    line-height: 40px;
}

.no-touch #sceneList .scene:hover {
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

#sceneList .scene.current {
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

/* Hide scene list when only a single scene exists */
body.single-scene #sceneList, body.single-scene #sceneListToggle {
    display: none;
}

/* Link hotspot */

.link-hotspot {
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    opacity: 0.9;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.no-touch .link-hotspot:hover {
    opacity: 1;
}

.mobile .link-hotspot {
    width: 50px;
    height: 50px;
}

.link-hotspot-icon {
    width: 100%;
    height: 100%;
    cursor: pointer;
    animation: jump 0.7s ease-in-out alternate infinite;
}
.link-hotspot-icon-fly {
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-origin: 50% 50%;
    animation: jump 0.7s ease-in-out alternate infinite;
}

.link-hotspot-tooltip {
    position: absolute;
    left: 100%;
    top: 14px; /* ( 60 - (16 + 2*8) ) / 2 */

    margin-left: 3px;

    font-size: 16px;

    max-width: 300px;

    padding: 8px 10px;

    border-radius: 5px;

    background-color: rgb(58,68,84);
    background-color: rgba(58,68,84,0.8);

    color: #fff;

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    cursor: pointer;

    opacity: 0;

    -ms-transform: translateX(-8px);
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);

    -webkit-transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        opacity 0.3s;
    transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        opacity 0.3s;
}

.mobile .link-hotspot {
    top: 19px; /* ( 70 - (16 + 2*8) ) / 2 */
}

.no-touch .link-hotspot:hover .link-hotspot-tooltip {
    opacity: 1;
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/* Prevent tooltip from triggering */
.link-hotspot-tooltip {
    pointer-events: none;
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
    pointer-events: all;
}

/* Fallback mode without pointer-events (IE8-10) */
.tooltip-fallback .link-hotspot-tooltip {
    display: none;
}
.no-touch .tooltip-fallback .link-hotspot:hover .link-hotspot-tooltip {
    display: block;
}

/* Info hotspot */

.info-hotspot {
    line-height: 1.2em;
    opacity: 0.9;
    -webkit-transition: opacity 0.2s 0.2s;
    transition: opacity 0.2s 0.2s;
}

.no-touch .info-hotspot:hover {
    opacity: 1;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.info-hotspot.visible {
    opacity: 1;
}

.info-hotspot .info-hotspot-header {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: rgb(103,115,131);
    cursor: pointer;
    -webkit-transition: width 0.3s ease-in-out 0.5s,
        border-radius 0.3s ease-in-out 0.5s;
    transition: width 0.3s ease-in-out 0.5s,
        border-radius 0.3s ease-in-out 0.5s;
}

.mobile .info-hotspot .info-hotspot-header {
    width: 50px;
    height: 50px;
    border-radius: 25px;
}

.desktop.no-touch .info-hotspot .info-hotspot-header:hover {
    width: 260px;
    border-radius: 5px;
    -webkit-transition: width 0.3s ease-in-out,
        border-radius 0.3s ease-in-out;
    transition: width 0.3s ease-in-out,
        border-radius 0.3s ease-in-out;
}

.desktop .info-hotspot.visible .info-hotspot-header,
.desktop.no-touch .info-hotspot.visible .info-hotspot-header:hover {
    width: 260px;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-transition: width 0.3s ease-in-out,
        border-radius 0.3s ease-in-out;
    transition: width 0.3s ease-in-out,
        border-radius 0.3s ease-in-out;
}

.info-hotspot .info-hotspot-icon-wrapper {
    width: 40px;
    height: 40px;
}

.mobile .info-hotspot .info-hotspot-icon-wrapper {
    width: 50px;
    height: 50px;
}

.info-hotspot .info-hotspot-icon {
    width: 90%;
    height: 90%;
    margin: 5%;
}

.info-hotspot .info-hotspot-title-wrapper {
    position: absolute;
    left: 40px;
    top: 0;
    width: 0;
    height: 40px;
    padding: 0;
    overflow: hidden;
    -webkit-transition: width 0s 0.4s,
        padding 0s 0.4s;
    transition: width 0s 0.4s,
        padding 0s 0.4s;
}

.desktop .info-hotspot.visible .info-hotspot-title-wrapper,
.desktop.no-touch .info-hotspot .info-hotspot-header:hover .info-hotspot-title-wrapper {
    width: 220px;
    padding: 0 5px;
    -webkit-transition: width 0s 0.4s,
        padding 0s 0.4s;
    transition: width 0s 0.4s,
        padding 0s 0.4s;
}

.info-hotspot .info-hotspot-title-wrapper:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.info-hotspot .info-hotspot-title {
    display: inline-block;
    vertical-align: middle;

    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.info-hotspot .info-hotspot-close-wrapper {
    position: absolute;
    left: 260px;
    top: 0;
    height: 40px;
    width: 40px;
    border-top-right-radius: 5px;
    background-color: rgb(78,88,104);
    visibility: hidden;
    -ms-transform: perspective(200px) rotateY(90deg);
    -webkit-transform: perspective(200px) rotateY(90deg);
    transform: perspective(200px) rotateY(90deg);
    -ms-transform-origin: 0 50% 0;
    -webkit-transform-origin: 0 50% 0;
    transform-origin: 0 50% 0;
    -webkit-transition: -ms-transform 0.3s 0.3s,
        -webkit-transform 0.3s 0.3s,
        transform 0.3s 0.3s,
        visibility 0s 0.6s;
    transition: -ms-transform 0.3s 0.3s,
        -webkit-transform 0.3s 0.3s,
        transform 0.3s 0.3s,
        visibility 0s 0.6s;
}

.desktop .info-hotspot.visible .info-hotspot-close-wrapper {
    visibility: visible;
    -ms-transform: perspective(200px) rotateY(0deg);
    -webkit-transform: perspective(200px) rotateY(0deg);
    transform: perspective(200px) rotateY(0deg);
    -webkit-transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        visibility 0s 0s;
    transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        visibility 0s 0s;
}

.info-hotspot .info-hotspot-close-icon {
    width: 70%;
    height: 70%;
    margin: 15%;
}

.info-hotspot .info-hotspot-text {
    position: absolute;
    width: 300px;
    height: auto;
    max-height: 200px;
    top: 40px;
    left: 0;
    padding: 10px;
    background-color: rgb(58,68,84);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow-y: auto;
    visibility: hidden;
    /* rotate(90deg) causes transition flicker on Firefox 58 */
    -ms-transform: perspective(200px) rotateX(-89.999deg);
    -webkit-transform: perspective(200px) rotateX(-89.999deg);
    transform: perspective(200px) rotateX(-89.999deg);
    -ms-transform-origin: 50% 0 0;
    -webkit-transform-origin: 50% 0 0;
    transform-origin: 50% 0 0;
    -webkit-transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        visibility 0s 0.3s;
    transition: -ms-transform 0.3s,
        -webkit-transform 0.3s,
        transform 0.3s,
        visibility 0s 0.3s;

    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.desktop .info-hotspot.visible .info-hotspot-text {
    visibility: visible;
    -ms-transform: perspective(200px) rotateX(0deg);
    -webkit-transform: perspective(200px) rotateX(0deg);
    transform: perspective(200px) rotateX(0deg);
    -webkit-transition: -ms-transform 0.3s 0.3s,
        -webkit-transform 0.3s 0.3s,
        transform 0.3s 0.3s,
        visibility 0s 0s;
    transition: -ms-transform 0.3s 0.3s,
        -webkit-transform 0.3s 0.3s,
        transform 0.3s 0.3s,
        visibility 0s 0s;
}

/* Info hotspot modal */

.desktop .info-hotspot-modal {
    display: none;
}

.info-hotspot-modal {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 11000 !important;
    background-color: rgba(0,0,0,.5);
    line-height: 1.2em;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.2s ease-in-out 0.5s,
        visibility 0s 0.7s;
    transition: opacity 0.2s ease-in-out 0.5s,
        visibility 0s 0.7s;
}

.info-hotspot-modal.visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.2s ease-in-out,
        visibility 0s 0s;
    transition: opacity 0.2s ease-in-out,
        visibility 0s 0s;
}

.info-hotspot-modal .info-hotspot-header {
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 50px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0.2s;
    transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal.visible .info-hotspot-header {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease-in-out 0.2s;
    transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal .info-hotspot-icon-wrapper {
    width: 50px;
    height: 50px;
}

.info-hotspot-modal .info-hotspot-icon {
    width: 90%;
    height: 90%;
    margin: 5%;
}

.info-hotspot-modal .info-hotspot-title-wrapper {
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    width: auto;
    height: 50px;
    padding: 0 10px;
}

.info-hotspot-modal .info-hotspot-title-wrapper:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.info-hotspot-modal .info-hotspot-title {
    display: inline-block;
    vertical-align: middle;

    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.info-hotspot-modal .info-hotspot-close-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: rgb(78,88,104);
    background-color: rgba(78,88,104,0.8);
    cursor: pointer;
}

.info-hotspot-modal .info-hotspot-close-icon {
    width: 70%;
    height: 70%;
    margin: 15%;
}

.info-hotspot-modal .info-hotspot-text {
    position: absolute;
    top: 110px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px;
    background-color: rgb(58,68,84);
    background-color: rgba(58,68,84,0.8);
    overflow-y: auto;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;

    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.info-hotspot-modal.visible .info-hotspot-text {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease-in-out 0.4s;
    transition: opacity 0.3s ease-in-out 0.4s;
}

/* View control buttons */

.viewControlButton {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

body.view-control-buttons .viewControlButton {
    display: block;
}

/* Hide controls when width is too small */
@media (max-width: 600px) {
    body.view-control-buttons .viewControlButton {
        display: none;
    }
}

.viewControlButton .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
}

/* Center is at margin-left: -20px */
.viewControlButton-1 {
    margin-left: -145px;
}
.viewControlButton-2 {
    margin-left: -95px;
}
.viewControlButton-3 {
    margin-left: -45px;
}
.viewControlButton-4 {
    margin-left: 5px;
}
.viewControlButton-5 {
    margin-left: 55px;
}
.viewControlButton-6 {
    margin-left: 105px;
}
@keyframes jump {
    0%   {transform: translate3d(0,0,0) scale3d(1,1,1);}
    100% {transform: translate3d(0,20%,0) scale3d(1.1,1,1);}
}

@keyframes ball{
    0% {
        transform:  scaleX(1.00) scaleY(1.00) ;
    }
    34% {
        transform:  scaleX(1.20) scaleY(1.20) ;
    }
    37% {
        transform:  scaleX(1.00) scaleY(1.00) ;
    }
}

@-moz-keyframes ball{
    0% {
        -moz-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    34% {
        -moz-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    37% {
        -moz-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    72% {
        -moz-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    75% {
        -moz-transform:  scaleX(1.00) scaleY(1.00) ;
    }
}

@-webkit-keyframes ball {
    0% {
        -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    34% {
        -webkit-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    37% {
        -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    72% {
        -webkit-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    75% {
        -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
    }
}

@-o-keyframes ball {
    0% {
        -o-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    34% {
        -o-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    37% {
        -o-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    72% {
        -o-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    75% {
        -o-transform:  scaleX(1.00) scaleY(1.00) ;
    }
}

@-ms-keyframes ball {
    0% {
        -ms-transform:  scaleX(1.00) scaleY(1.00) ;
    }
    34% {
        -ms-transform:  scaleX(1.20) scaleY(1.20) ;
    }
    37% {
        -ms-transform:  scaleX(1.00) scaleY(1.00) ;
    }
}

@keyframes wave{
    0% {
        opacity: 0.5;
        transform:  scaleX(1.00) scaleY(1.00) ;
    }
    33% {
        opacity: 0.5;
        transform:  scaleX(1.20) scaleY(1.20) ;
    }
    60% {
        opacity: 0;
        transform:  scaleX(3.65) scaleY(3.65) ;
    }
    100% {
        opacity: 0;
    }
}

