html,
body,
p {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    font-family: sans-serif;
}

img {
    position: absolute;
    display: block; 
}

.stage {  
    position: relative;
    width: 336px;
    height: 280px;
    cursor: pointer;
    /*background: #000;  
    overflow: hidden;*/
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
	        box-sizing: border-box;

    -webkit-touch-callout: none;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
           -o-user-select: none;
              user-select: none;
    
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}


#webgl {
    position: relative;
    width: 336px;
    height: 280px;
    width: 100vw;
    height: 100vh;
    
    max-height: 100vw;
    overflow: hidden;
}

canvas {
    display: block;
}

.marker {
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(../img/marker.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
    cursor: pointer;
}

.popup {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.popup-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .5);
    
    z-index: 1;
}

.popup-box {
    position: absolute;
    width: 300px;
    height: 200px;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -100px;
    background-color: rgba(255, 255, 255, .8);
    border: 1px solid #dbdbdb;
    border-radius: 5px;
    padding: 10px;
    
    z-index: 2;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.popup-image {
    float: left;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.popup-text {
    float: left;
    width: 50%;
    padding-left: 10px;
    color: #212121;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.popup-city {
    font-size: 20px;
    font-weight: bold;
}

.popup-price-text {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #dbdbdb;
}

.popup-price-amount {
    font-size: 22px;
}

/**
 * Preloader
 */

/*#preloader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: #fff;
    box-sizing: border-box;
}
#preloader img {
    position: absolute;
    display: block;
    width: 50px;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -35px;
}*/


/**
 * Frame
 */

/*.frame {
    position: absolute;
    z-index: 1000;
    background: #dbdbdb;
}
.frame-top {
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
}
.frame-bottom {
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
}
.frame-left {
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
}
.frame-right {
    width: 1px;
    height: 100%;
    top: 0;
    right: 0;
}*/