
body {
	margin: 0 auto;
	text-align: center;
	width: 960px;
	/*GREG-DEL
	background-image: url("/images/pinstripes.png");
	font-family: arial, sans-serif;
	font-size: 12px;
	*/
	/*GREG-ADD*/
	background-color:#F7F7F7;
	font: normal 12px "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
}


input {
	/*GREG-ADD*/
	border-color:#999999 #999999 #999999 #999999;
	border-style:solid;
	border-width:1px;
	color:#465465;
	padding:2px;
}

textarea {
	font-family: arial, sans-serif;
	font-size: 13px;
	
	/*GREG-ADD*/
	border-color:#999999 #e2e2e2 #e2e2e2 #999999;
	border-style:solid;
	border-width:1px;
	color:#465465;
	padding:2px;
}
img {
	border: 0 none;
}
a:link {
  color: #000000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: #000000;
}
.workspace{
	/* background-color: #CCFFFF; */
	position: relative;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	
	/*GREG-DEL
	height: 500px;
	margin-top: 3px;
	width: 960px;
	*/

	/*GREG-ADD*/
	width: 100%;

}
.theBody {
	/* background-color: #cc0000 */
	position: absolute;
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;
	z-index: 1;

	
	/*GREG-DEL
	height:570px;
	text-align: left;
	width: 960px;
	*/
	
	/*GREG-ADD*/
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius: 6px;
	-webkit-border-radius:6px;
	border-radius: 6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	padding:20px;
	text-align:center;
	width: 100%;
}
/*GREG-ADD*/
.theBody-trans {
	position: absolute;
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;
	z-index: 1;
	text-align:center;
	width: 100%;
}


.badFaxList {
	border-color:#999999 #e2e2e2 #e2e2e2 #999999;
	border-style:solid;
	border-width:1px;

}


.highPriorityFaxList {
	border-color:#999999 #e2e2e2 #e2e2e2 #999999;
	border-style:solid;
	border-width:1px;

}

.header {
	top: 0px;
	text-align: right;
	width: 250px;
	float: right;
	/*border: 1px solid black;*/
	/* background-color: #cc0000; */
}

.reqAsk {
	color: green;
}

fieldset {
	padding: 1em;
	
	/*GREG-DEL
	border: 1px solid green;
	*/

	/*GREG-ADD*/
	border: 1px dotted #a7a7a7;
	background-color:#f7f7f7;
}

legend {
	/*GREG-DEL
	border:1px solid green;
	color:green;
	font-size:90%;
	padding: 0.2em 0.5em;
	text-align:left;
	*/

	/*GREG-ADD*/
	background-color:#fff;
	border: 1px solid #a7a7a7;
	color:#000;
	padding:4px 8px;

	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
}
/*** Menu ********************************************/


.hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
.fg-button { clear:left; margin:3px 4px 40px 20px; padding: 3px; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; font-size: 12px; z-index: 10000;}
.fg-button .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: 50%; margin-left: -8px; }
a.fg-button { float:left;  }
button.fg-button { width:auto; overflow:visible; } /* removes extra button width in IE */
.fg-button-icon-left { padding-left: 2.1em; }
.fg-button-icon-right { padding-right: 2.1em; }
.fg-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; }
.fg-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; }
.fg-button-icon-solo { display:block; width:8px; text-indent: -9999px; }         /* solo icon buttons must have block properties for the text-indent to work */
.fg-button.ui-state-loading .ui-icon { background: url(spinner_bar.gif) no-repeat 0 0; }

ul, li{margin:0; padding:0; list-style:none; z-index: auto;}
.menu_head{ color: #ffffff; font-size: 12px; text-align: center; vertical-align: middle; height: 36px; width: 130px; line-height: 36px; }
.menu_head:hover {cursor: pointer;}
.menu_body {  display:none; width:30px; margin-left: 15px; border-right:1px solid #998675;border-bottom:1px solid #998675;border-left:1px solid #998675;}
.menu_body li{background:#515151; font-size: 12px}
.menu_body li.alt{background:#3d3d3d;}
.menu_body li a{color:#FFFFFF; text-decoration:none; padding:10px; display:block;}
.menu_body li a:hover{padding:10px 10px; font-weight:bold;}

.menu_container {
	position: absolute;
	margin-top: 0;
	margin-left: 10px;
	z-index: -1;
	/*background-image: url('/images/menuBackgroundLong.png');*/
	height: 36px;
	/*width: 559px;*/
	vertical-align: middle;
	/*background: #000000;*/
	-webkit-border-bottom-right-radius: 25px;
	-webkit-border-bottom-left-radius: 25px;
	-moz-border-radius-bottomright: 25px;
	-moz-border-radius-bottomleft: 25px;
	border-bottom-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

.menu_search { margin-left: 0px; margin-right: 0px; margin-top: 7px; line-height: 10px; font-size: 12px; 	background: white url('/images/search-icon.gif') right center no-repeat; }
.menu_barcode { margin-left: 0px; margin-right: 0px; margin-top: 7px; line-height: 10px; font-size: 12px; 	background: white url('/images/icons/remotecontrol.png') right center no-repeat; }
.menu_rxnum { margin-left: 0px; margin-right: 0px; margin-top: 7px; line-height: 10px; font-size: 12px; 	background: white url('/images/icons/rx_16x16.png') right center no-repeat; }*/

/*ul, li{margin:0; padding:0; list-style:none;}
.menu_head{ color: #ffffff; font-size: 12px; text-align: center; vertical-align: middle; height: 36px; width: 150px; line-height: 36px; }
.menu_head:hover {cursor: pointer;}
.menu_body {  display:none; width:130px; margin-left: 15px; border-right:1px solid #998675;border-bottom:1px solid #998675;border-left:1px solid #998675;}
.menu_body li{background:#515151; font-size: 12px}
.menu_body li.alt{background:#3d3d3d;}
.menu_body li a{color:#FFFFFF; text-decoration:none; padding:10px; display:block;}
.menu_body li a:hover{padding:10px 10px; font-weight:bold;}
.menu_container { position: absolute; margin-top: 0; margin-left: 10px; z-index: 1000; background-image: url('/images/menuBackgroundLong.png'); height: 36px; width: 560px; vertical-align: middle;}


/*** Login ********************************************/
.login {
	/*  margin-top: 10px; */
	
	/*GREG-DEL
	border: 1px solid #000000;
	*/
	
	/*GREG-ADD*/
	border-color:#999999 #e2e2e2 #e2e2e2 #999999;
	border-style:solid;
	border-width:1px;
	color:#465465;
	padding:2px;
}

.loginBut {

}

.loginHeader{
/*  margin-left: 30px; */
  text-align: center;
  font-size: 14pt;
}
.loginBoxTop {
  background-image: url("/images/loginBoxTop.png");
  background-repeat: no-repeat;
  height: 32px;
}
.loginBoxBottom {
  background-image: url("/images/loginBoxBottom.png");
  background-repeat: no-repeat;
  height: 32px;
}
.loginBoxMiddle {
  background-image: url("/images/loginBoxMiddle.png");
  background-repeat: repeat-y;
  height: 100%;
  text-align: center;
}

.theLoginBody {
	margin-left: auto;
	margin-right: auto;

	/*GREG-DEL
	background-image: url("/images/pinstripes.png");
	text-align: left;
	width: 450px;
	*/
	
	/*GREG-ADD*/
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	padding:0px 0px;
	text-align: center;
	width: 350px;
	height: 200px;
}

.invalidLogin {
  border: 1px solid #CC0000;
}
input.error{
  border: 1px dotted red; 
}
label.error{
  color:#CC0000;
}
/******************************************************/
.shadowBoxTop {
  background-image: url("/images/shadowBoxTop.png");
  background-repeat: no-repeat;
  height: 34px;
}
.shadowBoxBottom {
  background-image: url("/images/shadowBoxBottom.png");
  background-repeat: no-repeat;
  height: 34px;
}
.shadowBoxMiddle {
  background-image: url("/images/shadowBoxMiddle.png");
  background-repeat: repeat-y;
  height: 100%;
}

.content {

	/*GREG-DEL
	margin-left: 17px;
	margin-right: 17px;
	*/
	
	/*GREG-ADD*/
	text-align:left;
}

/*** Setup Pages ********************************************/
.delImg {
	cursor: pointer;
}
.editImg {
	cursor: pointer;
}

/*** Refills ************************************************/
#history_search {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 7px;
	line-height: 10px;
	font-size: 12px;
	background: white url('/images/search-icon.gif') right center no-repeat;
}

/*** New Order Page******************************************/
div#newOrder {
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius: 6px;
	-webkit-border-radius:6px;
	border-radius: 6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	margin-bottom:20px;
	padding:12px 12px 12px 35px;
	text-align:center;
	clear:both;
}

div#historyBox,
div#taskBox {
	width: 48.5%;
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius-bottomright:6px;
	-moz-border-radius-bottomleft:6px;
	-webkit-border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	border-bottom-right-radius:6px;
	border-bottom-right-radius:6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	margin-bottom:20px;
}

div#historyBox {
	float: left;
	margin-right: 20px;
	clear:both;
}
div#taskBox {
	float: right;
}




div#historyHeader,
div#currentHistoryHeader,
div#pastHistoryHeader,
div#taskHeader {
	padding:6px 4px 3px 4px;
	text-align: center;
	font-size:16px;
	font-weight:bold;
	color:#000;
	background: transparent url(../images/view-order-header-bg.png) repeat-x;
	border-bottom:1px solid #e5e5e5;
	text-shadow: 1px 1px 2px #fff;
	clear:both;
}

div#historyFooter,
div#taskFooter {
	height:29px;
	background: transparent url(../images/view-order-footer-bg.png) repeat-x;
	border-top:1px solid #e5e5e5;
	text-shadow: 1px 1px 2px #fff;
	clear:both;
}

div#historyIcons {
	text-align: center;
	padding:2px 85px;
	border-bottom:1px solid #e5e5e5;
	clear:both;
}

div#taskIcons {
	text-align: center;
	padding:2px 123px;
	border-bottom:1px solid #e5e5e5;
	clear:both;
}
div#historyContent,
div#taskContent {
	height: 300px;
	overflow: auto;
	clear:both;
}
.historyRec,
.taskRec {
	border-top:1px solid #fff;
	border-right:1px solid #fff;
	border-left:1px solid #fff;
	border-bottom: 1px dotted #e5e5e5;
	padding: 5px 10px;
}

.historyRec:hover,
.taskRec:hover {
	background-color: #FFECD9;
	border: 1px solid orange;
}

/*** View Order Page ***************************************/
.smallPhoneButton {
	font-size: 10px;
	border: 1px dotted #000000;
	padding: 0px;
	
	/*GREG-DEL
	padding: 0px;
	*/
	
	/*GREG-ADD*/
	background-color: #fff;
	color:#0000cc;
	margin:3px 4px;
	padding: 3px;
	text-decoration:underline;
}
.smallPhoneButton:hover {
	/*GREG-DEL
	background-color: #ddd;
	*/
	
	/*GREG-ADD*/
	background-color: orange;
	color:#fff;
	margin:3px 4px;
	padding: 3px;
	text-decoration:none;
}

/*** POPUP Boxes ******************************************/
#fade { /*--Transparent background layer--*/
	display: none; /*--hidden by default--*/
	background: #000;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 99;
}
.popup_block{
	display: none; /*--hidden by default--*/
	background: #fff;
	padding: 20px;
	border: 10px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	/*--CSS3 Box Shadows--*/
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	/*--CSS3 Rounded Corners--*/
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
img.btn_close {
	float: right;
	margin: -45px -45px 0 0;
}

/*** Idle/Auto Logout ******************************************/
#IdleFade { /*--Transparent background layer--*/
	display: none; /*--hidden by default--*/
  background-color: #666;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .50;
	z-index: 9999;
}
/*** Refill Pages *********************************************/
div.scriptGeneral {
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius: 6px;
	-webkit-border-radius:6px;
	border-radius: 6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	margin-bottom:20px;
	padding:12px 12px 12px 12px;
	text-align:center;
	clear:both;
  width: 775px;
}

tr.scriptHeader td {
	border-top:1px solid #fff;
	border-right:1px solid #fff;
	border-left:1px solid #fff;
	border-bottom: 1px dotted #e5e5e5;
	padding: 5px 10px;
}

tr.scriptRow td {
	border-top:1px solid #fff;
	border-right:1px solid #fff;
	border-left:1px solid #fff;
	border-bottom: 1px dotted #e5e5e5;
	padding: 5px 10px;
}
.scriptRow:hover {
	background-color: #f4f4f4;
	border: 1px solid orange;
  cursor: pointer;
}
.scriptRowSelect {
	background-color: #FFECD9;
	border: 1px solid orange;
}
div#scriptBox {
	width: 100%;
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-border-radius-bottomright:6px;
	-moz-border-radius-bottomleft:6px;
	-webkit-border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	border-bottom-right-radius:6px;
	border-bottom-right-radius:6px;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#cccccc');
	margin-bottom:20px;
}




/* override styles for ui bars */
.ts_ui_dialog_header {
	height: 20px;
	padding-top: 2px;
	padding-left: 5px;
	-webkit-border-bottom-left-radius: 0px !important;
	-webkit-border-bottom-right-radius: 0px !important;
}



/* REQUIRED STYLES - the menus will only render correctly with these rules */
.fg-menu-container { position: absolute; top:0; left:-999px; padding: .4em;  overflow: hidden; z-index: 999;  border: 1px solid black;}
.fg-menu-container.fg-menu-flyout { overflow: visible; border: 1px solid black; }

.fg-menu, .fg-menu ul { list-style-type:none; padding: 0; margin:0; text-align: left; }

.fg-menu { position:relative; font-size: 14px}
.fg-menu-flyout .fg-menu { position:static; }

.fg-menu ul { position:absolute; top:0; border: 1px solid black; }
.fg-menu ul ul { top:-1px; }

.fg-menu-container.fg-menu-ipod .fg-menu-content,
.fg-menu-container.fg-menu-ipod .fg-menu-content ul { background: none !important; }

.fg-menu.fg-menu-scroll,
.fg-menu ul.fg-menu-scroll { overflow: scroll;  overflow-x: hidden; }

.fg-menu li { clear:both; float:left; width:100%; margin: 0; padding:0; border: 0; }
.fg-menu li li { font-size:1em; } /* inner li font size must be reset so that they don't blow up */

.fg-menu-flyout ul ul { padding: .4em; }
.fg-menu-flyout li { position:relative; }

.fg-menu-scroll { overflow: scroll; overflow-x: hidden; }

.fg-menu-breadcrumb { margin: 0; padding: 0; }

.fg-menu-footer {  margin-top: .4em; padding: .4em; }
.fg-menu-header {  margin-bottom: .4em; padding: .4em; }

.fg-menu-breadcrumb li { float: left; list-style: none; margin: 0; padding: 0 .2em; font-size: .9em; opacity: .7; }
.fg-menu-breadcrumb li.fg-menu-prev-list,
.fg-menu-breadcrumb li.fg-menu-current-crumb { clear: left; float: none; opacity: 1; }
.fg-menu-breadcrumb li.fg-menu-current-crumb { padding-top: .2em; }

.fg-menu-breadcrumb a,
.fg-menu-breadcrumb span { float: left; }

.fg-menu-footer a:link,
.fg-menu-footer a:visited { float:left; width:100%; text-decoration: none; }
.fg-menu-footer a:hover,
.fg-menu-footer a:active {  }

.fg-menu-footer a span { float:left; cursor: pointer; }

.fg-menu-breadcrumb .fg-menu-prev-list a:link,
.fg-menu-breadcrumb .fg-menu-prev-list a:visited,
.fg-menu-breadcrumb .fg-menu-prev-list a:hover,
.fg-menu-breadcrumb .fg-menu-prev-list a:active { background-image: none; text-decoration:none; }

.fg-menu-breadcrumb .fg-menu-prev-list a { float: left; padding-right: .4em; }
.fg-menu-breadcrumb .fg-menu-prev-list a .ui-icon { float: left; }

.fg-menu-breadcrumb .fg-menu-current-crumb a:link,
.fg-menu-breadcrumb .fg-menu-current-crumb a:visited,
.fg-menu-breadcrumb .fg-menu-current-crumb a:hover,
.fg-menu-breadcrumb .fg-menu-current-crumb a:active { display:block; background-image:none; font-size:1.3em; text-decoration:none; }

.fg-menu a:link,
.fg-menu a:visited,
.fg-menu a:hover,
.fg-menu a:active { float:left; width:92%; padding:.3em 3%; text-decoration: none; outline: 0 !important; }

.fg-menu a { border: 1px dashed transparent; }

.fg-menu a.ui-state-default:link,
.fg-menu a.ui-state-default:visited,
.fg-menu a.ui-state-default:hover,
.fg-menu a.ui-state-default:active,
.fg-menu a.ui-state-hover:link,
.fg-menu a.ui-state-hover:visited,
.fg-menu a.ui-state-hover:hover,
.fg-menu a.ui-state-hover:active,
 .fg-menu a.ui-state-active:link,
 .fg-menu a.ui-state-active:visited,
 .fg-menu a.ui-state-active:hover,
.fg-menu a.ui-state-active:active { border-style: solid; font-weight: normal; }

.fg-menu a span { display:block; cursor:pointer; }


 /* SUGGESTED STYLES - for use with jQuery UI Themeroller CSS */

.fg-menu-indicator span { float:left; }
.fg-menu-indicator span.ui-icon { float:right; }

.fg-menu-content.ui-widget-content,
.fg-menu-content ul.ui-widget-content { border:0; }


/* ICONS AND DIVIDERS */

.fg-menu.fg-menu-has-icons a:link,
.fg-menu.fg-menu-has-icons a:visited,
.fg-menu.fg-menu-has-icons a:hover,
.fg-menu.fg-menu-has-icons a:active { padding-left:20px; }

.fg-menu .horizontal-divider hr, .fg-menu .horizontal-divider span { padding:0; margin:5px .6em; }
.fg-menu .horizontal-divider hr { border:0; height:1px; }
.fg-menu .horizontal-divider span { font-size:.9em; text-transform: uppercase; padding-left:.2em; }
.fg-button { background: #ffffff; }
