@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://maps.google."),url-prefix("http://ditu.google."),url-prefix("http://www.google.com/maps"),url-prefix("http://google.com/maps"),url-prefix("http://google.at/maps"),url-prefix("http://google.com.au/maps"),url-prefix("http://google.com.ba/maps"),url-prefix("http://google.be/maps"),url-prefix("http://google.com.br/maps"),url-prefix("http://google.ca/maps"),url-prefix("http://google.ch/maps"),url-prefix("http://google.cz/maps"),url-prefix("http://google.de/maps"),url-prefix("http://google.dk/maps"),url-prefix("http://google.es/maps"),url-prefix("http://google.fi/maps"),url-prefix("http://google.fr/maps"),url-prefix("http://google.it/maps"),url-prefix("http://google.jp/maps"),url-prefix("http://google.nl/maps"),url-prefix("http://google.no/maps"),url-prefix("http://google.co.nz/maps"),url-prefix("http://google.pl/maps"),url-prefix("http://google.ru/maps"),url-prefix("http://google.se/maps"),url-prefix("http://google.tw/maps"),url-prefix("http://google.co.uk/maps"),url-prefix("http://www.google.at/maps"),url-prefix("http://www.google.com.au/maps"),url-prefix("http://www.google.com.ba/maps"),url-prefix("http://www.google.be/maps"),url-prefix("http://www.google.com.br/maps"),url-prefix("http://www.google.ca/maps"),url-prefix("http://www.google.ch/maps"),url-prefix("http://www.google.cz/maps"),url-prefix("http://www.google.de/maps"),url-prefix("http://www.google.dk/maps"),url-prefix("http://www.google.es/maps"),url-prefix("http://www.google.fi/maps"),url-prefix("http://www.google.fr/maps"),url-prefix("http://www.google.it/maps"),url-prefix("http://www.google.jp/maps"),url-prefix("http://www.google.nl/maps"),url-prefix("http://www.google.no/maps"),url-prefix("http://www.google.co.nz/maps"),url-prefix("http://www.google.pl/maps"),url-prefix("http://www.google.ru/maps"),url-prefix("http://www.google.se/maps"),url-prefix("http://www.google.tw/maps"),url-prefix("http://www.google.co.uk/maps"){

/*hides labels for top-right links*/
/*#topbar-endcol a>.link-text,*/

/*some space to the left of the search*/
#header>#search>#q_form>.skunk-head>.cntrl>.cntrltable>tbody>tr>td:first-child,
#header>#search>#q_form>.skunk-head>.cntrl>.cntrltable .logo-spacer,
/*some big long line down the middle*/
#main_map>div>#ds>#ds-v>.ds.panel-width-start,
/*Sponsored Links in search*/
#topads,
#bottomads,
/*fix for side panel*/
#panel:not(:hover)>div>.leaf_links,
/*sponsored link*/
#main_map>#mclip,
/*sidepanel toggle button*/
#topbar-divider,
/*tip under search*/
.srchcol.controls>.example,
/*dividers*/
#main_map>#ds,
/*shadow from "pointer box"*/
img[src$="/iws3.png"],img[src$="/iws2.png"],
/*extra stuff*/
#guser,#gbarl,#gbarc,#gbar,
/*logo*/
#search #logo,
#search .logo,
/*search info*/
#search #q_form>.form .labels,
/*panel toggle button*/
#paneltoggle
{display:none!important}

/*fix up top area*/
#topbar-startcol{width:auto!important}
#topbar{background-color:#D5DDF3!important}
#links{padding-bottom:5pt!important}
/*move streetview minimap*/
#cb_cross+div,#cb_map{height:200px!important}
#cb_cross+div,#cb_cross+div+div,#cb_map,#cb_resize_toggle{top:auto!important}
#cb_cross+div+div{bottom:200px!important}
#cb_resize_toggle{bottom:192px!important}
#cb_resize_toggle_br,#cb_cross+div,#cb_map{bottom:0!important}
#cb_resize_toggle_br{top:auto!important}
/*red box that shows up when you zoom with mouse wheel*/
#map_magnifyingglass{background:url(chrome://browser/skin/Throbber.gif) no-repeat center!important}
/*move saved search popup*/
#slm{top:4em!important;-moz-border-radius:4pt!important;border:#999 3pt solid!important}
/*resize search box*/
#search>form>div>#q_d{width:20em!important}
#search>form>div>#q_d:focus{width:60em!important;font-weight:bold!important}
/*show side panel on hover*/
#panel{position:absolute!important;top:3em!important;opacity:0!important;width:4pt!important;height:90%!important;left:0!important;-moz-border-radius:8pt!important;border:#999 3pt solid!important;background-color:#fff!important}
#panel:hover{padding-left:4pt!important;width:30%!important;opacity:.8!important}
#rv-content{overflow-y:auto!important;max-height:4em!important}
#panel>#spsizer{overflow-y:auto!important;height:auto!important;max-height:90%!important}
#textviewtoggle{left:auto!important;display:inline!important;right:0!important}
#textviewarrow{left:auto!important;position:relative!important}
/*transparent controls*/
#scalecontrol,#map>#lmc3d,#cb_cross+div,#cb_cross+div+div,#cb_map,#cb_resize_toggle,#map>div[style*="position: absolute; left: 0px; top: 0px; z-index: 10000;"],#map>div[style*="overflow: hidden; width: 59px; height: 302"],#map_overview,#links.bar>span>span,#links.bar>span>a,#map>div[style*="overflow: hidden; width: 59px; height: 2"],#map>div[style*="width: 83px; height: 26px"],#slm,#lyrc,#trafficcontrol,#cbcontrol,#map>div[style^="width: 120px; height: 26"],#map>div[style$="width: 294px; height: 19px;"],#hmtctl>div{opacity:.3!important}
#scalecontrol:hover,#map>#lmc3d:hover,#cb_map:hover,#cb_map:hover+div+div,#cb_map:hover+div+div+div,#cb_map:hover+div+div+div+#cb_resize_toggle,#cb_resize_toggle:hover,#lmc3d:hover+div+div+div+div+div+div+#cbctl,#map>div[style*="position: absolute; left: 0px; top: 0px; z-index: 10000;"]:hover,#map>div[style*="overflow: hidden; width: 59px; height: 302"]:hover,#links.bar>span>span:hover,#links.bar>span>a:hover,#map>div[style*="overflow: hidden; width: 59px; height: 2"]:hover,#map>div[style*="width: 83px; height: 26px"]:hover,#slm:hover,#lyrc:hover,#trafficcontrol:hover,#cbcontrol:hover,#map_overview:hover,#map>div[style$="width: 294px; height: 19px;"]:hover,#map>div[style^="width: 120px; height: 26"]:hover,#hmtctl>div:hover{opacity:.9!important}
/*make it easier to see scale on hover*/
#map>div[style*="left: 7px; bottom: 4px"]:hover{background-color:#FFF!important;color:#000!important}
#map>div[style*="left: 7px; bottom: 4px"]{bottom:3em!important;padding:2pt!important}
/*resize mini-map*/
#map_overview{bottom:1em!important}
#map_overview [style*="width: 120px"],#map_overview[style*="width: 120px"]{width:13em!important;height:13em!important}
#map_overview [style*="width: 111px"]{width:12.5em!important;height:12.5em!important}
/*fix for minimap button*/
#overview_toggle{margin-bottom:8pt!important}
/*move stuff*/
#cb_flash>object,
#search,#paneltabs,#page{position:absolute!important}
#cb_flash>object{top:-2em!important}
#paneltabs{width:auto!important;top:-1em!important}
#search{top:-13pt!important}
#search{left:15em!important}
#paneltabs{right:1em!important}
#page{width:100%!important;height:100%!important;top:0!important;left:0!important}
#cb_panel,#cb_flash,#cb_flash>embed,#map,#main_map,html,body{min-height:100%!important;height:100%!important}
/*show hide controls for info box*/
img[src$="/iw_plus.gif"]{display:block!important;margin:3pt 0 0 1pc!important}
/*info box transparent*/
#map>div:first-child>div>div[style*="z-index: 107"]>div{opacity:.3!important}
#map>div:first-child>div>div[style*="z-index: 106"]:hover+div>div,#map>div:first-child>div>div[style*="z-index: 107"]:hover>div{opacity:.9!important}
/*search box transparent*/
#search,#search .helplinks{opacity:.3!important}
#search:hover,#search:hover .helplinks{opacity:1!important}
#search{z-index:5!important;width:auto!important}
#search:hover .exampleheader,#search:hover .example,#search .helplinks a:hover{background-color:#FFF!important}
#search:hover .exampleheader,#search:hover .example{border:1pt solid #999!important;padding:0 3pt!important;-moz-border-radius:3pt!important}
/*show kml/rss/basic buttons*/
[id^="basichtml"],#view_rss,#view_kml{display:inline!important}
[id^="basichtml"]>[id^="basichtml"]{visibility:hidden!important}
[id^="basichtml"]>[id^="basichtml"]>a{visibility:visible!important}
/*resize map*/
#map{left:0!important;width:auto!important;margin:0!important}
/*remove margins/padding*/
[id^="basichtml"],body{margin:0!important;padding:0!important}
}