body {
background-color: #ffffff;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
font-family: "Trebuchet MS", Arial, Helvetica;
color:#333333;
font-size:12px;
overflow:auto;

}

.clear{clear:both;}

a:link {
	color: #003366;
	text-decoration: underline;
	font-weight:normal;
	font-size:11px;
	}
a:visited {
	color: #003366;
	text-decoration: underline;
	font-weight:normal;
	font-size:11px;
	}
a:hover {
	color: #000033;
	text-decoration: none;
	font-weight:normal;
	font-size:11px;
	}
a:active {
	color: #003366;
	text-decoration: none;
	font-weight:normal;
	font-size:11px;
	}


/* Tooltip CSS */
a.tooltip{
    position:relative; /*this is the key*/
    z-index:24;
    color: #003366;
    text-decoration:underline;
    padding: 4px 6px;}

a.tooltip:hover{z-index:25; background-color:#DEE4EA}

a.tooltip span{display: none}

a.tooltip:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2.5em; left:4em; width:auto;
    background-color:#DEE4EA; color:#000;
    text-align: left;
    padding: 10px;}

a.login{ color: #003366;
    text-decoration:underline; font-size:14px;}

/* Login Screen CSS */
.loginTxt{ font-size:13px;}
.loginTxtSmall{ font-size:11px;}
.loginTxtFooter{ font-size:10px;color:#333;}
.loginTitle{ font-size:24px;color:#BB1F31; font-weight: bold;}
.loginTitleMsg{ font-size:13px;font-weight: bold;}




img { border: none; }

td img {display: block;}

td {vertical-align:top;}

.formTr{
	height:25px;

}

.formHr{
	margin-top:0px;
	}

div.row span.left {
  float: left;
  text-align: left;
  width: 49%;
  }

div.row span.right {
  float: right;
  text-align: right;
  width: 49%;
  }

.bodyContent{
	width:100%;
	max-width: 1800px;
	overflow-x: auto;
	}


/* Header Text Styling */
.companyName {
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:normal;
	text-decoration:none;
	color:#900;
}

.companyAppName {
	font-family:Arial, Helvetica, sans-serif;
	font-size:22px;
	font-weight:normal;
	text-decoration:none;
	color:#222222;
}


.buttonLink a, .buttonLink:visited, .buttonLink:link, .buttonLink:hover, .buttonLink:active{

  /*background: #fff url('red-recessed-arrow.gif') no-repeat 0 0;
  padding: 3px 0 4px 34px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;*/
  text-decoration: none;
	cursor:pointer;
	border: solid 1px #003366;
	color:#ffffff;
	font-size:12px;
	padding: 2px 12px;
	background:url('../images/formbutton_bg.gif') repeat-x left top;

}


.buttonLinkRed a, .buttonLinkRed:visited, .buttonLinkRed:link, .buttonLinkRed:hover, .buttonLinkRed:active{

  /*background: #fff url('red-recessed-arrow.gif') no-repeat 0 0;
  padding: 3px 0 4px 34px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;*/
  text-decoration: none;
	cursor:pointer;
	border: solid 1px #003366;
	color:#ffffff;
	font-size:12px;
	padding: 2px 12px;
	background:url('../images/formbutton_red_bg.gif') repeat-x left top;

}


.buttonLinkGreen a, .buttonLinkGreen:visited, .buttonLinkGreen:link, .buttonLinkGreen:hover, .buttonLinkGreen:active{

  /*background: #fff url('red-recessed-arrow.gif') no-repeat 0 0;
  padding: 3px 0 4px 34px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;*/
  text-decoration: none;
	cursor:pointer;
	border: solid 1px #009900;
	color:#ffffff;
	font-size:12px;
	padding: 2px 12px;
	background:url('../images/formbutton_green_bg.gif') repeat-x left top;

}



/* MENU STYLING */
.mainMenuHeader{
background-image: url(../images/left_nav_buttonbg.jpg);
margin:0px;
padding:0px;
height:29px;
width:167px;
padding-top:6px;

}

.mainMenuHeader a, .mainHeader:visited, .mainHeader:link{
	font-size:16px;
	font-weight:normal;
	text-decoration:none;
	padding-left:25px;
}

.menuItem a, .menuItem:visited, .menuItem:link{
	font-size:13px;
	text-decoration:none;
	color:#000033;
	padding-left:25px;
	width: inherit;
	overflow: hidden;

}

.menuItem:hover {
	font-size:13px;
	text-decoration:underline;
	color:#000000;
	padding-left:25px;
	width: inherit;
}

.mainMenuHeader{
background-image: url(../images/left_nav_buttonbg.jpg);
margin:0px;
padding:0px;
height:29px;
width:167px;
padding-top:6px;

}

.menuItemDiv{
	padding-top:5px;
	width:167px;
	overflow: hidden;
	}

.menuItemBG{
	background-color:#D6E1C5;
	width:167px;
	overflow: hidden;

	}

.contact{
margin:0px;
padding:0px;
width:174px;
padding-top:6px;
padding-left:36px;
}


.contactFont{
	font-size:18px;
	font-weight:bold;
	text-decoration:none;
	color:#000033;
}


.contactFont12{
	font-size:12px;
	text-decoration:none;
	color:#000033;
}

contactFont12 a, .contactFont12:visited, .contactFont12:link{
   font-size:12px;
	text-decoration:underline;
	color:#000033;

}


.info, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 0px;
    padding:10px 5px 10px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
	font-size:12px;
	max-width:500px;

}
.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../images/info.png');
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../images/success.png');
}
.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../images/warning.png');

}
.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../images/error.png');
}

.sigPad .error {background-image:none;}

div.scroll {
border:1px solid #666666;
height:200px;
overflow:auto;
padding:8px;
width:600px;
}




.topNavBox {
margin-top:14px;
margin-left:28px;
color: #fff;
width: 939px;
height:96px;
text-align: left;
background-color: #fff;
border: 0px solid #fff;
padding-top:3px;
padding-bottom:0px;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
}

.topPageBox {
color: #fff;
width:250px;
padding-top:18px;
padding-bottom:0px;

}


.bodyBox {
min-width:200px;
min-height:100px;
height:auto;
text-align: left;
background-color: #D6E1C5;
border: 0px solid #fff;
padding-top:18px;
padding-bottom:10px;
padding-left:20px;
padding-right:20px;
float:left;
margin-bottom:20px;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
}


.bodyBox2 {
min-width:200px;
min-height:100px;
height:auto;
text-align: left;
background-color: #EAF6D8;
border: 0px solid #fff;
padding-top:18px;
padding-bottom:10px;
padding-left:20px;
padding-right:20px;
float:left;
margin-bottom:20px;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
}



.leftNavMainMenuBox {
	border: 0px solid #fff;
	margin-left:28px;
	color: #fff;
	width: 955px;
	height:46px;
	text-align:left;
	background-color: #1A295D;
	background-image: url(../images/leftNavMainMenuBox.gif);
	background-repeat: repeat-x;

	/* Do rounding (native in Firefox and Safari) */
	-moz-border-radius-topleft:14px;
	-moz-border-radius-topright:14px;
	-webkit-border-radius-topright:14px;
	-webkit-border-radius-topleft:14px;

	}


.midMenuBox {
	border: 0px solid #fff;

	color: #fff;
	width: 772px;
	height:46px;
	text-align:left;
	background-color: #1A295D;
	background-image: url(../images/leftNavMainMenuBox.gif);
	background-repeat: repeat-x;

	/* Do rounding (native in Firefox and Safari) */
	-moz-border-radius-topleft:14px;
	-moz-border-radius-topright:14px;
	-webkit-border-radius-topright:14px;
	-webkit-border-radius-topleft:14px;

	}

.popupDiv{
	margin-left:20px;
	margin-right:20px;
	margin-top:20px;
	margin-bottom:20px;

}

.orderBox{
	border:1px #333333 solid;
	width:12px;
	height:14px;
	}

.orderBoxFilled{
	border:1px #333333 solid;
	width:12px;
	height:12px;
	font-size:9px;
	}

.orderCheckX{
	font-size:12px;
	padding-left:2px;
	padding-top:4px;

	}

.blackHR{
	border: none 0;
	border-top: 1px solid #000;/*the border*/
	height: 1px;/*whatever the total width of the border-top and border-bottom equal*/


	}

/*TEXT STYLES*/
.title {

	font-size:24px;
	font-style:normal;
	color:#273F72;
	padding-left:114px;

}


.phlebTitle {

	font-size:24px;
	font-style:normal;
	color:#273F72;
	}

.patientInfo{
	font-size:16px;
	font-weight:bold;}


.gray16{
	font-size:16px;
	}

.gray15{
	font-size:15px;
	}

.blue18{
	font-size:18px;
	color:#1E2E61;
	}

.black18{
	font-size:18px;
	color:#000;
	}


.blue14{
	font-size:14px;
	color:#1E2E61;
	}

.blue11{
	font-size:11px;
	color:#1E2E61;
	}

.blue16{
	font-size:16px;
	color:#1E2E61;
	}
.smallerTxt{
	font-size:11px;

	}
.orderSmaller{
	font-size:1em;
	}

.orderTiny{
	font-size:.75em;

	}
.orderBigger{
	font-size:1.25em;

	}

.bodyBoxText{
	color:#1E2E61;
	font-size:16px;
	margin-top:20px;

}

.calendarHeader{color:#1E2E61;

	padding-top:20px; float:left; position:relative; top:-45px;
	font-size:24px;
	font-style:normal;

}

.mainMenuText {
	font-size:16px;
	font-style:normal;
	color:#ffffff;
	padding-top:20px;
	padding-left:45px;
}

.topPageText {
	font-size:20px;
	font-style:normal;
	color:#162356;
	padding-top:20px;
	padding-left:25px;
	text-align:center;


}

.bodyTitle{
	font-size:24px;
	font-style:normal;
	color:#1E2E61;
	margin-top:20px;

}

.bodyTitleLink{
	margin-top:30px;
	}

.formText{
	font-size:12px;
	font-style:normal;
	color:#333333;
	padding-left:5px;

	}

.blue19{
	font-size:19px;
	font-style:normal;
	color:#1E2C5F;
	}

.blue13{
	font-size:13px;
	font-style:normal;
	color:#1E2C5F;
	font-weight:bold;
	}

.black13{
	font-size:13px;
	font-style:normal;
	color:#000;
	font-weight:normal;
	}

.black14bold{
	font-size:14px;
	font-weight:bold;
	color:black;
	}
.black14{
	font-size:14px;
	font-style:normal;
	color:black;
	}

.green14{
	font-size:14px;
	font-style:normal;
	color:#006600;
	font-weight:bold;
	}

.red12bold{font-size:12px;
	font-style:normal;
	color:#990000;
	font-weight:bold;}

.green12bold{font-size:12px;
	font-style:normal;
	color:#006600;
	font-weight:bold;}

.bodytext{
	font-size:12px;
	font-style:normal;
	color:black;
	}

.blue12{
	font-size:13px;
	font-style:normal;
	color:#1E2C5F;
	}

.statusGreen{
	font-size:11px;
	font-weight:bold;
	color:#006600;
	}
.statusGrey{
	font-size:11px;
	font-weight:bold;
	color:#999999;
	}


.statusOrange{
	font-size:11px;
	font-weight:bold;
	color:#FF6600;
	}

.statusRed{
	font-size:11px;
	font-weight:bold;
	color:#FF0000;
	}



.red11{
	font-size:11px;
	color:#FF0000;
	}

.red13{
	font-size:13px;
	color:#FF0000;
	}


.black11{
	font-size:11px;
	color:#000;
	}

.alertRed{
	font-size:14px;
	font-weight:bold;
	color:#C00;
	}

.alertRed a, .alertRed:visited, .alertRed:link{
   font-size:14px;
	text-decoration:underline;
	color:#C00;
	font-weight:bold;

}

.underline{
text-decoration:underline;
}

.popupTitle{
	font-size:14px;
	font-style:normal;
	color:#1E2C5F;
	}

.formTextTable{
	font-size:13px;
	font-style:normal;
	color:#333333;

	}

.tdInput {
	padding-left:10px;
	}

.gray13Bold{
	font-size:13px;
	font-style:normal;
	color:#333333;
	font-weight:bold;
	}

.black15{
	font-size:15px;
	font-style:normal;
	color:#000;
	}


.bodyText{
	font-size:12px;
	font-style:normal;
	color:#333333;
	line-height:14px;
	}

.bodyTextTitle{
	font-size:12px;
	font-weight:bold;
	color:#1E2C5F;
	}

.orderTitle{
	font-size:13px;
	color:#000;
	}

.tiny{
	font-size:10px;
	color:#333333;
}

.tiny9{
	font-size:9px;
	color:#333333;
}

.errorText{
	color:#F30;
	font-weight:bold;
	}



/* form styles  */
.input {
    padding-top: 4px;
    padding-bottom: 4px;
    border: solid 1px #000000;
    margin-right: 15px;
    margin-bottom: 10px;
    max-width: 300px;
    padding-left: 4px;
    text-transform: uppercase;
    font-size: 14px;
}

.homeDashed{
	 color:#CCC; border-bottom: 1px dashed;
	}

.inputHome{
	padding-top:2px;
padding-bottom:4px;
border:solid 1px #000000;
margin-right:5px;


max-width:300px;
color:#999;
font-size:12px;}

.disabled{
	background-color:#CCC;
	}

.inputSmall {
padding-top:2px;
padding-bottom:2px;
border:solid 1px #000000;
margin-right:5px;
margin-bottom:5px;
max-width:300px;
text-transform: uppercase;
font-size:11px;

}

.inputSmallNoUcase {
padding-top:2px;
padding-bottom:2px;
border:solid 1px #000000;
margin-right:5px;
margin-bottom:10px;
max-width:300px;
font-size:11px;

}

.ucase{
	text-transform: uppercase;
	}

.inputSmallCheckbox{
	padding-top:2px;
padding-bottom:2px;
border:none;
margin-right:5px;
margin-bottom:10px;
max-width:300px;
text-transform: uppercase;
font-size:11px;
	}

.inputOrderCheckbox{
	border:1px #333333 solid;
	width:19px;
	height:19px;
	margin-right:5px;


	}

.inputNoUpperCase {
padding-top:2px;
padding-bottom:2px;
border:solid 1px #000000;
margin-right:15px;
margin-bottom:10px;
max-width:300px;
}


.selectSmall {
	font-size:11px;
	}

#dispatchSelect select {
padding-top:2px;
padding-bottom:2px;
border:solid 1px #000000;
font-size:10px;
color:#000;
}

.selectSpace {
	margin-top:5px;
	}

.formbutton{
cursor:pointer;
border: solid 1px #003366;
color:#ffffff;
font-size:12px;
padding: 2px 4px 2px 4px;
background:url(../images/formbutton_bg.gif) repeat-x left top;
padding: .3em;
font-size: 12px;
text-transform: capitalize;
margin-bottom: 4px;
margin-top: 4px;
padding-left: 6px;
    padding-right: 6px;
}


.red{
	background:url(../images/formbutton_red_bg.gif) repeat-x left top;
	border-color:#990000;
	}

table.plain {

	border: none;

	}
table.plain td, table.plain th {
	padding : 0;
}

/* listing grid */
table.listing {}
table.listing td { padding: .3em; border: 1px #ccc solid; background: #EAF6D8; }
table.listing th { padding:5px; border: 1px #ccc solid; }
table.listing thead { background: #83A9C9; color:#FFF; font-size:11px; font-weight:normal; text-align:left;}
/* table.listing body { background: #9cf; } */

table.listing_dispatch {}
table.listing_dispatch td { padding: 5px; border: 1px #1E2E61 solid; background: #ffffff; font-size:11px; }
table.listing_dispatch th { padding:5px; border: 1px #1E2E61 solid; font-size: 10px;}
table.listing_dispatch thead { background: #003366; color:#FFF; font-size:10px; font-weight:normal; text-align:left;}

table.listing_phleb {border-collapse : collapse;}
table.listing_phleb tr{ border:1px solid #1E2E61; }
table.listing_phleb  td {padding: 5px; background: #ffffff; font-size:11px; }
table.listing_phleb  th {padding:5px; font-size: 10px;}
table.listing_phleb  thead {border:0px; background:#CCC; color:#000; font-size:10px; font-weight:bold; text-align:left;}

table.listing_phlebqa {border:1px solid black;}
table.listing_phlebqa tr{border: 0}
table.listing_phlebqa  td {border: 0; padding: 1px; background:#CCC; font-size:11px; padding-left:3px; }
table.listing_phlebqa  th {padding:3px; font-size: 10px;}
table.listing_phlebqa  thead {background:#fff; color:#000; font-size:10px; font-weight:bold; text-align:left;}

.errorAlert {background:#FC0;}

table.listing_phlebLab {border:1px solid black;}
table.listing_phlebLab tr{border: 0}
table.listing_phlebLab  td {border: 0; padding: 0px; background:#fff; font-size:11px; padding-left:3px; }

.bgwhite {background-color:#FFF;}

table.listing_ltBlue_search {border-collapse : collapse;}
table.listing_ltBlue_search td {background: #ffffff;  padding:2px; padding-left:10px; padding-right:10px; color:#000;  text-align:left;  border: 1px #fff solid}
table.listing_ltBlue_search th {padding:2px;  border: 1px #fff solid; padding-left:10px; padding-right:10px;}
table.listing_ltBlue_search thead { background: #83A9C9; color:#FFF; font-size:11px; font-weight:normal; text-align:left;}


table.listing_ltBlue {border-collapse : collapse; }
table.listing_ltBlue td { padding: .3em; border: 1px #fff solid; background: #EAF6D8; }
table.listing_ltBlue th { padding:5px; border: 1px #fff solid; }
table.listing_ltBlue thead { background: #83A9C9; color:#FFF; font-size:11px; font-weight:normal; text-align:left;}

/* categories page */
table tr.trBlue td {
	background-color: #D6E1C5;
	padding-bottom:10px;
	padding-top:6px;
	padding-left:10px;
	padding-right:10px;

}

table tr.trGreen td {
	background-color: #B6C77F;
	padding-bottom:10px;
	padding-top:6px;
	padding-left:10px;
	padding-right:10px;

}

td.dispatch_summary {
border:1px #999999 solid; width:200px; padding:10px;
	}
td.dispatch_summary img{
	display:inline;
	}

td.inline img{
	display:inline;
	}


img.datepick-trigger {
margin:2px;
vertical-align:middle;
left:-36px;
position:relative;
top:-3px;
}

tr.alt td {
	background-color: #ecf6fc;
}


table.tablesorter tbody tr.alt td {background-color: #ecf6fc}

tr.myDragClass td {
    background-color: #eee;
}


/* tables */
table.tablesorter {
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #83A9C9;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
	color:#FFF;
}
table.tablesorter thead tr .header {
	/* background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;*/
	text-decoration: underline;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}

table.tablesorter tbody td.statusRed {

	font-weight:bold;
	color:#FF0000;
	}

table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	/*background-image: url(../img/asc.gif);*/
}
table.tablesorter thead tr .headerSortDown {
	/*background-image: url(../img/desc.gif);*/
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}


#loading {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background: #ddd;
background-color:rgba(255,255,255,.66);color:#808080; /* css3 transparency */
filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=1, startColorStr=#aaffffff, endColorStr=#aaffffff); /* all IEs */
height:100%;
left:0;
position:fixed;
top:0;
width:100%;
z-index:9999999;
}

#loading-content {
-x-system-font:none;
font-size-adjust:none;
font-stretch:normal;
font-variant:normal;
font-weight:normal;
left:50%;
line-height:normal;
margin-left:-125px;
position:fixed;
text-align:center;
top:250px;
width:250px;
}

.whiteBox {
border: 1px solid rgb(0, 0, 0);
width: 666px; padding-top: 5px;
padding-bottom: 5px; padding-left:5px; padding-right:5px;
background-color:#FFF}

label.error {
		display:none;
		background: url('unchecked.gif') no-repeat;
		border:none;
		padding:0; margin:0;
		padding-left: 16px;
		margin-left: .3em;
	}

input.error, select.error { border: 1px solid red;  color:red;
    background-color: #fff;
    background-image:none;
	padding:0; margin:0;
	padding-top:2px;
padding-bottom:2px;
margin-right:15px;
margin-bottom:10px; margin-left:0px; padding-left:0px;}

.report_td_top{border-bottom:solid; border-width:1px; border-bottom-color:#333333;}

.report_td_bottom{border-top:solid; border-width:1px; border-bottom-color:#333333;}

.identifier_first, .identifier_second, .identifier_extra, .comments_first, .comments_second, .comments_extra {margin-left:6px; display:none;

}

.LogoSearchContainer {display:none !important;}

#directionsItinerary {float: left;
font-size: 12px;
overflow-y: auto;
width: 20%;}

.bing {position:absolute; height:100%; width:100%;padding:10px;}

#myMap {float: left; position:relative; width:80%; height:100%; min-width:400px;}

.MicrosoftMap .dd_itinerary li {
	padding: 8px 0px !important;
	}

.MicrosoftMap.dd_directionsPanel {
	padding:0 !important;
	}

.MicrosoftMap .dd_itinerary {display:none;}


#fbContent {
	height: inherit !important;
}

#fbMainDiv {
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.inline-inputs {
	margin-bottom: 10px;
}


.hidden {
	visibility: hidden;
	height: 0px;
}


.hightlighted-tr td, .hightlighted-tr a {
	color: red;
	font-weight: bold;
}

.link-btn {
background: none !important;
    border: none;
    padding: 0 !important;
    font-family: arial, sans-serif;
    color: #069;
    text-decoration: underline;
    cursor: pointer;
}

.inline {
	display: inline;
}

.container.map-and-list {
    display: flex;
	flex-wrap: wrap;
	background: #D6E1C5;
    position: relative;
    left: -10px;
    padding-left: 30px;
    border-radius: 0px;
}

.container-map-route-narrative {
    min-width: 800px;
}

.red-amcah, .orange-timed, .green-fasting {
    margin-top: 6px;
    margin-bottom: 2px;
    color: red;
    font-size: 14px;
}

.orange-timed {
	color: #ff8500;
}

.green-fasting  {
	color: #10ac2f;
}

iframe#AdminContent {
	min-height: 1600px;
    height: 100%;
	
}

.container {
	margin-left: 0px !important;
}

.bodyBox {
	float: none;
}

.container-map-route-narrative {
    min-width: 800px;
    display: flex;
    flex-wrap: wrap;
}

.container-map-route-narrative {
    min-width: 800px;
    display: flex;
    flex-wrap: wrap;
}

.top-text-narrative {
    padding-left: 16px;
    max-width: 300px;
}

div#route-narrative {
    font-size: 13px !important;
}

div#route-narrative div {
	margin-bottom: 6px;
}

.rightTopHeader {
	background-image: 
	  url('../images/header-left-part.jpg'),     /* Left part */
	  url('../images/header-center-part.jpg'),   /* Center part */
	  url('../images/header-right-part.jpg') !important;    /* Right part */
	background-repeat: no-repeat, repeat-x, no-repeat !important;
	background-position: top left, top center, top right !important;
	background-size: 
	auto, 
	calc(100% - 419px) 100%,  /* Center image size: subtracting 419px (left + right width) */
	19px;  /* Right image size: fixed width of 19px */
	
	width: 90% !important;
    height: 50px;
    margin-top: 0px;

		border-top-right-radius: 20px 20px;
		min-width: 800px;
  }


  .warning {
    font-size: 14px;
	background-position: 6px 8px;
}

.warning a {
	font-size: 14px;
	padding-bottom: 6px;
	line-height: 20px;
}


.print_actions {
	margin-top: 16px;
    margin-bottom: 16px;
}


/* exact match */
iframe[src="/secure/dispatch/phleb_orders.cfm"] {
	
	width: 100%;
	max-width: 1800px;
}

/* exact match for route_phlebs.cfm */
iframe[src="/secure/dispatch/route_phlebs.cfm"] {
	width: 100%;
	max-width: 1800px;
}

/* Additional styling for route_phlebs.cfm when it contains the map */
iframe[src="/secure/dispatch/route_phlebs.cfm"] .container-map-route-narrative {
	min-width: 800px;
	display: flex;
	flex-wrap: wrap;
}

iframe[src="/secure/dispatch/route_phlebs.cfm"] .map-and-list {
	margin-top: 0;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 5px;
	border: 1px solid #ddd;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

/* Top-align map with bodyBox2 */
iframe[src="/secure/dispatch/route_phlebs.cfm"] .bodyBox2 {
	margin-bottom: 0;
}

iframe[src="/secure/dispatch/route_phlebs.cfm"] .container-list {
	flex: 0 0 auto;
	margin-right: 20px;
}

iframe[src="/secure/dispatch/route_phlebs.cfm"] .container-map-route-narrative {
	flex: 1;
	min-width: 600px;
	margin-top: 0;
}

/* Stack layout on screens 1500px and below */
@media screen and (max-width: 1500px) {
	iframe[src="/secure/dispatch/route_phlebs.cfm"] .map-and-list {
		flex-direction: column;
	}
	
	iframe[src="/secure/dispatch/route_phlebs.cfm"] .container-list {
		margin-right: 0;
		margin-bottom: 20px;
		width: 100%;
	}
	
	iframe[src="/secure/dispatch/route_phlebs.cfm"] .container-map-route-narrative {
		min-width: auto;
		width: 100%;
	}
	
	iframe[src="/secure/dispatch/route_phlebs.cfm"] .bodyBox {
		float: none !important;
	}
}

  /* Target iframe with route-phlebs-page class */
  iframe.route-phlebs-page {
    width: 100% !important;
    max-width: none !important;
  }

  iframe.route-phlebs-page .bodyBox,  iframe.route-phlebs-page .map-and-list {
	min-height: 720px !important;
  }