/**
 * @Author: 43_GRN
 * @Date:   21.12.2016
 * @Last modified time: 12.11.2025
 */

html {
    position: relative;
    min-height: 100%
}

body {
    margin-bottom: 60px;
    font-family: 'Open Sans', sans-serif
}

code {
    font-size: 80%
}

footer {
    z-index: 1984;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #FFF;
    border-top: 1px solid #ddd;
    text-align: center;
    /* Center text alignment */
}

footer p {
    margin: 0;
    /* Abstand entfernen, um die Zentrierung zu fördern */
    padding: 0;
    /* Abstand entfernen, um die Zentrierung zu fördern */
    font-size: 1em;
}

footer a {
    color: #404040;
}

footer a:hover,
footer a:visited {
    color: #000;
}

.popover-title {
    font-size: .75em;
    text-align: right;
    padding-bottom: 1px
}

.popover-content {
    font-size: .75em;
    white-space: pre;
    padding-top: 0
}

/* .navbar-fixed-top {
    border-color: #ddd;
    background-color: #7ea792;
    min-height: 35px;
} */

/* .navbar-nav {
    background-color: #7ea792
} */

#hochwasser-warnlage {
    position: absolute;
    top: 150px;
    right: 0px;
    width: 300px;
    height: 350px;
}

/* If the screen size is 992px wide or less, hide the element */
@media only screen and (max-width: 992px) {
    #hochwasser-warnlage {
        display: none;
    }
}

#lhp {
    width: 160px;
    display: block;
    position: absolute;
    left: 5px;
    outline-color: white;
    outline-style: solid;
    outline-width: 35px;
    z-index: 24;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    top: 0;
    height: 190px
}

#iframelhp {
    position: absolute;
    border: 0;
    left: -5px;
    height: 100%;
    width: 100%;
    -ms-transform-origin: left top;
    -ms-zoom: 60%;
    -moz-transform-origin: left top;
    -moz-transform: scale(0.60);
    -webkit-transform: scale(0.60);
    -webkit-transform-origin: left top;
    z-index: 20
}


#headerlhp {
    position: absolute;
    color: #404040;
    white-space: nowrap;
    z-index: 27;
    top: -40px;
    /* border-top: 1px solid #ddd */
}

#header-dgj,
p>small,
#header-dgj>a {
    margin-top: 0.3em;
    color: #fff;
}

/* #legendeJahrbuecher {
    position: fixed;
    margin-left: 15px;
    top: 500px;
    width: 280px;
    z-index: 20;
    font-size: .9em
} */

#legendeJahrbuecher a {
    color: #808080
}

#legendeJahrbuecher a:hover {
    color: #404040
}

/* #Tabs {
    position: absolute;
    left: 0px;
    top: 110px;
    z-index: 32
} */

.custom-button {
    width: 100%;
    /* Die volle Breite des Containers */
    display: block;
    /* Jeder Link wird als Blockelement angezeigt */
    text-align: left;
    padding: 10px;
}

.custom-hr {
    border: 0;
    height: 1px;
    /* Höhe der Linie */
    background-color: #dfdddd;
    /* Farbe der Linie */
    margin: 5px 0;
    /* Abstand vor und nach der Linie */
}

#jahrbuecher,
#pegeldaten,
#informationen,
#pegelverzeichnis,
#bericht {
    color: #404040
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    background-color: #f1f1f1
}

#tabjahrbuecher {
    left: 400px;
    top: 0;
}

#tabinformationen,
#tabjahrbuecher {
    visibility: hidden
}

#hauptkarte,
.karte_highlight {
    position: absolute;
    left: 280px;
    top: 90px
}

#hauptkarte {
    z-index: 10
}

.karte_highlight {
    z-index: 20;
    visibility: hidden;
    opacity: .5;
    width: 721px;
    height: 693px
}

#mausi,
#mausiGwk {
    font-style: normal;
    font-weight: bold;
    position: absolute;
    background-color: #FFF;
    top: 400px;
    left: 200px;
    padding: 5px;
    z-index: 1200;
    border-style: solid;
    border-width: .1em;
    border-radius: .3em;
    border-color: #ddd;
    visibility: hidden
}

#mausi_name,
#mausi_gwkname,
#mausi_gwkstatus,
#mausi_gwktxt {
    padding: .3em;
    font-size: .8em;
    padding-bottom: .3em
}

/* #schweiz{
  margin: 47em;
} */
#linkschweiz {
    position: absolute;
    color: #404040;
    left: 470px;
    top: 750px;
    z-index: 20
}

/* Tabelle Pegelindex */
.tr-pegelindex {
    border-bottom: 1px solid #ccc;
}

#table-pegelindex td {
    padding-right: 2em;
    width: 50em;
}

#table-pegelindex th:hover {
    background-color: #f1f1f1;
}

/* Tabellenspalten bleiben beim Scrollen stehen */
#head-pegelindex {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 22;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

#tab-pegelindex {
    overflow-y: auto;
    max-height: 80vh;
    /* Optional: Höhe begrenzen */
    overflow-x: auto;
    /* Horizontaler Scroll */
}

#jahrbuecherpfdindex,
#pegelindex {
    position: relative;
    text-align: left;
    height: auto;
    width: auto;
    padding-left: 50px;
    padding-right: 50px;
    z-index: 21;
    visibility: hidden
}

/* DGJ-Pegelverzeichnis */
.tablesorter-headerAsc {
    background-color: #fff;
    background-image: url("../node_modules/tablesorter/dist/css/images/black-asc.gif");
    background-repeat: no-repeat;
    background-position: center right;
}

.tablesorter-headerDesc {
    background-image: url("../node_modules/tablesorter/dist/css/images/black-desc.gif");
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center right;
}

ul li a {
    color: #808080
}

ul li a:hover {
    color: #404040
}

#aside>ul>li {
    padding-bottom: 10px
}

#map,
#mapbericht {
    position: relative;
    left: 28em;
    top: 2.0em;
    width: 100em;
    height: 55em;
    margin: 1em;
    border: .2em solid #f1f1f1;
    visibility: hidden;
}

.mapex {
    width: 24px;
    height: 24px;
    border-color: #ddd;
    border-width: 1px;
    background: url(../img/glyphicons-372-global-small.png) no-repeat center;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: .5px .5px 0 .5px rgba(74, 74, 74, 1)
}

.mapex:hover {
    cursor: pointer;
    cursor: hand;
    background-color: #f1f1f1
}