﻿/****************
/*  Common
/***************/

.note {

    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #515151;
    background-color: #F3F3F3;
    position: absolute;
    left: -50%;
    width: 65%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.note .Windowheader {
    height: 40px;
    background-color: #e9e9e9;
    border-bottom: 1px solid #b3b3b3;
    border-radius: 5px 5px 0px 0px;
}

.addNoteTitle {
    float: left;
    width: 100%;
    position: absolute;
    color: #333;
    text-shadow: 0 1px 0 #f3f3f3;    
}

#addNote .cpn-btn-c {
    background: #D6D6D6;
    text-shadow: 0 1px 0 #D3D3D3;
    border: 1px solid #bbb;
}

#addNote .cpn-btn-c:hover {
    background: #C6C6C6;
    text-shadow: 0 1px 0 #C3C3C3;
}

#addNote .cpn-btn-c:active {
    background: #b6b6b6;
    text-shadow: 0 1px 0 #b3b3b3;
}

.hidden {
    visibility: hidden;
}

/***************
/*  Header
/***************/

#patientDetailsHeader {
    position: absolute;
    z-index: 10;
}

#patientHeaderListItem {
    border: 1px solid #ccc /*{a-bup-border}*/;
    background: #eee /*{a-bup-background-color}*/;
    font-weight: bold;
    color: #2F3E46 /*{a-bup-color}*/;
    text-shadow: 0 /*{a-bup-shadow-x}*/ 1px /*{a-bup-shadow-y}*/ 1px /*{a-bup-shadow-radius}*/ #f6f6f6 /*{a-bup-shadow-color}*/;    
}

#reviewControlsListItem {
    border: 1px solid #ccc /*{a-bup-border}*/;
    background: #eee /*{a-bup-background-color}*/;
    font-weight: bold;
    color: #2F3E46 /*{a-bup-color}*/;
    height: 70px;
}

/*******************
/*  Add note dialog
/*******************/

#addNote {
    z-index: 51;
}

.dateControl {
    float: right;
    font-size: 9pt;
    font-weight: bold;
    color: #6c6c6c;
    text-shadow: 0 1px 0 #f3f3f3;    
    padding-right: 10px;
    margin-top: 13px;
}

.iconDocument {
    background-image: url('images/error/iconDocument.png');
}

#commentError {
    height: auto;
}
    
#commentErrorIcon {
	margin-left: 5px;
}

.addNoteForm {
    padding: 4px 7px 5px 7px;
}

.addNoteFormFieldContain {
    padding: 0px;
    margin: 0px;
}

#addNoteTextArea {
	-webkit-overflow-scrolling: touch;
    width: 100%;
    height: 120px;
    max-height: 120px;
    padding: 1%;
    resize: none;
}

/**********************
/*  Review note dialog
/**********************/

#reviewNote {
    z-index: 51;
    max-width: 650px;
    max-height: 480px;
    bottom: 12px;
    color: #333;
    text-shadow: 0 1px 0 #f3f3f3;
}

.closeButton {
    float: left;
    z-index: 51;
    margin: .3em;
}

.noteRange {
    padding: 10px;
    border-bottom: 1px solid #b3b3b3;
    font-size: 8pt;
    text-align: right;
    font-weight: bold;
}

#commentList {
	-webkit-overflow-scrolling: touch;
    position: absolute;
    top: 76px;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
}

#commentList ul {
    margin: 0;
    border-radius: 0;
}

.noteRow {
    padding: 7px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #b3b3b3;
}

.noteDate {
    float: left;
    font-size: 9pt;
    width: 18%;
    font-weight: bold;
    margin-right: 4px;
}

.noteTime {
    float: left; 
    font-size: 9pt;
    width: 10%;
    font-weight: bold;
}

.noteText {
    float: right;
    font-size: 9pt;
    width: 67%;
    white-space: pre-wrap;
}

/**************
/*  Content
/**************/

.noContentPadding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0 !important;
}

.iconClock {
    background-image: url('images/error/iconClock.png');
    display: inline-block;
}

#sidebar {
    background: #2B2B2B;

    float: left;
    width: 50px;
    height: 100%;
    margin-left: 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 2px 4px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); /* Chrome 10 , Saf5.1  */
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); /* IE10 */
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); /* Opera 11.10  */
    background-image: linear-gradient(top, #ffffff, #e6e6e6);

    border: 1px solid #cccccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    border-radius: 4px;
}

.btn-custom {
    padding: 0 4px;
    background-image: -webkit-linear-gradient(top, #5b5b5b, #282828); /* Chrome 10 , Saf5.1  */
    background-image: -moz-linear-gradient(top, #5b5b5b, #282828); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #5b5b5b, #282828); /* IE10 */
    background-image: -o-linear-gradient(top, #5b5b5b, #282828); /* Opera 11.10  */
    background-image: linear-gradient(top, #5b5b5b, #282828);

    border-color: #282828 #282828 hsl(0, 0%, 11%);
}

.textLinks {
    padding-top: 3px;
    font-weight: bold;
}

#sidebar .link {
    color: #a1a1a1;
    font-size: 8pt;
    text-decoration: none;
    padding: 7px 5px 7px 5px;
    display: block;
    border-bottom: 1px solid #232323;
    border-top: 1px solid #4e4e4f;
    text-shadow: none;
    margin-right: 0;
}

.errorLinks {
    padding-top: 3px;
    padding-bottom: 3px;
    border-top: 1px solid #4e4e4f;
    height: 22px;
    text-align: center;
}

.stripLinks div {
    margin-top: 2px;
    margin-bottom: 2px;
}

.geLogo {
    position: absolute;
    bottom: 2px;
    left: 9px;
}
.addContentPadding {
    padding-left: 8px;
    padding-right: 8px;
    overflow: hidden;
}

#graphListInfo ul {
    margin-top: 9px;
    margin-bottom: 0;
}

.patientId {
    font-size: 12px;
    padding-bottom: 4px;
    color: #878787;
    text-overflow: ellipsis;
    overflow: hidden;
    min-height: 17px;
    white-space: nowrap;
}

.patientName {
    font-size: 14px;
    padding-bottom: 8px;
    color: #515151;
    text-overflow: ellipsis;
    overflow: hidden;
    min-height: 14px;
    white-space: nowrap;
}

.unitName {
    float: right;
    color: #515151;
    font-size: 12px;
    padding-left: 10px;
    border-left: 1px solid #878787;
    min-height: 15px;
}

.bedName {
    float: right;
    color: #878787;
    font-size: 12px;
    padding-right: 10px;
    min-height: 15px;
}

#graphsListItem {
    cursor: pointer;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-left: 0px;
    height: 281px;
    background-color: #ffffff;
}

#fetalStripContainer {
    height: inherit;
}

#gridScrollerContainer {
    overflow: hidden;
}

.addContainerPadding {
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.floatingDate {
    position: absolute;
    z-index: 9;
    right: 0;
    text-align: right;
    margin-right: 0px;
    font-size: 11px;
    font: Helvetica;
    font-weight: bold;
    background-image: url('images/grid/DateFade.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
    padding-right: 7px;
    margin-top: 1px;
    line-height: 12px;
}

#gridScrollerContent {
    background: white;
    -webkit-transform-origin: left top;
    -webkit-transform: translateZ(0);
    transform-origin: left top;
    transform: translateZ(0);
}

.addGraphPadding {
    padding-left: 0px;
    padding-right: 0px;
}

.addShadow {
    float: right;
    border-left: 9px solid #ffffff;
    box-shadow: 0 0 3px 3px #888;
    padding-bottom: 0px;
}

#FHRGraph {
    border: none;
    background-color: #FFFFFF;
    font-weight: bold;
}

#UAGraph {
    border: none;
    background-color: #FFFFFF;
    font-weight: bold;
}

.floatingPreviousDiv {
    left: 12px;
}

.floatingLoadMoreButton {
	position: absolute;
    z-index: 10;
    top: 40%;
    font-weight: bold;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.floatingNextDiv {
    right: 12px;
    
}

.noData {
    background-image: url('images/grid/noData.png');
}

#noDataGraphicContainer {
    height:inherit;
}

.noDataGraphic {
    background-image: url('images/grid/noDataGraphic.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    height: inherit;
}

#reviewControlsListItem .footer-btn {
    position: absolute;
    width: 35px;
    margin: 0;
    top: 50%;
    margin-top: -22px;
    border: 3px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 3px rgba(000,000,000,0.5), inset 0px 0px 1px rgba(255,255,255,0.5);
    background-color: #DDD;
    z-index: 15;
}

#reviewButton {
    right: 10px;
    height: 33px;
    padding: 3px 0px 0px 11px;
}

#webSummary-btn {
    position: absolute;
    right: 90px;
    height: 36px;
    padding: 0px 5px;
}

#reviewToggle {
    position: absolute;
    top: 50%;
    margin-top: -23px;
    cursor: pointer;
    left: 10px;
}

#debugTextarea {
    background: #FFF;
    width: 99.5%;
    resize: none;
    padding: .5%;
    margin-top: 10px;
}

#sidebar, #compressedPatientInfoElements {
   display: none;
}

#DetailsSidebarBackArrow {
	margin-top: 2px;
}
    
#compressedPatientInfoElements  {
    height: 18px;
    font-weight: bold;
    font-size: 12px; 
    white-space: nowrap;
	background: #ECEEEE;
}

#compressedPatientInfoElements > div {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    margin-top: 2px;
    text-shadow: none;
}

.compressedLeftElement {
    text-align: right;
    border-right-width: 1px;
    border-right-style: outset;
    padding-right: 3px;
}

#compressedId {
    width: 14%;    
}

#compressedName {
    width: 48%;
}

#compressedBed {
    width: 14%;
}

#compressedUnit {
    width: 8%;
}

#sideTimezoneErrorMsg {
	position: absolute;
    z-index: 53;
    top: 125px;
    left: 55px;
}

#timezoneError {
    text-align:center;
}

.annotations-control-group {
    float: right;
    margin: .5em;
    font-size: 10.5px;
}

.annotations-control-group .ui-btn-icon-left:after, 
.annotations-control-group .ui-btn-icon-right:after {
    width: 18px;
    height: 18px;
}

.annotations-control-group .ui-btn-icon-left:after, 
.annotations-control-group .ui-btn-icon-right:after {
    margin-top: -9px;
}

#patientInfoElements .physician-info {
    padding-bottom: 2px;
}

.ui-icon-chart-sm:after
{
    background-image: url("images/chart/chart_icon_sm.png");
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 16px;
    height: 19px;
    margin-top: -9.5px;
    margin-left: -8px;
}
/* Fallback */
.ui-nosvg .ui-icon-chart-sm:after
{
    background-image: url("images/chart/chart_icon_sm.png");
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 16px;
    height: 19px;
    margin-top: -9px;
    margin-left: -8px;
}

#DetailsSidebarWebSummaryButton,
#DetailsSidebarReviewButton {
    padding: 6px 7px 2px 7px;
}

/* Small - Portrait */
@media only screen and (min-height : 480px) and (max-height : 521px) {
    #reviewControlsListItem {
        height: 50px;
    }

    #addNote {
	    left: 5px;
	    right: 5px;
	    width: auto;
	    min-width: 0;
	    max-width: 100%;
    }
    
    .addCommentTextArea {
    	height: 170px !important;
        max-height: 100% !important;
    }
    
    .smallTextArea {
        height: 110px !important;
    }

    .patientName {
	    padding-bottom: 4px;
    }
    
    #patientHeaderListItem {
        padding: .1em 15px;
    }

    .listPatientId {
        padding-bottom: 1px;
    }

    .listPatientName {
        padding-bottom: 3px;
    }

    .physician-info {
        padding-bottom: 0px;
    }
    
    #reviewNote {
        height: 276px;
        width: auto;
        float: none;
        right: 5px;
        left: 5px;
        max-width: 100%;
        min-width: 0;
    }
 
    #commentList {
        height: 200px;
    }

    #webSummary-btn {
        right: 80px;
    }

    .marginTopAdjustForTimezoneError  {
        margin-top: 166px !important;
    }
}

@media only screen and (max-height : 479px) {
    #patientDetailsPage {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    #patientDetailsHeader, #reviewControls, #patientInfo, #reviewButton, #reviewToggle, 
    #timezoneError, #patientHeaderListItem, #patientInfoElements, #reviewControlsListItem {
        display: none;
    }

    #patientDetailsPage {
    	min-height: 300px !important;
    }
    
    #patientDetailsContent {
		background: #515151;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #detailsList {
        margin: 0 !important;
    }

    #sidebar, #compressedPatientInfoElements {
        display: block;
    }
    
    #patientHeaderListItem  {   
        border: 1px solid #ccc /*{a-bup-border}*/;
        background: #eee /*{a-bup-background-color}*/;
        font-weight: bold;
        color: #2F3E46 /*{a-bup-color}*/;
        text-shadow: 0 /*{a-bup-shadow-x}*/ 1px /*{a-bup-shadow-y}*/ 1px /*{a-bup-shadow-radius}*/ #f6f6f6 /*{a-bup-shadow-color}*/;	    
    }
    
    #graphListInfo ul {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    #graphsListItem {
        padding-top: 0px;
        border-top: none;   
    }
    
    .addContentPadding {
        padding-left: 0;
        padding-right: 0;
    }
    
    #addNote {
	    left: 55px;
	    right: 5px;
	    width: auto;
	    min-width: 0;
	    max-width: 100%;
    }
      
    .addCommentTextArea {
    	height: 160px !important;
        max-height: 100% !important;
    }
    
    .smallTextArea {
        height: 111px !important;
    }
    
    #reviewNote {
        height: 276px;
        width: auto;
        float: none;
        right: 0;
        left: 50px;
        margin: 0;
        max-width: 100%;
        min-width: 0;
    }
    
    #commentList {
        height: 200px;
    }
    
    .iosStatusBarFix #patientDetailsContent {
        padding-top: 18px !important;
    }
}

@media only screen and (max-width : 400px) {
    #commentCreatorTitleText h1 {
        text-align: left;
        padding-left: 20px;
    }
}