﻿.docMain {
    border: solid 1px #ccc;
    background-color: #EBEBEB;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    position: relative;
    background-repeat: no-repeat;
    background-position: top left;
    left: 0px;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
}

    .docMain div::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    .docMain div::-webkit-scrollbar-track {
        box-shadow: inset 0 0 2px grey;
        border-radius: 8px;
    }

    .docMain div::-webkit-scrollbar-thumb {
        background: #cdcdcd;
        border-radius: 8px;
    }

        .docMain div::-webkit-scrollbar-thumb:hover {
            background: grey;
        }


.docThumb {
    border: 2px solid #dcdcdc;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 2px 2px 2px #888888;
    border-radius: 2px;
}

.docThumbHover {
    cursor: pointer;
    border-color: #888888;
}

.docThumbFocussed {
    border: 2px solid #299ef2;
}

.docPage {
    border: 2px solid #dcdcdc;
    background-color: #fff;
    box-shadow: 4px 4px 4px #888888;
    border-radius: 4px;
    cursor: inherit;
    max-width: none;
}

.docPageHover {
    border-color: #888888;
}

.docPageFocussed {
    box-shadow: 2px 2px 2px #299ef2;
    /*border: 1px solid #0093FF;*/
}

.docToolTip {
    background-color: #FFFF99;
    border: solid 1px #ccc;
    font-size: 12px;
    color: #000;
    width: 70px;
    height: 20px;
    position: absolute;
    text-align: center;
    box-shadow: 2px 2px 2px #888888;
    border-radius: 2px;
    vertical-align: middle;
    font-family: verdana;
}

.docUnselectable {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}


.grab {
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.grabbing {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.docLeftPane {
    overflow: auto;
    float: left;
    width: 210px;
    height: 100%;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    scrollbar-base-color: #eee;
    scrollbar-3dlight-color: #eee;
    scrollbar-shadow-color: #eee;
}

.docRightPane {
    overflow: auto;
    text-align: center;
    height: 100%;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    scrollbar-base-color: #eee;
    scrollbar-3dlight-color: #eee;
    scrollbar-shadow-color: #eee;
}

.splitbarV {
    float: left;
    width: 6px;
    height: 100%;
    line-height: 0px;
    font-size: 0px;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
}

.splitbuttonV {
    margin-top: -41px;
    margin-left: -2px;
    top: 50%;
    position: relative;
    height: 63px;
    width: 8px;
    background-color: #ccc;
    /* border: dotted 1px #000; */
    border-radius: 2px;
}

    .splitbuttonV.invert {
        margin-left: 0px;
    }

    .splitbarV.working, .splitbuttonV.working {
        -moz-opacity: .50;
        -ms-opacity: .50;
    }


.docSearch {
    border: solid 1px #ccc;
    background-color: #FFFF99;
    opacity: 0.50;
    -moz-opacity: 0.50;
    -ms-opacity: 0.50;
    z-index: 10;
}

/* Current match in Word-style "Result N of M" navigation: a stronger orange so the
   focused hit stands out from the other (yellow) matches on the page. */
.docSearch.active {
    border: solid 2px #d9730d;
    background-color: #ffa726;
    opacity: 0.60;
    -moz-opacity: 0.60;
    -ms-opacity: 0.60;
    z-index: 11;
}

.docSearchPage {
    pointer-events: none;
    z-index: 10;
}

.docLinksPage {
    pointer-events: none;
}

/* Selected-annotation indicator: green tick (centered) + light border.
   The .selectedAnn class is added by annotation.js (AnnotationUI.SelectAnnotation).
   The relative ../images/ path resolves through the resources middleware the same
   way jquery-ui.min.css references its ui-icons, independent of ResourcesPath. */
.selectedAnn {
    background-image: url("../images/selected.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border: solid 1px Yellow;
}

/* DICOM technical-properties panel */
.docDicomPropsBtn {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 20;
    padding: 2px 8px;
    font-size: 11px;
    font-family: verdana, sans-serif;
    background-color: #4a90d9;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.85;
}

.docDicomPropsBtn:hover {
    opacity: 1;
}

.docDicomPropsPanel {
    display: none;
    position: absolute;
    top: 34px;
    right: 8px;
    z-index: 20;
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 4px;
    box-shadow: 2px 2px 6px #888;
    padding: 8px 10px 8px 10px;
    font-size: 12px;
    font-family: verdana, sans-serif;
    min-width: 280px;
    max-width: 380px;
}

.docDicomPropsClose {
    float: right;
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 0 4px 6px;
}

.docDicomPropsClose:hover {
    color: #000;
}

.docDicomPropsTable {
    border-collapse: collapse;
    width: 100%;
    margin-top: 4px;
}

.docDicomPropsTable th,
.docDicomPropsTable td {
    text-align: left;
    padding: 3px 6px;
    border-bottom: solid 1px #eee;
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
}

.docDicomPropsTable th {
    color: #555;
    font-weight: normal;
    width: 38%;
}

.docDicomPropsTable td {
    color: #222;
}
