﻿body {
    font-size: .85em;
    margin: 0;
    padding: 0;
    background-color: black;
    color: #dddddd;
}


div {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.page {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


#logo {
    background-image: url(images/header_logo.jpg);
    background-repeat: no-repeat;
    height: 42px;
    width: 450px;
}

#rightscroll, #downscrool {
    position: absolute;
}

#header {
    width: 100%;
    height: 42px;
    background-image: url(images/index.jpg);
}

    #header div {
        display: inline-block;
        height: 42px;
        vertical-align: middle;
        font-weight: bold;
        padding: 10px;
    }

#Pname, #Pid {
    float: right;
}

#viewerhead {
    text-align: center;
    font-size: 20px;
    color: whitesmoke;
    margin: 10px;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    padding: 42px 0 20px 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    overflow: hidden;
    text-align: right;
    border-top: 1px solid rgb(18,22,33);
    box-shadow: inset 0px 3px 2px gray;
    background: rgb(38,42,53); /*rgb(48,52,63);*/
}

#Loaded {
    float: left;
    font-size: 10pt;
    margin-left: 50%;
    margin-top: -3px;
}


#progbar {
    width: 100%;
    height: 17px;
    display: inline-block;
    margin: 2px;
}

#ToolBox {
    position: absolute;
    overflow: auto;
    top: 42px;
    left: 0px;
    height: 100%;
    width: 175px;
    overflow: hidden;
    box-sizing: border-box;
    background: rgb(48,52,63);
}

    #ToolBox div {
        border-radius: 5px;
        margin: 2px 0px;
        display: inline-block;
    }



#image {
    height: 10px;
    width: 10px;
    position: absolute;
    top: 42px;
    left: 192px;
    overflow: hidden;
    box-sizing: border-box;
    background: dimgray;
    text-align: center;
}

#btnLeft, #btnRight {
    height: 70px;
    width: 30px;
}

#btndown, #btnup {
    width: 165px;
    height: 30px;
}

#ThumbNails {
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: rgb(48,52,63);
    scrollbar-3dlight-color: gold;
    scrollbar-arrow-color: blue;
    scrollbar-base-color: blue;
    scrollbar-darkshadow-color: blue;
    scrollbar-face-color: blue;
    scrollbar-highlight-color: blue;
    scrollbar-shadow-color: blue;
}

    #ThumbNails .Img {
        border: 1px lightslategray solid;
        margin: 3px;
        background: dimgray;
        font-weight: bold;
    }

        #ThumbNails .Img:hover {
            background: gray;
        }

    #ThumbNails .Img2 {
        border: 1px lightslategray solid;
        margin: 3px;
        background: #222222;
        
        font-size: 9pt; /*//times new roman*/
        font-family: times new roman;
        font-weight: bold;
        color: #dddddd;
        text-align: center;
        font-weight: bold;
    }

#image, #ToolBox, #container {
    display: inline-block;
    overflow: hidden;
}

#ZOOM, #hangingopen, #cal, #SingleMode, #HangingBtn, #window_width, #bright, #undo, #oneimage, #twohorizontalimages, #twoverticalimages, #fourimages, #Pan, #invert, #flipx, #flipy,#rotateL,#rotateR, #selectannotation, #deleteannotation, #line, #circle, #rectangle, #text, #angle, #cobbangle, #reset, #PresetsBtn, #ellipse, #prev, #prevf, #nxt, #nextf, #play, #stop, #hounsefield, #annBtn, #Triangulation, #Fit, #AnnClear,#PlusBT,#MinusBT{
    display: inline;
}

#ZOOM, #hangingopen, #cal, #SingleMode, #HangingBtn, #window_width, #bright, #undo, #oneimage, #twohorizontalimages, #twoverticalimages, #fourimages, #Pan, #invert, #flipx, #flipy,#rotateL,#rotateR, #selectannotation, #deleteannotation, #line, #circle, #rectangle, #text, #angle, #cobbangle, #reset, #ellipse, #PresetsBtn, #prev, #prevf, #nxt, #nextf, #play, #stop, #hounsefield, #annBtn, #Triangulation, #Fit, #AnnClear,#PlusBT,#MinusBT {
    border: 0;
    background: rgb(48,52,63);
    display: inline-block;
}


#ZOOM, #cal, #hangingopen, #SingleMode, #HangingBtn, #window_width, #bright, #undo, #oneimage, #twohorizontalimages, #twoverticalimages, #fourimages, #Pan, #invert, #flipx, #flipy,#rotateL,#rotateR, #selectannotation, #deleteannotation, #line, #circle, #rectangle, #text, #angle, #cobbangle, #PresetsBtn, #reset, #ellipse, #prev, #prevf, #nxt, #nextf, #play, #stop, #hounsefield, #annBtn, #Triangulation, #Fit, #AnnClear,#PlusBT,#MinusBT {
    width: 48px;
    height: 48px;
    display: inline-block;
    background-repeat: no-repeat;
}

    #ZOOM:hover, #hangingopen:hover, #cal:hover, #HangingBtn:hover, #SingleMode:hover, #window_width:hover, #bright:hover, #undo:hover, #oneimage:hover, #twohorizontalimages:hover, #twoverticalimages:hover, #fourimages:hover, #Pan:hover, #invert:hover, #flipx:hover, #flipy:hover,#rotateL:hover,#rotateR:hover, #selectannotation:hover, #deleteannotation:hover, #line:hover, #circle:hover, #rectangle:hover, #text:hover, #angle:hover, #cobbangle:hover, #PresetsBtn:hover, #reset:hover, #ellipse:hover, #prev:hover, #prevf:hover, #nxt:hover, #nextf:hover, #play:hover, #stop:hover, #hounsefield:hover, #annBtn:hover, #Triangulation:hover, #Fit:hover, #AnnClear:hover,#PlusBT:hover,#MinusBT:hover {
        border: solid gray 1px;
        height: 44px;
        border-radius: 10px;
    }

#ZOOM {
    background-image: url(viewer_icons/zoom.gif);
    background-repeat: no-repeat;
}

#window_width {
    background-image: url(viewer_icons/ww-.gif);
}

#bright {
    background-image: url(viewer_icons/bc-.gif);
}

#undo {
    background-image: url(viewer_icons/undo.gif);
}

#oneimage {
    background-image: url(viewer_icons/1.gif);
}

#twohorizontalimages {
    background-image: url(viewer_icons/2h.gif);
}

#twoverticalimages {
    background-image: url(viewer_icons/2v.gif);
}

#fourimages {
    background-image: url(viewer_icons/4.gif);
}

#Pan {
    background-image: url(viewer_icons/pan.gif);
}

#invert {
    background-image: url(viewer_icons/invert.gif);
}

#flipx {
    background-image: url(viewer_icons/fliph.gif);
}

#flipy {
    background-image: url(viewer_icons/flipv.gif);
}
#rotateR {
    background-image: url(viewer_icons/rotate_right.gif);
}

#rotateL {
    background-image: url(viewer_icons/rotate_left.gif);
}
#hangingopen {
    background-image: url(viewer_icons/hanging.gif);
}



#selectannotation {
    background-image: url(viewer_icons/annotation_select.gif);
}

#deleteannotation {
    background-image: url(viewer_icons/delete_ann.gif);
}

#line {
    background-image: url(viewer_icons/annotation_line.gif);
}

#circle {
    background-image: url(viewer_icons/circle.gif);
}

#rectangle {
    background-image: url(viewer_icons/rect.gif);
}

#text {
    background-image: url(viewer_icons/annotation_text-.gif);
}

#angle {
    background-image: url(viewer_icons/angle.gif);
}

#PresetsBtn {
    background-image: url(viewer_icons/sign_ww_wl_preset.gif);
}

#cobbangle {
    background-image: url(viewer_icons/cobb_angle.gif);
}

#reset {
    background-image: url(viewer_icons/reset.gif);
}

#ellipse {
    background-image: url(viewer_icons/ellipse.gif);
}

#prev {
    background-image: url(viewer_icons/previos_image.gif);
}

#prevf {
    background-image: url(viewer_icons/previos_frame.gif);
}

#nxt {
    background-image: url(viewer_icons/next_image.gif);
}
#PlusBT {
    background-image: url(viewer_icons/plus.gif);
}
#MinusBT {
background-image: url(viewer_icons/minus.gif);
}
#nextf {
    background-image: url(viewer_icons/next_frame.gif);
}

#play {
    background-image: url(viewer_icons/play.gif);
}

#stop {
    background-image: url(viewer_icons/stop.gif);
}

#hounsefield {
    background-image: url(viewer_icons/hounse.gif);
}

#cal {
    background-image: url(viewer_icons/calibratet.gif);
}

#HangingBtn {
    background-image: url(viewer_icons/hanging.gif);
}

#SingleMode {
    background-image: url(viewer_icons/single_mode.gif);
}

#annBtn {
    background-image: url(viewer_icons/annotation_dialogue.gif);
}

#Triangulation {
    background-image: url(viewer_icons/triangulation.gif);
}

#Fit {
    background-image: url(viewer_icons/fit_image.gif);
}

#AnnClear {
    background-image: url(viewer_icons/annotation_delete.gif);
}

.loadingdiv {
    background: url(viewer_icons/loading.gif) no-repeat center center;
}

fieldset {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-color: black;
    padding: 1px;
}

#browsing {
    height: 65px;
}


#Display, #mesure {
    height: auto;
}

.gridCanvas {
    width: 40px;
    height: 40px;
    background: gray;
    margin-left: 5px;
}

#_00 {
    width: 40px;
    height: 40px;
    background: lightskyblue;
    margin-left: 5px;
}

#hangingprotocols {
    border-radius: 6px;
    background: lightgrey;
}
