/**
 * CSS Reset
 * From Blueprint reset.css
 * http://blueprintcss.googlecode.com
 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img,
q, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1.5;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

table, td, th {
    vertical-align: middle;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

a img {
    border: none;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #FFFFFF;
    text-align: left;
    font-family: Arial, Verdana, sans-serif;
}

/** Map */
.mapApp {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    font-size: 10pt;
    min-height: 500px;
    min-width: 740px;
    width: 100%;
    height: 100vh;
}

.mapApp .mapSidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 20px;
    display: block;
    width: 199px;
    overflow: auto;
    border-right: 1px solid #ccc;
}

.mapApp .mapContent {
    display: block;
    position: absolute;
    top: 0;
    left: 200px;
    right: 0;
    bottom: 20px;
    padding: 0;
    margin: 0;
}

.mapApp .mapFooter {
    clear: both;
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: 0;
    border-top: 1px solid #ccc;
}

/* -- Map ---------------------------------------------- */

.olMap {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 21px;
}

.olMapViewport {
    position:absolute!important;
    width:auto!important;
    height:auto!important;
    top:0; bottom:0; left:0; right:0;
}

.BKGWebMapControlGeocoder .input {
    width: 200px;
}

.BKGWebMapControlSidePanel.left {
    top: 280px;
}

/* .mapSidebar > div { border-bottom: 1px dashed #ccc; } */

/* ---- Layerswitcher ------------------------------------------------------ */

.BKGWebMapControlLayerSwitcher { top: 290px!important; }
.layersDiv div,
.minimizeDiv {
    background-color: transparent;
}

.wmPanel, .wmLayerSwitcherPanel {
    background-color: #fff !important;
    color: #003C88;
    border-right: 1px solid #bbbbbb;
}

.wmPanel.closed, .wmLayerSwitcherPanel.closed { border-right: none; }

.wmPanel h3, .wmLayerSwitcherPanel h3 {
    display: block;
    text-transform: uppercase;
    font-size: 140%;
    padding: 2px 4px 2px 10px;
    margin-bottom: 1px;
    border-bottom: 1px solid #dddddd;
}

.toc dt {
    color: #003c88;
    font-size: 110%;
    padding: 0 2px 2px 3px;
}

.toc > dt {
    background-color: #406da5;
    color: #ffffff;
    font-size: 120%;
    text-transform: uppercase;
    padding: 4px 4px 4px 3px;
}
.toc > dt.opened, .toc > dt.closed { cursor: pointer; background-repeat: no-repeat; background-position: 99% 9px; }

/*.toc .hintergrundkarte { background-color: #96C6F5; }*/
/*.toc .overlays { background-color: #AEDBF5; }*/

/*.toc > dd { border-bottom: 1px dashed #cccccc;}*/

.toc dd { color: #333333; padding: 3px 0 0 0; margin: 1px 0 1px 0; }
.toc dd.closed { padding: 0; margin-top: 0; }

.toc dd dl dt { padding-left: 25px; }
.toc dd .layerEntry { padding-left: 25px; }
.toc dd dl dd .layerEntry { padding-left: 35px; }

.wmPanel .toc .layerEntry.loading {
    background-image: url("../../../../src/main/resources/theme/default/img/loader-blue.gif");
    background-position: 2px 2px;
}

.toc .layerEntry {
    color: #000000;
    margin: 0 0 2px 0;
    padding: 3px;
    border-radius: 3px;
    cursor: pointer;
    background: none;
}

.toc .layerEntry.selected {
    background-color: #e6e6e6;
    background-color: rgba(0, 0, 0, 0.10);
}

.toc .layerEntry.inactive {
    color: #aaaaaa;
    font-style: italic;
}

/* -- Map Info Panel  ---------------------------------------------- */

.mapApp .mapInfo {
    position: absolute;
    bottom: 0;
    height: 20px;
    width: 100%;
    line-height: 20px;
    font-size: 11px;
    vertical-align: middle;
    border-top: 1px solid #ccc;
    background: #fff;
}

#mapStatus {
    position: absolute;
    top: 0;
    left: 5px;
}

#mapCoordinates {
    position: absolute;
    top: 0;
    right: 5px;
}

#mapStatus .GDZToolMeasurementWrapper {
}

#mapStatus .GDZToolMeasurementWrapper select {
    height: 18px;
    font-size: 11px;
}

#mapStatus .GDZToolMeasurementWrapper span {
    margin-left: 5px;
}

.copyright {
    text-align: center;
    font-size: 70%;
    line-height: 20px;
}

/** GetFeatureInfo Styles*/
.bkgWebMapPopup table {
    background-color: #fff;
    font-size: 120% ! important;
}

.bkgWebMapPopup table * {
    color: #000;
}

.bkgWebMapPopup table th {
    padding: 0 3px 0 3px;
}

.wmPanel {
    height: auto !important;
    top: 0;
    bottom: 0;
}

/*.olImageLoadError { display:none; }*/
