body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    border-width: 0px;
    overflow: hidden; /* FIXME: too dangerous */
}

.gw-search {
    /*position:absolute;
     left:0px; top:0px;*/
    position: relative;
    height: 27px;
    width: 100%;
    margin: 2px 0px;
    padding: 0px;
}

.map {
    width: 100%;
    height: 100%;
}

div#map_canvas {
}

/* Common styles */
.label {
    color: #707070;
}

.infowindow {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.infowindow .section {
    padding-top: 6px;
}

.infowindow .section.list {
    max-height: 200px;
    max-width: 400px;
	overflow:auto;
	
    width: expression( this.clientWidth > 399?"400px":"auto");
	height:expression(this.scrollHeight>199?"200px":"auto");

}

.infowindow .section .item {
    padding-top: 2px;
	padding-bottom: 2px;
}

.infowindow .section .item.over {
    background-color: #ffff00;
}

.infowindow a {
	text-decoration: none;
	font-weight: bold;
	color: #707070;
}

.infowindow a:hover {
	color: #000000;
}

.infowindow .section input {
	margin-top: 3px;
}


.gw-search-submit {
	float:right; 
	width:60px; height:25px; 
	margin-right:5px;
	_margin-right:2px;
}

.gw-search-submit input {
	width:60px;
}

.gw-search-input {
	 left:2px; right:72px; height:25px; 
	 margin-right:expression('0px');
	 width:expression((this.parentNode.clientWidth - 82) + 'px'); 
	 float:left;
	 position:absolute !important;
}

.gw-search-input input {
	width:100%;
	position:static !important;
}

.yui-skin-sam .yui-ac-container {
	left:0px;
}

.yui-skin-sam .yui-ac-content {
	left:0px;
}

.yui-skin-sam .yui-ac-input {
}

.gw-logo {
	position: absolute;
	background-image: url('../assets/ad.png');
	width: 45px; 
	height: 45px;
	bottom: 10px; 
	right: 2px; 
	z-index: 255;
	cursor: pointer;
}

.gw-zoom-out-button {
	background-image: url('../assets/zoom_out.png');
	width:32px;
	height:32px;
	position:absolute;
	z-index:255;
	top:0px;
	left:0px;
}

.yui-info-text {
	color: #707070;
}

.gw-location-list {/*width:200px; position:absolute;*/}
.gw-location-list ol {margin:10px; padding:0 0 0 10px;}
.gw-location-list ol li {margin:0px; padding:0px;list-style-type:none;}
.gw-location-list ol li a {text-decoration:none; color:#707070;}
.gw-location-list ol li.selected {}
.gw-location-list ol li.selected a {font-weight:bold;}
.gw-location-list ol li span.hidden {color:#CCCCCC;}

.gw-location-filter {/*position:absolute;*/}
.gw-location-filter ul {margin:0; padding:0; list-style:none;}
.gw-location-filter ul li {margin:0; padding:0; list-style:none; float:left; padding-right:30px; white-space:nowrap;}
.gw-location-filter ul li input {margin-right:10px;}
.gw-location-filter ul li label {/*white-space:nowrap;*/}

.gw-layout-top {
	position:absolute;
	left:0px; top:0px; 
	width:100%;
	z-index: 60;
}

.gw-layout-left {
	position:absolute;
	overflow:auto;
	left:0px; top:0px; bottom:0px;
	
	/* Special hack for ie6&ie7 */
	height:expression((document.documentElement.clientHeight - (parseInt(this.dh) || 0)) + 'px');
}

.gw-layout-main {
	top:0px; bottom:0px;
	left:0px; right:0px;
    position: absolute;
	z-index: 40;
	
	/* Special hack for ie6&ie7 */
	height:expression((document.documentElement.clientHeight - (parseInt(this.dh) || 0)) + 'px');
	width:expression((document.documentElement.clientWidth - (parseInt(this.dw) || 0)) + 'px');
}

.gw-layout-right {
	position:absolute;
	overflow:auto;
	right:0px; top:0px; bottom:0px;
	
	/* Special hack for ie6&ie7 */
	height:expression((document.documentElement.clientHeight - (parseInt(this.dh) || 0)) + 'px');
}

.gw-layout-bottom {
	position:absolute;
	left:0px; bottom:0px;
	width:100%;
}

.routeTablePlaceholder {
	margin-top:15px;
	overflow:auto; 
	height:100px; 
	width:100%;
	}

.routeTable	{
	text-align:right;
	vertical-align:top;
	}
	
.stepRow	{
	}
	
.stepNumber{
	vertical-align:top;
	width:25px;
	}
	
.stepDescription	{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	}

.stepDistance	{
	vertical-align:top;
	padding-right:15px;
	}

.item-selector-header {
    font-weight: bold;
    padding: 10px;
}

a.item-selector-close {
	background: #ffffff url('../assets/close_button.gif') center center no-repeat;
	position: absolute;
	top: 11px;
	right: 11px;
	width: 12px;
	height: 12px;
}

.item-selector {
    overflow: auto;
    height: 166px;
	width: 390px
}

.item-selector li a:hover {
    background-color: #ffff00;
}

.item-selector li {
	padding: 2px 0px 2px 0px;
}

.item-selector li a {
    text-decoration: none;
    color: #333;
}

.yui-overlay-content {
    padding: 3px;
    width: 400px;
    height: 210px;
    border: 1px solid #aaa;
    background-color: #fff;
	border-radius: 9px;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
}

.gw-tooltip {
	background-color:#E8EC8E;
	border:1px solid #AAAAAA;
	font-size:10px;
	padding:2px;
	text-align:center;
	width:120px;
}

#gw-layout-block {
	position:absolute; 
	left:0; top:0;
	right:0; bottom:0;
	background:#eeeeee url('../assets/ajax-loader.gif') center center no-repeat;
	z-index:10000;
	
	opacity: 0.4;                    /* Firefox, Safari(WebKit), Opera */
	-ms-filter: "alpha(opacity=40)"; /* IE 8 */
	filter: alpha(opacity=40);       /* IE 4-7 */
	
	/* Special hack for ie6&ie7 */
	height:expression((document.documentElement.clientHeight) + 'px');
	width:expression((document.documentElement.clientWidth) + 'px');
}
