#mapDiv {
	padding: 10px;
}

#mapDiv input {
	width: auto !important;
	border:none;
}

.viewer_mainmap {
	border: 1px solid black;
}

.viewer_loading_text {
	width:170px;
	padding:10px;
	background-color:white;
	border:1px solid #eee;
	font-weight:bold;
}

.viewer_loading_text img {
	border:0;
	margin-top:10px;
}

.viewer_keymap {
	border: 1px solid black;
}

.viewer_scalebar {
	height: 22;
	background-color: #bfbfbf;
}

.viewer_scalebar img {
	margin-bottom: -1px;
}

/* DHTML tools */
.lineH, .lineW, .point {position: absolute; background-color:#F00;overflow:hidden;}
.lineH {width:2px;}
.lineW {height:2px;}
.point {width:2px;height:2px;}
.dhtmldiv {position:absolute;left:0;top:0;width:0;height:0;}
.dhtmlDisplay {left:0;top:0;padding:2px 4px;font-size:10px;}

/* switcher */

.switcherContainer {
  position: absolute;
  z-index:2; /* Safari Mac needed */
}

.floatswitcher {
  position:absolute;
  top: -1px;
  right: -1px;
  border: 1px solid black;
  padding: 0;
  margin: 0;
}

.floatswitcher input {
  margin: 0;
  padding: 0;
}

.switcherButton {
  position:absolute;
}

.switcherButton img {
	border: 0;
}

/* keymap */

#keymapContainer {
  right: 0;
  top: 0;
}

#keymapswitcher {
  top: -3px;
  right: -1px;
}

/* legend */

#legendContainer {
  left: 0;
  bottom: 0;
}

#legendswitcher {
  bottom: -5px;
  left: -1px;
}

/* Toolbar above the map */

.toolbar-container {
	width: 548px;
	position: relative;	
}    
   
#map-container {
   	 width: 548px;
   	 position: relative;
}
   
#toolbar {
	position: absolute;
	left: 353px;
	top: -30px;		
}

