html,
body {
    margin: 0;
    padding: 0;
    margin-top: 25px;
    
}

body {
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    /*margin-top: 50px;*/
    background-color: #d8d8d8; /*#d8d8d8*/
    color: #333;
}


a {
    color: #333;
}

h1 {
    font-weight: bold;
}

h2 {
    font-weight: lighter;
}


.input-group-addon {
    padding-top: 0px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 0px;
    border: 0px;
    border-radius: 0px;
}
.nav-tabs {
    border-bottom: 0px solid white;
}

.tab-pane {
  padding-top: 0px;
}

.leaflet-container{
   height:300px;
}

.dashboardbox {
    padding: 20px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    background-color: white;
    color: #333;
    text-align: center;
}

.dashboardbox .fa{
    font-size: 500%;
    margin-bottom: 20px;
}

.dashboardbox .dropdown-menu .fa{
    font-size: 100%;
    margin-bottom: 5px;
}

a, a:hover {
    text-decoration: none;
    cursor:pointer;
}

.dashboardbox a {
    text-decoration: none;
    cursor:pointer;
}

.dashboardbox a:hover{
    text-decoration: none;
    cursor:pointer;
}

.dashboardbox:hover {
    background-color: #222;
    cursor:pointer;
}

.dashboardbox:hover .clickBox,
.dashboardbox:hover .clickBox a{
    color: white;
    cursor:pointer;
}


.headerbox {
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    background-color: #222;
    color: white;
}

form {
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    background-color: white;
}

form:hover,
.headerbox:hover,
.dashboardbox:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.btn-group {
    margin-bottom: 20px;
}


.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #ff8914; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
}

.loader-small {
    border: 7px solid #f3f3f3; /* Light grey */
    border-top: 7px solid #ff8914; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.label-baulich {
    background-color: #76af28;
}
.label-historisch {
    background-color: darkorange;
}
.has-success {
    /*background-color: greenyellow;*/
}
.has-error {
    /* border-width: 2px;
    animation: blink .5s step-end infinite alternate;*/
}
.ref-success {
    /*background-color: greenyellow;*/
}
@keyframes blink {
    50% {
        border: 2px solid #d9534f;
    }
}
.ref-error {
    /*border: 2px solid #d9534f;*/
    border-width: 2px;
    animation: blink .5s step-end infinite alternate;
}






#ofu-banner {
    width: 100%;
    height: 100px;
    /*border-radius: 0px;
    border-top-right-radius: 40px;*/
    padding: 15px;
    overflow: hidden;
    
    
    margin-bottom: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#ofu-banner:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

#ofu-banner h1 {
    letter-spacing: 0.01em;
    font-size: 25.2px;
    line-height: 1.0;
    margin: 0px;
}

#ofu-banner h2 {
    letter-spacing: 0.01em;
    font-size: 14px;
    line-height: 1.0;
    margin: 0px;
}

#ofu-banner img {
    margin-top: 10px;
    height: 70%;
    float: right;
    margin-right: 30px;
}

#ofu-banner #ub-logo, 
#ofu-banner #ub-logo, 
#ofu-banner #ub-logo {
    float: right;
    height: 100%;
}

#ofu-banner #ub-logo img {
    height: 100%;
    margin: 0px;
}



.ofu-banner-black {
    background-color: #222;
    color: white;
}


.ofu-banner-dark {
    background-color: #00457d;
    background-image: linear-gradient(to bottom,#00457d 10%,#336a97 85%,#336a97 95%);
    color: white;
}

.ofu-banner-light {
    background-color: #e6ecf2;
    color: #00457D;
}

.ofu-banner-beige {
    background-color: #dadada;
    color: black;
}





.y {
    color: #d1d13e;
}

.g {
    color: yellowgreen;
}

.b {
    color: blue;
}

.r {
    color: red;
}






.leaflet-container {
    height: 100vh;
    width: 100vb;
}



#controls-left,
#controls-right {
    height: auto;
    position: absolute;
    top: 80px;
    width: 50px;
    text-align: center;
    z-index: 900;
}


#controls-left {
    left: 20px;
}


#controls-right {
    right: 20px;
}

#controls-left button,
#controls-right button {
    color: white;
    width: 100%;
}
#controls-left button:hover,
#controls-right button:hover {
        background-color: rgba(0, 0, 0, 0.8); 

}





#controls-left .btn-secondary,
#controls-right .btn-secondary {
    background-color: rgba(0, 0, 0, 0.5); 
}


#listview {
    height: auto;
    max-height: 85vh;
    overflow: scroll;
    position: absolute;
    left: 20px;
    top: 80px;
    width: 320px;
    text-align: left;
    z-index: 900;
    
    display: none;
}


#sidebar {
    height: calc(100vh - 50px);
    overflow: hidden;
    position: absolute;
    left: 90px;
    top: 50px;
    width: auto;
    text-align: left;
    z-index: 900;
    
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    background-color: white;
    color: #333;
}

#sidebar:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
















/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

