body 
{
	background-color: #f0f0f0;
}

a.links
{
	color: #003366;
	font-weight: bold;	
}

a.links2
{
	color: #003366;
}

img
{
	border: none;
}

.full-width {
	width: 100%;
}

.rq-pull-right {
	float: right;
}

.rq-pull-left {
	float: left;
}


/* realq button, downloaded from http://www.webdesignerwall.com/demo/css-buttons.html#  (more colors etc available there) */
.realqbutton {
	display: inline-block;
	zoom: 1; /* zoom and 
	display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	/*text-shadow: 0 1px 1px rgba(0,0,0,.3); */
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.realqbutton.button:hover {
	text-decoration: none;
}

.realqbutton.button:active {
	position: relative;
	top: 1px;
}

.realqbutton.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}

.realqbutton.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}

.realqbutton.small {
	font-size: 11px;
	padding: .2em 1em .275em;
}
 
.realqbutton.gray {
	color: #e9e9e9;
	border: solid 1px #555;
	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}

.realqbutton.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
}

.realqbutton.gray:active {
	color: #afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
}

/* field set styles */
fieldset 
{
	padding: 0px 10px 10px 10px;
	margin: 0px 0px 0px 0px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

fieldset > p
{
	margin-top:1em;
	margin-bottom:0em;
}

fieldset > div
{
	margin-top:1em;
	margin-bottom:0em;
}

fieldset > table
{
	margin-top:1em;
	margin-bottom:0;
}
 
legend 
{
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 11px;
	color: #000000;
	font-weight:bold;
	padding: 0.2em 0.5em;
	text-align:left;
	/*margin-bottom: 10px\9;  IE7/8 needs this - same value as top padding on fieldset */
 }


.topimg {
	background-image: url(files/images/layout/top.png);
	background-repeat: no-repeat;
}

.navArea 
{
	background-image: url(images/nav_area.gif);	
}

.navFirst1off {
	background-image: url(images/nav_first1_off.gif);
}

.navFirst2off {
	background-image: url(images/nav_first2_off.gif);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}

.navFirst3off {
	background-image: url(images/nav_first3_off.gif);
}
.navFirst1on {
	background-image: url(images/nav_first1_on.gif);
}
.navFirst2on {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	background-image: url(images/nav_first2_on.gif);
	font-size: 10px;
}
.navFirst3on {
	background-image: url(images/nav_first3_on.gif);
}
.navMid1off {
	background-image: url(images/nav_mid1_off.gif);
}
.navMid2off {
	background-image: url(images/nav_mid2_off.gif);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}
.navMid3off {
	background-image: url(images/nav_mid3_off.gif);
}
.navMid1on {
	background-image: url(images/nav_mid1_on.gif);
}
.navMid2on {
	background-image: url(images/nav_mid2_on.gif);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}
.navMid3on {
	background-image: url(images/nav_mid3_on.gif);
}
.navLast1off {
	background-image: url(images/nav_last1_off.gif);
}
.navLast2off {
	background-image: url(images/nav_last2_off.gif);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}
.navLast3off {
	background-image: url(images/nav_last3_off.gif);
}
.navLast1on {
	background-image: url(images/nav_last1_on.gif);
}
.navLast2on {
	background-image: url(images/nav_last2_on.gif);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}
.navLast3on {
	background-image: url(images/nav_last3_on.gif);
}
.subnavOff {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
	background-color: #808080;
	/*background-color: #9F9F9F;*/
}
.subnavOn {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
	/*background-color: #808080;*/
	background-color: #606060;
}
.header {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
/* remove ugly background fade effect */
/*.bgFade {
	background-image: url(images/bg_fade_lite.gif);
	background-repeat: repeat-x;
	background-color: #FFFFFF;

}*/
select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	background-color: #F0F0F0;
}
a {
	text-decoration: none;
	color: #000000;
}
.white {
	color: #FFFFFF;
}
.whiteSubMenu 
{
	font-size: smaller;
	color: #FFFFFF;
}
.statusnw {
	background-image: url(images/status_nw.gif);
	background-repeat: no-repeat;
}
.statusne {
	background-image: url(images/status_ne.gif);
	background-repeat: no-repeat;
}
.statusse {

	background-image: url(images/status_se.gif);
	background-repeat: no-repeat;
}
.statussw {
	background-image: url(images/status_sw.gif);
	background-repeat: no-repeat;
}
.bgStatus {
	background-color: #2175BC;
	color: #FFFFFF;
	font-size: 10px;
}

.rq-form-group {
		margin-bottom: 5px;
}

.rq-form-group label {
	font-weight: bold;
}

.rq-checkbox label {
	font-weight: normal;
	
}.rq-form-footer {
		margin-top: 10px;
}

.formText  {
	font-size: 10px;
	color: #000000;
}

div.formText {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.formTextRed {
	font-size: 10px;
	color: red;
}

.formTextBlue {
	font-size: 10px;
	color: blue;
}

.popupQuestionText {
	font-size: 10px;
	color: #FFFFFF;
}

.error {
	font-size: 10px;
	color: #FF0000;
}

.fieldColor, 
.rq-form-group select,
.rq-form-group input 
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #F0F0F0;
}

.fieldColorHighlighted {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #FFFFBB;
}
.fieldProgram {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.tableTopbg {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #000000;
	background-image: url(images/tbl_topbg.gif);
}
.tblBgLight {
	font-size: 10px;
	background-color: #F0F0F0;
}
.tblBgHighLight {
	font-size: 10px;
	/*background-color:#99CC99;*/	
	background-color:#92b3d4;
}
.tblBgDark {
	font-size: 10px;
	background-color: #E4E4E4;
}
.tblBlack {
	font-size: 10px;
	color: #FFFFFF;
	background-color: #000000;
}
.tblBgAjaxModule {
	font-size: 10px;
	background-color: InfoBackground;
}

.list {
/*  width: 180px; */
	font-family: Courier new, Courier;
	font-size: 9pt;
	width: 100%
}

.infobgright {
	background-image: url(images/info_bgright.gif);
	background-position: right;
}
.infobgleft {

	background-image: url(images/info_bgleft.gif);
	background-position: left;
}
.infobgmiddle {
	background-image: url(images/info_bgmiddle.gif);
	background-position: left;
}
.label {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
}
.table {

	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
}

.testcontrol {
	font-family: Courier new, Courier;
	font-size: 9pt;
	width: 90%
}

.ListSearchExtenderPrompt
{
	font-style:italic;
	color:Gray;
	background-color:white;
	font-size: 10px;
	
}

/*Modal Popup*/
.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=40);
	opacity:0.3;
}

.lgray {
	background-color: #F0F0F0;
}

.programControl {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	background-color: #FFFFFF;
	border: solid 1px green;
}

.containerBackground
{
	background-image: url(images/container/background.png);
	background-repeat: repeat-x;
	background-size: 100%;
}

.containerBackground2
{
	background-image: url(images/container/background2.png);
	background-repeat: repeat-x;
	background-size: 100%;
	background-color: #78C5EC;
}

.containerUpperLeft
{
	background-image: url(images/container/upper_left.png);
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
}

.containerTop
{
	background-image: url(images/container/top.png);
	background-repeat: repeat-x;
	height: 20px;
}

.containerUpperRight
{
	background-image: url(images/container/upper_right.png);
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
}

.containerLeft
{
	background-image: url(images/container/left.png);
	background-repeat: repeat-y;
	width: 20px;
}

.containerRight
{
	background-image: url(images/container/right.png);
	background-repeat: repeat-y;
	width: 20px;
}

.containerLowerLeft
{
	background-image: url(images/container/lower_left.png);
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
}

.containerBottom
{
	background-image: url(images/container/bottom.png);
	background-repeat: repeat-x;
	height: 20px;
}

.containerLowerRight
{
	background-image: url(images/container/lower_right.png);
	background-repeat: no-repeat;
}

/*----------------------------------------
	 Styles for tab containers
	----------------------------------------*/

.ajax__tab_tab:hover 
{
		cursor:pointer;
}
.opera
{
	display:block;
	/* fonts for the tabs */
	font-family:"Trebuchet MS",Trebuchet,Verdana,Helvetica,Arial,sans-serif;
	font-size:13px;	
}
.opera .ajax__tab_tab
{
	/* header text is always be bold */
	font-weight:bold;	
}
.opera .ajax__tab_body 
{
	background-color:#fff;
	border:1px solid #eeeeee;
	border-top:none;
	padding:10px;
}
.opera .ajax__tab_header
{
	border-bottom:1px solid #eeeeee;
	padding-right:10px;
}

/* regular header styles */
.opera .ajax__tab_header .ajax__tab_tab
{
	/* left/right rounded images are 11 pixels wide */
	margin:0px 11px 0px 11px;
	color:#fff; 
	background:url(images/controls/tabcontainer/bg.gif) repeat-x;	
}
.opera .ajax__tab_header .ajax__tab_outer
{
	/* 2 pixel horizontal space between tabs */
	margin-right:2px;
	background:url(images/controls/tabcontainer/right.gif) no-repeat right top;
}
.opera .ajax__tab_header .ajax__tab_inner
{
	background:url(images/controls/tabcontainer/left.gif) no-repeat left top;
}

/* active/hover headers styles */
.opera .ajax__tab_active .ajax__tab_tab, 
.opera .ajax__tab_hover .ajax__tab_tab  
{
	/* left/right rounded images are 11 pixels wide */
	margin:0px 11px 0px 11px;
	color:#111111;
	background:url(images/controls/tabcontainer/bg.gif) repeat-x 0pt -48px;	
}
.opera .ajax__tab_active .ajax__tab_outer,
.opera .ajax__tab_hover .ajax__tab_outer
{
	/* 2 pixel horizontal space between tabs */
	margin-right:2px;
	background:url(images/controls/tabcontainer/right.gif) no-repeat 100% -48px;
}
.opera .ajax__tab_active .ajax__tab_inner,
.opera .ajax__tab_hover .ajax__tab_inner
{
	background:url(images/controls/tabcontainer/left.gif) no-repeat 0pt -48px;
}

/*----------------------------------------*/

.modalProgressBackground
{
	background-color: #fff;
	filter:alpha(opacity=1);
	opacity:0.5;
}

/*----------------------------------------*/
/* Menu system styles					  */
/*----------------------------------------*/

.hoverMenuPanel
{
	font-size: smaller;
	background-color: #808080;
	border-top: solid 1px #9F9F9F;
	border-left: solid 1px #9F9F9F;
	border-right: solid 1px #9F9F9F;
	padding: 4px;
}

.hoverMenuPanelRow
{
	background-color: #808080;
	border-bottom: solid 1px #9F9F9F;
	white-space: nowrap;
	padding: 4px;
}

.hoverMenuPanelRowSelected
{
	background-color: #606060;
	border-bottom: solid 1px #9F9F9F;
	white-space: nowrap;
	padding: 4px;
}

.hoverMenuPanelRowHighlight
{
	background-color: #9F9F9F;
	border-bottom: solid 1px #9F9F9F;
	white-space: nowrap;
	padding: 4px;
}

.updateProgressTop
{
	position:fixed;
	top:0;
	right:0;
	width:80px;
	height:18px;
	background-color:#E74D18;
	color:White;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.updateProgressBottom
{
	position:fixed;
	bottom:0;
	right:0;
	width:80px;
	height:18px;
	background-color:#E74D18;
	color:White;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.answerLayer
{
	position:absolute; 
	z-index:1; 
	visibility:hidden; 
	width:947px; 
	background-color:White; 
	border-style:dotted; 
	border-width:1px;
}

.notificationBarFooter
{
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 100%;
	height: 16px;
	color: Black;
	background-color: #99CC99;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	padding: 2px 4px 2px 4px;
	white-space: nowrap;
}

.notificationPopup
{
	position: fixed;
	bottom: 16px;
	right: 0px;
	background-color: #F1F1F1;
	width: 250px;
	height: 350px;
	border: solid 1px #C0C0C0;
}

.notificationPopupHeader
{
	position: relative;
	top: 0px;
	width: 250px;
	height: 20px;
	background-color: #DEDEDE;
	border-bottom: solid 1px #C0C0C0;
	text-align: right;
}

/*----------------------------------------*/
/* Used by the IconPicker */
/*----------------------------------------*/

.ImageButtonIcon
{
	padding: 4px;
}

.ImageButtonIcon_OnMouseOver
{
	padding: 4px;
	background-color: #d7d7d7;
}

/*----------------------------------------*/
/* TreeView broken lines in IE7 fix */
/*----------------------------------------*/

.tree td div
{
	height: 20px !important
}



/*----------------------------------------*/
/* MessageBox control styles*/
/*----------------------------------------*/

.MessageBoxContainer
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 10px;
}

.MessageBoxInfo, .MessageBoxSuccess, .MessageBoxWarning, .MessageBoxError, .MessageBoxValidation {
		background-color: #FFFFCC;
		border: 1px solid;
	border-radius : 8px;
	-moz-border-radius: 8px;
		margin: 10px 0px;
		background-repeat: no-repeat;
		background-position: 10px center;
		box-shadow: 0 0 3px #888;
		-moz-box-shadow:  0 0 3px #888;
}

.MessageBoxContainer a {
		text-decoration: underline;
}


.MessageBoxInfo {
		background-image: url('images/messagebox/info.png');
}
.MessageBoxSuccess {
		background-image:url('images/messagebox/success.png');
}
.MessageBoxWarning {
		background-image: url('images/messagebox/warning.png');
}
.MessageBoxError {
		background-image: url('images/messagebox/error.png');
}
.MessageBoxInfo p, .MessageBoxSuccess p, .MessageBoxWarning p, .MessageBoxError p {
		padding: 0px 35px;
		margin: 10px 0px 10px 0px;
		
}
.MessageBoxCloseButton {
		float: right;
		padding: 5px;
		cursor:pointer;
}
.MessageBoxContainer img {
		border: none;
}

/* validation */
.MessageBoxValidation {
		color: #D8000C;
		background-color: #FFBABA;
		background-image: url('images/messagebox/error.png');
}
.MessageBoxValidation ul
{
	padding: 0px 30px;
}


/*----------------------------------------*/


/*----------------------------------------*/
/* Patient data group form */
/*----------------------------------------*/

.PdgFormContainer 
{
	padding: 5px 10px 10px 10px;
}

.PdgInputRow
{
	margin-top:0.3em;
	margin-bottom:0em;
}



/*----------------------------------------*/

.textbox-fullwidth 
{
	display:block; 
	width:100%;
	padding:0;
	border-width:1px;
}


.nowrap { white-space: nowrap; }


/*----------------------------------------*/
/* ListModule    				          */
/*----------------------------------------*/

.ListModuleCaption
{
		text-align:left; 
		font-size:10px; 
		font-weight:bold;
		color: #000000;
		background-color:#cfcfcf; 
		border-bottom: 1px #ffffff solid;
		border-right: 1px #ffffff solid;
		padding: 4px 3px 4px 3px;
}

.ListModuleCaption2
{
		text-align:left; 
		font-size:10px; 
		font-weight:bold;
		color: #000000;
		background-color:#cfcfcf; 
		border-bottom: 1px #ffffff solid;
		border-right: 1px #ffffff solid;
		padding: 1px 0px 1px 3px;
}

.ListModuleThead
{
		background-color:#cfcfcf; 
}

.ListModuleTh
{
		text-align:left; 
		font-size:10px; 
		border-bottom: 1px #ffffff solid;
		border-right: 1px #ffffff solid;
		padding: 4px 3px 4px 3px;
}

.ListModuleTr {
	cursor: pointer;
}

.ListModuleTr:hover td 
{
	background-color: #F9F9F9;
}

.ListModuleTd
{
		font-size: 10px;
	background-color: #F0F0F0;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.ListModuleTdBgLight
{
		font-size: 10px;
	background-color: #F0F0F0;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.ListModuleTdBgDark
{
	font-size: 10px;
	background-color: #E4E4E4;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.ListModuleHighlighted
{
	font-size: 10px;
	background-color: #92b3d4;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.ListModuleBtn
{
		padding-top: 2px; 
}

.PatientListModuleOngoingDrugsLight
{
		font-size: 10px;
		color: #666666;
		background-color:#F0F0F0; 
		border-bottom: 1px #ffffff solid;
		border-right: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.PatientListModuleOngoingDrugsDark
{
		font-size: 10px;
		color: #666666;
		background-color:#E4E4E4;
		border-right: 1px #ffffff solid; 
		border-bottom: 1px #ffffff solid;
		padding: 2px 8px 2px 8px;
		height: 16px;
}

.TestListModuleLastTest 
{
	font-size: 10px;
	background-color: #92b3d4;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.TestListModuleSelected 
{
	font-size: 10px;
	background-color: InfoBackground;
		border-right: 1px #ffffff solid;
		border-bottom: 1px #ffffff solid;
		padding: 2px 3px 2px 3px;
		height: 16px;
}

.ListPager
{
		font-size: 10px;
		background-color:#cfcfcf; 
		border-right: 1px #ffffff solid; 
		padding: 1px 0px 1px 3px;
		border-bottom: 1px #ffffff solid;
}

/*----------------------------------------*/
/* Autocomplete    				          */
/*----------------------------------------*/
.autoCompleteList 
{
	border: 1px solid #cfcfcf;
	list-style-type: none;
	margin: 0;
	background-color: #F0F0F0;
	padding: 0;
}

ul.autoCompleteList li
{
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;	
}
	
.autoCompleteListItem
{
	color: #000000;
	font-size: 11px;
}
	
.autoCompleteHoverListItem
{
	background-color: #cfcfcf;
	cursor: pointer;
	font-size: 11px;
}

/*----------------------------------------*/
/* forms in tables 				          */
/*----------------------------------------*/
table.form>tbody>tr>td
{
	padding-bottom:6px;
	padding-right:10px;
	font-size: 10px;
	color: #000000;    
}


table.form input[type="checkbox"] 
{
	margin-left: 0;
}

/*!  
 * table styles (-pub suffix added to avoid collision with back office tables css class)
 */
.rq-table-pub {
	border-spacing: 0;
	border-collapse: collapse;
	width:100%;   
}
		
.rq-table-pub thead {
	background-color:#cfcfcf;
}
		
.rq-table-pub th {
	text-align:left; 
	font-size:10px; 
	border-bottom: 1px #ffffff solid;
	border-right: 1px #ffffff solid;
	padding: 4px 3px 4px 3px;
}

		
.rq-table-pub td {
	font-size: 10px;
	border-right: 1px #ffffff solid;
	padding: 2px 3px 2px 3px;
	border-bottom: 1px #ffffff solid;
	height: 16px;		    
}

.rq-table-pub tr {
	cursor: pointer;
}

.rq-table-pub tr th.unClickable,
.rq-table-pub thead.unClickable tr th,
.rq-table-pub tbody.unClickable tr td {
	cursor: default;
}
		
.rq-table-pub tr.striped td {
	background-color: #E4E4E4;
}


.rq-table-pub tr td {
	background-color: #F0F0F0;
}

.rq-table-pub tr:hover td {
	background-color: #E4E4E4;
}
		
.rq-table-pub tr td a:focus {
	background-color: #E4E4E4;
} 
		
.rq-table-pub a:focus {
	outline:none;
}

.rq-table-pub-snake {
	height: 14px;
}

.rq-test {
	background-color: green;
}


/*!  
 * Form list paginator
 */

	.form-list-paginate {
		float: right;
		text-align: right;
		line-height:19px;
	}

	.form-list-paginate a:hover, .form-list-paginate a:active, .form-list-paginate a:focus {
			outline: none;
			border: 0;
	}

	/* Pagination nested */
	.form-list-paginate .disabled-previous, .form-list-paginate .enabled-previous,
	.form-list-paginate .disabled-next, .form-list-paginate .enabled-next {
		height: 19px;
		float: left;
		cursor: pointer;
		*cursor: hand;
		color: #111 !important;
	}

	.form-list-paginate .disabled-previous:hover, .form-list-paginate .enabled-previous:hover,
	.form-list-paginate .disabled-next:hover, .form-list-paginate .enabled-next:hover {
		text-decoration: none !important;
	}

	.form-list-paginate .disabled-previous:active, .form-list-paginate .enabled-previous:active,
	.form-list-paginate .disabled-next:active, .form-list-paginate .enabled-next:active {
		outline: none;
	}

	.form-list-paginate .disabled-previous,
	.form-list-paginate .disabled-next {
		color: #666 !important;
	}

	.form-list-paginate .disabled-previous, .form-list-paginate .enabled-previous {
		padding-left: 23px;
	}

	.form-list-paginate .disabled-next, .form-list-paginate .enabled-next {
		padding-right: 23px;
		margin-left: 10px;
	}

	.form-list-paginate .disabled-previous {
		background: url('images/paginator/back_disabled.png') no-repeat top left;
	}

	.form-list-paginate .enabled-previous {
		background: url('images/paginator/back_enabled.png') no-repeat top left;
	}
	
	.form-list-paginate .enabled-previous:hover {
		background: url('images/paginator/back_enabled_hover.png') no-repeat top left;
	}

	.form-list-paginate .disabled-next {
		background: url('images/paginator/forward_disabled.png') no-repeat top right;
	}

	.form-list-paginate .enabled-next {
		background: url('images/paginator/forward_enabled.png') no-repeat top right;
	}

	.form-list-paginate .enabled-next:hover {
		background: url('images/paginator/forward_enabled_hover.png') no-repeat top right;
	}

	.verticalAlignBottom
{
	vertical-align: bottom;
}
	/*\
	|*|
	|*|  Used by the navbar
	|*|
/*****\
\*****/
	/* --------------------------------------*/

#nav.affix {
	position: fixed;
	top: 0;
	min-width: 950px;
	max-width: inherit;
	z-index: 10000;
}

#navbar-wrapper {
	position: absolute;
	min-width: 950px;
}

/* --------------------------------------*/
/* ------------Chart Control Legends Style--------------------------*/
.ChartControlLegends {
	padding-bottom:5px;
}
:root .ChartControlLegends {
	padding-bottom:1px\9;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
/* IE10+ specific styles go here */
	.ChartControlLegends{
		padding-bottom:1px;
	}
}
/* --------------------------------------*/
/* Statistics graph control panel */
/* --------------------------------------*/
fieldset.statGraphControlPanel  {
	position: relative;
	margin-top: 1em;
	padding-top: .75em;
	background-color: #d9e1ef; 
	width: 920px
}

legend.statGraphControlPanelLegend {
	position: absolute;
	top: -.5em;
	left: .5em;
	background-color: #d9e1ef;
	border: 1px solid gray;
	margin: 0 0 0 0;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 0.2em 0.5em;
	text-align: left;
}

div.statGraphControlPanelControl {
	padding-right: 6px; 
	padding-top: 3px;
	display: inline-block;
	/*ie7 hack*/
	*display: inline;
	zoom: 1;
}

div.statGraphControlPanelRow {
	display: block;
}

div.statGraphControlPanelControl .statGraphControlPanelLabel {
	display: block;
	margin-left: 2px;
}

div.statGraphControlPanelControl select {
	margin-top: 0;
}
/* --------------------------------------*/

.form-stacked .form-edit-control-group {
	display: block;
	margin-top: 1em;
	margin-bottom: 0;
	overflow: hidden;
}

.form-stacked .form-edit-control-group.date-picker {
	overflow: visible;
}

	.form-stacked .form-edit-control-group input[type=text],
	.form-stacked .form-edit-control-group select,
	.form-stacked .form-edit-control-group .wysiwyg-container,
	.form-stacked .form-edit-control-group input[type=checkbox],
	.form-stacked .form-edit-control-group textarea {
		display: inline;
		vertical-align: top;
		margin-left: 0;
	}

	.form-stacked .form-edit-control-group label {
		text-align: left;
		font-size: 10px;
		color: #000;
		font-weight: normal;
	}

	.form-stacked .form-edit-control-group > div > label {
		width: 18em;
		margin: 0 1em 0 0;
		display: block;
		vertical-align: top;
	}

	.form-stacked .form-edit-control-group > label {
		display: block;
		vertical-align: top;
	}

	.form-stacked .form-edit-control-group label.form-checkbox-list-label {
		vertical-align: bottom;
		margin-top: 3px;
		width: 100%;
	}

	.form-stacked .form-edit-control-group input[type=checkbox].form-checkbox-list-box {
		vertical-align: bottom;
		margin-bottom: 0;
	}

	.form-stacked .form-edit-control-group div.form-edit-table {
		width: 100%;
		display: inline-block;
	}
	
/* --------------------------------------*/
/* bootstrap override */
/* --------------------------------------*/

/* menu */
.navbar {
	margin-bottom: 10px;
}

.navbar .navbar-inner.sub-menu {
	display: none;
}

.navbar .nav > li > a {
	padding: 14px 4px 14px 4px; 
}

.navbar .nav > li > a.dropdown-toggle {
	padding: 14px 0 14px 6px; 
}

/* compact menu */
.navbar.compact {
	margin-bottom: 8px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: black;
}

.navbar.compact .nav .dropdown-toggle .caret {
	margin-right: 0;
	margin-left: 1px;
}

	.navbar.compact .nav > li > a {
		padding: 4px;
		color: #666;
		border-right: 1px solid #d4d4d4;
		-webkit-border-top-left-radius: 0;
		border-top-left-radius: 0;
		-webkit-border-bottom-left-radius: 2px;
		border-bottom-left-radius: 2px; 
	}

	.navbar.compact .nav > li > a:first-child {
		-webkit-border-bottom-left-radius: 0;
		border-bottom-left-radius: 0;
		-webkit-border-top-left-radius: 2px;
		border-top-left-radius: 2px;
	}

	.navbar.compact .nav > li.active > a,
	.navbar.compact .nav > li.dropdown.active > a.dropdown-toggle {
		color: black;
		background-color: #cacaca;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
	}

	.navbar.compact .nav > li:first-child > a {
		-webkit-border-top-left-radius: 2px;
		border-top-left-radius: 2px;
	}

	.navbar.compact .nav.nav-tabs > li > a {
		padding: 4px;
		text-shadow: none;
		margin-right: 4px;
		border: 1px solid #888888;
		-webkit-border-bottom-left-radius: 3px;
		border-bottom-left-radius: 3px;
		-webkit-border-bottom-right-radius: 3px;
		border-bottom-right-radius: 3px;
		background-color: #ffffff;
		-webkit-border-top-left-radius: 0;
		border-top-left-radius: 0;
	}

	.navbar.compact .nav.nav-tabs > li.active > a,
	.navbar.compact .nav.nav-tabs > li.dropdown.active > a.dropdown-toggle {
		color: white;
		background-color: #0081c2; 
		-webkit-border-bottom-left-radius: 3px;
		border-bottom-left-radius: 3px;
		-webkit-border-bottom-right-radius: 3px;
		border-bottom-right-radius: 3px; 
	}

	.navbar.compact .nav.nav-tabs > li.active > a > b.caret,
	.navbar.compact .nav.nav-tabs > li.dropdown.active > a.dropdown-toggle > b.caret {
		border-top-color: #ffffff;
		border-bottom-color: #ffffff;
	}

.navbar.compact .nav {
	margin-top: 0.4em;
}

.navbar.compact .nav > li:hover {
	cursor: pointer;
}

.navbar.compact .nav > li:hover > a {
	background-color: #d4d4d4;
}

.navbar.compact .navbar-inner {
	min-height: 2em;
}

	.navbar.compact .navbar-inner.main-menu {
		border-color: #888888;
		-moz-border-radius: 3px 3px 3px 0;
		-webkit-border-radius: 3px 3px 3px 0;
		border-radius: 3px 3px 3px 0;
	}

	.navbar.compact .navbar-inner.sub-menu {
		border: none;
		background-color: inherit;
		background-image: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		display: block;
		min-height: 0;
	}


.main-menu .dropdown-menu {
	margin-top: 4px; /* prevent gap between main menu and sub-menu items to avoid mouseover on submenu while dropdown menu is expanded */
	z-index: 100003; /* dropdown menus should always be on top */
}

.main-menu .dropdown-menu.sub-menu {
	margin-top: -1px;
}

/* When a menu header is too long, it should be line broken */
.main-menu .dropdown-menu > li.break-menu-header > a {
	width: 160px;
	white-space: normal;
	line-height: 12px;
}
 
/* -----------------------------------------------*/
/* patient banner adhering to mscui "guidelines"  */  
/* ---------------------------------------------*/

.rq-patient-banner {
	border: 5px solid #8C8C8C;
	font-family: Arial, Verdana, sans-serif; 
	background-color: #FFFFFF;
	padding: 5px;
	vertical-align: middle;
	line-height: 2em;
	overflow: hidden;
	display: table;
	width: 98%;
}

.rq-patient-banner.dead-patient {
	border: 5px double black;
	background-color:#b0b0b0;
}

	.rq-patient-banner .patient-data-cell,
	.rq-patient-banner .patient-name-cell {
		display: table-cell;
		vertical-align: middle;
		padding-top: 3px;
		padding-bottom: 3px;
		width: 50%;
	}

		.rq-patient-banner .patient-name-cell .patient-name {
			font-weight: bold;
			font-size: medium;
			display: block;
		}
		
		.rq-patient-banner .patient-data-cell .patient-data-container {
			margin-right: 4px;
		}

		.rq-patient-banner .patient-data-cell .patient-data-inner-cell {
			float: right;
		}

		.rq-patient-banner .patient-data-cell .patient-data-label,
		.rq-patient-banner .patient-name-cell .preferred-name-label {
			font-style: italic;
			font-weight: normal;
			font-size: small;
		}

		.rq-patient-banner .patient-data-cell .patient-data,
		.rq-patient-banner .patient-name-cell .preferred-name {
			font-weight: bold;
			font-size: small;
		}
