﻿/* prevent 'bounce' in scrolling */

/*****初始化******/
*{
    margin:0;
    padding:0;
}
html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    width: 100%;
    background-color: dimgrey;
    overflow: visible;
    position:static;
}
input{
    -webkit-user-modify: read-write-plaintext-only;
}
button{
    border: none;
    background: none;
}
h1{
    font-size: 20px;
    color:#555;
    display: block;
    margin-left:10px;
    float: left;
}
ul{
    list-style: none;
}
a:hover, a:visited, a:link, a:active{
    text-decoration: none;
    color: #000;
}
textarea{
    resize: vertical;
}

.main{
    width: 100%;
    height:100%;
    display: -webkit-box;  /* 老版本语法: Safari,  iOS, Android browser,     older WebKit browsers.  */
    display: -moz-box;    /* 老版本语法: Firefox (buggy) */
    display: -ms-flexbox;  /* 混合版本语法: IE 10 */
    display: -webkit-flex;  /* 新版本语法： Chrome 21+ */
    display: flex;       /* 新版本语法： Opera 12.1, Firefox 22+ */
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -moz-box-orient:vertical;
    -moz-box-direction:normal;
    flex-direction:column;
    -webkit-flex-direction:column;
}
/*****导航栏*****/
#tabs{
    background: #31708f;
}
#tabs .tabs-content{
    position: relative;
    border-bottom: 1px solid #fff;
    padding: 4px;
}
#tabs ul{
    display: inline-block;
    background: #263f67;
    border-radius: 5px;
}
#tabs ul li{
    display: inline-block;
    padding: 3px;
    border-right: 1px solid #6e6e6e;
}
#tabs ul li a{
    display: inline-block;
    color: #fff;
    padding: 7px;
    border-radius:3px;
}
#tabs ul li.active a,#tabs ul li a:hover{
    background: #337ab7;
}
#tabs ul li span{
    margin-left: 5px;
}
#tabs .username{
    color: #fff;
    position: absolute;
    top: 15px;
    right: 100px;
}
/*查询按钮*/
#studyList .query{
    position:absolute;
    top:5px;
    right: 10px;
}
#studyList .query button{
    width: 56px;
    line-height:38px;
    color: #fff;
    background: #263f67;
    border-radius: 5px;
}

/*****queryList*****/
#tabContent{
    -webkit-box-flex:1;
    -moz-box-flex:1;
    -webkit-flex:1;
    flex:1;
    background: #3d505a;
    overflow: hidden;
}
#tabContent select.searchVal{
    width:100%;
    height: 24px;
    max-width: 174px;
    border: none;
    outline: none;
}

.hidden {
    display: none;
}
.modal-content{
    background-color: #202020;
}

/* images are displayed in viewports */
#tabContent .tab-pane{
    height: 100%;
}
#tabContent .studyContainer{
    height: 100%;
}
#tabContent .studyViewer .imageViewer {
    background: #A9A9A9;
}
#tabContent .studyViewer .imageViewer table{
    width:100%;
    height:100%;
}
#tabContent .studyViewer .viewport{
    width:100%;
    height:100%;
    top:0;
    left:0;
    position:absolute;
    --select-status:false;
    border: 2px solid #777;
}
#tabContent .studyViewer .viewport:hover {
    border-width:3px;
    border-color: #8c8c8c;
}
#tabContent .studyViewer .Data-selected {
    border-color: #ffff13;
}
#tabContent .studyViewer .Data-selected:hover {
    border-width:3px;
    border-color: #ffff13;
}
#tabContent .studyViewer .studyPage {
    position:relative;
    height:100%;
}
/*.imageViewer table td.Data-selected:hover{*/
/*border-color: #ffdd00;*/
/*}*/
.overlay {
    position: absolute;
    color: #fff;
    font-size: 14px;
    padding: 2px;
}
.myNav {
    margin: 0;
    border:0;
}
#wrap {
    width: 100%;
    height:100%;
    position:relative;
}
.navbar-default {
    background-color: #A9A9A9;
    border-color: black;
}
#studyList{
    overflow-y: auto;
}
#studyList .table{
    width:100%;
    border-collapse: collapse;
    border-color: gray;
    table-layout:fixed;
    margin-bottom: 12px;
}

#studyList .table tr>th,#studyList .table tr>td{
    border: 1px solid #A9A9A9;
}
#studyListData tr td{
    white-space:nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}
/*#studyListData tr td:hover{*/
/*    overflow:visible;*/
/*    white-space:normal;*/
/*    word-wrap: break-word;*/
/*}*/
#studyListData tr.selected td {
    overflow:visible;
    white-space:normal;
    word-wrap: break-word;
    background-color: #1d1d1d;
}
#studyListData td{
    color: #fff;
}
#querytr td{
    padding: 6px;
    vertical-align: middle;
}
#querytr input.searchVal{
    width:100%;
    height: 24px;
    max-width: 174px;
    border: none;
    -webkit-appearance: none; /*清除移动端默认的表单样式*/
}
.loading{
    text-align: center;
}
.loading svg {
    height: 100px;
    width: 100px;
}
.loading .g-circles {
    -webkit-transform: scale(0.9) translate(7px, 7px);
    -ms-transform: scale(0.9) translate(7px, 7px);
    transform: scale(0.7) translate(7px, 7px);
}
.loading circle {
    fill: #fff;
    fill-opacity: 0;
    -webkit-animation: opacity 1.2s linear infinite;
    animation: opacity 1.2s linear infinite;
}
.loading circle:nth-child(12n + 1) {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}
.loading circle:nth-child(12n + 2) {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}
.loading circle:nth-child(12n + 3) {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
.loading circle:nth-child(12n + 4) {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}
.loading circle:nth-child(12n + 5) {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.loading circle:nth-child(12n + 6) {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}
.loading circle:nth-child(12n + 7) {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
.loading circle:nth-child(12n + 8) {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
.loading circle:nth-child(12n + 9) {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.loading circle:nth-child(12n + 10) {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
.loading circle:nth-child(12n + 11) {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.loading circle:nth-child(12n + 12) {
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;
}
@-webkit-keyframes opacity {
    3% {
        fill-opacity: 1;
    }

    75% {
        fill-opacity: 0;
    }
}

@keyframes opacity {
    3% {
        fill-opacity: 1;
    }

    75% {
        fill-opacity: 0;
    }
}
#studyListData td:nth-child(8) div{
    display: inline-block;
}
#studyListData td:nth-child(8) span{
    display: inline-block;
    width:45px;
}
/******thumbnail******/
#tabContent .studyViewer a.list-group-item{
    z-index: 5;
    background: #3e515b;
    border: 1px solid #000;
    color: #fff;
    padding: 2px;
}
#tabContent .studyViewer a.list-group-item.active{
    background-color: #a6b3b9;
}
.ico_img{
    width: 24px;
    height: 24px;
}
#studyList thead>tr:first-child{
    color:#fff;
}
.selector ul{
    list-style: none;
    margin:0;
    padding:5px;
    z-index: 1000;
    position: absolute;
    top:118px;
    background-color: #fff;
    width:10%;
    max-width: 174px;
    min-width: 84px;
    display:none;
}
.selector ul li{
    height:24px;
    padding-left:5px;
}
.selector ul li:hover{
    background-color: #08c;
}
.selector ul li input{
    width:18px;
    height:18px;
    float: left;
    margin-right: 5px;
}
.selector ul li label{
    display: block;
    line-height:24px;
    padding-left: 8px;
}
.report {
    overflow: auto;
}
.report iframe {
    width:100%;
    height:100%;
    display: none;
}
.report .report-wrapper{
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: #fff;
    color: #000;
    display: none;
}
.report .reportContainer{
    background: #fff;
}
.report .report-wrapper table tbody .reportInput{
    width:100%;
    overflow: auto;
    word-break: break-all;
    border: none;
}
.report .report-wrapper table>thead>tr>th{
    font-size: 20px;
    text-align: center;
    border-bottom: 2px solid #000;
    position: relative;
}
.report .report-wrapper table tr>th,.report .report-wrapper table tr>td{
    border: 1px solid #3c3c3c;
}
.report .report-wrapper table .textTitle td{
    border-bottom: none;
}
.report .report-wrapper table .textInput td{
    border-top: none;
}
.report .report-wrapper table>thead .submit{
    display: inline-block;
    position: absolute;
    right: 15px;
    color:#9f9f9f;
}
.report .report-wrapper table>thead .submit .save{
    font-size:16px;
    display:none;
    color:#000;
}
#studyViewerTemplate .btn-group>.btnFirst{
    margin-left: -1px ! important;
}
.daterangepicker .input-mini{
    display: inline-block;
    width: 100px;
    padding-left: 10px;
}
.daterangepicker .calendar-table{
    padding: 0;
}
.daterangepicker_input span{
    display:inline-block;
    width: 30px;
    font-weight:bold;
    text-align:center;
}
/*右键对比菜单对比*/
#rightClick{
    width: 70px;
    border: 1px solid #000;
    background: #fff;
    display: none;
    position:absolute;
    z-index: 9999;
    cursor: hand;
    /*设置文字不可选中*/
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}
#rightClick .contrast{
    height: 28px;
    line-height:28px;
    font-size: 16px;
    margin-left: 12px;
    color: #000;
}
#FilePath{
    width: 300px;
    height: 30px;
}
#CloseModal{
    width: 54px;
    padding: 6px 12px;
    color: #ffffff;
    background-color: #424242;
    border-color: #424242;
    border-radius: 4px;
}
#CloseModal:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
#helpModal .modal-body{
    padding: 18px;
}
.imageViewer .overlay-text{
    position:absolute;
}
.daterangepicker .cancelBtn{
    background: #ddd;
}
/*分页*/
#studyList .myPagination{
    text-align: center;
    color:#fff;
    margin-bottom: 4px;
}
#studyList .myPagination .nowPages{
    background: #3b5f71;
    margin: 0 20px;
    padding: 4px  9px;
    border-radius: 3px;
}
#studyList .myPagination button{
    background: #31708f;
    padding: 4px 6px;
    border-radius: 5px;
}
/***MPR iframe***/
#mprViewer{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    display: none;
    z-index: 2000;
}
#myMPR {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom:0;
    z-index: 2100;
    width: 100%;
    max-width: 1650px;
    height: 100%;
    max-height: 900px;
    border: 3px solid #4C76FF;
    background: #fff;
    display: inline-block;
}
#mprViewer .shadow{
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    background: #000;
    opacity: 0.6;
}

/*加载进度*/
#tabContent .studyViewer .thumbnails .small{
    position: relative;
    height: 21px;

}
#tabContent .studyViewer .thumbnails .small span{
    position: absolute;
    z-index: 2;
    font-size: 14px;
    left: 0;
    right: 0;
}
/*#tabContent .studyViewer .thumbnails .loadStatus{*/
/*background: #cccccc;*/
/*background-image: -webkit-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);*/
/*background-image: -moz-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);*/
/*background-image: -o-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);*/
/*background-image: linear-gradient(to bottom, #f0f0f0, #dbdbdb 70%, #cccccc);*/
/*-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);*/
/*box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);*/
/*}*/
/*#tabContent .studyViewer .thumbnails .loadStatus:before {*/
/*height: 21px;*/
/*background: url("../icons/progress.png") 0 0 repeat-x;*/
/*}*/
#tabContent .studyViewer .thumbnails .small .loadStatus {
    background: #327190;
    height: 18px;
    background-image: -webkit-linear-gradient(top, #6c6c6c, #000 65%, #6c6c6c);
    background-image: -moz-linear-gradient(top, #6c6c6c, #000 65%, #6c6c6c);
    background-image: -o-linear-gradient(top, #6c6c6c, #000 65%, #6c6c6c);
    background-image: linear-gradient(to bottom, #6c6c6c, #000 65%, #6c6c6c);
}

/*PDF*/
.pdfReport {
    position: relative;
}
.pdfReport .menuPage{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top:0;
}
.pdfReport .pdfCanvas .canvas{
    overflow: auto;
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #404040;
}

.pdfReport .pdfCanvas .canvas canvas{
    margin: 10px auto;
    display: block;
}
.pdfReport .pdfCanvas .toolbar{
    position: relative;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: 36px;
    background-color: #474747;
    padding: 6px 0;
    font-size: 12px;
    line-height: 20px;
}
#toolbarRight>*,#toolbarMiddle>*{
    position: relative;
    float: left;
    color: #fff;
}
#toolbarRight{
    float: right;
}
#toolbarMiddle .splitToolbarButton {
    margin-right: 10px;
}
#zoomOut,#zoomIn{
    width: 24px;
    font-size: 22px;
    line-height: 25px;
}
#scaleSelect{
    min-width: 80px;
    height:24px;
    background-color: #5D5D5D;
    border: 1px solid #424242;
}
/*清除默认样式*/
input[type=number] {
    -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#toolbarRight #download,#toolbarRight .leftRotate,#toolbarRight .rightRotate,#toolbarRight .pdfPrint{
    width: 36px;
    vertical-align: middle;
}
