:root {
  --footer-space: 60px;
}

/* * {
  outline: 1px solid red;
} */
/* --- openlayers --- */
#tiles_wrapper {width: 80%; }
#header_h1 { margin: 0; padding: 6px; border:0; font-size: 20pt; }
#header { height: 46px; padding: 0; background-color: #eee; border: 1px solid #888; }
#subheader { max-width: 100%; height: 12px; text-align: right; font-size: 10px; color: #555; z-index:100}
#map {  border: 1px solid #888; }
div.olMap { max-width: 100%; max-height: 100%} /* overwrite openlayer inline css */
.olImageLoadError { display: none; }
.olControlLayerSwitcher .layersDiv { border-radius: 10px 0 0 10px; }
img.olTileImage {max-width: none; }

/* --- leaflet --- */
/* leaflet map */
html, body, #gshapmap_body { 
    height: 100%; /* calc(100vh - var(--footer-space)); */
    margin: 0;
    /* position:relative; */
}

#leafletmap { 
    height:  100%; 
    max-height: none;
    /* min-height: 300px; */
}

/* --- site --- */
/* site layout */

#gfz_deqhaz16_site_wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#gfz_deqhaz16_lower_elements_wrapper {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}


#gfz_deqhaz16_map_controls_wrapper { 
    height:100%; 
    padding:0; margin: 0; /*min-width:250px;*/ 
}

#gfz_deqhaz16_map_wrapper {
  height: 100%;
  max-height: none;
  min-height: 0;
  padding: 0;
  margin: 0;
}

/* #gfz_deqhaz16_map_wrapper {
    position: relative;
} */

/* #emptyGeojsonMessage {
    position: absolute;
    transform: translate(-50%, -50%) rotate(-20deg);
    z-index: 99999;
    pointer-events: none;
    white-space: nowrap;
    font-size: 3rem;
    font-weight: bolder ;
    color: rgba(200,100,200,0.45);
} */

#emptyGeojsonMessage {
    position: absolute;
    z-index: 99999;

    font-weight: bold;
    color: rgba(120,120,120,0.45);
    color: rgba(200,100,200,0.45);
    pointer-events: none;
    white-space: nowrap;
}

.map_wrapper {
  height: 100%;
}

#gfz_deqhaz16_maptab {
  height: 100%;
  min-height: 0;
  padding: 0;
}

.map_controls_element {width:auto; margin-right: 8px; margin-top:4px; margin-bottom:4px;
                       position: relative;
                       /* top: 5%; */
                       /*transform: translateY(-50%);*/
                      }

.gfz_deqhaz16_dropdown-menu {z-index:2999}

.gfz_deqhaz16_slider_input { float: left; max-width: 40px }

/* top bar */
#search_submit_txtbox, #search_submit_button { float: left; width: 50%; z-index: 101; overflow: visible; position:relative}
.gfz_deqhaz16_ui_element { width: 100%; /*max-width: 256px;*/ overflow: auto; }
.gfz_deqhaz16_ui_heading { position: relative; vertical-align: middle; text-align: center; display: block; width: 100%; }
.gfz_deqhaz16_ui_heading span { top: 50%; width: 100%; margin: 0; margin-top: -50px; line-height: 20px; }
.gfz_deqhaz16_ui_footer { position: relative; vertical-align: middle; text-align: left;  width: 100%; padding-top: 15px; }
.gfz_deqhaz16_ui_footer span { font-size: 70%; word-wrap: break-word; display: block; white-space: normal; }
.gfz_deqhaz16_localisation { overflow: auto; white-space: nowrap; }
.input-group-btn { position: static; } /* make dropdown menu as wide as its button */
.dropdown-menu { width: 100%; } /* make dropdown menu as wide as its button */

.gfz_deqhaz16_emec_bb_input { float: left; width: 50% }


/* legend */
.gfz_deqhaz16_legend i {
    border: 2px solid rgba(0,0,255,.6);
    border-radius: 2px;
}

.gfz_deqhaz16_legend, .gfz_deqhaz16_legend_whole {
    font: 14px/16px Arial, Helvetica, sans-serif;
    line-height: 20px;
    color: #555;
    border: 1px solid;
    padding: 3px;
    margin: 3px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.gfz_deqhaz16_legend i, .gfz_deqhaz16_legend_whole i {
    width: 15px;
    height: 15px;
    float: left;
    margin-right: 8px;
    margin-left: 2px;
    margin-top: 1px;
    opacity: 0.7;
}

/* legend inner and parent div */
.gfz_deqhaz16_infolegend_parentdiv { /*height: 100%;*/ }
.gfz_deqhaz16_infolegend_innerdiv { /*height: 100%;*/ padding: 2px; margin-top: 5px; margin-bottom: 5px; border: 1px solid black; border-radius: 5px;}
.gfz_deqhaz16_infolegend_innerdiv h4 { vertical-align: middle; text-align: center }
.gfz_deqhaz16_infolegend_innerdiv span { word-wrap: break-word; display: block; white-space: normal; }

/* geojson overlay vector feature class */
.leaflet-clickable {
    /* pointer-events: none; */
}

/* bootstrap overwrites */
.ui-tooltip {
    /* opacity: 0.8 !important; */
    /* filter:alpha(opacity=100); */
}

.ui-tooltip-content {
    /* opacity: 1 !important; */
    /* filter:alpha(opacity=100); */
}

.tab-pane { overflow-y: auto;         /* make it scrollable */}
#gfz_deqhaz16_tabpanes { position: relative; overflow: auto; margin-top: 15px; }

.panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a { color:#337ab7!important }
.panel-title > a .panel-title > a:focus, :hover { color: #23527c!important; }

/* bootstrap tabscollapse overwrite  */
.panel-group {
    max-height: 92vh;
    overflow: hidden;
    overflow-y: auto;         /* make it scrollable */
}

/* divider */
.gfz_deqhaz16_seperator { border: 1px solid rgba(200,200,200,0.5); margin-top: 5px; margin-bottom: 15px; }

/* bootstrap slider */
.gfz_deqhaz16_slider_wrapper { margin-top: 10px; margin-bottom: 10px; max-width: 100%; }
.slider-horizontal { max-width: 100%; }

/* plotly */
.gfz_deqhaz16_marker_link {
    margin-right: 8px; margin-top: 4px;
}

/* bootstrap textarea */
/*@import url('http://getbootstrap.com/dist/css/bootstrap.css');*/
textarea.form-control {
    width: 550px !important;
    height: 200px !important;
}

/* font awesome */
/* a global solution, which due to a slightly higher CSS specificity will override FontAwesome's .fa rule which specifies line-height: 1 without requiring !important on the property:
 * see: https://stackoverflow.com/questions/17309928/how-to-center-text-vertically-with-a-large-font-awesome-icon
 */
i.fa {
    line-height: inherit;
}

.gfz_deqhaz16_fa_container {
    border: 1px solid #ccc;
    border-radius: 6px;
    display: inline-block;
    margin: 60px;
    padding: 10px;
}

.gfz_deqhaz16_fa_icon {
    vertical-align: middle;
    font-size: 40px;
}



/* resizable control */
/* .resizable-control-container, .resizable-control-scrollpane { */
/*     padding: 15px 0 5px 0!important; */
/* } */

.resizable-control-container {
    /* min-width: 220px; */
    /* min-height: 20px!important; */
    border-radius: 5px;

}
/*
.footer{
    position: fixed;
    right: 12px;
    bottom: 10px;
    z-index: 2147483647; /* sehr hoch, damit es über der Karte liegt * /
    font-size: 1.5rem;
} */

#gfz_deqhaz16_footer {
    flex: 0 0 auto;
    margin-bottom: 0;
    border-radius: 0;
    align-items: center;  /* vertikal */
    justify-content: flex-end; /* ← nach rechts schieben */
}

#gfz_deqhaz16_footer .container-fluid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 50px;
    width: 100%;
}


#gfz_deqhaz16_footer .navbar-nav > li > a{
    background: rgba(255,255,239,0.9);
    border: 1px solid #ddd;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    margin-left: 16px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
}

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

.overlay{
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2147483647;
    background: rgba(0,0,0,0.55);
}

.overlay.isOpen{ display: block; }

.overlayBox{
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    width: min(1024px, calc(100% - 24px));
    background: #fff;
    border-radius: 10px;
    padding: 16px 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 80vh;        /* maximal 80% der Fensterhöhe */
    overflow-y: auto;        /* vertikale Scrollbar bei Bedarf */
}

.overlayClose{
    float: right;
}


    

/* .resizable-control-button-resize-small { */
/*     right: 20px!important; */
/* } */

/* .resizable-control-button-resize-full { */
/*     right: 0px!important; */
/* } */
#gfz_deqhaz16_tabpanes_row {
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}