/**** Main Layout Styles ****/
html {
    height: 100%;
}

body {
    font-size: 14px;
    margin-bottom: -7px;
    background: #fcfcfc;
}

header {
    font-size: 26px;
    margin-bottom: 10px;
}

#dashboardToggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.noPadding {
    padding: 0px !important;
}

.noLeftPadding {
    padding-left: 0px !important;
}

.noRightPadding {
    padding-right: 0px !important;
}

.noMargins {
	margin: 0px;
}

select {
    border: 1px solid #d4d9d6;
    background-color: white;
}

#t3-main.archived {
    background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#D1D1D1));
    background: -moz-linear-gradient(top, #F5F5F5, #D1D1D1);
    background: linear-gradient(#F5F5F5, #D1D1D1);
}

.ui-layout-xaxis-row {
    margin-top: 5px;
}

#xaxisbar {
    height: 30px;
}

#xaxisbar .tickLabels {
    position: absolute;
    margin-top: -25px;
}

.top-row {
    padding-top: 5px;
}

#aperiodic-wrapper {
    padding-bottom: 15px;
}

#aperiodic {
    height: 16px;
    min-height: 16px;
    margin-left: 23px;
    margin-right: 24px;
}

#aperiodic .tickLabel {
    margin-top: 15px;
    font-size: 16px;
}

@media print {
    #ui-layout-southeast-pane {
        display:none;
    }
}

#bottomRow {
	padding-bottom: 10px;
}

/**
* GLOBAL INTERACTION STYLES
*/
.ui-actionable {
    cursor: pointer;
}

.ui-corner-all.ui-draggable {
    cursor: default;
}

.ui-draggable {
    cursor:url("../images/cursors/openhand_8_8.cur") 5 5, default;

    /* IE */
    cursor:url("../images/cursors/openhand-ie.cur"), pointer;
}

.ui-draggable:active {
    cursor:url("../images/cursors/closedhand_8_8.cur") 5 5 !important;

    /* IE */
    cursor:url("../images/cursors/closedhand.cur"), pointer !important;
}

.ui-draggable-disabled {
    cursor:default !important;
}

.ui-draggable-dragging {
    cursor:url("../images/cursors/closedhand_8_8.cur") 5 5 !important;

    /* IE */
    cursor:url("../images/cursors/closedhand.cur"), pointer !important;
}

/********* LINK STYLES ***********/

.link-state-default {
    color:  #158eb5;
    cursor: pointer;
    text-decoration:none;
}

.link-state-default:hover {
    text-decoration:underline !important;
}

.link-state-highlighted {
    color: #151e1e;
    cursor:auto;
    text-decoration:none;
    font-weight:bold;
}

.link-state-highlighted:hover {
    text-decoration:none !important;
    cursor:default;
}

#resetArrangementDialogButton {
    color: #ffffff;
    background-color: #0096b7;
    background: -webkit-gradient(linear, left top, left bottom, from(#0096b7), to(#006181));
    background: -moz-linear-gradient(top, #0096b7, #006181);
    background: linear-gradient(#0096b7, #006181);
}

#resetArrangementDialog {
    width: 300px;
    height: 350px;
    overflow: hidden;
}

#resetArrangementDialog .modal-dialog {
    margin-top: 0;
}

#defaultArrangementList {
    margin-top: 10px;
}

/*********** GRAPH STYLES **************/

#xaxisbar .boundingDiv {
    border-color:#151e1e;
    border-left:1px solid;
    border-right:1px solid;
    border-top:2px solid;
    z-index:100;
}

.tickLabels {
    border-left: 1px solid #151e1e;
    border-right: 1px solid #a2a2a2;
}

.tickLabel {
    font-size: 13px;
    top: 0px;
    padding: 0px;
    margin: 0px;
    white-space: nowrap;
    color: #151e1e;
}

#xaxisbar-wrapper .tickLabel {
    font-size: 18px;
    margin-top: -5px;
}

#timeWrapper .xAxis .tickLabel {
    top: 28px;
    bottom: 2px !important;
    color: white;
}

    position: absolute;
    z-index: 250;
    background-color: #9fc1db;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 5px;
}

#linechart_0-wrapper {
    margin-top: 10px;
}

.ui-physioGraph .yAxis .tickLabel {
    font-size: 20px;
    margin-right: 2px;
}

/**
  The bottom label on the graph is actually the first child
*/
.ui-physioGraph .yAxis .tickLabel:first-child {
    margin-top: -8px;
}

.ui-physioGraph .yAxis .tickLabel {
    margin-top: 8px;
}

/* The bounding div shows both the axis on the graphs and the drag invitation */
.physioGraph .boundingDiv {
    text-align: center;
    color: #d4d9d6;
    padding-top: 60px;
    font-weight: bolder;
    font-size: 18px;
    -webkit-touch-callout: none;/*for mobile*/
    -webkit-user-select: none;/*for chrome*/
    -khtml-user-select: none;/*for safari*/
    -moz-user-select: none;/*for Mozilla*/
    -ms-user-select: none;/*for microsoft*/
}

div.physioGraph {
    min-height: 130px;
    max-height: 180px;
    margin-bottom: 10px;
}

div.ui-physioGraph-wrapper {
    border-style: solid;
    border-color: blue;
    border-width: 0px;
}

div.ui-physioGraph-dropbox {
    height: 100%;
    width : 100%;
    border-color : green;
    border-width : 0px;
    border-style : solid;
    z-index: -1201;
    position: absolute;
    float: left;
}

div.ui-legend-dropbox {
    height: 100%;
    width: 100%;
    position: absolute;
    float: left;
    margin-left: -15px;
}

.dropaccept {
    z-index:200 !important; /* needs to be in front of bounding div */
    background-color:#158eb5;
    opacity:0.05;
}

.dropactive {
    z-index:99 !important; /*needs to be just behind bounding div*/
    background-color:#158eb5;
    opacity:0.2 !important;
}

.legendIdentifier, .displayNone {
    display:none;
}

/************** TIME NAVIGATION STYLES *******************/

div.timeSelectionGraph {
    height: 23px;
}

#timeSelection .tickLabels {
    position: absolute;
    top: -22px;
}

.selectionUnits {
    padding-left:2px;
}

/* For the time navigation sliders */
div.slider {
    position: absolute;
    top: -10px;
    padding: 0px;
    height: 18px;
    width: 18px;
    cursor: col-resize;
    z-index: 1000;
}

.sliderIcon {
    height: 18px;
    width: 5px;
    position: relative;
}

#leftSliderBackground {
    background:url(../images/T3_slider_left_normal.png) no-repeat right;
    left: 17px;
}

#rightSliderBackground {
    background:url(../images/T3_slider_right_normal.png) no-repeat right;
    left: -4px;
}

.timenavigating #leftSliderBackground {
    background:url(../images/T3_slider_left_hover.png) no-repeat right;
    left: 17px;
}

.timenavigating #rightSliderBackground {
    background:url(../images/T3_slider_right_hover.png) no-repeat right;
    left: -4px;
}

.timenavigating {
    border-color:#158eb5 !important;
}

#centerArea, #centerArea-blueBlock {
    border-radius:5px 5px 0px 0px;
}

#centerArea {
    height:10px;
    z-index:300;
}

#centerArea-blueBlock {
    background: #9fc1db;
    height: 23px;
    width: 100%;
    opacity: 0.5;
    border: 1px solid black;
    border-bottom: none;
}

#centerArea-whiteLine {
    background: white;
    height: 8px;
    z-index: 301;
    width: 100%;
}

.bookendTime {
    z-index: 5;
    font-weight: 500;
    padding-top: 7px;
    padding-left: 5px;
    padding-right: 5px;
    display: none;
}

#startTime {
    float:left;
}

#endTime {
    float:right;
}

div.centerDragArea {
    position:absolute;
    top:0px;
    height:100%;
    border:0;
}

#graph-interval-indicator {
    font-size: 16px;
}

.persistentDisplay #graph-interval-indicator {
    font-size: 18px;
}

#graph-interval-indicator i {
    color: #158eb5;
}

#jumpLinksWrapper {
    float: left;
}

#jumpLinksWrapper .linkset li{
    display: inline;
    list-style-type: none;
    font-size: 14px;
    padding-right: 6px;
    padding-left: 6px;
}

#jumpLinksWrapper .linkset li:last {
    padding-right:0px;
}

#jumpLinksWrapper .linkset {
    float: left;
    padding: 0px;
    margin-bottom: 5px;
}

#jumpLinksWrapper {
    padding-left: 25px;
    cursor: default;
}

#linksForTime {
    padding: 0px 15px 0px 15px;
}

#jumpLinksWrapper #linksForTime {
    float: left;
}

#jumpLinksWrapper #zoomText {
    float: left;
    font-size: 14px;
}

.jumpPanButton {
    font-size: 15px;
    margin-top: 1px;
    float: left;
    color: #158eb5;
}

.jumpPanButton:hover {
    opacity: 0.5;
}

.jumpPanButton:hover.ui-state-disabled {
    opacity: 0.7;
}

#zoomSelect {
    float: left;
    margin-left: 15px;
}

#jumpCurrentTime {
    margin-left: 5px;
}

#jumpCurrentTime:hover {
    opacity: 0.5;
}

#jumpCurrentTime:hover.link-state-highlighted {
    opacity: 1;
}

#jumpToCurrentArea {
    float: right;
    color: #158eb5;
    font-size: 14px;
    margin-right: 40px;
}

.ui-selected,.ui-selected a {
    color: #151E1E !important;
    font-weight: bold;
}

div.ui-debug {
    border-width: 1px;
}

#t3-status {
    position:absolute;
    margin:-5px;
    border:1px solid red;
    border-radius:3px;
    background:white;
    left:200px;
    z-index:1500;
}

.centered {text-align:center}
.ui-accordion-content {padding:0px 0px 0px 3px !important}

.wrap span.ui-selectmenu-item-header, .wrap ul.ui-selectmenu-menu li a {
    text-decoration: underline !important;
}

.default {
    cursor:default;
}

.ui-dialog-buttonset {
    font-weight: bold;
}

.dialogZIndex {
    z-index: 2000;
}

.historyDialogZIndex {
    z-index: 4000;
}

.unrecoverableDialogZIndex {
    z-index: 5500;
}

.persistentDisplay #request-status {
    font-size: 16px;
}

.selectionParent {
    z-index: 1000;
}

#reset-arrangement {
    color: black;
}

#reset-arrangement:hover {
    text-decoration: none;
    cursor: default;
}

#reset-arrangement.reset {
    color:  #158eb5;
    cursor: pointer;
}

#reset-arrangement.reset:hover {
    text-decoration: underline;
}

.popover-body {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

#authModal div {
    margin-bottom: 5px;
}

.linebreak {
    white-space: pre-wrap;
}
