#xxheading {
    /*
    text-shadow: 2px 2px 2px gray;
    */
    /*
    color: white;
    text-shadow: 2px 2px 4px #000000;
    */
    /*
    color: yellow;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    */

    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black, 2px 2px 2px gray;
}

.xgrid2cell {
    height: 100%;
    width: 100%;
}

.slick-row.active {
    background-color: rgb(255, 248, 227);
}
.slick-row.active.odd {
    background-color: rgb(255, 248, 227) !important;
}
.slick-row.active.even {
    background-color: rgb(255, 248, 227);
}

.slick-cell-checkboxsel {
    /*npa background: #f0f0f0; */
    border-right-color: silver;
    border-right-style: solid;
}
    
.filter label input {
     margin-right:0.5em;
}
.filter input[type=checkbox], .filter input[type=radio] {
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}
.filter input[type=radio] {
    bottom: 2px;
}

xspan.ui-dialog-title {
    text-shadow: 1px 1px 1px gray;
}

.xpsagBed {
    box-shadow: 2px 2px 2px grey;
}

.psagPatient {
    /*
    box-shadow: 4px 4px 2px grey;
    */
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.75);
}

#expandPCard {
    box-shadow: 8px 8px 4px grey;
}

div.ow-bg-key>div>div {
    border-width: 1px !important;
}

div.ow-bg-key input[type=text] {
    box-shadow: none;
}

input[type=text] {
    box-shadow: 1px 1px 2px #ccc;
    border-color: transparent;
}

textarea {
    box-shadow: 1px 1px 2px #ccc;
    border-color: transparent;
}

input[type=password] {
    box-shadow: 1px 1px 2px #ccc;
    border-color: transparent;
}

.fg-button {
    box-shadow: inset 0 0 0.7em #b5e1ff;
}

.ui-button {
    box-shadow:0.2em 0.2em 0.7em black, inset 0 0 0.7em #b5e1ff;
}

.ui-dialog {
    /*
    box-shadow: 4px 4px 3px #ccc;
    */
    /*
    box-shadow: 0 0 7px 10px rgba(0, 0, 0, 0.75);
    */
    box-shadow: 0 17px 17px 0 rgba(0, 0, 0, 0.75);
}

.ui-tabs .ui-tabs-nav li a {
    box-shadow: -1px -1px 10px 0 #ccc, inset 0 0 0.7em #b5e1ff
}

.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {}

#toolbar {
    box-shadow: 2px 2px 2px #ccc;
}

.ow-bg-bay {
    border-width: 1px !important;
    border-radius: 5px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.75);
}

.waitingArea {
    border-radius: 5px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.75);
}

.waitingLabel {
    border-radius: 5px 5px 0px 0px;
}

.psagTransfer {
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.75);
}

.psagDischarge {
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.75);
}

.ui-datepicker {z-index:3000}
/*.ui-state-default, .ui-widget-content .ui-state-default { font-size:inherit; }*/
/*a.ui-state-default{ font-size:inherit; }*/
.ow-height {min-height:500px;height:auto;_height:500px;}
/*.warning {color:red;}*/
li.pfm-warning {
    border: 1px solid #FFFF00 !important;
    background-color: #FFFF00 !important;
    background-image: none !important;
    color: #000 !important;
}
.warning {
    color: red;
    display: inline;
    float: left;
    border: 1px solid red;
}

.warning2 {
    color: red;
    display: inline;
    border: 1px solid red;
}

.ui-datepicker {
    z-index: 999999 !important;
}

.ui-timepicker {
    z-index: 999999 !important;
}

.ui-multiselect-menu ul {
    overflow-y:scroll;
}

.ui-jqgrid .ui-pg-input {
  font-size: 1em;
}

.ui-jqgrid .ui-pg-selbox {
  font-size: 1em;
}

td.myPager a {
    text-decoration: underline !important;
}

.ui-tabs .ui-tabs-panel {
  padding: 0px;
}

.formContainer ul li ul {
    padding: 1px 0px;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
    /*border: 1px orange;*/
    -moz-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    /*outline: 2px solid orange;*/
    background-color: lightsteelblue;
}

/*npa .scroll-pane {overflow: auto;}*/
.ui-tabs-hide {
    position: absolute;
    left: -10000px;
    top: -10000px;
    display: block;
}

.formContainer .ui-tabs-nav li {
    width: auto;
}

.ui-widget-overlay { background: #B5E1F4; opacity: .30; }

.ui-helper-hidden-accessible { position: absolute; left: -99999px; top: -99999px; }
li.ui-helper-hidden-accessible.pfm-hidden { position: absolute; left: -99999px; top: -99999px; }

/* Latest JQUERY UI CSS causes buttons (to correctly!) appear in reverse code order
   This is a fix for the current code which expects the reverse */
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {float: none;}
.ui-dialog-buttonpane button {float: right;}

/*demo page css*/
    #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
    #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
    ul#icons {margin: 0; padding: 0;}
    ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
    ul#icons span.ui-icon {float: left; margin: 0 4px;}
    
    //table.scroll thead th { border: 1px solid #4297d7; background: #2191c0 url(../images/ui-bg_highlight-soft_75_2191c0_1x100.png) 50% 50% repeat-x; color: #eaf5f7; font-weight: bold; }

    table.scroll tbody tr.alt {background-color:#c5dbec;}
    table.scroll tbody td {border-bottom:1px solid #D4D0C8; border-left:1px solid #D4D0C8;}
    table.scroll {border-collapse:separate; border-spacing:0;}

    .button {padding: .3em;}
    
    //jscrollpane
    .winXP .jScrollPaneTrack {
        background: url(../images/windows_track.gif) repeat-y;
    }
    .winXP .jScrollPaneDrag {
        background: url(../images/windows_drag_middle.gif) no-repeat 0 50%;
    }
    .winXP .jScrollPaneDragTop {
        background: url(image/windows_drag_top.gif) no-repeat;
        height: 4px;
    }
    .winXP .jScrollPaneDragBottom {
        background: url(image/windows_drag_bottom.gif) no-repeat;
        height: 4px;
    }
    .winXP a.jScrollArrowUp {
        height: 17px;
        background: url(../images/windows_arrow_up.gif) no-repeat 0 0;
    }
    .winXP a.jScrollArrowUp:hover {
        background-position: 0 -20px;
    }
    .winXP a.jScrollArrowDown {
        height: 17px;
        background: url(../images/windows_arrow_down.gif) no-repeat 0 0;
    }
    .winXP a.jScrollArrowDown:hover {
        background-position: 0 -20px;
    }
    .winXP a.jScrollActiveArrowButton, .winXP a.jScrollActiveArrowButton:hover {
        background-position: 0 -40px;
    }
    
    
    .osX .jScrollPaneTrack {
        background: url(../images/osx_track.gif) repeat-y;
    }
    .osX .jScrollPaneDrag {
        background: url(../images/osx_drag_middle.gif) repeat-y;
    }
    .osX .jScrollPaneDragTop {
        background: url(../images/osx_drag_top.gif) no-repeat;
        height: 6px;
    }
    .osX .jScrollPaneDragBottom {
        background: url(../images/osx_drag_bottom.gif) no-repeat;
        height: 7px;
    }
    .osX a.jScrollArrowUp {
        height: 24px;
        background: url(../images/osx_arrow_up.png) no-repeat 0 -30px;
    }
    .osX a.jScrollArrowUp:hover {
        background-position: 0 0;
    }
    .osX a.jScrollArrowDown {
        height: 24px;
        background: url(../images/osx_arrow_down.png) no-repeat 0 -30px;
    }
    .osX a.jScrollArrowDown:hover {
        background-position: 0 0;
    }
    
    .left .jScrollPaneTrack {
        left: 0;
        right: auto;
    }
    .left a.jScrollArrowUp {
        left: 0;
        right: auto;
    }
    .left a.jScrollArrowDown {
        left: 0;
        right: auto;
    }

    
    /* IE SPECIFIC HACKED STYLES */
    * html .osX .jScrollPaneDragBottom {
        bottom: -1px;
    }
    /* /IE SPECIFIC HACKED STYLES */

#tooltip, .messageBox {
    background-color:#EEEEEE;
    border:1px solid #111111;
    opacity:0.85;
    padding:5px;
    position:absolute;
    z-index:3000;
}

#tooltip h3, #tooltip div, .messageBox h3 {
    margin:0;
}

#tooltip.pretty, .messageBoxExtra {
	font-family: Arial;
	border: 1px solid black;
	width: 210px;
	padding:20px;
	height: 135px;
	opacity: 0.8;
	background-color: #ffffff;
}
#tooltip.pretty h3, .messageBoxExtra h3 {
	margin-bottom: 0.75em;
	font-size: 12pt;
	width: 220px;
	text-align: center;
}
#tooltip.pretty2 {
	font-family: Arial;
	border: 1px solid black;
	width: 210px;
	padding:20px;
	height: 135px;
	opacity: 0.8;
	background: #ccff99;
}
#tooltip.pretty2 h3 {
	margin-bottom: 0.75em;
	font-size: 12pt;
	width: 220px;
	text-align: center;
}

.ui-table {
	border-width: 1px;
	border-spacing: 0px;
	border-style: solid;
	border-color: gray;
	border-collapse: separate;
	background-color: #f5fffa;
}
.ui-table th {
	border-width: 1px;
	padding: 2px;
	border-style: dotted;
	border-color: gray;
	background-color: transparent;
	-moz-border-radius: 0px 0px 0px 0px;
}
.ui-table td {
	border-width: 1px;
	padding: 2px;
	border-style: dotted;
	border-color: gray;
	background-color: transparent;
	-moz-border-radius: 0px 0px 0px 0px;
}


#patientMenu {
    background: #F9F9F9;
    box-shadow: 0 0 12px rgba( 0, 0, 0, .3 );
    border: 1px solid #ccc;
    display: none;
    position: absolute;
    top: 0; left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 100px;
}
 
#patientMenu li {
    position: relative;
}
 
#patientMenu li:hover {
    background: #444;
}
 
#patientMenu a {
    color: #444;
    display: inline-block;
    padding: 8px;
    text-decoration: none;
    width: 85%;
}
 
#patientMenu li:hover a {
    color: #f9f9f9;
}
 
#patientMenu li:last-child a {
	border-bottom: none;
}                

.card {
    background:#FFF;
    border:1px solid #AAA;
    border-bottom:3px solid #BBB;
    padding:0px;
    margin:5px;
    overflow:hidden;
}

.card h1 {
    margin:0px;
    padding:5px;
}

.card p {
    margin:0px;
    padding:10px;
}

table.report {
    width:100%;
    border-collapse:collapse;
}

table.report td, table.report th {
    border:1px solid black;
    padding:5px;
}

table.pfmnote-cell tbody tr td {
    border:1px solid #000000;
    padding: 0 0.2cm 0 0.2cm;
}

.keepLeft {
    float: left;
    top: 10%;
}

.keepRight {
    float: right;
    top: 10%;
}

.ui-state-button-new{
    border: 1px solid #d8dcdf;
    background: #3e658e; /*#555555; #415271*/
    font-weight: bold;
    color: #e0e9f0;
}

.ui-state-active-new{
    border: 1px solid #eeeeee;
	background: #5d5d5d; /* #0b4f86 #2d3c48*/
	font-weight: bold;
	color: #eceaea;
}