/*html { overflow: hidden; }*/

html, body {
     margin: 0;
     padding: 0;
     height: 100%;
}


#page {
}

#mapcontent {
     margin-top: 10px;
     position: relative;
     float: left;
}

#map {
     /*position: absolute;
     top: 0;
     left: 0;*/
     width: 670px;
     height: 500px;
     border: 1px solid #aaa;
}

#map-wrapper {
     position: relative;
     height: 100%;
     float: left;
}

#sidebarmap {
/*
     position: absolute;
     top: 0;
     left: 690px;
*/
	 float: left;
     width: 270px;
     height: 500px;
     border: 1px solid #aaa;
     overflow: auto;
     background: #ffffff;
     margin-left: 10px;
}

#sidebarmap p {
     margin: 10px;
}

#sidebarmap ul#sidebar-list {
     list-style: none;
     padding: 0;
     margin: 0;
}

#sidebarmap ul#sidebar-list li {
	padding: 0;
}

#sidebarmap ul#sidebar-list li a {
     display: block;
     border: 1px solid #ddd;
     background: #eee;
     margin: 0 5px;
     padding: 4px;
     font: 12px Helvetica, sans-serif;
     text-decoration: none;
     color: #444;
}

#sidebarmap ul#sidebar-list li.current a {
     border: 1px solid #444;
     border-left-width: 3px;
     padding-left: 2px;
}

#sidebarmap ul#sidebar-list li a:hover {
     background: white;
     color: #555;
}

#sidebarmap ul#sidebar-list li a strong {
     display: block;
}
#sidebarmap ul#sidebar-list li a span {
     font-style: italic;
     font-size: 11px;
}

.showClass1 {
	background: #cc0000;
}

.showClass2 {
	background: #009900;
}

.showClass3 {
	background: #0066cc;
}

.showClass4 {
	background: #663399;
}

#window {
	font: 12px Helvetica, sans-serif;
	color: #444;
}

#window a {
	color: #539DC2;
}

/*
body.sidebar-right #map-wrapper { margin-right: 300px; }
body.sidebar-right #sidebar { right: 0; }

body.nosidebar #map-wrapper { margin: 0; }
body.nosidebar #sidebar { display: none; }

body.sidebar-right a#button-sidebar-show,
body.nosidebar a#button-sidebar-hide { display: none; }
*/

#toolbar {
     position: relative;
     width: 100%;
     margin: 0;
}
/* holly hack for IE to get position:bottom right 
   see: http://www.positioniseverything.net/abs_relbugs.html
\*/
* html #toolbar { height: 1px; }
/* */

#toolbar h2 {
     margin: 0 0 -15px 0;
}

#toolbar ul {
     list-style: none;
     padding: 0;
     margin: 0;
}

#toolbar ul#sidebar-controls {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

#toolbar ul li {
     display: inline;
}

#toolbar ul li a {
     padding: 3px 6px;
     color: #444;
     text-decoration: none;
     font-size: 12px;
}

#toolbar ul li a:hover {
     color: #aaa;
     background: #444;
}

#legend {
	text-align: right;
	margin-top: -50px;
}

#alert {
     position: absolute;
     top: 50%;
     left: 0;
     width: 100%;
     text-align: center;   
     display: none;
}

#alert p {
     width: 150px;
     margin: 0 auto 0 auto;
     padding: 10px;
     background: white;
     border: 1px solid #aaa;
}

body.loading #alert { display: block; }

