ul.menubar {
	margin: 0px;
	padding: 0px;
}

ul.menubar li {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	float: left;
	/*width: 150px;
	border: solid 1px black;
	background: white;*/
}

ul.submenu {
	position: absolute;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
	z-index: 10000;
	border: solid 1px black;
	border-bottom: none;
}

ul.submenu li {
	float: none;
	background: white;
	width: 175px;
	/*background: url(images/middlenav_repeat.jpg);*/
	background: #889DBE;
	cursor: default;
	border-bottom: solid 1px black;
}

.Tool {
	border: solid 1px #aaa;
	margin: 3px;
/*	float: left;*/
	display: -moz-inline-box;
	display: inline-block;
	cursor: pointer;
	vertical-align: text-top;

	text-decoration: none;
	color: black;
}

* html .Tool {
 	display: inline;
	vertical-align: top;
}

.Tool:hover {
	border: solid 1px black;
}

.ToolContent {
	height: 20px;
	width: 20px;
	display: block;
}

.ToolText {
	display: none;
	margin-left: 20px;
}

a.selected {
	background-color: #cccccc;
}


body {
	overflow: hidden;
}

#middle {
	position: absolute;
	left: 0px;
	width: 100%;
}

#menubar {
	margin: none;
}

/*** HEADER ***/
#header {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	border-bottom: solid 1px black;
}

#header img {
	border: none;
	margin: 0px;
	padding: 0px;
}

#toolbar {
	width: 100%;
}

/*** FOOTER ***/
#footer {
	position: absolute;
	height: 2em;
	bottom: 0px;
	left: 0px;
	width: 100%;
}

#footer img {
	border: none;
	vertical-align: text-bottom;
}

#footer a {
	color: black;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#coordinate-display .coordinate-type {
	font-weight: bold;
	margin-left: 5px;
}

/*** MIDDLE ***/
#map {
	display: block;
	height: 100%;
	border: solid 1px black;
}

#control-panel {
	position: absolute;
	top: 0px;
	height: 100%;
	width: 20em;
}

.DisplayRight #control-panel {
	right: 0px;
}

.DisplayRight #map {
	margin-right: 20em;
}

/*
 *  Tab Styles
 */

.tab-strip {
	margin-top: .3em;
	border-bottom: solid .1em black;
}

#tab-container {
	overflow: scroll;
}

#catalog-tab {
}

.tab {
	border-top: solid 1px black;
	border-left: solid 1px black;
	border-right: solid 1px black;

	padding-left: 2px;
	padding-right: 2px;

	cursor: pointer;

	margin-left: 1px;
	margin-right: 2px;
	margin-top: 5px;

	background-color: #EEE;
}

.tab-selected {
	border-bottom: solid 1px white;
	background-color: white;
}

.tab-hidden {
	display: none;
}

.tab-visible {
	display: block;
}

.tab-visible td,th {
	font-size: 75%;
}

#service-tab table,td,th {
/*	font-size: 1em;*/
}

/*
 *  CSS for styling service rendering
 */

.service-title {
	display: block;
	font-size: 1.5em;
	padding-top: 3px;
	padding-bottom: 3px;
}

.service-input-parent {
	display: block;
}

.service-input-title {
	font-weight: bold;
}

.service-step-visible {
	display: block;
}

.service-step-hidden {
	display: none;
}

#measuretool-input-total,#measuretool-input-segment {
	text-align: right;
}

.popupContainer {
	overflow-y: auto;
	overflow-x: auto;
}

/*
 *  Some CSS for the Zoom To boxes.
 */

#zoomto-boxes {
	text-align: center;
}

.zoomto-select {
	width: 10em;
}
/*
 *  This contains the custom CSS for the tools on the toolbar
 */

#tool-previous,#tool-next,#tool-zoomin,#tool-zoomout,#tool-pan,#tool-identify,#tool-select,#tool-measure,#tool-measurearea,#tool-fullextent {
	background-image: url('../images/all.png');
	background-repeat: no-repeat;

}

/* Load the GIF version for IE */
* html #tool-previous,* html #tool-next,* html #tool-zoomin,* html #tool-zoomout,* html #tool-pan,* html #tool-identify,* html #tool-select,* html #tool-measure,* html #tool-measurearea,* html #tool-fullextent {
	background-image: url('../images/all.gif');
}

#tool-previous {
	background-position: 2 -188;
}

#tool-next {
	background-position: 2 -248;
}

#tool-zoomin {
	background-position: 2 -548;
}

#tool-zoomout {
	background-position: 2 -578;
}

#tool-pan {
	background-position: 0 -489;
}

#tool-identify {
	background-position: 2 -398;
}

#tool-select {
	background-position: 0 -520;
}

#tool-measure {
	background-position: 0 -428;
}

#tool-measurearea {
	background-position: 0 -458;
}

#tool-fullextent {
	background-position: 2 -218;
}

#tool-add_point {
	background-image: url('../images/toolbar/add.png');
	background-position: 2 2;
	background-repeat: no-repeat;
	padding-left: 2px;
}

#tool-add_point .ToolText,#tool-add_point .ToolContent {
	display: -moz-inline-box;
	display: inline-block;
	width: auto;
}

#tool-add_point .ToolText {
	padding: 2px;
}

#tool-add_polygon {
	background-image: url('../images/toolbar/add.png');
	background-position: 2 2;
	background-repeat: no-repeat;
	padding-left: 2px;
}

#tool-add_polygon .ToolText {
	padding: 2px;
	display: -moz-inline-box;
	display: inline-block;
	width: auto;
}

#tool-add_polygon .ToolContent {
	display: -moz-inline-box;
	display: inline-block;
	width: auto;
}
	
ul.catalog {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
	margin-top: 0px;
	padding-top: 0px;
}

ul.catalog ul.catalog {
	list-style: none;
	margin-left: 0px;
	padding-left: 15px;
}

li.catalog-group,a.catalog-popups {
	background-image: url('../images/all.png');
	background-repeat: no-repeat;
}

li.catalog-group {
	padding-left: 18px;
	background-position: 2 -70;
	cursor: pointer;
}

ul.catalog-group-collapsed {
	display: none;
}

ul.catalog-group-expanded {
	display: static;
}

a.catalog-popups {
	display: -moz-inline-box;
	display: inline-block;
	width: 16px;
	height: 16px;
	background-position: 0 -100;

	cursor: pointer;
}
