/* ==================================================================
 * OL Core (mit Anpassungen
 * ================================================================== */
div.olMap {
    z-index: 0;
    padding: 0 !important;
    /* margin: 0 !important; */
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olMapViewport div {
    background-color: transparent;
    font-size: 9pt;
}

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

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;
}

.olLayerGoogleV3.olLayerGoogleCopyright {
    right: auto !important;
}

.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;
}

.olLayerGoogleV3.olLayerGooglePoweredBy {
    bottom: 15px !important;
}

.olControlAttribution {
    font-size: smaller !important;
    left: 0;
    bottom: 0;
    padding: 4px 4px 3px 4px;
    background-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-top-right-radius: 3px;
    position: absolute;
    display: block;
}

.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller ! important;
}

.olControlScaleLine {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 25px;
    background-color: #fff ! important;
    border: 1px solid #fff;
    opacity: 0.7;
}

.olControlScaleLineBottom {
    font-size: xx-small ! important;
    display: none;
}

.olControlScaleLineTop {
    font-size: xx-small ! important;
    border: solid 2px black;
    border-top: none;
    text-align: center;
}

.olControlPermalink {
    display: block;
    position: absolute;
    font-size: smaller;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
}

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

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

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background: #130085 !important; /* fallback for IE - IE6 requires background shorthand*/
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.75) !important;
    border-radius: 4px 0 0 4px;
}

.olControlOverviewMapMaximizeButton {
    background: #130085 !important; /* fallback for IE - IE6 requires background shorthand*/
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.75) !important;
    border-radius: 4px 0 0 4px;
}

.olControlOverviewMapMinimizeButton,
.olControlOverviewMapMaximizeButton {
    height: 18px;
    width: 18px;
    right: 0;
    bottom: 80px;
    cursor: pointer;
}

.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;
}

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

}

.olControlNavigationHistoryPreviousItemActive {
    background-position: 0 0;
}

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

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

.olControlNavigationHistoryNextItemInactive {
    background-position: -24px -24px;
}

div.olControlSaveFeaturesItemActive {
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}

div.olControlSaveFeaturesItemInactive {
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0 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: 0;
    left: 9px;
    background-position: 0 0;
}

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

.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0;
    background-position: 0 18px;
}

.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

/** Controls im ZoomPanel */
.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: 0;
    left: 0;
    background-position: 0 0;
}

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

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

/*
 * When a potential text is bigger than the image it move the image
 * with some headers (closes #3154)
 */
.olControlPanZoomBar div {
    font-size: 1px;
}

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

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

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

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}

.olDragDown {
    cursor: move;
}

.olDrawBox {
    cursor: crosshair;
}

.olControlDragFeatureOver {
    cursor: move;
}

.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

/**
 * Layer switcher
 */
.olControlLayerSwitcher {
    position: absolute;
    top: 25px;
    right: 0;
    width: 20em;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    color: white;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv {
    background: #130085; /* fallback for IE - IE6 requires background shorthand*/
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.75);
    padding: 5px 10px;
    border-radius: 4px 0 0 4px;
}

.olControlLayerSwitcher .layersDiv .baseLbl,
.olControlLayerSwitcher .layersDiv .dataLbl {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv,
.olControlLayerSwitcher .layersDiv .dataLayersDiv {
    padding-left: 10px;
}

.olControlLayerSwitcher .maximizeDiv {
    background: #130085; /* fallback for IE - IE6 requires background shorthand*/
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.5);
    border-radius: 4px 0 0 4px;
}

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.olBingAttribution {
    color: #DDD;
}

.olBingAttribution.road {
    color: #333;
}

.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
    color: #EEE;
}

.olGoogleAttribution {
    color: #333;
}

span.olGoogleAttribution a {
    color: #77C;
}

span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
    color: #EEE;
}

/**
 * Editing and navigation icons.
 * (using the editing_tool_bar.png sprint image)
 */
.olControlNavToolbar,
.olControlEditingToolbar {
    margin: 5px 5px 0 0;
}

.olControlNavToolbar div,
.olControlEditingToolbar div {
    margin: 0 0 5px 5px;
}

.olControlEditingToolbar div {
    background-image: url("img/editing_tool_bar.png");
    background-repeat: no-repeat;
    width: 24px;
    height: 22px;
    cursor: pointer
}

.olControlNavToolbar div,
.olControlPanel div {
    background-image: url(img/tools.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.olControlPanel div {
    margin-right: 5px;
    float: left;
}

/* positions */
.olControlEditingToolbar {
    right: 0;
    top: 0;
}

.olControlNavToolbar {
    top: 295px;
    left: 9px;
}

/* layouts */
.olControlEditingToolbar div {
    float: right;
}

/* individual controls */
.olControlEditingToolbar .olControlNavigationItemInactive {
    background-position: -103px -1px;
}

.olControlEditingToolbar .olControlNavigationItemActive {
    background-position: -103px -24px;
}

.olControlWMSGetFeatureInfoItemActive,
.olControlSelectFeatureItemActive {
    background-image: url(img/tools.png);
    background-position: 0 -22px;
    width: 22px;
    height: 22px;
}

.olControlWMSGetFeatureInfoItemInactive,
.olControlSelectFeatureItemInactive {
    background-image: url(img/tools.png);
    background-position: 0 0;
    width: 22px;
    height: 22px;
}

.olControlNavToolbar .olControlZoomToMaxExtentItemInactive,
.olControlPanel .olControlZoomToMaxExtentItemInactive {
    background-position: -66px -22px;
}

.olControlNavToolbar .olControlZoomBoxItemActive,
.olControlPanel .olControlZoomBoxItemActive {
    background-position: 0 -66px;
}

.olControlNavToolbar .olControlZoomBoxItemInactive,
.olControlPanel .olControlZoomBoxItemInactive {
    background-position: 0 -44px;
}

.olControlNavToolbar .olControlNavigationHistoryNextItemActive,
.olControlPanel .olControlNavigationHistoryNextItemActive {
    background-position: -44px -22px;
}

.olControlNavToolbar .olControlNavigationHistoryNextItemInactive,
.olControlPanel .olControlNavigationHistoryNextItemInactive {
    background-position: -44px 0;
}

.olControlNavToolbar .olControlNavigationHistoryPreviousItemActive,
.olControlPanel .olControlNavigationHistoryPreviousItemActive {
    background-position: -22px -22px;
}

.olControlNavToolbar .olControlNavigationHistoryPreviousItemInactive,
.olControlPanel .olControlNavigationHistoryPreviousItemInactive {
    background-position: -22px 0;
}

.olControlNavToolbar .olControlNavigationItemActive,
.olControlPanel .olControlNavigationItemActive {
    background-position: -22px -66px;
}

.olControlNavToolbar .olControlNavigationItemInactive,
.olControlPanel .olControlNavigationItemInactive {
    background-position: -22px -44px;
}

.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
    background-position: -77px -1px;
}

.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
    background-position: -77px -24px;
}

.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
    background-position: -51px -1px;
}

.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
    background-position: -51px -24px;
}

.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
    background-position: -26px -1px;
}

.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
    background-position: -26px -24px;
}

div.olControlZoom {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #130085; /* fallback for IE - IE6 requires background shorthand*/
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
}

div.olControlZoom a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 18px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 22px;
    width: 22px;
    line-height: 19px;
    background: #130085; /* fallback for IE - IE6 requires background shorthand*/
    background: rgba(0, 60, 136, 0.5);
    filter: alpha(opacity=80);
}

div.olControlZoom a:hover {
    background: #130085; /* fallback for IE */
    background: rgba(0, 60, 136, 0.7);
    filter: alpha(opacity=100);
}

@media only screen and (max-width: 600px) {
    div.olControlZoom a:hover {
        background: rgba(0, 60, 136, 0.5);
    }
}

a.olControlZoomIn {
    border-radius: 4px 4px 0 0;
}

a.olControlZoomOut {
    border-radius: 0 0 4px 4px;
}

/**
 * Animations
 */

.olLayerGrid .olTileImage {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

/* ==================================================================
 * BKGWebMap Erweiterungen
 * ================================================================== */

/**
 * Controls
 */

.BKGWebMapControlPermalink {
    display: block;
    position: absolute;
    font-size: smaller;
}

.BKGWebMapControlPermalink {
    right: 73px;
    bottom: 0;
    padding: 2px 4px 2px 24px;
    background: url(img/map_link.png) 3px 3px no-repeat;
    background-color: rgba(255, 255, 255, 0.75) !important;
    border-radius: 4px 4px 0 0;
}

.BKGWebMapControlPermalink a {
    color: #406cba;
}

.maximizeLink {
    background-color: rgb(0, 60, 136) ! important;
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.5) ! important;
    right: 8px;
    bottom: 8px;
}

.maximizeLink a img {
    border: none;
    display: block;
}

.BKGWebMapControlZoomLevel {
    background: rgb(0, 60, 136) !important;
    background: rgba(0, 60, 136, 0.5) !important;
    border-radius: 4px;
    padding: 0 2px;
    color: #ffffff;
    font-weight: bold;
    left: 40px;
    top: 24px;
    position: absolute;
}


/*  Legende */
.BKGWebMapControlLegend {
    bottom: 0;
    right: 0;
    background-color: rgb(0, 60, 136) ! important;
    background-color: rgba(0, 60, 136, 0.5) ! important;
    border-radius: 4px 0 0 0;
    padding: 2px;
}

.BKGWebMapControlLegend h2 {
    font-weight: bold;
    font-size: 100%;
    color: #ffffff;
    margin: 0;
    padding: 0;
    padding-right: 16px;
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
}

.BKGWebMapControlLegend h2.open {
    background: url("img/legend-toggler-opened.png") no-repeat right 5px;
}

.BKGWebMapControlLegend h2.closed {
    background: url("img/legend-toggler-closed.png") no-repeat right 5px;
}

.BKGWebMapControlLegend dl {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.BKGWebMapControlLegend .visible {
    visibility: visible;
    opacity: 1.0;
    width: 420px;
    height: 300px;
}

.BKGWebMapControlLegend .hidden {
    visibility: collapse;
    opacity: 0.0;
    width: 0;
    height: 0;
}

.BKGWebMapControlLegend dl {
    transition: opacity 0.2s, width 0.2s, height 0.2s;
    -webkit-transition: opacity 0.2s, width 0.2s, height 0.2s;
    -moz-transition: opacity 0.2s, width 0.2s, height 0.2s;
    -o-transition: opacity 0.2s, width 0.2s, height 0.2s;
}

.BKGWebMapControlLegend dt {
    font-weight: bold;
    /*font-size: smaller;*/
    color: #fff;
    margin: 5px 0 2px 0;
    padding: 0;
}

.BKGWebMapControlLegend dd {
    padding: 0;
    color: #fff;
}
.BKGWebMapControlLegend dd:not(:last-child) { border-bottom: 1px solid #ffffff; }

/*
.BKGWebMapControlLegend dd span {
    padding-left: 0.5em;
    font-size: smaller ! important;
}
*/

/* Fenster */
.BKGWebMapControlWindow {
    display: block;
    position: absolute;
    border: 1px solid #999;
    border-radius: 7px;
    background-color: #fff !important;
}

.BKGWebMapControlWindow h1 {
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 2px;
    margin: 0;
    background-color: rgb(0, 60, 136);
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

.BKGWebMapControlWindow.dragging {
    cursor: move;
}

.BKGWebMapControlWindow h1 .windowControl {
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
}

.BKGWebMapControlWindow h1 .windowControl.closed {
    background: url("img/layer-switcher-maximize.png");
}

.BKGWebMapControlWindow h1 .windowControl.opened {
    background: url("img/layer-switcher-minimize.png");
}

.BKGWebMapControlWindow .windowContent {
    overflow: auto;
}

/* Measurement */
.BKGWebMapControlMeasurementItemActive {
    background-position: -44px -66px;
}

.BKGWebMapControlMeasurementItemInactive {
    background-position: -44px -44px;
}

.BKGWebMapControlMeasurementSelect {
    font-size: 90%;
    margin-right: 5px;
}

.olMapViewport .BKGWebMapControlMeasurementWrapper {
    position: absolute;
    bottom: 20px;
    left: 0;
    padding: 0 3px 2px 3px;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.75) !important;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}


/**
 * Toolbars
 */

.BKGWebMapControlNavToolbar { top: 24px; left: 52px; }

.BKGWebMapControlNavToolbar div {
    background-image: url(img/tools.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-right: 5px;
    float: left;
}

.BKGWebMapControlNavToolbar  .olControlZoomToMaxExtentItemInactive { background-position: -66px -22px; }
.BKGWebMapControlNavToolbar  .olControlZoomBoxItemActive { background-position: 0 -66px; }
.BKGWebMapControlNavToolbar  .olControlZoomBoxItemInactive { background-position: 0 -44px; }
.BKGWebMapControlNavToolbar  .olControlNavigationHistoryNextItemActive { background-position: -44px -22px; }
.BKGWebMapControlNavToolbar  .olControlNavigationHistoryNextItemInactive { background-position: -44px 0; }
.BKGWebMapControlNavToolbar  .olControlNavigationHistoryPreviousItemActive { background-position: -22px -22px; }
.BKGWebMapControlNavToolbar  .olControlNavigationHistoryPreviousItemInactive { background-position: -22px 0; }
.BKGWebMapControlNavToolbar  .olControlNavigationItemActive { background-position: -22px -66px; }
.BKGWebMapControlNavToolbar  .olControlNavigationItemInactive { background-position: -22px -44px; }

/**
 * Suche
 */

.BKGWebMapControlSearch,
.BKGWebMapControlGeocoder {
    top: 8px;
    right: 26px;
    z-index: 1005;
}

.BKGWebMapControlSearch .input,
.BKGWebMapControlSearch .searchButton,
.BKGWebMapControlGeocoder .input,
.BKGWebMapControlGeocoder .searchButton {
    display: block;
    float: left;
}

.BKGWebMapControlSearch .input,
.BKGWebMapControlGeocoder .input {
    border: 1px solid #9f9e93;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 2px;
    background-color: #ffffff !important;
}

.BKGWebMapControlGeocoder .input {
    padding: 2px;
    background: no-repeat left 0;
}

.BKGWebMapControlSearch .searchButton,
.BKGWebMapControlGeocoder .searchButton {
    margin-left: 2px;
    padding: 0;
    width: 22px;
    height: 22px;
    overflow: hidden;
    text-indent: -9999px;
    background: url('img/tools.png') no-repeat -66px 0;
}

.BKGWebMapControlSearch .hint, .BKGWebMapControlGeocoder .hint {
    color: #9f9e93;
}

.BKGWebMapControlGeocoder .active {
    background-image: url(img/loading.gif);
    background-position: 0 0;
}

/**
 * Autosuggest
 */
.autosuggest {
    font-size: 90% !important;
    background-color: white !important;
    top: 28px;
    left: 0;
    position: absolute;
    cursor: default;
    border: 1px solid #999999;
    border-radius: 3px;
    overflow-y: scroll;
    max-height: 300px;
}

.autosuggest.hidden {
    display: none;
}

.autosuggest.visible {
    display: block;
}

.autosuggest ul {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
}

.autosuggest ul li {
    margin-top: -3px;
}

.autosuggest ul li {
    margin: 0;
    padding: 0;
    float: left;
    clear: left;
    width: 100%;
}

.autosuggest ul li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
}

.autosuggest .highlight {
    font-weight: normal;
    margin: -1px;
    color: white;
    background-color: #0A246A;
}

.autosuggest .highlight * {
    color: white;
}

/* -- Geocoder HtmlResultList --------------------------------- */

.bkgControlGeocoderListView {
    font-size: 80%;
}

.bkgControlGeocoderListViewSearchTerm {
    font-size: 120%;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 2px 4px 5px;
}

.bkgControlGeocoderListView p {
    padding: 0 2px 4px 10px;
}

.bkgControlGeocoderListViewDidYouMean .didyou {
    color: #dc143c;
}

.bkgControlGeocoderListViewDidYouMean a {
    color: #3366ac;
}

.bkgControlGeocoderListViewResultList {
    padding: 0;
    margin: 0;
}

.bkgControlGeocoderListViewResultListItem {
    border-top: 1px dashed #ccc;
    list-style-type: none;
    padding: 0 2px 2px 10px;
    cursor: pointer;
}

.bkgControlGeocoderListViewResultList .highlighted {
    color: white;
    background-color: #0A246A;
}

.bkgControlGeocoderListViewResultList .featureType {
    color: #666666;
    font-size: 95%;
}

/**
 * CookieCheck
 */
.BKGWebMapControlCookieCheck {
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 1100 !important;
    opacity: 1.0;

    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
}

.BKGWebMapControlCookieCheck.hidden {
    height: 0;
    opacity: 0.0;
}

.BKGWebMapControlCookieCheck.error span {
    background-color: rgb(255, 85, 85);
    background-color: rgba(255, 0, 0, 0.7);
    color: #ffffff;
}

.BKGWebMapControlCookieCheck span {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.5);
    display: block;
    color: #000000;
    font-size: 12px;
    padding: 3px 25px 3px 3px;
    text-align: center;
}

.BKGWebMapControlCookieCheck .close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 17px;
    height: 17px;
    display: block;
    background-image: url(img/close.png);
    cursor: pointer;
}

/**
 * BKG SidePanel
 */

.BKGWebMapControlSidePanel,
.BKGWebMapControlLayerSwitcher {
    height: 22px;
    width: 22px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 19px;
    background-color: #003C88 ! important;
    cursor: pointer;
}

.BKGWebMapControlSidePanel.left,
.BKGWebMapControlLayerSwitcher.left {
    top: 80px;
    left: 0;
    border-radius: 0 4px 4px 0;
}

.BKGWebMapControlSidePanel.left.opened,
.BKGWebMapControlLayerSwitcher.left.opened {
    background: url("img/arrow_left.png") no-repeat 5px 4px;
}

.BKGWebMapControlSidePanel.left.closed,
.BKGWebMapControlLayerSwitcher.left.closed {
    background: url("img/arrow_right.png") no-repeat 5px 4px;
}

.BKGWebMapControlSidePanel.right,
.BKGWebMapControlLayerSwitcher.right {
    top: 80px;
    right: 0;
    border-radius: 4px 0 0 4px;
}

.BKGWebMapControlSidePanel.right.opened,
.BKGWebMapControlLayerSwitcher.right.opened {
    background: url("img/arrow_right.png") no-repeat 7px 4px;
}

.BKGWebMapControlSidePanel.right.closed,
.BKGWebMapControlLayerSwitcher.right.closed {
    background: url("img/arrow_left.png") no-repeat 5px 4px;
}

.olMapViewport {
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
}

.wmPanel, .wmLayerSwitcherPanel {
    position: absolute;
    top: 0;
    display: block;
    padding: 0;
    margin: 0;
    background-color: #003C88 ! important;
    height: 100%;
    overflow: auto;
    color: #ffffff;
    z-index: 2000;
}

.wmPanel.closed, .wmLayerSwitcherPanel.closed {overflow: hidden;}

.wmPanel.left, .wmLayerSwitcherPanel.left { left: 0 }
.wmPanel.right, .wmLayerSwitcherPanel.right { right: 0 }

.wmPanel, .wmLayerSwitcherPanel {
    transition: width 0.2s;
    -webkit-transition: width 0.2s;
    -moz-transition: width 0.2s;
    -o-transition: width 0.2s;
}

.BKGWebMapControlSidePanel {
    transition: left 0.2s;
    -webkit-transition: left 0.2s;
    -moz-transition: left 0.2s;
    -o-transition: left 0.2s;
}

/* BKG LayerSwitcher */

.wmLayerSwitcherPanel dl {
    padding: 0;
    margin: 0;
}

.wmLayerSwitcherPanel .toc {
    display: block;
    height: 100%;
/*    overflow: auto; */
    overflow: visible;
    padding: 0 5px 0 0;
}

.wmLayerSwitcherPanel div {
    background-color: transparent;
    font-size: 9pt;
}

.wmLayerSwitcherPanel .toc dt {
    padding: 2px 0 2px 5px;
    font-weight: bold;
    font-style: normal;
    color: #ffffff;
}

.wmLayerSwitcherPanel .toc dd {
    padding: 0;
    margin: 3px 0 5px 10px;
}

.toc dt.opened, .toc dt.closed { cursor: pointer; background-repeat: no-repeat; background-position: 99% 5px; }
.toc dt.opened { background-image: url("img/legend-toggler-closed.png"); }
.toc dt.closed { background-image: url("img/legend-toggler-opened.png"); }

.toc dd.opened { height: auto; }
.toc dd.closed { height: 0; overflow: hidden; }

.toc dd {
    transition: height 0.2s;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    -o-transition: height 0.2s;
}

.toc .layerEntry {
    margin: 0 0 2px 0;
    padding: 3px;
    color: #ffffff;
    border-radius: 3px;
    cursor: pointer;
}

.toc .layerEntry.loading {
    background-image: url("img/loader-white.gif");
    background-repeat: no-repeat;
    background-position: right 2px;
}

.wmAdvancedLayerEntry {
    margin: 0 0 2px 0;
    padding: 3px;
    color: #ffffff;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.25);
    clear: both;
}

.toc .layerEntry, .wmAdvancedLayerEntry {
    background-color: rgb(0, 45, 102);
    background-color: rgba(0, 0, 0, 0.25);
}

.toc .layerEntry.selected, .wmAdvancedLayerEntry.selected {
    background-color: rgb(64, 109, 165);
    background-color: rgba(255, 255, 255, 0.25);
}

.toc .layerEntry.inactive, .wmAdvancedLayerEntry.inactive {
    color: #aaaaaa;
    font-style: italic;
}

.wmAdvancedLayerEntry .wmLayerTitle { cursor: pointer; }

.wmAdvancedLayerEntry .wmToggleSettingsButton {
    width: 16px;
    height: 16px;
    float: right;
    margin-left: 3px;
    cursor: pointer;
}

.wmAdvancedLayerEntry .wmToggleSettingsButton.opened {
    background: url("img/legend-toggler-closed.png") no-repeat right 5px;
}

.wmAdvancedLayerEntry .wmToggleSettingsButton.closed {
    background: url("img/legend-toggler-opened.png") no-repeat right 5px;
}

.wmAdvancedLayerEntry .wmLayerSettings {
    clear: both;
}

.wmLayerSettings label {
    margin-top: 2px;
    padding: 2px;
    border-top: 1px dotted #ffffff;
    display: block;
    position: relative;
}

.wmLayerSettings div, .wmLayerSettings ul {
    margin-left: 5px;
}

.wmLayerSettings .wmOrder {
    float: right;
}

.wmLayerSettings .wmOrderPrev,
.wmLayerSettings .wmOrderNext {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.wmLayerSettings .wmOrderPrev {
    right: 0;
    background: url("img/legend-toggler-closed.png") right 7px no-repeat;
}

.wmLayerSettings .wmOrderNext {
    right: 16px;
    background: url("img/legend-toggler-opened.png") right 7px no-repeat;
}

.wmAdvancedLayerEntry .wmLayerSettings.closed {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.wmAdvancedLayerEntry .wmLayerSettings.opened {
    visibility: visible;
    height: auto;
}

.wmLayerSwitcherPanel .wmSlider {
    background-color: #333366;
    border: 1px solid #333366;
    position: relative;
    width: 100px;
    height: 10px;
    margin-bottom: 5px;
}

.wmSliderKnob {
    background-color: #DDDDDD;
    height: 10px;
    width: 10px;
    position: absolute;
}

.wmSubLayers {
    padding: 0;
}

.wmSubLayers li {
    cursor: pointer;
    list-style: none;
    margin: 0 2px 2px 0;
    padding: 2px 3px 2px 23px;
    color: #ffffff;
    border-radius: 3px;
    background: url(img/eye.png) no-repeat 3px 4px;
}

.wmSubLayers .active {
    opacity: 1.0;
    background-color: rgb(112, 145, 187);
    background-color: rgba(255, 255, 255, 0.25);
}

.wmSubLayers .inactive {
    opacity: 0.6;
    background-color: rgb(54, 93, 140);
    background-color: rgba(0, 0, 0, 0.25);
}

/**
 * Popups
 */
.bkgWebMapPopup.top { padding-bottom: 6px; background: url("img/popup_top.png") bottom center no-repeat; }
.bkgWebMapPopup.bottom { padding-top: 6px; background: url("img/popup_bottom.png") top center no-repeat; }

.bkgWebMapPopup > div {
    background-color: #333333 !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    /*border: 1px solid #333333;*/
    color: #ffffff;
    border-radius: 4px;
}

.bkgWebMapPopup * {
    color: #ffffff;
}

.bkgWebMapPopup .feature {
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
}

.bkgWebMapPopup .feature h2 {font-size: 120%; }
.bkgWebMapPopup .feature label { font-weight: bold; }

/* BugReporter */



.BKGWebMapControlReportingPanel{
  right: 10px;
  top: 10px;
  width: auto;
  height: 22px;
  border-radius: 4px;
}
.BKGWebMapControlReportingButtonItemInactive{
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7) !important;
  cursor: pointer;
}
p.BKGWebMapControlReportingInactive {
  text-align: center;
  background-color: rgba(0, 60, 136, 0.5);
  color: white;
  height: 20px;
  padding: 2px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
p.BKGWebMapControlReportingActive {
  text-align: center;
  background-color: rgba(242, 3, 3, 0.7);
  color: white;
  height: 20px;
  padding: 2px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.BKGWebMapReportingFormTextarea{
  color: black;
  width: 90%;
}
.BKGWepMapReportingFormSubmit{
  background-color: rgba(242, 3, 3, 0.7);
}
.BKGWebMapReportingFormInputText{
  color: black;
  width: 90%;
}
.BKGWebMapReportingFormTextareaError{
  border: thin solid red;
}
.BKGWebMapReportingFormInputTextError{
  border: thin solid red;
}