div.olMap {
	z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
   -moz-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

div.olControlMousePosition {
    bottom: 0em;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 17px;
    right: 0px;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("img/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive { 
  background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive { 
   background-position: -24px -24px;
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("img/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("img/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("img/editing_tool_bar.png");
  background-repeat: no-repeat;
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-position: -51px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-position: -26px -23px ;                                                                   
}
.olControlSaveFeaturesItemActive { 
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}   

.olControlPanPanel {
    top: 10px;
    left: 5px;
}  

.olControlPanPanel div {
    background-image: url(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0px;
    left: 9px;
    background-position: 0px 0px;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0px;
    background-position: 0px 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
} 

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0px;
    left: 0px;
    background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0px;
    background-position: 0px -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0px;
    background-position: 0px 18px;
}

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

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}
div.olControlOverviewMapElement {
    background: none;
    background: url('img/overview_background.png') no-repeat 0px 0px;
    -moz-border-radius-topleft:0em;
    background-color: #ffffff;
    padding: 10px 0px 0px 10px;
}
div.olControlOverviewMapMinimizeButton {
    bottom: 0px;
}
div.olControlOverviewMapMaximizeButton {
    bottom: 0px;
}


.hsControlPanel {
    width: 300px;
    height: 30px;
    position: absolute;
    top: 10px;
    left: 80px;
    text-align: right;
}
.hsControlPanel div,.HSLayersControlEditing div {
          width:  24px;  
          height: 22px;
          float: left;
          margin-right:5px;
	  cursor: pointer;
      }
div.olControlPanZoomBar {
	cursor: pointer;
}
.hsControlPanel .hsControlQueryPointItemInactive { 
          background-image: url("img/query_point_off.png");
    }

.hsControlPanel .hsControlQueryPointItemActive { 
          background-image: url("img/query_point_on.png");
    }

.hsControlPanel .hsControlQueryPolygonItemInactive { 
          background-image: url("img/query_polygon_off.png");
    }

.hsControlPanel .hsControlQueryPolygonItemActive { 
          background-image: url("img/query_polygon_on.png");
    }

.hsControlPanel .hsControlQueryBoxItemInactive { 
          background-image: url("img/query_box_off.png");
    }

.hsControlPanel .hsControlQueryBoxItemActive { 
          background-image: url("img/query_box_on.png");
    }

.hsControlPanel .hsControlQueryItemInactive{ 
          background-image: url("img/query_point_off.png");
    }

.hsControlPanel .hsControlQueryItemActive { 
          background-image: url("img/query_point_on.png");
    }

.hsControlPanel .olControlHSMapServerQueryItemInactive{ 
          background-image: url("img/query_point_off.png");
    }

.hsControlPanel .olControlHSMapServerQueryItemActive { 
          background-image: url("img/query_point_on.png");
    }

.hsControlPanel .olControlNavigationItemActive,.HSLayersControlEditing .olControlNavigationItemActive  { 
  background-image: url("img/pan_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .olControlNavigationItemInactive,.HSLayersControlEditing .olControlNavigationItemInactive {  
  background-image: url("img/pan_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawBoxItemInactive,.HSLayersControlEditing .hsControlDrawBoxItemInactive { 
  background-image: url("img/draw_box_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawBoxItemActive,.HSLayersControlEditing .hsControlDrawBoxItemActive { 
  background-image: url("img/draw_box_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawPolygonItemInactive,.HSLayersControlEditing .hsControlDrawPolygonItemInactive { 
  background-image: url("img/draw_polygon_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawPolygonItemActive,.HSLayersControlEditing .hsControlDrawPolygonItemActive { 
  background-image: url("img/draw_polygon_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlZoomToBoxItemActive { 
  background-image: url("img/zoom_to_box_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlZoomToBoxItemInactive { 
  background-image: url("img/zoom_to_box_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlSeparatorItemInactive { 
  background-image: url("img/separator.png");
  background-repeat: no-repeat;
  width:  10px;  
  margin-right:0px;
}

.hsControlPanel .hsControlMarkerItemActive { 
  background-image: url("img/draw_marker_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlMarkerItemInactive { 
  background-image: url("img/draw_marker_off.png");
  background-repeat: no-repeat;
}

.hsHelpDiv {
    border: 1px solid black;
    background-color: #ffff99;
    padding: 1px;
}

.olControlLayerSwitcher {
    position: absolute;
    right: 0px;
    top: 25px;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;   
    color: white;   
    background-color: transparent;
}
#olLayersDiv {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 75px;
    background-color: none;        
    width: 100%;
    height: 100%;
}

.olControlLayerSwitcher .olLayersLabel {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    text-decoration: underline;
    color: white;
}

.olControlLayerSwitcher .olDataOrBaseLayersDiv {
    padding-left: 10px;
}

.olControlLayerSwitcher .olLayerGroup {
    margin-left:10px;
    margin-bottom:5px;
}

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

.olMarkerLabel {
    font-size: small;
    color: white;
    background-color: darkblue;
    width: auto;
    padding: 1px;
    border: 1px white solid;
    opacity: 0.7;
    filter:alpha(opacity=70);
    z-index: 10000;
    position: absolute;
}
.hsControlPanel .hsControlDrawFeaturePathItemInactive,.HSLayersControlEditing .hsControlDrawFeaturePathItemInactive { 
  background-image: url("img/draw_line_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlDrawFeaturePathItemActive,.HSLayersControlEditing .hsControlDrawFeaturePathItemActive { 
  background-image: url("img/draw_line_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawFeaturePolygonItemInactive,.HSLayersControlEditing .hsControlDrawFeaturePolygonItemInactive { 
  background-image: url("img/draw_polygon_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlDrawFeaturePolygonItemActive,.HSLayersControlEditing .hsControlDrawFeaturePolygonItemActive { 
  background-image: url("img/draw_polygon_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawFeaturePointItemInactive,.HSLayersControlEditing .hsControlDrawFeaturePointItemInactive { 
  background-image: url("img/draw_point_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDrawFeaturePointItemActive,.HSLayersControlEditing .hsControlDrawFeaturePointItemActive { 
  background-image: url("img/draw_point_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlModifyFeatureItemInactive, .HSLayersControlEditing .hsControlModifyFeatureItemInactive { 
  background-image: url("img/modify_feature_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlModifyFeatureItemActive, .HSLayersControlEditing .hsControlModifyFeatureItemActive { 
  background-image: url("img/modify_feature_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlDragFeatureItemInactive, .HSLayersControlEditing .hsControlDragFeatureItemInactive { 
  background-image: url("img/move_feature_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlDragFeatureItemActive, .HSLayersControlEditing .hsControlDragFeatureItemActive { 
  background-image: url("img/move_feature_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlInfoItemInactive { 
  background-image: url("img/query_point_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlInfoItemActive { 
  background-image: url("img/query_point_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlMeasureLineItemInactive { 
  background-image: url("img/measure_line_off.png");
  background-repeat: no-repeat;
}
.hsControlPanel .hsControlMeasureLineItemActive { 
  background-image: url("img/measure_line_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlMeasureAreaItemInactive { 
  background-image: url("img/measure_area_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlMeasureAreaItemActive { 
  background-image: url("img/measure_area_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlPrinterItemInactive { 
  background-image: url("img/printer_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlPrinterItemActive { 
  background-image: url("img/printer_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlWMSItemInactive { 
  background-image: url("img/add_wms.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlWMSItemActive { 
  background-image: url("img/add_wms.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlWFSItemInactive { 
  background-image: url("img/add_wfs.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlLayerItemInactive { 
  background-image: url("img/add_layer.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlWFSItemActive { 
  background-image: url("img/add_wfs.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlAddPinItemInactive { 
  background-image: url("img/addPin_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlAddPinItemActive { 
  background-image: url("img/addPin_on.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlHSCuzkItemInactive { 
  background-image: url("img/cuzk_off.png");
  background-repeat: no-repeat;
}

.hsControlPanel .hsControlHSCuzkItemActive { 
  background-image: url("img/cuzk_on.png");
  background-repeat: no-repeat;
}

.hsLayerIcon img{
    padding:0px;
    margin: 0px;
    padding-left: 10px;
}

.olControlNavigationHistoryPreviousItemInactive {
    background-position:0 -26px;
}
.olControlNavigationHistoryNextItemInactive {
    background-position:-24px -26px;
}

.olControlNavigationHistoryPreviousItemActive {
    background-position:0 -0px;
}
.olControlNavigationHistoryNextItemActive {
    background-position:-24px -0px;
}

/* legendy v prepinaci vrstev */ 
.olLayerSwitcher .x-tree-node-collapsed .x-tree-node-icon, .olLayerSwitcher .x-tree-node-expanded .x-tree-node-icon, .olLayerSwitcher .x-tree-node-leaf .x-tree-node-icon {
    width: auto;
    height: auto;
}

.HSLayersControlBoxLayerSwitcher {
    font-size:13px; 
    top:10px; 
    right:10px; 
    width:250px; 
    height:200px; 
    filter:alpha(opacity=85);
    -moz-opacity:0.85;
    opacity: 0.85;
}

.HSLayersControlBoxLayerSwitcher .olGroupInactive {
    text-align:center; 
    background:#EEEEEE url(img/tab-strip-bg.gif); 
    padding: 2px; 
    margin:1px; 
    border: 1px #E0E0E0 solid;
}

.HSLayersControlBoxLayerSwitcher .olGroupActive {
    text-align:center;
    background:#EEEEEE;
    padding: 2px;
    margin:1px;
    border: 1px white inset;
}
.HSLayersControlBoxLayerSwitcher .olSublayerActive {
    background:#F8F8F8 url(img/checked.gif);
    background-position: 2px 0px;
    background-repeat:no-repeat;
    margin-top:1px;
    padding:2px;
    padding-left: 18px;
    border: 1px #E0E0E0 solid;
}
.HSLayersControlBoxLayerSwitcher .olSublayerInactive {
    background:#F8F8F8 url(img/unchecked.gif);
    background-position: 2px 0px;
    background-repeat:no-repeat;
    margin-top:1px;
    padding:2px;
    padding-left: 18px;
    border: 1px #E0E0E0 solid;
}

.disabledNode {
    /*background: #eee;*/
}
.disabledNode a span {
    color: #999;
}

.HSLayersControlEditing {
    width: 200px;
    height: 30px;
    position: absolute;
    top: 50px;
    left: 80px;
    text-align: right;
}

/* editing */
.hs-edit-edit {
	background: url("img/edit.png") no-repeat;
	padding-left:16px; 
	height: 16px;
	display: inline-block;
}
.hs-edit-delete {
	background: url("img/delete.png") no-repeat;
	padding-left:16px; 
	height: 16px;
	display: inline-block;
  	margin-left:3px;
}

.hs-edit-msg {
  padding: 10px 10px 10px 42px;
  margin: 10px 20px 10px 20px;
  background: url(img/ok.png) no-repeat #FEFEFE;
  color: #000000;
  font-weight: bold;
}

.hs-edit-header {
		font-weight: bold; 
		text-align: center;
		padding: 5px; 
}

.hs-edit-form {
  padding: 3px;
  background: #EEEEEE;
  font-size: 12px;
  padding-top: 8px;
}

/*jmena poli*/
.odp_pole {background-color: #EFEFEF; font-style: italic; width: 40%}

/*hodnoty*/
.odp_hodn {}

/*tabulka s odpovedi - mrizka*/
.odp_tab  {
	font-family: arial,tahoma,helvetica,sans-serif;
	font-size: 11px;
	border-collapse: collapse;
	width: 100%;
}

.odp_tab td {
  padding:3px;
	border:solid 1px #E0E0E0;
	vertical-align: top;
}

.odp_tab th {
	background: #F9F9F9 url(img/grid3-hrow.gif) repeat-x scroll 0 bottom;
	cursor: default;
	font-weight: bold; 
	vertical-align: top;
	line-height: 25px;  padding: 3px;
}

.hs-query-editbar{
  float: right;
}

/* geo microformat*/
span.geo {display:none}

.olPopup {
    font-family: sans-serif;
    font-size: 10pt;
}

.olPopup .menuDiv .popupMenuItem {
        display: inline;
        margin-right: 3px;
        padding-left: 3px;
}

.olPopup .menuDiv .firstMenuItem{
        border-left: none;
}

.hsPopupContent {
    overflow: scroll;
    left: 8px;
    /*
    border-top: dotted 1px #999;
    border-bottom: dotted 1px #999;
    */
}

.olPopup .popupTitle {
        z-index : 1;
}

.olPopup .popupTitle {
    top : 8px;
    left : 8px;
}

.olPopup .infoDiv, .menuDiv {
        z-index : 1;
        bottom : 40px;
        right : 8px;
        border-top: dotted 1px #999;
}

.olPopup .menuDiv {
    left: 8px;
    right: none;
}


.olPopup .popupTitle {
    font-size: 12pt;
    font-weight: bold;
    /* color: #999; */
}

.olPopup .popupMenuList {
    margin: 0px;
    padding: 0px;
}

.x-view-over {
    background-color:#eee;
}

.x-view-selected {
    background-color:#dfe8f6;
}

.HSLayersControlAttribution {
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}

.HSLayersControlAttribution_window dl {
    /* padding-left: 20px; */
}

.HSLayersControlAttribution_window dl dt {
    border-top: 1px dotted #ccc;
    font-weight: bold;
}
.HSLayersControlAttribution_window dl dd {
    /* margin-left: 20px; */
}

.HSLayersControlAttribution_window dl dt.even,
.HSLayersControlAttribution_window dl dd.even {
    background: #eee;
}

img.add-button {
    width: 17px;
    height: 21px;
    background: url("img/add.png") no-repeat;
}

img.remove-button {
    width: 17px;
    height: 21px;
    background: url("img/delete.gif") no-repeat;
}

.x-tree-node .x-tree-node-over {
    background-image: url("img/delete.gif") no-repeat;
}
