v\:shape, v\:stroke { behavior:url(#default#VML); display:inline-block }
v\:rect, v\:roundrect, v\:line, v\:polyline, v\:curve, v\:arc, v\:oval, v\:image, v\:shape, v\:group, v\:skew, v\:stroke, v\:fill { behavior:url(#default#VML); display:inline-block }

#routeMiniMap {overflow:hidden !important;}

/*hide ads*/
#unanimis-default, #unanimis1, #unanimis3,#rhADVERT, #internal-ad-breakdown, #internal-ad-footer,  #overlayMapAd {display:none; !important;}
/*hide page styles*/
#header, #topNav, #mapTab, form#routeoptionsform, #route-right-col, #routeFooter, #footer, .preload, div.routeSummaryBottom,  .distanceLink, .noprintdisphidden, .noprintdispblock, .localmarkerlinks, #default-content,#pp-inputs,#printbar,#overlayMapButton,#printbar-footer,#maptogglecontrols{display: none !important;}
/*reset visible styles*/
body {background:none;}
div.mincontainerdiv.advertOuter,div.advertPageWrapper, #mainContent,#pagecontent {width: 100%}


.printTitle, .printLogo {display: inline; font: 14pt arial;}
#hp-print-1, #hp-print-2 {margin-top:0.6em;margin-bottom:0.6em;}
#route, #routeSummary div p, #routeTable td {font: 12pt arial;}
#routeSummary a {text-decoration:none; color:#000;}
.printTerms {font: 9pt arial; margin-bottom:1em;}
h1 img {vertical-align: middle; margin-top: -10px;}
h1 {color: #111111; font-family: arial,Helvetica,sans-serif; font-size: 1.96em; font-weight: bold; letter-spacing: -0.04em; line-height: 0.9em; margin: 0.3em 0pt 0.2em 0;}
h1 span {color: #0066cc;  font-size: 0.6em; letter-spacing: 0; vertical-align: text-top;}
h2 {font: 0.9em arial; margin: 0.6em 0 0 0; padding: 0; font-weight: bold;}
p {font: 0.9em arial; margin: 0; padding: 0;}
p.center {text-align:center;}
a img {border:0;}

#routeSummary {margin:0.3em 0 0} 

body.printLargeMap #map { height: 530px !important; width: 630px !important; clear: both; margin: 16px 0; padding: 0; border: 0;}
body.printLargeMap #mapcontainer {height: 530px; width: 630px;}

/*body.printLargeMap #map .firstChild {  height:530px !important; width:630px !important;}
body.printLargeMap #map>div {height: 530px !important; width: 630px !important;}*/
body.printSmallMap #map { clear: both; margin: 16px 0; padding: 0; border: 0;height: 234px; width: 315px;} 

body.printHiddenMap #map {display:none;}
body.printHiddenMap #mapcontainer {display:none;}

body.printLargeMap #route {overflow: visible; clear: both; border: 0; width: 630px;} 
body.printSmallMap #route  {overflow: visible;  clear: both; border: 0; width: 630px;} 
body.printHiddenMap #route  {overflow: visible;  border: 0; width: 630px;} 

body.printSmallMap .smallmap {float:none;width:234px;height:236px}

#routeMiniMap {margin-top:1em;}

#print-header-ad {margin:10px auto 20px auto; width:600px; height:74px;}

/* body>#map {display: none;} hides map from ff */
#routeSummary div {padding: 0;}
#routeTable {width: 630px; margin-top: 16px; position: relative;}
#route th {vertical-align:top;border-bottom:1px dashed #ccc;}
#route th.thdirections {text-align:left;padding-left:0.6em;}
#route th.thTotal {padding-left:0.6em;}
div.routeSummaryTop {width: auto;}
div.top, div.fc0SignTop, div.fc1SignTop, div.fc2SignTop, div.fc3SignTop, div.fc4SignTop, div.fc5SignTop, td.sectionandthen {font-weight: bold;}
td.stageOption,td.sectionoptions {display:none;}
td.instruction, td.distance, td.accumDistance, td.fc1Road, td.fc2Road, td.fc3Road, td.fc4Road, td.fc5Road, td.sectiontotake, td.sectiontotal, td.sectionandthen {border-bottom:1px dashed #ccc;vertical-align:top;}
th, td.instruction, td.distance,td.accumDistance, td.sectiontotake, td.sectiontotal, td.sectionandthen, td.fc1Road, td.fc2Road, td.fc3Road, td.fc4Road, td.fc5Road {padding: 0.3em  0 0.3em 0.6em;}
td.instruction br, div.fc0SignBottom, div.fc1SignBottom, div.fc2SignBottom, div.fc3SignBottom, div.fc4SignBottom, div.fc5SignBottom {line-height: 0.1px;}
td.distance, td.accumDistance, td.fc0Road, td.fc1Road, td.fc2Road, td.fc3Road, td.fc4Road, td.fc5Road  {text-align: center; width: 80px;}
td.fc1Road .top, td.fc2Road .top, div.fc1SignTop, div.fc2SignTop {color: #000;}
div.fc1SignTop, div.fc2SignTop, div.fc3SignTop, div.fc4SignTop, div.fc5SignTop {}
div.routeSummaryTop, div.routeSummaryBottom, div.fc1SignTop, div.fc2SignTop, div.fc3SignTop, div.fc4SignTop, div.fc5SignTop, div.fc1SignBottom, div.fc2SignBottom, div.fc3SignBottom, div.fc4SignBottom, div.fc5SignBottom, td.fc1Road, td.fc1Road .top, td.fc1Road .bottom, td.fc2Road, td.fc2Road .top, td.fc2Road .bottom, td.fc3Road, td.fc3Road .top, td.fc3Road .bottom, td.fc4Road, td.fc4Road .top, td.fc4Road .bottom, td.fc5Road {background: none;}
.start {color: #00a34b; font-weight: bold;}
.end {color: #cc0000; font-weight: bold;}
