/*  Created Date:  4/23/2007 10:33 AM
 * 	Author:  Miriam Salzer
 *  For: Epocrates, Inc.
 *  Project: Epocrates Online version 3.0
 *  Description:  DX Widgets including the lookup widget, 
 *	browser controller, and help icon, icon legend.
 */

#page fieldset.tablewidget,
#page div.drugwidget,
#page fieldset.multicheckwidget {
	border: none;
	padding: 0 0 10px 0;
	width: auto;
}

#tablelookup {
	margin-bottom: 15px;
}

 /*portkey lookup widgets */

div.com_epocrates_online_dx_lookupWidgetOuter {
	background: url(../../../../../../common/images/bg_widgetends.gif) bottom left no-repeat transparent;
	padding: 0 0 0 4px;
	margin: 0 0 5px 5px;
	float: left;
	border-top: #b1b1b1 solid 1px;
}

div.com_epocrates_online_dx_lookupWidget {
	background: url(../../../../../../common/images/bg_widgetends.gif) bottom right no-repeat transparent;
	padding: 0 4px 0 0;
}

*html .drugwidget div.com_epocrates_online_dx_lookupWidget,
*html .tablewidget div.com_epocrates_online_dx_lookupWidget,
*html .multicheckwidget div.com_epocrates_online_dx_lookupWidget {
	width: 360px; 
}

*html .multicheckwidget div.com_epocrates_online_dx_lookupWidget {
	width: 325px; /*multicheck*/
}

*html .drugwidget div.com_epocrates_online_dx_lookupWidget {
	width: 339px; /*drugs*/
}

*html .tablewidget div.com_epocrates_online_dx_lookupWidget {
	width: 343px; /*tables*/
}

span#labelSpan {
	font-weight: bold;
	font-size: 14px;
	padding-top: 3px;
	padding-right: 5px;
	background-color: transparent;
}	 

div.portKey {
	background: url(../../../../../../common/images/bg_widgetcenter.gif) bottom center repeat-x #c5c5c5;
	padding: 1px 1px 3px 5px;
	border-top: #ddd 1px;
	margin: 1px 0 0 0;
}

.com_epocrates_online_dx_lookupWidget input {
	border-color:#545454 #747474 #747474 #545454;
	border-style: solid;
	border-width: 1px;
	font-size: 14px;
	margin-left: 1px;
	margin-top: 0;
	padding: 0 3px;
	width: 16em;
}

/* Browser Controllers */

.com_epocrates_online_dx_browserController a {
 	background: url(../../../../../images/bg_widgetstroke.gif) bottom right no-repeat transparent;
  	text-decoration: underline;
  	padding: 3px 10px 5px 10px;
}
 
.com_epocrates_online_dx_browserController a:hover {
  	color: #900;
 	text-decoration: none;
}


/* lookup widget results popup --------------------------------------*/

div#resultsContainer {
	z-index: 1200;
	position: absolute;
	top: 30px;
    color:#000000;
	left: 110px;
	background-color: #fff;
	border: 1px solid #607bae;
	overflow: hidden;
	width: 23.5em;
	min-height: 14px; /*FF*/
	max-height: 450px;
	overflow-y: auto;
    font-size:small;
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); /* webkit box shadow */
}

div#resultsContainer a {
    text-decoration: none;
    font-size: 12px;
	white-space: nowrap;
}

div#resultsContainer a:hover {
    color:#000;
}

.portKey_inherited a {
	padding-left: 13px;
	display: block;
         cursor: pointer;
         color:#000000;
}
.childHaving {
	background: url(../../../../../../common/images/arr.gif) 3px 5px no-repeat transparent;
}

.portKey_inherited a:hover {
	background-color: #d9e4ef;
}

.portKey_inherited_selected a {
	background-color: #d9e4ef;
}
.childHaving a:hover {
	background: url(../../../../../../common/images/arr.gif) 3px 5px no-repeat #d9e4ef;
}

.childHavingShown {
	background: url(../../../../../../common/images/arr_exp.gif) 3px 5px no-repeat transparent;
}

.childHavingShownSelected > a {
     background-color: #d9e4ef;
     background: url(../../../../../../common/images/arr_exp.gif) 3px 5px no-repeat #d9e4ef;
}

.childHavingShown a:hover {
	background: url(../../../../../../common/images/arr_exp.gif) 3px 5px no-repeat #d9e4ef;
}

.inherited_drugchildnode a,
.inherited_drugchildnode a:hover {
	padding-left: 25px;
	background-image: none;
}

#thirdPartyLink a {
    border-top: 1px solid #607bae;
    font-weight: bold;
}

.com_epocrates_online_dx_lookupWidget span {
	background-color: #ffffb3;
}
	
.portKey_inherited_selected a span,
.com_epocrates_online_dx_lookupWidget .portKey_inherited a:hover span,
.com_epocrates_online_dx_lookupWidget .childHaving a:hover span,
.com_epocrates_online_dx_lookupWidget .childHavingShown a:hover span {
	background-color: #eaf0d4;
}

 /* Help link and icon legend link-----------------------------------------------------*/
 
p.com_epocrates_online_dx_helpLink {
	padding-top: 4px;
	padding-bottom: 4px;
}
 
.com_epocrates_online_dx_helpLink a {
	background: transparent url(../../../../../images/bg_help.gif) no-repeat 35px 1px;
	color: #416EAA; /*same color as other a in this section*/
	font-size: 12px;
	padding-left: 50px;
	text-decoration:none;
}

*html .com_epocrates_online_dx_helpLink a { /*IE6 margin doubling bug*/
	margin-right: 16px;
}

.com_epocrates_online_dx_helpLink a:hover {
	text-decoration: underline;
	color: #900;
}

/* Icon Legend, FAQ, and Abbreviations----------------------------------------------------------------*/

.com_epocrates_online_dx_helpHidden {  /*for Icon legend and FAQ */
	display: none;
}
.com_epocrates_online_dx_HelpShown {
	display: block;
}

div#dx_help {
	z-index: 700 !important;
	border: 2px solid #a9b5c2;
	position: absolute;
	top: 11px; /*38*/
	left: 296px;
	background-color: #e9eef4;
	width: 500px;
	font-size: 13px;
}

div#dx_Icon,
div#dx_FAQ,
div#dx_Abbr {
	margin: 5px;
	clear: both;
	background-color: #fff;
}

#dx_help a {
	text-decoration: underline;
}

#dx_help a:hover {
	text-decoration: none;
	color: #900;
}

ul.com_epocrates_online_dx_helpNav {
	background-color: #cad5df;
	height: 24px;
}

.com_epocrates_online_dx_helpNav li {
	display: inline;
}

.com_epocrates_online_dx_helpNav a {
	display: block;
	float: left;
	padding: 5px 10px 3px;
}

a.com_epocrates_online_dx_helpNavCurrent {
	background-color: #e9eef4;
	color: #000;
	font-weight: bold;
}

.com_epocrates_online_dx_helpNav a:hover {
	color: #900;
}

.com_epocrates_online_dx_helpNav a.com_epocrates_online_dx_helpNavCurrent,
.com_epocrates_online_dx_helpNav a:hover.com_epocrates_online_dx_helpNavCurrent {
	text-decoration: none;
}

#dx_help a.com_epocrates_online_dx_popup_close {
	margin-left: 0;
	padding: 0;
}

/*-------FAQ-----------*/		
div#dx_FAQ h3 {
	padding-left: 10px;
}

div#dx_FAQ dl {
	width: 490px; /*leave some for scrollbar*/
	height: 300px;
	overflow: scroll;
	overflow-y: scroll;
	overflow-x: hidden;
}

div#dx_FAQ dt {
	font-weight: bold;
	padding: 7px 10px 5px;
	width: 452px;
}

div#dx_FAQ dd {
	padding: 0 10px 10px 10px;
	border-bottom: 1px solid #e9eef4;
	width: 452px;
}
/*------Abbreviations-------*/

div#dx_Abbr dl {
	width: 490px; /*leave some for scrollbar*/
	height: 300px;
	overflow: auto;
}

#dx_Abbr dl {
	width: 490px;
	overflow: scroll;
	overflow-y: scroll;
	overflow-x: hidden;
}

#dx_Abbr dt {
	font-weight: bold;
	float: left;
	clear: left;
	padding: 5px 14px 0 10px;
}

#dx_Abbr dd {
	border-bottom: 1px solid #e9eef4;
	padding: 5px 14px 5px 10px;
}

/*------Icon Legend-------*/

#dx_Icon table {
	border-collapse: collapse;
	width: 490px;
	/*height: 300px; match faq */
}

#dx_Icon tr {
	background-color: #fff;
}

#dx_Icon td {
	padding: 5px 5px 5px 14px;
	background-position: 5px 5px;
	background-repeat: no-repeat;
	vertical-align: top;
	border-bottom: 1px solid #e9eef4;;
}

.com_epocrates_online_dx_legendHideShow {
	background-image: url(/dx/images/arrow_off_f.gif);
}

#dx_Icon td.com_epocrates_online_dx_legendImagePopop,
#dx_Icon td.com_epocrates_online_dx_legendMoreInfoPopup,
#dx_Icon .com_epocrates_online_dx_legendEvidence {
	padding-left: 5px;
	background-image: none;
}

.com_epocrates_online_dx_legendImagePopop p,
.com_epocrates_online_dx_legendMoreInfoPopup p {
	padding-left: 16px;							
	background: url(/dx/images/minfo.gif) no-repeat top left;
	font-size: 85%;
	color: #039;
	text-decoration: underline;
}

.com_epocrates_online_dx_legendImagePopop p {
	padding-left: 20px;						
	background: url(/dx/images/camera_icon.gif) no-repeat 0 2px;
}

#dx_Icon .com_epocrates_online_dx_legendEvidence a {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	margin-right: .15em;
	margin-left: .1em; 
	display: inline-block;
}

#dx_Icon .com_epocrates_online_dx_legendEvidence span span span {
	background-color: #055405;
	-webkit-border-radius: 3px;
	padding: 0 3px;
	display: inline-block;
}

.com_epocrates_online_dx_legendPDF {
	 background-image: url(/dx/images/pdficon_small.gif);
} 

#dx_Icon .com_epocrates_online_dx_legendEvalWarning {
	background: url(/dx/images/exclamation.gif) no-repeat 10px 6px;
}

#thirdPartyLink
{
    font-weight:bold;
}

div#portkey-logo { /*formulary edit*/
	display: none;
}






