html,
body,
p {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

img {
    position: absolute;
    display: block; 
}

.stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    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);
}


/**
 * Cube
 */

.cubeContainer {  
    position: relative;
    width: 300px;
    height: 250px;
    top: 50%;
    left: 50%;
    margin-left: -150px; /* Half of width*/
    margin-top: -125px;  /* Half of height*/
    /*cursor: pointer;*/
}

.cubeFace {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 268px;
    height: 218px;
    z-index: 0;
    
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}

/* This enlarges the click area of a cube face, useful when scaling down on press 
   so the click still registers when an edge is clicked.
*/
.cubeFace::after {
    content: '';
    position: absolute;
    display: block;
    top: -100px;
    left: -100px;
    width: 100%;
    height: 100%;
    border: solid 100px transparent;
    z-index: -1;
}

.cubeFace-01 {
    background:url(../img/frame1A.jpg);
}
.cubeFace-02 {
     background:url(../img/frame2A.jpg);
}
.cubeFace-03 {
    background:url(../img/frame3A.jpg);
}
.cubeFace-04 {
     background:url(../img/frame4A.jpg);
}
.cubeFace-05 {
	     background:url(../img/frame5A.jpg);
}


/**
 * 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;
}*/

