canvas {
    image-rendering: optimizeSpeed; /* Older versions of FF */
    image-rendering: -webkit-optimize-contrast; /* Safari */
    image-rendering: -moz-crisp-edges; /* FF 6.0+ */
    image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
    image-rendering: pixelated; /* Awesome future-browsers */
    -ms-interpolation-mode: nearest-neighbor; /* IE  */

    cursor: zoom-in;
}

canvas.zoomOut {
    cursor: zoom-out;
}

canvas.HDPICanvas {
    image-rendering: optimizeQuality !important;
    -ms-interpolation-mode: bicubic !important;
}

.Viewer {
    position: relative;
    display: inline-block;
    width: 514px;
    height: 610px;
    overflow: hidden;
    z-index: 0;
}

.Viewer > .options > .leftPane, .Viewer > .options > .rightPane {
    display: inline-block;
    vertical-align: center;
    margin: 0 15px;
    overflow: hidden;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ViewerFoot {
    border: 1px solid black;
    position: absolute;
    height: 18px;
    text-aligne: center;
    top: 560px;
    width: 508px;
    left: 0;
    padding: 2px 2px;
}

.ViewerFoot > .colorValue {
    display: inline-block;
    height: 1.25em;
    line-height: 1.25;
}

.Viewer > .ViewerFoot .toggleSideView {
    position: absolute;
    right: 10px;
    bottom: 2px;
}

.Viewer > .ViewerFoot .toggleSideView:hover {
    cursor: pointer;
}

.Viewer > canvas {
    border: 1px solid black;
    border-top:none;
    position: absolute;
    top: 47px;
    left: 0;
    background-color: #ABAEBE;
    z-index: -1;
}

.Viewer > .sideView > canvas.histogramCanvas {
    background-color: rgba(10, 10, 10, 0.5);
    padding-left: 10px;
    height: 250px;
    width: 250px;
    cursor: default;
}

.Viewer .selectView {
    width: 180px;
}

.Viewer > .options {
    position: absolute;
    text-align: left;
    top: 0;
    left: 0;
    width: 492px;
    height: 25px;
    border: 1px solid gray;
    padding: 10px 10px;
    z-index: 2;
}

.sideView {
    color: white;
    text-align: left;
    position: absolute;
    right: 0;
    top: 46px;
    z-index: 2;
    border: 2px solid black;
    border-radius: 15px 0 0 15px;
    overflow: hidden;
    width: 256px;
    height: 510px;
    margin-left: 256px;
    background-color: rgba(100, 100, 100, 0.5);

    text-shadow: 1px 1px 1px #303030, -1px -1px 1px #303030, -1px 1px 1px #303030, 1px -1px 1px #303030;

    transition: right 1s;
}

.sideView.hidden {
    right: -265px;
}

.sideView .ViewerOptions {
    min-height: 142px;
    width: 250px;
    padding-left: 5px;
    padding-top: 15px;
}

.sideView .statsContainer {
    padding-left: 5px;
    min-height: 100px;
    width: 250px;
}

.viewerZoomPanelOut {
    display: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    width: 100px;
    height: 100px;
    border: 1px solid white;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: rgba(100, 100, 150, 0.4);
    margin: 0;
    padding: 0;
}

.viewerZoomPanelIn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    width: 50%;
    height: 50%;
    border: 1px solid white;
    position: absolute;
    top: 25%;
    left: 25%;
    background-color: rgba(0, 0, 0, 0);
    margin: 0;
    padding: 0;
    cursor: move !important;
}