html {
    /* height: 100%; */
    overflow-y: scroll;
}

body {
    background-color: #f0f0ff;
    color: #000;
    margin: 0px;
    padding: 0px;
    /* height: 100%; */
}

/* begin jQuery cupertino theme: */
.ui-corner-top {
	-moz-border-radius-topleft: 6px;
	-webkit-border-top-left-radius: 6px;
	border-top-left-radius: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-right-radius: 6px;
}

/* css-sprite icons - for href nav links but don't display */
.ui-icon-blue { width: 16px; height: 16px; background: url(/images/cupertino/ui-icons_72a7cf_256x240.png); }
.ui-icon {
	width:  16px;
	height: 16px;
	background-image: url(/images/cupertino/ui-icons_ffffff_256x240.png);
}
.ui-icon-wrench   { background-position: -176px -112px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-search   { background-position: -160px -112px; }
.ui-icon-person   { background-position: -144px  -96px; }
.ui-icon-print    { background-position: -160px  -96px; }
.ui-icon-note     { background-position: -64px   -96px; }

#wrapper {
	background: #f2f5f7; /* don't need bg image or border:
		url(/images/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x;
		border: 1px solid #ddd; */
	padding: 20px;
	/* background: #f2f5f7; #f0f0ff; */
}

#footer {
	background: url(/images/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png)
		repeat-x scroll 50% 50% #deedf7;
	color: #2779aa;
    /* background-color: #add8e6;
	color: #00008b; */
	font-weight: bold;
    text-align: center;
    border-top: 1px solid #aed0ea;
	border-bottom: 1px solid #aed0ea;
    padding: 4px;
	/* force footer to bottom of screen: 
	position: fixed;
	bottom: 0;
	height: 12px;
	width: 100%;*/
}

#nav a:hover {
	background: #d7ebf9; /* don't need bg image:
		url(/images/cupertino/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x; */
	border: 1px solid #74b2e2;
	color: #2779aa;
    /* background: #add8e6; color: #00008b; */
}

#nav a {
	background: #e4f1fb url(images/cupertino/ui-bg_glass_100_e4f1fb_1x400.png) 50% 50% repeat-x;
    padding: 5px 10px;
	color: #2779aa;
    /* background: #00008b; color: #fff; */
	border: 1px solid #aed0ea; /* #c0c0c0; */
}

#userid { /* over-ride background for previous userid */
	border: 1px solid #cd0a0a;
	background: #cd0000; /* #cd0a0a; #f00a0a*/
	color: #fff;
	/* background: #f00; */
    padding: 5px 10px;
	font-weight: bold;
	font-style: italic;
	margin: 0 10px;
	/* text-transform: capitalize; // not good for de Tute / o'Connor */
}

#title {
	background: url(/images/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png)
		repeat-x scroll 50% 50% #deedf7;
    border-top: 1px solid #aed0ea;
	border-bottom: 1px solid #aed0ea;
	/* background: #add8e6;	border-top: solid 2px #c0c0c0; */
	color: #2779aa; /*#00008b;*/
	padding: 1px 20px;
	font-weight: bold;
}

#selected { /* use  !important to override #nav a */
	background: #3baae3 url(/images/cupertino/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x !important;
	color: #fff !important;
	font-weight: bold;
	/* background: #add8e6 !important; color: #00008b !important; */
	/* border-bottom: 2px solid #add8e6 !important; */ /* local over-ride for #title border-top */
}
/* end jQuery cupertino theme: */

p, ul, ol, h4, td, th, div.aftericon {
	font-family: verdana, sans-serif;
	font-size: 13px
}

li { /* provide some default separation */
	padding: 5px;
}

a {
	color: #00f;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #000;
	background: #e0ffff; /*#9ff;*/
	border-top: dotted 1px #00f;
	border-bottom: dotted 1px #00f;
}

a.name {
    color: #000;
    border: none;
    background: none;
    font-weight: normal;
}

a.selected {
    color: #00008b;
    border-bottom: dotted 1px #000;
    /* border-top: dotted 1px #000; */
    /* background: #add8e6; */
    /* padding: 1px 0px; */
}

a.image:hover {
    border: none;
    background: #fff;
}

table {
	border-collapse: collapse;
}

td, th {
	padding: 5px;
	border: solid 1px #c0c0c0;
}

th {
	background: #f5f5f5; /* site.col.hilis */
	color: #00008b;
	text-align: center;
}

dt {
    border: dotted 1px #c0c0c0;
    font-weight: bold;
    margin: 5px;
    padding: 2px 5px;
    background-color: #f5f5f5;
}

dd {
    color: maroon;
}

p.pas {
	margin: 2px 20px;
}

p.thin {
    margin: 0.2em;
}

p.section_header {
    font-weight: bold;
    border-bottom: solid 1px #c0c0c0;
    padding-top: 10px;
    width: 50%;
}

span.test_name {
    color: #800000;
    text-align: right;
    margin-left: 20px;
}

span.test_value { }

span.pas {
	/* background: #000080;
	color: #fff;
	padding: 2px; */
	color: #f00;
	font-weight: bold;
}

span.hide_spacer {
	font-weight: bold;
	color: #fff8dc; /* same as #pas background */
}

table.results td, .results {
	padding: 2px;
	border: none;
	font-size: 11px;
}

.borderless, .borderless td {
    border: none;
}

.href {
    border: none !important;
	background: #fff  !important;
}

.center {
	text-align: center;
}

.header {
	color: #2779aa; /* blue; */
	border-bottom: solid 1px #2779aa; /* #00f; */
}

.indent {
	margin-left: 2em;
}

.title, .bold {
	font-weight: bold;
}

.message, .info {
    color: #6a6;
}

.error {
    color: #c44;
}

.warning {
    color: #f60;
}

.message, .info, .error, .warning {
    font-weight: bold;
    padding: 5px;
}

.red {
    color: #f00;
    font-weight: bold;
}

.register {
	margin: 0 50px;
	font-size: smaller;
}

.blue {
    color: #00f;
    font-weight: bold;
}

.maroon {
    color: #800000;
    font-weight: bold;
}

.orange {
	color: #f60
}

.grey {
	color: #c0c0c0;
}

.bkgd_grey {
    background: #f5f5f5;
}

.bkgd_light_yellow {
	background: #ffffa5;
}

.invisible {
    display: none;
}

.input_error {
	border: solid 3px #f00 !important; /* force override .content input */
}

.italic-title {
	font-weight: normal;
	font-style: italic; 
}

.admin-user {
    border: none;
    padding: 10px;
    vertical-align: top;
}

.speller {
	color: #008000;
	padding: 0px 3px;
	/*background-color: #ff9;*/
	/*font-size: larger;*/
}

.dfv_errors, .ajax_error {
    color: #f00;
    font-weight: bold;
}

p.pager {
	font-weight: bold;
	margin-left: 1em;
}

.current_page {
	color: #800000;
	background: #f5f5f5;
	border: solid 1px #c0c0c0;
	padding: 1px;
}

.content input {
	border: 1px solid #95a5c6;
	color: #000;
	font-weight: normal;
	padding: 2px;
}

.patient_select td {
	border-color: #fff;
}

.patient_select th {
	border: none;
	background-color: #fff;
}

.referral_location td {
	color: #000080;
	/*font-weight: bold;*/
	font-family: "Times New Roman", serif;
	font-style: italic;
	border: none;
	border-top: solid 1px #f5f5f5;
	border-bottom: solid 1px #f5f5f5;
}

.blink {
	text-decoration: blink;
}

/* images */
.photo img {
	border: 1px solid #666;
	background-color: #fff;
	padding: 4px;
}

.figure p {
	/*font: 1.1em/normal Arial, Helvetica, sans-serif;*/
	text-align: center;
	margin: 20px 0;
	/*height: 5em;*/
}

.figure {
	float: left;
	width: 110px;
	margin: 0 10px 10px 10px;
}

.clearboth { clear: both; }
/* end images */

.history td {
	font-family: "Courier New" monospace;
}

td.trial {
	background: #ffd700;
}

td.doi {
	background: #f00;
	color: #fff;
	font-weight: bold;
}

td.private {
	background: #ff0;
}

td.urgent {
	color: #f00;
	font-weight: bold;
}

span.trial {
	color: #ffd700;
	font-weight: bold;
}

span.del { text-decoration: line-through; background: #ff0 }
span.add { color: #f00 }
span.unrecognised { background-color: #fcfcc7; color: #f00 }

p.spellcheck {
	padding: 5px;
	border: dotted 1px #f00;
	background-color: #f0f0f0;
	width: 550px;
}

div.test_results {
	background-color: #ffffef; /* #ffc */
	padding: 5px;
	border-top: dotted 1px #f00;
	border-bottom: dotted 1px #f00;
}

#request_edit {
	background-color: #ffffef; /* #ffc */
	padding: 2px;
	margin: 15px 0px;
	border-top: dotted 1px #f00;
	border-bottom: dotted 1px #f00;
}

#header {
    background-color: #fff;
    /* border-bottom: 2px solid #c0c0c0; */
}

#content {
	padding: 20px 30px;
	border: solid 2px #ffe21e;
	background: #fff;
	text-align: left;
}

#logo {
	text-align: right;
}

#admin-nav {
    background: #fff8dc;
    padding: 5px;
    border: 1px solid #c0c0c0;
}

#nav {
	width: 100%;
}

#nav td {
	border: none;
	vertical-align: bottom;
}

#hmrn td, #hmrn th {
	font-family: verdana, sans-serif;
	padding: 0px 5px;
	font-size: 11px;	
}

#hmrn_diagnosis {
	font-weight: bold;
	border: solid 1px #f00;
	padding: 2px 10px;
	background: #f5f5f5;
}

#diaphragm {
	padding: 1px;
	background: #000080;
	border: 1px solid #000080;
}

#pas {
	padding: 2px 10px;
	border: solid 1px #f00;
	background: #fff8dc;
	color: #000080;
	margin-bottom: 10px;
}

#title p { /* narrows title bar */
	margin: 5px;
}

#title span {
	font-weight: normal;
    position: absolute;
    right: 20px;
    color: #2779aa; /* #fff; */
}

#logout a {
	background: #fff;
	color: #00f;
	font-weight: normal;
	border: none;	
}

#logout a:hover {
	background: #fff;
	text-decoration: underline;
	border: none;
}

#navbar {
	margin-top: 0px;
	margin-left: 2em; 
	/* text-align: center; */
} /* font-weight: bold; color: #c0c0c0; */

#navbar a {
	font-weight: bold;
}

#request td, #login_form td {
	border: none;
	/*padding: 20px;*/
	vertical-align: top;
}

h1.title {
	padding: 4px;
    margin: 0px;
}

td.label, span.box {
	color: #800000;
	padding: 2px 5px;
	font-weight: bold;
	text-align: right;
	background: #f0f0f0; /* #ffefd1 */
	vertical-align: middle;
	border: solid 1px #c0c0c0;
	/* font-size: small; */
}

td.content {
	background: #fff; /* #ffffef; */
	text-align: left;
	padding: 2px;
	border: solid 1px #c0c0c0;
}

.hmrnMPD, .hmrnCLL{
	background: #fcdbfb;
}

.hmrnMDS, .hmrnLPD {
	background: #e1f2e1;
}

span.acronym {
	border-bottom: 1px dashed #00f;
	cursor: help;
}

span.grey {
	color: #c0c0c0
}

/* webmin menu */
.itemhidden, #itemhidden  {
    display: none
}
.itemshown {
    display: inline
}
.linkwithicon {
    position: relative;
    white-space: nowrap;
    left: 2px;
    width: 16px;
    padding-top: 2px;
}
.menubody {
    border: 1px solid #B3B6B0;
    padding: 2px;
}

.menubody table {
	margin: 10px 30px;
}

.highlight {
	color: #fff;
	background-color: #f00;
	border: solid 1px #000;
	padding: 1px 5px;
}

.linkindented {
    border: none;
    position: relative;
    padding-top: 2px;
    margin-right: 2px;
    margin-left: 20px;
}
.aftericon {
    display: inline;
}
/* end webmin menu */

/* registration-specific div */
#registration div {
	border: solid 1px #000;
	width: 20em;
	font-weight: bold;
	margin-left: 20px;
	padding: 5px 20px;
	text-align: right;
}

#registration input {
	margin-left: 1em;
}

#registration_format {
	width: 25em;
	position: absolute;
	left: 35em;
	font-weight: normal;
	text-align: left;
}

#registration .name {
	background: #f0ffff;
}

#registration .dob {
	background: #ffffef;
}

#registration .patient_id {
	background: #ffefd1;
}
/* end registration-specific div */

/* start rollover.css */
#dropmenudiv {
	position: absolute;
	border: 1px solid #000;
	border-bottom-width: 0;
	font: normal 12px Verdana;
	line-height: 18px;
	z-index: 100;
}

#dropmenudiv a {
	width: 100%;
	display: block;
	text-indent: 3px;
	border-bottom: 1px solid #000;
	padding: 1px 0;
	text-decoration: none;
	font-weight: bold;
	background-color: #ffffef;
	color: #000080;

}

#dropmenudiv a:hover	{
	background-color: #add8e6;
	color: #00008b;
	border-top: none;
	border-bottom: solid 1px #00f;
}

/* end rollover.css */

/* for tree menu */
#tree {
    margin: 20px 50px;
}

#tree td {
    border: none;
}

div.menu {
    display: none /* controls expand/collapse headings */
}

table.tree {
    margin-left: 10px;
}

table.tree td {
    padding: 5px 2px;
}

img.menu {
    border: none;
}
/* end tree menu */

/* DBIProfile styles */
div.report { border: dotted 1px black; margin: 1em;}
div.report h2 { color: #000; background-color: #ddd; padding:.2em; margin-top:0;}
div.report h2:hover { cursor: pointer; background-color: #eee; }
.legend_header { background-color: #7187C7; color: #FFF; }
.legend_odd_row { background-color: #FFF; }
.legend_even_row { background-color: #EEE; }
/* end DBIProfile */

/* jQuery AutoSuggest search bar */
.search_bar ul {
	line-height:19px;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:3px 0pt 0pt;
	padding:0pt;
	z-index:10000000;
}
.search_bar li {
	color:#333333;
	float:left;
	font-family:Arial,Helvetica,sans-serif;
	font-size:12px;
	font-weight:bold;
	margin-left:5px;
	margin-right:0px;
	width:auto;
}
.search_bar input {
	background: #fff url(/images/searchglass.png) no-repeat scroll 3px 4px;
	border: 1px solid #95A5C6;
	color: #000;
	font-weight: normal;
	padding: 2px 0px 2px 17px;
}
td.search_bar {
	/*background: #ffffef;*/
}

/* DateEntry styles */
.dateEntry_control {
	vertical-align: middle;
	margin-left: 2px;
}
* html .dateEntry_control { /* IE only */
	margin-top: -4px;
}

/* javascript balloon tip */
.balloonstyle{
	position:absolute;
	top: -500px;
	left: 0;
	padding: 5px;
	visibility: hidden;
	border:1px solid black;
	font:normal 12px Verdana;
	line-height: 18px;
	z-index: 100;
	background-color: white;
	width: 200px;
	/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
	filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135,Strength=5);
}

#arrowhead{
	z-index: 99;
	position:absolute;
	top: -500px;
	left: 0;
	visibility: hidden;
}
