﻿
/*
    TreeView.ascx
*/
.tree-main { white-space: nowrap; } /* white space setting avoids nodes collapsing onto multiple lines when resizable is set too small */
/* HACK: IE7 - corrects issue of Document Tree - Node text sitting below icon */
*+html .tree-main { white-space: normal; }

.tree-mainie9+.tree-main
{
    white-space: normal;
}
/*IE11*/
 @media all and (-ms-high-contrast:none)
{
*::-ms-backdrop, .tree-main { white-space: normal; }

}

 /*IE11 clearing 'X' button''*/
input[type="text"]::-ms-clear {
    display: none;
}
.tree-node
{
    margin-top: 5px;
    /* clear: left; */ /* Case 19370: Text not aligned with folders v2.0.51 */
    clear: left;     /*Case 26386: Test Failed: Decrease Text Size (in Cross Browser Testing in Chrome Rel 73) 
                       Note:Case 19370 is not affected*/ 
}
.node-disabled { color:Gray; }
.tree-leaf { } /*instance of .tree-node*/
.tree-container { } /*instance of .tree-node*/
.tree-containerleaf { } /*instance of .tree-node*/
.tree-message { } /*instance of .tree-node*/
.tree-subnodeset { display: none; margin-left: 16px; }
.tree-icon { display: block; text-indent: -99999px; overflow: hidden; width: 16px; height: 16px; float:left; }
.tree-nochild { background: transparent; } /* instance of .tree-icon*/
.tree-collapsed { background-repeat: no-repeat; background-image: url(images/treeview/sprites.png); background-position:0 -80px; cursor: pointer; } /* instance of .tree-icon*/
.tree-expanded { background-repeat: no-repeat; background-image: url(images/treeview/sprites.png); background-position:-16px -80px; cursor: pointer; } /* instance of .tree-icon*/
.tree-collapsed:hover { background-position:-32px -80px !important; } /* instance of .tree-icon*/
.tree-expanded:hover { background-position:-48px -80px !important; } /* instance of .tree-icon*/
.tree-nodeloading { color: Gray; font-style: italic; }
.tree-nodeloading > .tree-icon { background-image: url(images/ajax-loader.gif); background-position: 0 0; }
.tree-nodecontent { cursor: pointer; border: 1px solid transparent; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
.tree-disablednodecontent { cursor: default; border: 1px solid transparent; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
.tree-leaf > .tree-nodecontent:hover { border: 1px solid #ADCFF8 !important; background-color: #F8FCFC; }
.tree-container > .tree-nodecontent:hover { border: 1px solid #ADCFF8 !important; background-color: #F8FCFC; }
.tree-containerleaf > .tree-nodecontent:hover { border: 1px solid #ADCFF8 !important; background-color: #F8FCFC; }

.ui-icon-greentick, .ui-icon-redcross
{
    display: block;
    width: 15px;
    height: 15px;
    background-repeat: initial;
}

.ui-icon-greentick
{
    background-image: url(images/icons/GreenTick.png);
}

.ui-icon-redcross
{
    background-image: url(images/icons/RedCross.png);
}

/* NOTE: no hover effect for .tree-message by design; it isn't interactive */
.tree-txtstyle-error { color: Red; font-weight: bold; }
.tree-txtstyle-unsigned { color: Red; }
.tree-txtstyle-redtext { color: Red; }
.tree-txtstyle-signed { color: #0066FF; }
.tree-txtstyle-removed { color: Gray; text-decoration: line-through; }
.tree-txtstyle-message { color: Gray; }
.tree-txtstyle-redmessage { color: Red; font-weight: bold; }
.tree-nodeimage { float: left; display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; background-image: url(images/treeview/sprites.png); width: 16px; height: 16px; margin-right: 4px; }
/*Sprites Row 1*/
.tree-spr-1 { background-position: 0 0; }
.tree-spr-2 { background-position: -16px 0; }
.tree-spr-3 { background-position: -32px 0; }
.tree-spr-4 { background-position: -48px 0; }
.tree-spr-5 { background-position: -64px 0; }
.tree-spr-6 { background-position: -80px 0; }
.tree-spr-7 { background-position: -96px 0; }
.tree-spr-8 { background-position: -112px 0; }
/*Sprites Row 2*/
.tree-spr-9 { background-position: 0 -16px; }
.tree-spr-10 { background-position: -16px -16px; }
.tree-spr-11 { background-position: -32px -16px; }
.tree-spr-12 { background-position: -48px -16px; }
.tree-spr-13 { background-position: -64px -16px; }
.tree-spr-14 { background-position: -80px -16px; }
.tree-spr-15 { background-position: -96px -16px; }
.tree-spr-16 { background-position: -112px -16px; }
/*Sprites Row 3*/
.tree-spr-17 { background-position: 0 -32px; }
.tree-spr-18 { background-position: -16px -32px; }
.tree-spr-19 { background-position: -32px -32px; }
.tree-spr-20 { background-position: -48px -32px; }
.tree-spr-21 { background-position: -64px -32px; }
.tree-spr-22 { background-position: -80px -32px; }
.tree-spr-23 { background-position: -96px -32px; }
.tree-spr-24 { background-position: -112px -32px; }
/*Sprites Row 4*/
.tree-spr-25 { background-position: 0 -48px; }
.tree-spr-26 { background-position: -16px -48px; }
.tree-spr-27 { background-position: -32px -48px; }
.tree-spr-28 { background-position: -48px -48px; }
.tree-spr-29 { background-position: -64px -48px; }
.tree-spr-30 { background-position: -80px -48px; }
.tree-spr-31 { background-position: -96px -48px; }
.tree-spr-32 { background-position: -112px -48px; }
/*Sprites Row 5*/
.tree-spr-33 { background-position: 0 -64px; }
.tree-spr-34 { background-position: -16px -64px; }
.tree-spr-35 { background-position: -32px -64px; }
.tree-spr-36 { background-position: -48px -64px; }
.tree-spr-37 { background-position: -64px -64px; }
.tree-spr-38 { background-position: -80px -64px; }
.tree-spr-39 { background-position: -96px -64px; }
.tree-spr-40 { background-position: -112px -64px; }
/*Special Sprites (none-numbered)*/
.tree-spr-blank { background-position: 0 -96px; }
.tree-spr-error { background-position: -64px -80px; } 
.tree-spr-mom { background-position: -80px -80px; }
.tree-spr-cancelled { background-position: -112px -48px; }
.tree-spr-search { background-position: -96px -80px; }

.tree-spr-23_C { background-position: -64px -48px; } /*cancelled requests*/
.tree-spr-filter { background-position: -80px -80px; }

/* Map all other _C (appart from 23_C) to image 49 */
.tree-spr-1_C { background-position: 0 -96px; }
.tree-spr-2_C { background-position: 0 -96px; }
.tree-spr-3_C { background-position: 0 -96px; }
.tree-spr-4_C { background-position: 0 -96px; }
.tree-spr-5_C { background-position: 0 -96px; }
.tree-spr-6_C { background-position: 0 -96px; }
.tree-spr-7_C { background-position: 0 -96px; }
.tree-spr-8_C { background-position: 0 -96px; }
.tree-spr-9_C { background-position: 0 -96px; }
.tree-spr-10_C { background-position: 0 -96px; }
.tree-spr-11_C { background-position: 0 -96px; }
.tree-spr-12_C { background-position: 0 -96px; }
.tree-spr-13_C { background-position: 0 -96px; }
.tree-spr-14_C { background-position: 0 -96px; }
.tree-spr-15_C { background-position: 0 -96px; }
.tree-spr-16_C { background-position: 0 -96px; }
.tree-spr-17_C { background-position: 0 -96px; }
.tree-spr-18_C { background-position: 0 -96px; }
.tree-spr-19_C { background-position: 0 -96px; }
.tree-spr-20_C { background-position: 0 -96px; }
.tree-spr-21_C { background-position: 0 -96px; }
.tree-spr-22_C { background-position: 0 -96px; }
.tree-spr-24_C { background-position: 0 -96px; }
.tree-spr-25_C { background-position: 0 -96px; }
.tree-spr-26_C { background-position: 0 -96px; }
.tree-spr-27_C { background-position: 0 -96px; }
.tree-spr-28_C { background-position: 0 -96px; }
.tree-spr-29_C { background-position: 0 -96px; }
.tree-spr-30_C { background-position: 0 -96px; }
.tree-spr-31_C { background-position: 0 -96px; }
.tree-spr-32_C { background-position: 0 -96px; }
.tree-spr-33_C { background-position: 0 -96px; }
.tree-spr-34_C { background-position: 0 -96px; }
.tree-spr-35_C { background-position: 0 -96px; }
.tree-spr-36_C { background-position: 0 -96px; }
.tree-spr-37_C { background-position: 0 -96px; }
.tree-spr-38_C { background-position: 0 -96px; }
.tree-spr-39_C { background-position: 0 -96px; }
.tree-spr-40_C { background-position: 0 -96px; }
.tree-spr-41_C { background-position: 0 -96px; }
.tree-spr-42_C { background-position: 0 -96px; }
.tree-spr-43_C { background-position: 0 -96px; }
.tree-spr-44_C { background-position: 0 -96px; }
.tree-spr-45_C { background-position: 0 -96px; }
.tree-spr-46_C { background-position: 0 -96px; }
.tree-spr-47_C { background-position: 0 -96px; }
.tree-spr-48_C { background-position: 0 -96px; }
.tree-spr-49_C { background-position: 0 -96px; }
.tree-spr-50_C { background-position: 0 -96px; }
.tree-spr-51_C { background-position: 0 -96px; }
.tree-spr-52_C { background-position: 0 -96px; }
.tree-spr-53_C { background-position: 0 -96px; }
.tree-spr-54_C { background-position: 0 -96px; }
.tree-spr-55_C { background-position: 0 -96px; }
.tree-spr-56_C { background-position: 0 -96px; }
.tree-spr-57_C { background-position: 0 -96px; }
.tree-spr-58_C { background-position: 0 -96px; }
.tree-spr-59_C { background-position: 0 -96px; }
.tree-spr-60_C { background-position: 0 -96px; }
.tree-spr-61_C { background-position: 0 -96px; }
.tree-spr-62_C { background-position: 0 -96px; }
.tree-spr-63_C { background-position: 0 -96px; }
.tree-spr-64_C { background-position: 0 -96px; }

/* Sprites Row 7 */
.tree-spr-49 { background-position: 0 -96px; }
.tree-spr-50 { background-position: -16px -96px; }
.tree-spr-51 { background-position: -32px -96px; }
.tree-spr-52 { background-position: -48px -96px; }
.tree-spr-53 { background-position: -64px -96px; }
.tree-spr-54 { background-position: -80px -96px; }
.tree-spr-55 { background-position: -96px -96px; }
.tree-spr-56 { background-position: -112px -96px; }

/* Sprites Row 8 */
.tree-spr-57 { background-position: 0 -112px; }
.tree-spr-58 { background-position: -16px -112px; }
.tree-spr-59 { background-position: -32px -112px; }
.tree-spr-60 { background-position: -48px -112px; }
.tree-spr-61 { background-position: -64px -112px; }
.tree-spr-62 { background-position: -80px -112px; }
.tree-spr-63 { background-position: -96px -112px; }
.tree-spr-64 { background-position: -112px -112px; }

/*
    PatientSettings.aspx
*/

.printableContainer td div, .printableContainer th div
{
    font-size: 12px;
    margin-left: 3px;
}


.printableList
{
    border-spacing: 0px;
    /* border-collapse:collapse; */
    border: solid 1px black;
  
}

.printableList td, .printableList th
{
    border: solid 1px black;
}

.patSettingsLabel
{
    font-size: 12px;
    padding-left: 4px;
    padding-bottom: 10px;
    font-weight: bold;
}

.patSettingsInfo
{
    font-size: 12px;
    color: Gray;
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 10px;
}

.patSettingsField
{
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.patSettingsButton
{
    font-size: 14px !important;
    margin-top: 20px;
    margin-left: 25px;
    padding-left: 10px;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 4px;
}

.patSettingsChangesSaved
{
    font-size: 14px;
    color: Green;
    margin-left: 25px;
    margin-top: 25px;
    border: 1px;
    border-style: solid;
    padding-left: 10px;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 4px;
    width: 300px;
    text-align: center;
    font-weight: bold;
    background-color: #C4E8D4;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
}

/*
    PrintPatientRecord.aspx
*/

#PrintPatientRecordForm .tabs {
    padding: 1.25em 1.75em;
    font-size: 1.0em !important;
    color: #666;
    position: relative;
    width: 100%;
}
#PrintPatientRecordForm .ui-widget {
    font-family: Arial;
}

#PrintPatientRecordForm h2 {
    color: #666;
    font-size: 1.5em !important;
}
#PrintPatientRecordForm label {
    margin-right: 1.25em;
    cursor: pointer;
}
#PrintPatientRecordForm input {
    cursor: pointer;
}
#PrintPatientRecordForm fieldset {
    margin: 0 0 1.25em 0 !important;
}
#PrintPatientRecordForm legend {
    margin-bottom: 1.25em;
    margin-left: 0 !important;
}

#PrintPatientRecordForm .control-row {
    margin-bottom: 1.25em;
}
#PrintPatientRecordForm .control-section {
    margin: 0.75em 0 1.75em 1.25em;
}

#PrintPatientRecordForm #DocumentOptionsDiv {
    display: none;
    margin-left: 1.5em !important;
    margin-top: 1.25em !important;
}
#PrintPatientRecordForm #AdditionalDocumentOptionsDiv div {
    margin-bottom: 0.75em !important;
    margin-left: 1.5em !important;
}
#PrintPatientRecordForm .message-section {
    padding: 0.75em;
    max-width: 30em;
    margin-top: 1.0em;
    margin-left: 0 !important;
}
#PrintPatientRecordForm .message-section .ui-icon {
    float: left;
    margin-right: 0.3em;
}

#PrintPatientRecordForm #MainPanel {
    width: 37em;
    position: relative;
    margin: 0 !important;
    clear: none;
    float: left;
}

#PrintPatientRecordForm #ProgressPanel {
    width: 20em;
    border: 1px solid #bbbbbb;
    background-color: white;
    margin-bottom: 0.75em;
    padding: 0.75em;
    background-color: white;
    float: right;
    display: none;
}

    #PrintPatientRecordForm #ProgressPanel h2 {
        font-size: 1.0em !important;
        color: #666;
    }
    #PrintPatientRecordForm #ProgressPanel .task { padding: 0.25em; }
    #PrintPatientRecordForm #ProgressPanel .task .bullet {
        position: relative;
        width: 13px;
        height: 13px;
        margin-right: 0.5em;
        zoom: 1;
        display: block;
        float: left;
        text-align: center;
    }
    #PrintPatientRecordForm #ProgressPanel .task .bullet.loading {
        text-indent: -999999px;
        background-image: url('Images/PrintPatientRecord/Loader-Small.gif');
    }
    #PrintPatientRecordForm #ProgressPanel .task .bullet.done {
        text-indent: -999999px;
        background-image: url('Images/PrintPatientRecord/Tick.png');
    }
    #PrintPatientRecordForm #ProgressPanel .task.excluded {
        display: none;
    }
    #PrintPatientRecordForm #ProgressPanel .task .progressbar {
        position: relative;
        height: 3px;
        width: 30px;
        background-color: #990000;
    }
        #PrintPatientRecordForm #ProgressPanel .task .progressbar .progress {
        position: relative;
        height: 3px;
        width: 0; /* this section is dynamically expanded by javascript as a % of total width */
        background-color: #33CC33;
    }

#PrintPatientRecordForm #ButtonContainer {
    clear: both;
    border-top: 1px solid #cccccc;
    padding-top: 0.75em;
    margin-top: 0.75em;
}

#PrintPatientRecordForm #BeginButton {
    background: #3171CB url(Images/Publish-icon-grey.png) no-repeat center;
    width:100px;
    height:26px;
    elevation:higher;
    cursor:pointer;
    color:transparent;
    margin-right:5px;
    margin-top:5px;
    -moz-box-shadow: 1px 2px 5px #aaaaaa; /* Firefox */
    -webkit-box-shadow: 1px 2px 5px #aaaaaa; /* Safari and Chrome */
    box-shadow: 1px 2px 5px #aaaaaa;
    background: none repeat scroll 0 0 #3171CB;
    background: -moz-linear-gradient(43% 89% 90deg, #2D4C85, #3171CB);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3171CB), to(#2D4C85));
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: White !important;
    border: 1px solid #aaaaaa;        
}
#PrintPatientRecordForm #BeginButton:hover {
    background: none repeat scroll 0 0 #4876CC;
}
#PrintPatientRecordForm #BeginButton:disabled {
    background: #81A9E0 none repeat scroll 0 0 !important;
    color: #dddddd !important;
    border: 1px solid #cccccc;        
    cursor:default !important;
}
#PrintPatientRecordForm #BeginButton:disabled:hover {
    background: #81A9E0 none repeat scroll 0 0 !important;
}

#PrintPatientRecordForm #CancelButton {
    background: #ffffff url(Images/Publish-icon-grey.png) no-repeat center;
    width:100px;
    height:26px;
    elevation:higher;
    cursor:pointer;
    color:transparent;
    margin-right:5px;
    margin-top:5px;
    -moz-box-shadow: 1px 2px 5px #aaaaaa; /* Firefox */
    -webkit-box-shadow: 1px 2px 5px #aaaaaa; /* Safari and Chrome */
    box-shadow: 1px 2px 5px #aaaaaa;
    background: none repeat scroll 0 0 #dddddd;
    background: -moz-linear-gradient(43% 89% 90deg, #dddddd, #eeeeee);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eeeeee), to(#dddddd));
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #222 !important;
    border: 1px solid #aaaaaa;        
}
#PrintPatientRecordForm #CancelButton:hover {
    background: none repeat scroll 0 0 #ffffff;
}
#PrintPatientRecordForm #CancelButton:disabled {
    background: #eeeeee none repeat scroll 0 0 !important;
    color: #bbbbbb !important;
    border: 1px solid #cccccc;        
    cursor: default !important;
}
#PrintPatientRecordForm #CancelButton:disabled:hover {
    background: #eeeeee none repeat scroll 0 0 !important;
}

#PrintPatientRecordForm #ConsolidationIframe {
    width: 0;
    border: none !important;
    margin: 0 !important;
}

/*
    Patient.aspx
*/
.patRec-div-master { height:100%; width:100%; overflow:hidden; position:absolute; border:none; margin:0; padding:0; }
.patRec-div-header { min-height: 42px; width:100%; font-family: Arial; }
.patRec-div-patDetails { border: 1px solid #aaaaaa; background: #ADCFF8; color: #404040; font-size: 1.2em; font-weight: bold; padding-left: 20px; overflow-y: auto;overflow-x: hidden;}
/*IE11*/
@media all and (-ms-high-contrast:none)
{
    *::-ms-backdrop, .patRec-div-patDetails { overflow:hidden !important }

}
/*Edge*/
@supports (-ms-ime-align: auto) {
    .patRec-div-patDetails { overflow:hidden !important }
}
.patRec-div-patDetails-deathdate
{
    border-style: solid;
    border-width: 2px;
    padding: 2px 6px;
    background-color: grey;
    color: white;
    border-color: black;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    white-space: pre;
}

.patRec-div-deathdate
{
    margin-top: 11px;
    margin-right: 6px;
    margin-bottom: 6px;
    float: right;
    display: inline-block;
    white-space: nowrap;
}
.patRec-div-currentlocation {
    
    display: inline-block;
    white-space: nowrap;
    word-break: break-all !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
     
}
.patRec-div-patDetails-currentlocation {
    padding-top: 2px;
    padding-bottom: 2px; 
    padding-left: 15px; 
    padding-right: 5px; 
    background: #ADCFF8; 
    color: #404040; 
    font-weight: normal;
    white-space: nowrap;
    word-break: break-all !important;
  
}
#patientInfoBanner
{
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
    float: left;
}

.patRec-div-patDetails-number { padding-top: 2px; padding-bottom: 2px; padding-left: 15px; padding-right: 15px; background: #ADCFF8; color: #404040; font-weight: normal; }
#patNoButton { position: relative; top: 3px; cursor: pointer; margin-top: -8px; }
.patRec-div-patDetails-subcontainer { margin-left: 25px; }
.patRec-div-patDetails-name { margin-right: 25px; padding-top: 2px; padding-bottom: 2px; padding-left: 15px; padding-right: 5px; background: #ADCFF8; color: #404040; font-weight: normal; }
.patRec-div-patDetails-dob { margin-right: 25px; padding: 2px; padding-bottom: 2px; padding-left: 15px; padding-right: 5px; background: #ADCFF8; color: #404040; font-weight: normal; }
.patRec-div-patDetails-nhs { margin-right: 25px; padding: 2px; padding-bottom: 2px; padding-left: 15px; padding-right: 5px; background: #ADCFF8; color: #404040; font-weight: normal; }
.patRec-div-patDetails-err { margin-left: 20px; color: Red; }
/* HACK: IE7 - corrects issue rendering patient details upon zoom */
    *+html .patRec-div-patDetails-number, *+html .patRec-div-patDetails-name, *+html .patRec-div-patDetails-dob, *+html .patRec-div-patDetails-nhs,
    *+html .patRec-div-patDetails-err { display: inline-block; position: relative; top: 2px; }
    *+html .patRec-div-patDetails-label { display: inline-block; position: relative; }
.patRec-div-lower { height:50px; /*height: not important - changed by javascript*/ width:100%; position:relative; /*position relative so that absolutely-positioned child divs will use this element as a reference*/ overflow:hidden; }
.patRec-div-footer { height:10px; width:100%; overflow:hidden; background:transparent; position:absolute; bottom:3px; margin:0; padding:0; border:none; }
.patRec-div-resizable { height:100%; width:30%; overflow:hidden; /* overflow: ensure scrollbars aren't visible; accordion fills the object and unneccessary scrollbars appear which obscure some of the accordion*/ opacity: 1.0 !important; /* opacity: when the resizable is disabled (on pin) the opacity for the disabled class affects the unpin icon - this ensures that zero opacity is maintained */ } 
.patRec-resizable-pin { position: absolute; height:24px; width:24px; right: 5px; top: 1px; z-index: 1; cursor: pointer; background-color: #ebeaea; border-bottom: 1px solid #aaaaaa; border-left: 1px solid #aaaaaa; -moz-border-radius-bottomleft: 12px; -webkit-border-bottom-left-radius: 12px; }
.patRec-resizable-pin-pinned { border: none !important; right: 0 !important; }
.general-icon-unpin { background-position: 0 0; }
.general-icon-pin { background-position: -16px 0; }
.patRec-resizable-pin-icon { position: absolute; right: 1px; top: 1px; z-index: 2; background-color: #ebeaea; border: 1px solid transparent; -moz-border-radius: 8px; -webkit-border-radius: 8px; }
.patRec-resizable-pin:hover > .patRec-resizable-pin-icon, .patRec-resizable-pin-icon:hover { border: 1px solid #484F6B !important; background-color: #F8FCFC !important; }
.patRec-div-accordion { height:100%; width:100%; overflow: auto }
.patRec-div-accordion-treeFiltered { float: left; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; background-image: url(images/treeview/sprites.png); background-position: -80px -80px; width: 16px; height: 16px; margin-right: 4px; }
.patRec-div-accordion-overrideHeaderImage { background-image: url(images/ajax-loader.gif) !important; background-position: 0 0 !important; }
.patRec-div-resizable .ui-accordion > .ui-state-active { border-bottom: 2px solid #aaaaaa; font-weight: bold; } /* modification to give the selected accordion a bottom border */
.patRec-div-tabcontainer { position:absolute; /*position: so that javascript can change the position of the div*/ height:100%; width:25%;  /*width: not important - changed by javascript*/ }
#patRec-tabs { width:100%; height:100%; padding-left:0px; padding-right:0px; padding-top:0px; padding-bottom:0px; }
#patRec-tabs ul { border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; -moz-border-radius-bottomleft: 0px !important; -moz-border-radius-bottomright: 0px !important; -webkit-border-bottom-left-radius: 0px !important; -webkit-border-bottom-right-radius: 0px !important; } /* override .ui-corner-all - no rounded corners on bottom of tab header */
#patRec-tabs li .ui-icon-close { border: 1px solid transparent; -moz-border-radius: 4px; -webkit-border-radius: 4px; float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }
#patRec-tabs li .ui-icon-close:hover { border: 1px solid #484F6B; background-color: #F8FCFC; }
.ui-tabs-draftTabHeader a { font-style: italic; color: Gray !important; }
.ui-tabs-removedTabHeader a { font-style: italic; color: Red !important; }
.ui-tabs-paneltoolbar { background-color: #ededed !important; padding-left: 5px; position:relative; /* position: required so we can determine the height of the object for sizing iframes correctly; static will not return height*/ border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; -moz-border-radius-topleft: 0px !important; -moz-border-radius-topright: 0px !important; -webkit-border-top-left-radius: 0px !important; -webkit-border-top-right-radius: 0px !important; /*override .ui-corner-all - no rounded corners on top of tab toolbar */ }
.ui-tabs-panelproperties { margin: 0; padding: 5px; border: 1px #aaa solid; color: #fff; display: none; background-color: #919191 !important; padding-left: 5px; position: relative; /* position: required so we can determine the height of the object for sizing iframes correctly; static will not return height*/ border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; -moz-border-radius-topleft: 0px !important; -moz-border-radius-topright: 0px !important; -webkit-border-top-left-radius: 0px !important; -webkit-border-top-right-radius: 0px !important; /*override .ui-corner-all - no rounded corners on top of tab toolbar */ }
.ui-tabs-panelproperties .container { margin-right: 30px; }
.ui-tabs-panelproperties .em { font-weight: bold; }
.tree-txtstyle-highlight-red { color: #ff0000 !important; font-weight: bold; }
    
    /*
        Patient.aspx, patient number selector dialog
    */
    #patientSelector_number { width: 95px; display: inline; }
    #patientSelector_go { cursor: pointer; position: relative; }
        /* HACK: set Go button position depending on browser */
        html>/**/body #patientSelector_go  { top: 4px; height: 18px; margin-top: -8px; } /* All but IE6/7 */
        *+html #patientSelector_go { top: -1px; } /* IE7 */
        #patientSelector_go, x:-moz-any-link { top: 0px !important; height: auto !important; } /* Firefox 1.0+ */
    #patientSelector_status, #patientSelector_fail { padding: 2px; }
    #patientSelector_close { position:absolute; right:0; top:0; z-index:1; cursor: pointer; }
    #patientSelector_close:hover { border: 1px solid #484F6B; background-color: #F8FCFC; }
    
    /*
        Patient.aspx, filters dialog
    */
    #filters_listView_buttons { display:inline; vertical-align:top; direction:ltr; }
    #filters_listView_buttons input { display:inline;float: left; }
    #filters_listView_buttons span { display:inline; float: left; }
    #filters_listView_existingFilters { margin-top:20px; text-align:left; }
    #filters_filtersList { margin-top:15px; height: 240px; width: 370px; cursor: pointer; }
    #filters_dialogButtons { position:absolute; bottom:10px; right:15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image:none; border-bottom-width: 0px; padding-bottom:0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align:left; border-right-width: 0px }
    #filters_dialogButtons input { display:inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }
    #filters_createUpdate_header { padding: 10px 20px 20px 0; }
    #filters_createUpdate_header input { display: block; width: 230px; float: right; }
    #filters_filterNameLabel { display: block; height: 19px; width: 90px; float: left; }
    #filters_docTypes { padding: 20px 20px 20px 0; }
    /*#filters_docTypes span { vertical-align:top; display: block; height: 19px; width: 90px; float: left; }*/
    /*#filters_docTypes select { display: block; width: 234px; float: right; }*/
    #filters_docTypesListDiv { height: 210px; width: 370px; overflow: auto; border: 1px solid #aaaaaa; }
    #filters_docTypesList input { display: inline; }
    #filters_docTypesList label { display: inline; }
    #filters_addButton { background-color:transparent; border:none; cursor:pointer; }
    #filters_editButton { background-color:transparent; border:none; cursor:pointer; }
    #filters_removeButton { background-color:transparent; border:none; cursor:pointer; }
    .controlsVisible { filter: alpha(opacity=1000); }
    .controlsGray { filter: alpha(opacity=20); }
    
    /*
        Patient.aspx, ADT dialog
    */
    #ADT_admissionView_panel { padding: 20px 20px 20px 0; }
    #ADT_admissionView_panel input { display: block; width: 200px; float: right; margin-bottom:5px; }
    #ADT_admissionView_panel select { display: block; width: 207px; float: right; margin-bottom:5px; }
    #ADT_admissionView_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
    #ADT_admissionView_date_panel { padding: 20px 20px 20px 0; }
    #ADT_admissionView_date_label { display: block; height: 19px; width: 120px; float: left; }
    #ADT_admissionView_date_panel input { display: block; float: left; }
    #ADT_admissionView_txtDate { width: 70px; }
    #ADT_admissionView_date_txtHours { width: 19px; margin-left: 5px; }
    #ADT_admissionView_date_txtMinutes { width: 19px; margin-left: 5px; }
    #ADT_admissionView_date_24hLabel { float: left; height: 19px; width: 19px; margin-left: 5px; }
    #ADT_admissionView_Errors { margin-top:10px; font-size:1.1em; }
    #ADT_dischargeXferView_Errors { margin-top:10px; font-size:1.1em; }
    #ADT_dischargeXferView_panel { padding: 20px 20px 20px 0; }
    #ADT_dischargeXferView_panel input { display: block; width: 200px; float: right; margin-bottom:5px; }
    #ADT_dischargeXferView_panel select { display: block; width: 207px; float: right; margin-bottom:5px; height:19px; }
    #ADT_dischargeXferView_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
    #ADT_dischargeXferView_consultantXfer_panel { padding: 20px 20px 20px 0; }
    #ADT_dischargeXferView_consultantXfer_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
    #ADT_dischargeXferView_consultantXfer_panel select { display: block; width: 207px; float: right; height:19px; margin-bottom:5px; }
    #ADT_dischargeXferView_wardXfer_panel { padding: 20px 20px 20px 0; }
    #ADT_dischargeXferView_wardXfer_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
    #ADT_dischargeXferView_wardXfer_panel select { display: block; width: 207px; float: right; margin-bottom:5px; height:19px; }
    #ADT_dischargeXferView_date_panel { padding: 20px 20px 20px 0; }
    #ADT_dischargeXferView_date_label { display: block; height: 19px; width: 120px; float: left; }
    #ADT_dischargeXferView_date_panel input { display: block; float: left; }
    #ADT_dischargeXferView_date_calendar { width: 70px; margin-right:2px; }
    #ADT_dischargeXferView_date_hours { width: 19px; margin-left: 5px; }
    #ADT_dischargeXferView_date_minutes { width: 19px; margin-left: 5px; }
    #ADT_dischargeXferView_date_label24 { float:left; height: 19px; width: 25px; }
    /*TODO ensure this doesn't clash with other pages*/ div.ui-datepicker { font-size: 92.5%; }
    #ADT_controls_panel { position: absolute; bottom: 10px; right: 15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image: none; border-bottom-width: 0px; padding-bottom: 0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align: left; border-right-width: 0px; }
    #ADT_controls_panel input { display: inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }
    #ADT_OKButton { visibility: hidden; }
    /*TODO ensure this doesn't clash with other pages*/ img.ui-datepicker-trigger { float: left; margin-left: 0px; margin-top: -2px; }
    .ui-dialog-content#ADT-dialog { overflow: visible; height:362px !important; }
    /*Styling for Chrome and Safari*/
    @media screen and (-webkit-min-device-pixel-ratio:0) 
    {
        #ADT_admissionView_panel input { display: block; width: 200px; float: right; margin-bottom:5px; margin-top:0px; }
        #ADT_admissionView_panel select { display: block; width: 205px; float: right; margin-bottom:5px; height:19px; margin-top:2px; }
        #ADT_admissionView_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
        #ADT_admissionView_date_panel { padding: 20px 20px 20px 0; }
        #ADT_admissionView_date_label { display: block; height: 19px; width: 120px; float: left; }
        #ADT_admissionView_date_input { margin-left:32px !important; }
        #ADT_admissionView_date_panel input { display: block; float: left; }
        #ADT_admissionView_txtDate { width: 70px; }
        #ADT_admissionView_date_txtHours { width: 19px; margin-left: 5px; } 
        #ADT_admissionView_date_txtMinutes { width: 19px; margin-left: 5px; }
        #ADT_admissionView_date_24hLabel { float: left; height: 19px; width: 19px; margin-left: 5px; }
        #ADT_dischargeXferView_panel input { display: block; width: 200px; float: right; margin-bottom:5px; margin-top:0px; }
        #ADT_dischargeXferView_panel select { display: block; width: 205px; float: right; margin-bottom:5px; height:19px; margin-top:2px; }
        #ADT_dischargeXferView_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
        #ADT_dischargeXferView_consultantXfer_panel { padding: 20px 20px 20px 0; }
        #ADT_dischargeXferView_consultantXfer_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
        #ADT_dischargeXferView_consultantXfer_panel select { display: block; width: 205px; float: right; height:19px; margin-bottom:5px; margin-top:2px; }
        #ADT_dischargeXferView_wardXfer_panel { padding: 20px 20px 20px 0; }
        #ADT_dischargeXferView_wardXfer_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
        #ADT_dischargeXferView_wardXfer_panel select { display: block; width: 205px; float: right; margin-bottom:5px; height:19px; margin-top:2px; }
        #ADT_dischargeXferView_date_panel span { display: block; height: 19px; width: 120px; float: left; margin-bottom:5px; }
        #ADT_dischargeXferView_date_panel { padding: 20px 20px 20px 0; }
        #ADT_dischargeXferView_date_label { display: block; height: 19px; width: 120px; float: left; }
        #ADT_dischargeXferView_date_input { margin-left:32px !important; }
        #ADT_dischargeXferView_date_panel input { display: block; float: left; }
        #ADT_dischargeXferView_date_calendar { width: 70px; margin-right:2px; }
        #ADT_dischargeXferView_date_hours { width: 19px; margin-left: 5px; }
        #ADT_dischargeXferView_date_minutes { width: 19px; margin-left: 5px; }
        #ADT_dischargeXferView_date_label24 { float:left !important; height: 19px !important; width: 25px !important; }
        /*TODO ensure this doesn't clash with other pages*/ div.ui-datepicker { font-size: 92.5%; }
    }

    /*
        Patient.aspx, my patient lists management dialog
    */
    .myPatLists_hover { filter: alpha(opacity=60); opacity:0.6; }
    #myPatLists_listView_header_panel { font-weight:bold; padding: 5px; }
    #myPatLists_updatePanel p.ui-state-highlight { padding: 2px; }
    #myPatLists_listView_lists_panel { }
    #myPatLists_listView_lists_panel select { width:355px; }
    #myPatLists_listView_scroller { display: inline-block; padding: 5px; width: auto; overflow: scroll; overflow-x: hidden; overflow-y: auto; height: 230px; border: 1px solid #ebeaea; position: relative; }
    #myPatLists_listView_scroller hr { color: #ebeaea !important; }
    .myPatLists_listItemRow { display:block; width:415px; }
    .myPatLists_listItemRow input { display:inline; vertical-align: top; }
    .myPatLists_listItemName { display:inline-block; width:250px; margin-left:10px; }
    .myPatLists_editListButton { background-color:transparent; border:none; float:right; position: relative; right: 25px; }
    .myPatLists_removeListButton { background-color:transparent; border:none; float:right; position: relative; right: 25px; }
    /* HACK: correct edit and remove list button position for IE7*/
        *+html .myPatLists_editListButton { float: none !important; right: 20px !important; }
        *+html .myPatLists_removeListButton { float: none !important; right: -20px !important; }
    .myPatLists_editListButton:hover { cursor: pointer; }
    .myPatLists_removeListButton:hover { cursor: pointer; }
    .myPatLists_globalListImage { background-color:transparent; border:none !important; float:right; position: relative; right: 25px; }
    /* HACK: correct global list image position for IE7*/
        *+html .myPatLists_globalListImage { float:none; display: inline-block; right: -20px; }
    #myPatLists_addListView_header_panel { font-weight:bold; padding: 10px;  }
    #myPatLists_addListView_newList_panel { padding: 20px 20px 20px 0; }
    #myPatLists_addListView_newList_panel span { display: block; height: 19px; width: 220px; float: left; margin-bottom:5px; }
    #myPatLists_addListView_newList_panel input { display: block; float: left; width: 200px; }
    #myPatLists_dialogControls { position: absolute; bottom: 10px; right: 15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image: none; border-bottom-width: 0px; padding-bottom: 0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align: left; border-right-width: 0px; }
    #myPatLists_dialogControls input { display: inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }    
    #myPatLists_addListView_dialogControls { position: absolute; bottom: 10px; right: 15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image: none; border-bottom-width: 0px; padding-bottom: 0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align: left; border-right-width: 0px; }
    #myPatLists_addListView_dialogControls input { display: inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }
    #myPatLists_editListView_header_panel { height:50px; }
    #myPatLists_editListView_header_panel span { display: block; margin-top:5px; margin-left:5px; margin-bottom:5px; float: left; width: 120px; }
    #myPatLists_editListView_header_panel span#myPatLists_editListView_listName_label { display: inline; margin-top:5px; margin-left:10px; margin-bottom:5px; float: left; width: 120px; }
    #myPatLists_editListView_editList_panel { padding: 20px 20px 20px 0; }
    #myPatLists_editListView_editList_panel span { display: block; height: 19px; width: 220px; float: left; margin-right:14px; margin-bottom:5px; }
    #myPatLists_editListView_editList_panel input { display: block; float: left; width: 200px; }
    #myPatLists_editListView_dialogControls { position: absolute; bottom: 10px; right: 15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image: none; border-bottom-width: 0px; padding-bottom: 0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align: left; border-right-width: 0px; }    
    #myPatLists_editListView_dialogControls input { display: inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }
    
    /*
        Patient.aspx, alerts dialog
    */
    .alerts-dialog-header { color: Red; font-size: 1.6em; font-weight: bold; margin: 10px; padding: 10px; }
    .alerts-dialog-icon { float: left; display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; background-image: url(images/icons/alert.png); width: 46px; height: 37px; margin-right: 20px; }
    .alerts-dialog-scroller { display: inline-block; padding: 5px; width: 500px; overflow: scroll; overflow-x: hidden; overflow-y: auto; height: 210px; border: 1px solid #ebeaea; margin-top: 10px; }
    .alerts-dialog-datasection { font-size: 1.5em; font-weight: bold; padding: 5px; }
    .alerts-dialog-datacontent { color: #000000; border-color: inherit; border-style: solid; border-width: 5px; border-top: none; border-right: none; border-bottom: none; margin: 5px; padding-left: 10px; }
    .alerts-dialog-noseverity .alerts-dialog-datacontent { border: none !important; }
    .alerts-dialog-High, .alerts-dialog-Severe { color: Red; } /*severity header text colour*/
    .alerts-dialog-High .alerts-dialog-datacontent, .alerts-dialog-Severe .alerts-dialog-datacontent { border-color: Red; } /*left border colour*/
    .alerts-dialog-Medium, .alerts-dialog-Moderate { color: Orange; } /*severity header text colour*/
    .alerts-dialog-Medium .alerts-dialog-datacontent, .alerts-dialog-Moderate .alerts-dialog-datacontent { border-color: Orange; } /*left border colour*/
    .alerts-dialog-Low, .alerts-dialog-Mild { color: Steelblue; } /*severity header text colour*/
    .alerts-dialog-Low .alerts-dialog-datacontent, .alerts-dialog-Mild .alerts-dialog-datacontent { border-color: Steelblue; } /*left border colour*/
    .alerts-dialog-Unknown, .alerts-dialog-NoriskUnknown { color: #559b55; } /*severity header text colour*/
    .alerts-dialog-Unknown .alerts-dialog-datacontent, .alerts-dialog-NoriskUnknown .alerts-dialog-datacontent { border-color: #559b55; } /*left border colour*/

    .alerts-dialog-datacontent-type { }
    .alerts-dialog-datacontent-subtype { font-size: 0.9em !important; font-weight: normal !important; margin-bottom: 5px; /*padding-bottom: 10px; border-bottom: 1px solid #ebeaea;*/ }
    .alerts-dialog-hr { color: #ebeaea; border-color: #ebeaea; margin-bottom: 5px; }
    
    /*
        Patient Alerts Tab
    */
    .alertsTab-alertItem { display: block; margin-top: 5px; margin-bottom: 5px; font-size: 10pt; }
    .alertsTab-alertItemLabel { display: block; width: 29%; height: 100%; float: left; font-weight: bold; }
    .alertsTab-alertItemData { display: inline-block; width: 70%; }
    .alertsTab-hr { margin-bottom: 10px; }
    .alertsTab-spacer { height: 20px; }
    .alertsTab-alertField { display: block; margin-top: 5px; margin-bottom: 15px; font-size: 10pt; }
    .alertsTab-alertFieldLabel { display: inline-block; width: 200px; font-weight: bold; vertical-align: top; }
    .alertsTab-alertFieldData { display: inline; }
    .alertsTab-alertFieldData img { display: inline; float:none !important; }
    .alertsTab-alertFieldData input { margin-right: 15px; vertical-align:top; }
    .alertsTab-alertFieldData textarea { font-family: inherit !important; /*override user agent monospace font*/ }
    .alertsTab-alertField #Comments { height: 75px; width: 300px; }
    .alertsTab-editLink { text-align: right; }
    .alertsTab-actionLink { font-size: 10pt; font-weight: bold; margin-bottom: 5px; color: Black; }
    .alertsTab-actionLink a:visited { color: Black !important; }
    .alertsTab-noneActive { font-size: 12pt; font-weight: bold; color: Gray; }
    .alertsTab-severity { font-weight: bold; }
    .alertsTab-severity-High, .alertsTab-severity-Severe { color: Red; }
    .alertsTab-severity-Medium, .alertsTab-severity-Moderate { color: Orange; }
    .alertsTab-severity-Low, .alertsTab-severity-Mild { color: Steelblue; }
    .alertsTab-severity-Unknown, .alertsTab-severity-NoriskUnknown { color: #559b55; }
    .alertsTab-validationIndicator { color: red; font-weight: bold; }
    
    /*
        Patient.aspx, merge dialog
    */
    #merge_controlsPanel { position: absolute; bottom: 10px; right: 15px; border-top-width: 1px; padding-right: 1em; padding-left: 0.4em; border-left-width: 0px; background-image: none; border-bottom-width: 0px; padding-bottom: 0.5em; margin: 0.5em 0px 0px; padding-top: 0.3em; text-align: left; border-right-width: 0px; }
    #merge_controlsPanel input { display: inline; padding-right: 0.6em; padding-left: 0.6em; float: left; padding-bottom: 0.3em; margin: 0.5em 0.4em 0.5em 0px; overflow: visible; width: auto; cursor: pointer; line-height: 1.4em; padding-top: 0.2em; }
    .merge_columnTitles { padding: 20px 20px 20px 0; margin-bottom:10px; }
    .merge_swapDiv { margin-bottom:10px; text-align:center; }
    #merge_swapButton { background-color:transparent; border:none; margin-left:223px; }
    #merge_searchPatientNumber { background-color:transparent; border:none; width:16px; margin-right:2px; margin-left:2px; }
    #merge_addPMINumber { background-color:transparent; border:none; width:16px; margin-right:1px; margin-left:2px; }
    .merge_columnTitles span { width:200px; display:inline; }
    #merge_minorHeader { font-weight:bold; float:left; text-align:center; }
    #merge_masterHeader { font-weight:bold; float:right; text-align:center; }
    .merge_spacerDiv { display:block; float:left; width:210px; margin-left:10px; }
    #merge_newPMIDiv { width:430px; margin-left:10px; margin-bottom:10px; height:22px; }
    .merge_newPMILabels { display: block; float:right; width:100px; margin-left:10px; }
    .merge_newPMILabels span { display: block; height: 19px; width: 80px; float: left; margin-left:10px; margin-bottom:5px; }
    .merge_PMI_inputs { display: block; float:right; width:110px; }
    .merge_PMI_inputs input { display: inline; float:right; margin-bottom:5px; }
    #merge_newPMI_input { width:60px; margin-left:0px; float:left; display: inline; margin-right:0px; }
    #merge_newPMI_OKButton { margin-left:2px; margin-right:1px; background-color:transparent; border:none; }
    #merge_newPMI_cancelButton { margin-left:3px; margin-right:4px; background-color:transparent; border:none; }
    .merge_labels { display: block; float:left; width:100px; margin-left:10px; }
    .merge_labels span { display: block; height: 19px; width: 80px; float: left; margin-left:10px; margin-bottom:5px; }
    .merge_inputs { display: block; float:left; width:110px; }
    .merge_inputs input { display: inline; width: 100px; float: left; margin-bottom:5px; margin-right:10px; }
    #merge_currentRecord_postcodeLabel { margin-top:97px; height: 19px; -webkit-margin-top:122px; }
    .merge_labels2 { display: block; float:left; width:100px; margin-left:10px; }
    .merge_labels2 span { display: block; height: 19px; width: 80px; float: left; margin-left:10px; margin-bottom:5px; }
    .merge_inputs2 { display: block; float:left; width:110px; }
    .merge_inputs2 input { display: inline; width: 100px; float: left; margin-bottom:5px; margin-right:10px; }
    #merge_txtNumber_searchedRecord { width: 60px; margin-right:2px; }
    #merge_matchRecord_postcodeLabel { margin-top:97px; }
    @media screen and (-webkit-min-device-pixel-ratio:0) { /*Styling for Chrome and Safari*/
        .merge_inputs2 input { margin-top:0px; }
        .merge_inputs input { margin-top:0px; }
    }
    .merge_highlightDifferent { background: Yellow; }
    
    /*
        Patient.aspx, seal document dialog
    */
    #sealDocument-dialog textarea
    {
        height: 100%;
        width: 100%;
        overflow: auto;
    }
    #sealDocument_status { padding: 2px; }
    #sealDocument-dialog
    {
        overflow: hidden !important;
    }
    #sealDocument-dialog+div button:disabled
    {
        color: Gray;
    }

    #requestCancellation-dialog textarea {
        width: 100%;
        height: 100px;
        resize: none;
    }
    
    /*
        Patient.aspx, audit trail dialog
    */
    #auditTrail-dialog p { font-weight: bold; }

    /*
        Patient.aspx, patient notes dialog
    */
    #notes_text { width: 100%; height: 100%; }
    #notes_status { padding: 2px; }
    
    /*
        Patient.aspx, knowledgebase elements
    */
    #documentContentSearch_searchText {
        margin-top: 5px;
    }
    #documentContentSearch_searchBtn
    {
        position:relative;
        padding: 4px;
        vertical-align: top;
        margin-left: 2px;
        margin-top: 5px;
    }

    #documentContentSearch_searchOptionsDiv {
        display: inline-block;
        /*Hack: IE7*/
        zoom: 1;
        *display: inline;
    }

    #documentContentSearch_basicSearchRadioLabel, #documentContentSearch_sqlSearchRadioLabel, #documentContentSearch_documentTypeSearchRadioLabel { margin: 0 5px 0 5px; cursor: pointer; }
    #documentContentSearch_basicSearchRadio, #documentContentSearch_sqlSearchRadio, #documentContentSearch_documentTypeSearchRadio { }
    #documentContentSearch_searchText { margin-left: 40px; } /* margin needed due to presence of radio buttons */
    
    /*Hack: IE7 SearchBtn*/
    *+html #documentContentSearch_searchBtn
    {
        position: relative;
        padding: 3px;
        margin-left: 2px;
    }

    /*
        Patient.aspx, permalink dialog
    */
    #PermalinkTextArea { width: 320px !important; -ms-overflow-y: auto; overflow-y: auto; }


/*
    MyAuditTrail.aspx
*/
.myAuditEventTypes { overflow: auto; height: 100px; max-width: 50%; background-color:#ededed; }
.myAuditEventTypes label { font-weight: normal !important; }
.myAuditHistoryLabel { text-align: right; }

/*
    PatientSearch.aspx
*/
.tabPageControlsContainer #txtNHSNo { width:50%; }
.tabPageControlsContainer #txtDateofBirth { width:35%; }
.tabPageControlsContainer .patientsearch-postcode { display:inline; width:40px !important; }
#phMain_phTabOptionsMain_lblIncludePractice,#phMain_phTabOptionsMain_lblGPOnly { font-weight: normal !important; }
/* HACK: IE7 - corrects issue rendering radio button labels upon zoom */
     *+html #phMain_phTabOptionsMain_lblIncludePractice, *+html #phMain_phTabOptionsMain_lblGPOnly { display: inline-block; position: relative; top: 10px; }
     *+html #phMain_phTabOptionsMain_spanSearchIn  { display: inline-block; position: relative; top: -1px; }
     
/* Requests.aspx - tabs */ /* TODO: this lot needs to go */
/*input.reqButton{ border: solid 1px #dcdcdc; background-color: #ececec; min-width: 120px; padding: 10px; background: #4876cc; color: #fff; font-weight: bold;}
input.reqButton:hover{ background-color: #487DB5; }*/
    
.reqLocation { float: left; margin-right: 10px; padding-right: 10px; }
.reqTypes { float: left; margin-right: 20px; padding-right: 10px; }
.reqTypes #requestTypesPopup { float: left; overflow: auto; height: 100px; width:350px; background-color:#fcfcfc; } 
.reqCompleteCancel { float: left; vertical-align: top; padding-right: 10px;width: 130px; text-align: right; padding-top:40px }
.reqPrintOptions { float: right; vertical-align: top; margin: 10px; padding: 10px; margin-top: 0px;
            border: 1px solid #dcdcdc; width: 150px; }
.reqSupplementaryText { color: #808080; }


/*
    Tab Lists
*/
.general-icon-inpatients { background-position: -16px -16px; }
.ui-tabs-selected .general-icon-inpatients { background-position: 0 -16px !important; }
.general-icon-futureadmits-off { background-position: -16px 32px; }
.ui-tabs-selected .general-icon-futureadmits { background-position: 0 -32px !important; }
.general-icon-clinics { background-position: -16px -48px; }
.ui-tabs-selected .general-icon-clinics { background-position: 0 -48px !important; }
.general-icon-ward { background-position: -16px -48px; }
.ui-tabs-selected .general-icon-ward { background-position: 0 -144px !important; }
.general-icon-notifications { background-position: -16px -64px; }
.ui-tabs-selected .general-icon-notifications { background-position: 0 -64px !important; }

.general-icon-requests { background-position: -16px -80px; }
.ui-tabs-selected .general-icon-requests { background-position: 0 -80px !important; }

.general-icon-sunquestrequests { background-position: -16px -80px; }
.ui-tabs-selected .general-icon-sunquestrequests { background-position: 0 -80px !important; }

.general-icon-tasks { background-position: -16px -80px; }
.ui-tabs-selected .general-icon-tasks { background-position: 0 -80px !important; }
.general-icon-uploaddoc { background-position: -16px -96px; }
.ui-tabs-selected .general-icon-uploaddoc { background-position: 0 -96px !important; }
.general-icon-mylists { background-position: -16px -112px; }
.ui-tabs-selected .general-icon-mylists { background-position: 0 -112px !important; }
.general-icon-myaudit { background-position: -16px -128px; }
.ui-tabs-selected  .general-icon-myaudit { background-position: 0 -128px !important; }
.general-icon-recentpats { background-position: -16px -144px; }
.ui-tabs-selected  .general-icon-recentpats { background-position: 0 -144px !important; }
.general-icon-search { background-position: -16px -160px; }
.ui-tabs-selected .general-icon-search { background-position: 0 -160px !important; }

#taboptions_menu { height: 100%; padding-top: 0px !important; padding-bottom: 0px !important; border-top: none !important; border-bottom: none !important;*overflow-y:auto!important; }
            
.tabPageControlsContainer { background-color: transparent; padding-top:1px;padding-bottom: 1px;padding-right: 6px;padding-left: 6px; }
.tabPageControlsContainer h2 { font-size: 1.2em; }
.tabPageControlsContainer label  
{
   font-weight:bold;  
   padding: 0 0 10px 0;
   font-size: 1.2em;   
}

.tabPageControlsContainer input[type="submit"], .tabPageControlsContainer input[type="button"] {  border: none; padding: 10px; background: #4876cc; color: #fff; font-weight: bold; -moz-border-radius: 6px; -webkit-border-radius: 6px; }
.tabPageControlsContainer input[type="submit"]:hover, .tabPageControlsContainer input[type="button"]:hover { border: none; padding: 10px; background: #ADCFF8; color: #fff; font-weight: bold; cursor: pointer }
.tabPageControlsContainer input[type="submit"][disabled], tabPageControlsContainer input[type="submit"][disabled] { border: none; padding: 10px; background: #dcdcdc; color: #fff; font-weight: bold; cursor: pointer; }
/* HACK: Everything but IE6 and 7 - min-width causes display problems in these browsers as is isn't properly supported */
html>/**/body .tabPageControlsContainer input[type="submit"] { min-width: 90px; }
html>/**/body .tabPageControlsContainer input[type="button"] { min-width: 90px; }

/* Override button settings */
input[type="submit"].promptButtonBox 
{
   padding-top: 0px;
   padding-left: 0px;
   padding-right: 0px;
   padding-bottom: 0px;   
   vertical-align:middle; 
   text-align:center;
   width:25px;
   height:25px;
}
input[type="submit"]:hover.promptButtonBox 
{
   padding: 0px;
   vertical-align:middle; 
   text-align:center;
}
input[type="text"].inputFormTextBox 
{
    vertical-align:middle;
}

.alerts-list-icon { float: left; display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; background-image: url(images/icons/alert-listicon.png); width: 23px; height: 18px; }

/*
    DocumentContainer.aspx
*/
#docContainer_form #errorMessage { font-size: 14px; padding: 5px; font-weight: bold; }


/*
    RecentPatients.aspx
*/
#RecentPatients-ResultContainer{ margin-top:10px; margin-bottom:0px; height:auto; }


/*
    ClinicsList.aspx
*/
/*not sure about the rules below, messing up other tabs*/
/*.tabPageControlsContainer select {width: 150px; }

.tabPageControlsContainer input[type="text"] { width:80px; }*/


/*
    Patient Consent Dialogs
*/
.consent_userGroupList { position:relative; border: 1px solid silver; height: 100px; overflow-x: hidden; overflow-y: scroll; padding: 5px; }
.consent_userGroupCheck {}
/*Setting Emergency Consent Dialog in Chrome, Opera and Firefox*/
 @media screen and (-webkit-min-device-pixel-ratio:0){#consent_emergencyReason {resize:none !important;} }
 @-moz-document url-prefix(){ #consent_emergencyReason {width:275px;} }
 /* Opera */
 @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0){ #consent_emergencyReason {width:275px;} }
 
 /* Use waitBusyContainer to provide a general waiting animation when Gateway is busy with a task or rendering (Case Ref: 22134). */
.waitBusyContainer
{
	position:absolute;
	z-index: 200;
	width: 100%;
	height:100%;
	left:0;
	top:0;
	filter: Alpha(Opacity=35);
	opacity: 0.35;
	background-color: #000000;
	background-image: url('Images/ajax-loader-vbig.gif');
	background-repeat: no-repeat;
	background-position: center center;	
	display: block;
}
/* The containing HTML DIV is meant for providing a message to the user (e.g. Please Wait....) */
.waitBusyContainer > div {
    margin-top: 15%;
    text-align: center;
    height: 200px;
    width: 100%;
}

.waitBusyContainer span 
{
    font-size: 1.2em;
    font-weight: bold;
    filter: Alpha(Opacity=100);
    opacity: 1.0;    
    color: #FFFFFF;
}
.loadingContainer {
    position: absolute;
    z-index: 200;
    width: 100%;
    height: 100%;
    left: 0;
    filter: Alpha(Opacity=60);
    opacity: 1;
    background-color: #bfbfbf;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
}
.loadingImage {
    text-align: center;
    width: 50px;
    margin-top: 10px;
}
.loadingMessage {
    color: black;
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 35%;
    left: 35%;
}
.topMargin64 {
        top: 64px;
}
.topMargin34 {
        top: 34px;
}

.display-none {
    display: none;
}
/* Hiding close button for all dialogs, edited from: http://api.jqueryui.com/dialog/  */
/*.ui-dialog-titlebar-close {
    display: none;
}*/