
body {
    background-color: rgba(255,255,255,255);
    /*background-color: rgb(80, 80, 80);*/

}

.dreidviz-cache {
    position: fixed;
    left: -100px;
    top: -100px;
    opacity: 0.001;
}
.dreidviz-cache img {
    position: absolute;
}

div.dreidviz-viewer {
    visibility: visible;
    outline: none;
    overflow: hidden;
    position: relative;
    /*position:absolute;*/
    /*top:50%;*/
    /*left:50%;*/
    /*height:512px;*/
 /*These three values should be calculated in the viewer, if viewer is alone on page.*/
    /*margin-top:-256px; *//* negative half of the height */
    /*margin-left:-256px;*/
}

div.dreidviz-branding {
	position: absolute;
	top: 40%;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	opacity:0.5;
}

div.dreidviz-branding-old {
    position: absolute;
    top: 0;
    right: 0;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    transform-origin: bottom right 0;
    -webkit-transform-origin: bottom right 0;
    opacity:0.6;
}

div.dreidviz-viewer:-webkit-full-screen {
    background-color: rgba(255,255,255,255);
    position: relative;
    top:0;
    left:0;
    margin-top:0px; /* negative half of the height */
    margin-left:0px;
    width: 100%;
    height: 100%;
}


div.dreidviz-viewer:-moz-full-screen {
    background-color: rgba(255,255,255,255);
    position: relative;
    top:0;
    left:0;
    margin-top:0px; /* negative half of the height */
    margin-left:0px;
    /*width: 100%;*/
    /*height: 100%;*/
}

div.dreidviz-viewer:-ms-fullscreen {
    background-color: rgba(255,255,255,255);
    position: relative;
    top:0;
    left:0;
    margin-top:0px; /* negative half of the height */
    margin-left:0px;
    /*position:absolute;*/
    /*left:0px;*/
    /*top:0px;*/
    width: 100%;
    height: 100%;
}
div.dreidviz-viewer:-ms-fullscreen::-ms-backdrop {
    background-color: white;
}

div.dreidviz-viewer:fullscreen {
    background-color: rgba(255,255,255,255);
    position: relative;
    top:0;
    left:0;
    margin-top:0px; /* negative half of the height */
    margin-left:0px;
    width: 100%;
    height: 100%;
}

div.dreidviz-view {
    visibility: visible;
    /*border: dotted;*/
    /*overflow: hidden;*/
    outline: none;
}

div.dreidviz-base {
    width: 100%;
    height: 100%;
    visibility: visible;
    overflow: hidden;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
}

div.dreidviz-zoom {
    width: 100%;
    height: 100%;
    visibility: hidden;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.dreidviz-tile {
    display: block;
    position: absolute;
    opacity: 1.0;
    top: 0;
    left: 0;
}

div.dreidviz-controls {
    display: block;
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
}

.dreidviz-ctrl-btn {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
    opacity: 1.0;
    background-repeat: no-repeat;
    background-size: contain;
}

.dreidviz-ctrl-btn-mobile {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    background-repeat: no-repeat;
    opacity: 1.0;
    background-size: contain;
}

@-webkit-keyframes pulsate {
    from{
        -webkit-transform: scale(1.0);
    }
    to{
        -webkit-transform: scale(1.2);
    }
}

@keyframes pulsate {
    from{
        transform: scale(1.0);
    }
    to{
        transform: scale(1.2);
    }
}

.dreidviz-ctrl-btn:hover {
    /*-webkit-transform: scale(1.2) rotate(360deg);*/
    /*-webkit-filter: blur(2px);*/
    /*-webkit-filter: brightness(0.5);*/
    /*-webkit-transition: all 0.5s ease-out;*/
    /*transition: all 0.5s ease-out;*/
    /*-webkit-animation: pulsate 250ms linear infinite alternate;*/
    /*animation: pulsate 250ms linear infinite alternate;*/
    opacity: 0.7;
}

.dreidviz-ctrl-btn.CW {
    background-image: url(img/controls/set2/left.png);
    width: 41px;
    height: 40px;
}

.dreidviz-ctrl-btn-mobile.CW {
    background-image: url(img/controls/set2/left.png);
    width: 80px;
    height: 80px;
}

.dreidviz-ctrl-btn.CCW {
    background-image: url(img/controls/set2/right.png);
    width: 41px;
    height: 40px;
}

.dreidviz-ctrl-btn-mobile.CCW {
    background-image: url(img/controls/set2/right.png);
    width: 80px;
    height: 80px;
}

.dreidviz-ctrl-btn.dec-zoom {
    background-image: url(img/controls/set2/minus.png);
    width: 34px;
    height: 34px;
}

.dreidviz-ctrl-btn-mobile.dec-zoom {
    background-image: url(img/controls/set2/minus.png);
    width: 68px;
    height: 68px;
}

.dreidviz-ctrl-btn.inc-zoom {
    background-image: url(img/controls/set2/plus.png);
    width: 34px;
    height: 34px;
}

.dreidviz-ctrl-btn-mobile.inc-zoom {
    background-image: url(img/controls/set2/plus.png);
    width: 68px;
    height: 68px;
}

.dreidviz-ctrl-btn.share {
    background-image: url(img/controls/set2/share.png);
    width: 34px;
    height: 34px;
}

.dreidviz-ctrl-btn-mobile.share {
    background-image: url(img/controls/set2/share.png);
    width: 68px;
    height: 68px;
}

.dreidviz-ctrl-btn.help {
    background-image: url(img/controls/set2/help.png);
    width: 34px;
    height: 34px;
}

.dreidviz-ctrl-btn-mobile.help {
    background-image: url(img/controls/set2/help.png);
    width: 68px;
    height: 68px;
}

.dreidviz-ctrl-btn.fullscreen {
    background-image: url(img/controls/set2/fullscreen.png);
    width: 34px;
    height: 34px;
}


div.dreidviz-debug {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    background-color: lightgoldenrodyellow;
    /*display: none;*/
}

div.dreidviz-share-wrapper {
    bottom: 45px;
    display: none;
    position: absolute;
    width: 100%;
}

div.dreidviz-share-container {
    margin: 0 auto;
    /*background: url(img/controls/set2/shareButtonBackground.png) no-repeat;*/
    width: 150px;
    height: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.shareOption {
    float: left;
    height: 74px;
    width: 74px;
    cursor: pointer;
    position: relative;
}

.faceBook {
    background: url(img/controls/set2/facebook.png) no-repeat;
    background-size: contain;
}

.faceBook:hover {
    background: url(img/controls/set2/facebookActive.png) no-repeat;
    background-size: contain;
}

.twitter {
    background: url(img/controls/set2/twitter.png) no-repeat;
    background-size: contain;
}

.twitter:hover {
    background: url(img/controls/set2/twitterActive.png) no-repeat;
    background-size: contain;
}

.googlePlus {
    background: url(img/controls/set2/googlePlus.png) no-repeat;
    background-size: contain;
}

.googlePlus:hover {
    background: url(img/controls/set2/googlePlusActive.png) no-repeat;
    background-size: contain;
}

.mail {
    background: url(img/controls/set2/mail.png) no-repeat;
    background-size: contain;
}

.mail:hover {
    background: url(img/controls/set2/mailActive.png) no-repeat;
    background-size: contain;
}

div.dreidviz-help {
    position: absolute;
    background-color: #ffffff;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
    color:#7F7F7F;
    clear: both;
    text-align: left;
    padding:20px;
    font-family: verdana,sans-serif;
    font-size: 12px;
    /* This fixes that the padding increases width of the object */
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */    /*border:2px solid #ccc;*/
    z-index:101;
}

a.dreidviz-boxclose{
    float:right;
    /*margin-top:15px;*/
    /*margin-right: 15px;*/
    cursor:pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 30px;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
    font-family: 'Times New Roman';
}

a.dreidviz-boxclose:hover {
    background: #ff0009;

}
.dreidviz-boxclose:before {
    content: "\00D7";
}
.dreidviz-state-startup {
}

.dreidviz-state-still {
}

.dreidviz-state-turn {
}

.dreidviz-state-pan {
}

.dreidviz-state-zoom {
}

.dreidviz-state-drag {
}

.dreidviz-state-scroll-in {
    -webkit-transition: -webkit-transform 500ms ease-out;
    transition: transform 500ms ease-out;
}

.dreidviz-state-scroll-out {
    -webkit-transition: -webkit-transform 500ms ease-out;
    transition: transform 500ms ease-out;
}

.dreidviz-state-center {
    -webkit-transition: -webkit-transform 500ms ease-out;
    transition: transform 1000ms ease-out;
}
