* {
	padding: 0px;
	margin: 0px;
}
body {
	/*margin: 0px;
	padding: 0px;
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	font-size: 76%;
	width: 100%;
	height: 100%;*/
	/*font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;*/
	
}

#map_main select,
#map_main textarea,
#map_main input,
#map_main td,
#map_main .defstyle,
#map_main p,
#map_main div {
	font-size: 11px;
	font-family: 'Trebuchet MS', Arial;
}

#map_main p, #map_main ul, #map_main ol, #map_main table {
	margin-bottom: 0.2em;
}



#map_main {
	position: relative;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	padding: 0px;
	margin-top: 5px;
	margin-left: 5px;
	margin-right: 5px;
	border: 1px solid #e8e8e8;
	overflow: hidden;
	min-width: 100px;
	min-height: 100px;
}

* html #map_main {
	position: relative;
	padding-top: 0px;
	padding-bottom: 0px;
	width: expression(document.body.clientWidth < 100? "100px": "100%");
	height: expression(document.body.clientWidth < 100? "100px": "100%");
}
#outermap {
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
}
* html #outermap {
	position: static;
	width: 100%;
	height: 100%;
	padding-left: 0px;
}
#map {
/*	width: 100%;
	height: 100%; */
	background-color: #fff;
}
#gml {
	width: 90%;
	height: 100px;
}

#map_main h2 {
	font-size:1.1em;
	color: #E18C0C;
}

#map_main #FeatureInfo {
	padding: 2px 0px;
	border-bottom: solid 1px #CDCDCD;
}


#map_main .FeatureInfoResponse {
	overflow:hidden;
	padding: 2px 0px;
}

#map_main .FeatureTitle {
	font-size: 1.2em;
	font-weight: bold;
	color: #E18C0C;
}

#map_main .FeatureProperty {
	font-weight: bold;
}

#map_main .FeatureValue {
	font-weight: normal;
}

/* --------------------------------------- */
#map_main .olControlckEditingToolbar  {
    /*float:left;*/
    /*width: 200px;*/
    left: 50px;
    height: 30px;
    padding: 0px 5px; 
    background-color: #F4F4F4;
    opacity: 0.9;
}
#map_main .olControlckEditingToolbar div { 
  float: left;
  width:  20px;
  height: 20px;
  margin: 5px 2px;
  background-position:center;
  background-repeat: no-repeat;
}
#map_main .olControlckEditingToolbar .olControlNavigationItemActive { 
  background-image: url("img/pan.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlNavigationItemInactive { 
  background-image: url("img/pan.png");
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-image: url("img/draw_point.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-image: url("img/draw_point.png");
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-image: url("img/draw_line.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-image: url("img/draw_line.png");
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-image: url("img/draw_poly.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-image: url("img/draw_poly.png");
}
#map_main .olControlckEditingToolbar .olControlDrawFeatureRectangleItemActive { 
  background-image: url("img/draw_rectangle.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDrawFeatureRectangleItemInactive { 
  background-image: url("img/draw_rectangle.png");
}
#map_main .olControlckEditingToolbar .olControlDrawFeatureCircleItemActive { 
  background-image: url("img/draw_circle.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDrawFeatureCircleItemInactive { 
  background-image: url("img/draw_circle.png");
}
#map_main .olControlckEditingToolbar .olControlZoomToMaxExtentItemActive {
  background-image: url("img/world.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlZoomToMaxExtentItemInactive {
  background-image: url("img/world.png");
}
#map_main .olControlckEditingToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/zoom_box.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/zoom_box.png");
}
#map_main .olControlckEditingToolbar .olControlZoomInItemActive { 
  background-image: url("img/zoom_in.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlZoomInItemInactive { 
  background-image: url("img/zoom_in.png");
}
#map_main .olControlckEditingToolbar .olControlZoomOutItemActive { 
  background-image: url("img/zoom_out.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlZoomOutItemInactive { 
  background-image: url("img/zoom_out.png");
}
#map_main .olControlckEditingToolbar .olControlSelectFeatureItemActive { 
  background-image: url("img/select.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlSelectFeatureItemInactive { 
  background-image: url("img/select.png");
}
#map_main .olControlckEditingToolbar .olControlckWMSQueryItemActive { 
  background-image: url("img/information.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlckWMSQueryItemInactive { 
  background-image: url("img/information.png");
}
#map_main .olControlckEditingToolbar .olControlDeleteFeatureItemActive { 
  background-image: url("img/draw_clear_single.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDeleteFeatureItemInactive { 
  background-image: url("img/draw_clear_single.png");
}
#map_main .olControlckEditingToolbar .olControlDeleteAllFeaturesItemActive { 
  background-image: url("img/draw_clear_all.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlDeleteAllFeaturesItemInactive { 
  background-image: url("img/draw_clear_all.png");
}
#map_main .olControlckEditingToolbar .olControlMoveFeatureItemActive { 
  background-image: url("img/move.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlMoveFeatureItemInactive { 
  background-image: url("img/move.png");
}
#map_main .olControlckEditingToolbar .olControlModifyFeatureItemActive { 
  background-image: url("img/measure_edit.png");
  background-color: orange;
}
#map_main .olControlckEditingToolbar .olControlModifyFeatureItemInactive { 
  background-image: url("img/measure_edit.png");
}
#map_main .olControlckEditingToolbar .olControlSplitButtonItemInactive { 
  background-image: url("img/panel_split.png");
  background-repeat: repeat-y;
  width: 5px;
}

.olControlckEditingToolbar .olControlPrintButtonItemActive { 
  background-image: url("img/print.png");
}
.olControlckEditingToolbar .olControlPrintButtonItemInactive { 
  background-image: url("img/print.png");
}

#map_main .olControlckMsgbar {
  background-color: #F4F4F4;
  padding: 5px;
  opacity: 0.8;
  text-align: center;
  font-weight: bold;
  width: 250px;
  /*height: 75px;*/
  overflow: hidden;
}
#map_main .olControlckMsgbar .msgTitle {
	padding: 5px;
}
#map_main .olControlckMsgbar .msgContent {
	height: 20px;
}
#map_main .olControlckMsgbar .msgText {
	padding: 5px;	
}
#map_main .olLayerckPoiXMLTitle {
	font-size: 1.1em;
	letter-spacing: 0.02em;
	font-weight: bold;
	color: #E18C0C;
}
#map_main .olLayerckPoiXMLEnv {
	overflow: hidden;
}
#map_main .olLayerckPoiXMLContent {
	font-size: 0.9em;
	overflow: hidden;
}
#map_main .olLayerckPoiXMLContentDescription {
	overflow: hidden;
	color: #000000;
	text-align: left;
	padding: 2px;
	line-height: 120%;
}
#map_main .olLayerckPoiXMLContentImg {
	border: medium none;
	margin: 4px 2px 4px 12px;
	vertical-align: middle;
}
/* KDVZ Anpassungen */
/* -- LayerSwitcher  Anfang  -- */
#map_main .olControlLayerSwitcher {
	position: absolute;
	top: 10px;
	right: 0px;
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	font-weight: bold;
	margin-top: 3px;
	margin-left: 3px;
	margin-bottom: 3px;
	padding: 0px;
	font-size: 0.8em;
	color: #FFFFFF;
	background-color: transparent;
}

* html #map_main .olControlLayerSwitcher {
}

#map_main div.olLayersDiv {
	padding-top: 5px;
	padding-left: 10px;
	padding-bottom: 5px;
	padding-right: 10px;
	margin: 0px;
	vertical-align: middle;
	/* background-color: #00008B; */
	background-color: #767A81;
	width:100%;
	height:100%;
}

#map_main div.olLayersDiv input {
	border: none;
	background: none;
}

#olLayersDiv input, #olLayersDivOutside input {
	vertical-align: middle;
	padding:0px;
	margin: 0px 2px;
}
#olBaseLayersDiv input {
	vertical-align: middle;
	padding: 0px;
	margin:0px;
}

#map_main .olLayerDivActive,#map_main .olLayerDivInActive,#map_main .olLayerDivOutOfRange {
	/*vertical-align: baseline;*/
	padding: 0px;
	margin: 0px;
}

#map_main .olDataOrBaseLayersDiv {
	padding-left: 10px;
	padding-bottom:10px;
	padding-top:0px;
	padding-bottom:0px;
	margin:0px;
	white-space: nowrap;
	width: 100%;
	font-weight: normal;
	line-height:1.4em;
	overflow:hidden;
}
* html #map_main .olDataOrBaseLayersDiv {
	line-height:1.0em;
}
#map_main .olLayersLabel {
	margin-left: 3px;
	padding:0px;
}

#map_main .olLayerGroup {
	margin-left:10px;
}

#map_main .olGroupLabel {
	font-weight:bold;
	margin-bottom:3px;
	margin-left:3px;
	margin-top:3px;
	text-decoration:underline;
}

#map_main .olSubGroupLabel {
	font-weight:bold;
	margin-bottom:3px;
	margin-left:3px;
	margin-top:3px;
	text-decoration:none;
}

#map_main .olEditLayersProperties {
	top: 0;
	left: 20;
	width: 160;
	height: 30;
	background-color: lightBlue;
	display: none;
	position: relative;
	z-index: 200;
}
/* -- LayerSwitcher  Ende  -- */

#map_main .olControlOverviewMapExtentRectangle {
   cursor: move;
    border: 2px dotted red;
    background-image: url("img/blank.gif")
}


#map_main .olPopupCloseBox {
  background: url("img/close.gif") no-repeat;
  cursor: pointer;
}

#map_main .olFramedCloudPopupContent {
	padding: 5px;
	overflow: auto;
	font-size: 0.9em;
}

#map_main .olControlScaleLineBottom {
	display:none;
}
#map_main div.olControlMousePosition {
 right: 0px;
 left: 10px;
 bottom: 5px;
 width: 200px;
 background-color: #FFFFFF;
 opacity: 0.8;
 filter: alpha(opacity=80);
 font-size: normal;
 }

#map_main .olControlScaleLineTop {
	border-width: medium 1px 1px;
}

#map_main div.olControlScaleLine {
 bottom: 25px;
 background-color: #FFFFFF;
 opacity: 0.8;
 filter: alpha(opacity=80);
}

#frame {
	width: 500px;
}
#queryBar {
	 height: 20px;
	 padding: 5px;
	 width: 100%:
}
#queryForm label {
	font-weight: bold;
}
#queryForm .queryBarFormSelect,.queryBarFormText {
	width: 135px;
}
.olLayersLabel, .olGroupLabel {
				color:#FFFFFF;
			}
#map_main .olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

#infoBusy {
	background-image:url(img/mozilla_giallo.gif);
	background-position:center bottom;
	background-repeat:no-repeat;
	display:inline;
	height:16px;
	position:fixed;
	padding-left: 5px;
	/*right:10px;*/
	width:16px;
}

#queryForm a img {
	border:medium none;
	height:16px;
	padding:2px;
	vertical-align:top;
	width:16px;
}
* html #queryForm a img {
	margin-left:2px;
}

/* Anfang Anpassung Mapfish Druckmodul */
/* toolBar */
#toolBar {
	 height: 16px;
	 padding-left: 5px;
	 padding-right: 5px;
	 padding-top: 0px;
	 padding-bottom: 2px;
}
#printButton a {
	vertical-align: bottom;
	margin-left: 5px;
}
#printButton a img {
	border:medium none;
	height:16px;
	padding:2px;
	vertical-align:top;
	width:16px;
}
* html #printButton a img {
	margin-left:2px;
}
/* Ende Anpassung Mapfish Druckmodul */

#map_main a {
	text-decoration: none;
	font-weight: bold;
	color: #00AADA;
}

#map_main a:hover {
	color: #00AADA;
}

#CoordsForm table {
	margin: 0;
}

#map_main .olMapViewport {
	background-color: #ffffff;
}
/*
#map_main .olPopupContent{
	background: red;
}
#map_maincol #map_main .olPopupContent {
	font-size: 11px;
	margin: 0;
	padding: 0;
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
	line-height: auto;
}

#map_maincol #map_main .olPopupContent p {
line-height: auto;
margin-bottom: auto;
}

#map_maincol #map_main .olPopupContent .olLayerckPoiXMLContent {
line-height: auto;
}

#map_maincol #map_main .olPopupContent .olLayerckPoiXMLTitle {
line-height: auto;
}

#map_maincol #map_main .olPopupContent .olLayerckPoiXMLContentDescription {
line-height: auto;
}



#map_maincol #map_main .olPopupContent .olLayerckPoiXMLContentDescription {
line-height: auto;
}

#map_main .olPopup {
    overflow: hidden;
}

#map_main .olLayerckPoiXMLEnv {
line-height: auto;	
}
*/
table.maptable th {
    font-size: 11px;
}


/* Anfang Anpassung Mapfish Druckmodul */
.olControlPanel  {
    /*float:left;*/
    /*width: 200px;*/
    left: 75px;
    height: 30px;
    padding: 0px 5px; 
    background-color: #FFFFFF;
    opacity: 0.9;
	filter: alpha(opacity=90);
}
.olControlPanel div { 
  float: left;
  width:  20px;
  height: 20px;
  margin: 5px 2px;
  background-position:center;
  background-repeat: no-repeat;
}
.olControlPanel .olControlPrintButtonItemActive { 
  background-image: url("img/print.png");
}
.olControlPanel .olControlPrintButtonItemInactive { 
  background-image: url("img/print.png");
}
/* Ende Anpassung Mapfish Druckmodul */


.external-link {
	background-image:url(./link_extern.jpg);
	background-repeat:no-repeat;
	color:#00AADA;
	font-size:10px;
	font-weight:700;
	padding-bottom:1px;
	padding-left:20px;
	text-decoration:none;
}
