:root {
    --color-primary: #FFFFFF;
    --color-secondary: #999999;
    --color-tertiary: #333333;
    --color-primary-contrast: #000000;
    --color-secondary-contrast: #EEEEEE;
    --color-tertiary-contrast: #DDDDDD;
    --header-height: 10vh;
}

.background-color-secondary {
    background-color: var(--color-secondary) !important;
}

.box-shadow-map-elements{
    box-shadow: 0.3rem 0.3rem 0.25rem gray;
}

.headerstyle{
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
}

.headerstyle > div > a > h1 {
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
}

.caption-filter{
    text-align: right;
    vertical-align: bottom;
    font-size: 1em;
    color: black;
    padding: 8px;
}

.caption-top {
    text-align: left;
    vertical-align: bottom;
    font-size: 1.5em;
    color: black;
    padding: 8px;

}

/*
.darken_logo{
    filter: saturate(100%) brightness(0%) !important;
}
*/

.toggle-btn > span {
    color: var(--color-primary-contrast);
}

.toggle-btn {
    border: 0.1rem solid var(--color-primary-contrast) !important;
}

.toggle-btn:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0.25rem var(--color-secondary) !important;
}

.navbar-element {
    color: var(--color-primary-contrast) !important;
}

.navbar-element:focus, .navbar-element:hover {
    color: var(--color-secondary) !important;
}

.infocard-element {
    color: var(--color-secondary-contrast) !important;
}

.infocard-element:hover{
    color: var(--color-tertiary) !important;
}

#datefiltering > div{
    font-size: 1.2rem;
}
#filter-dropdown {
    width: 80vw !important;
    min-width: 80vw !important;
}

#footer{
    height: 4.5vh;
}


#info-dropdown {
    max-height: 80vh;
}

#map {
    width: 100%;
    height: 70vh;
}

#mapoverview {
    width: 100%;
    height: 100%;
    position: fixed;
}

#navbarContent {
    font-size: 1.2rem !important;
}

#searchbtn {
    color: var(--color-primary) !important;
}

#searchbtn:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0.25rem var(--color-secondary) !important;
}

#searchbar {
    width: 100vw;
    max-height: 50vh;
    z-index: 5;
}


#searchres {
    position: absolute;
    max-height: 30vh;
    overflow-y: scroll;
}

#searchres > a{
   padding: 0 0 .2rem .5rem;
}

.form-control:focus{
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.stack-top-left{
    z-index: 9;
}

.stack-top-right{
    z-index: 9;
    top: .7rem;
    right: 2rem;
    width: 12vw;
    min-width: 250px;
}

.stack-bottom-left{
    z-index: 9;
    bottom: .7rem;
    left: 2rem;
}

.stack-bottom-right{
    z-index: 9;
    bottom: .7rem;
    right: 2rem;
}

a:link{
    text-decoration: none;
}
a{
    color: gray;
}

.nav-link:active{
    color: black !important;
}

.nav-link{
    color: dimgray;
}

input:disabled{
    background-color: transparent !important;
}

textarea:disabled{
    background-color: transparent !important;
}

textarea{
    resize: none;
}

.active > .page-link{
    background-color: dimgray;
    border-color: dimgray;
}
.page-link {
    color: dimgray;
}

.header{
    font-size: 1.3em;
    border-bottom: solid;
    border-color: darkgray;
    border-width: .15rem;
    margin: 0 0 1.0rem 0;
}

.headeractivity{
    font-size: 1.3em;
    margin: 0 0 1.0rem 0;
}

.input-field-date{
    width: 12.5rem;
    border-radius: 0!important;
    border-color: gray !important;
    border: 2px solid;
}

.mainheader{
    font-size: 1.1em;
}

.subheader{
    font-size: .6em;
}

.tables{
    overflow-x: scroll;
}

.offcanvas.offcanvas-start {
    bottom: 4.5vh;
}

.offcanvas-backdrop.show {
    opacity: 0;
}
/* border{ border-style: top right bottom left } */

/* XS */
dl.detailed_list {
    margin: 0;
}

.border_top_item {
    border-top: solid !important;
    border-width: .1rem !important;
    border-color: gainsboro !important;
}

dl.detailed_list > dd {
    padding: .25rem .25rem .25rem .5rem;
    margin-bottom: -.1rem;
    border-width: .1rem;
    border-color:  gainsboro;
    border-style: none none solid none;
}

dl.detailed_list > dt {
    padding: .25rem .25rem .25rem .5rem;
    border-width: .1rem;
    border-style: none solid solid none;
    border-color: gainsboro;
    background-color: whitesmoke;
}



/* sm */
@media (min-width: 576px) {
    #info-dropdown {
        max-height: 80vh;
        width: 85vw !important;
    }

    #navlogo {
        max-width: 70%;
    }

    #searchbar {
        width: 350px;
        max-height: 50vh;
        z-index: 5;
    }

    .stack-top-left{
        z-index: 9;
        top: .7rem;
        left: 3.0rem;
    }

    .stack-top-right{
        z-index: 9;
        top: .7rem;
        right: 3.8rem;
    }

}

/* md */
@media (min-width: 769px) {
    #map {
    width: 100%;
    height: 100%;
    position: absolute;
    }
    #info-dropdown {
        max-height: 80vh;
        width: 90vw !important;
    }

    #filter-dropdown {
        width: 35vw !important;
        min-width: 35vw !important;
    }

    .mainheader{
    font-size: 1.3em;
    }
    .subheader{
        font-size: .8em;
    }
}
/* lg */
@media (min-width: 992px) {
    #footer{
        height: 3vh;
    }

    #filter-dropdown {
        width: 25vw !important;
        min-width: 25vw !important;
    }

    .border_top_item_lg {
        border-top: solid !important;
        border-width: .1rem !important;
        border-color: gainsboro !important;
    }

    .offcanvas.offcanvas-start {
        bottom: 3vh;
    }
}

/* xl */
@media (min-width: 1200px) {

}

/**/
@media (min-width: 1400px) {

}

.dropdown-item.selected-filter {
    background-color: lightgray;
}
