@import "/styles/font-raleway.css";
@import "/assets/bootstrap/css/bootstrap.min.css";
@import "/styles/text-alignment.css";

html, body {
    font-family: Raleway, sans-serif;
    background-color: #f8f8f8 !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body.dark {
    background-color: #444444 !important;
}

p {
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 20px;
}

blockquote {
    font-family: Raleway, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 30px;
}

pre {
    font-family: Raleway, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 19px;
}

.header1 {
    font-family: Raleway, sans-serif;
    font-size: 64px;
    font-style: italic;
    font-variant: normal;
    font-weight: bold;
    line-height: 64px;
}

.header2 {
    font-family: Raleway, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 32px;
}

.header3 {
    font-family: Raleway, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 24px;
}

.header4 {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 18px;
}

#main_title_div {
    font-family: Raleway, sans-serif;
    position: relative;
    width: 100%;
    height: 220px;
    background-image: url('/images/title_original.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: black;
    text-align: center;
    color: white;
    padding-top: 1px;
    margin-bottom: 10px;
}

#main_title_div a, #main_title_div form {
    padding-left: 15px;
    padding-right: 15px;
}

a.nolink {
    text-decoration: none;
    color: inherit;
}

a.nolink:hover {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

a.nolink:active {
    text-decoration: none;
    font-weight: bold;
    color: inherit;
}

#main_title_div a.nolink:hover {
    color: white;
}

div.impressum {
    font-family: Raleway, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    font-size: 18px;
    position: absolute;
    left: 0;
    bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 220px;
    overflow: auto;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left;
}

/* Links inside the dropdown */
.dropdown-content a, .dropdown-content span {
    color: black;
    padding: 7px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.dropdown-content span {
    border-top: 2px solid black;
}

/* Show the dropdown menu on hover
.dropdown:hover .dropdown-content {display: block;} */

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Dropdown Button */
.dropbtn, .dropdown-button {
    background-position: 0 0;
    background-repeat: no-repeat;
    color: white;
    border: none;
    cursor: pointer;
}


/* remove caret from bootstrap dropdown */
.dropbtn:empty::after, .dropdown-button:empty::after {
    opacity: 0;
}

.burger-menu {
    background: url("/images/menu.png");
    width: 37px;
    height: 30px;
}

#menu_button {
    background: url("/images/menu.png");
    width: 37px;
    height: 30px;
}

.share-menu {
    background: url("/images/share_button.png");
    width: 32px;
    height: 32px;
}


#share_button {
    background: url("/images/share_button.png");
    width: 32px;
    height: 32px;
}

.share {
    width: 32px;
    height: 32px;
}

.share_title {
    font-size: 18px;
    background-color: #cccccc;
}

.share_copy {
    height: 18px;
    width: 18px;
}

#content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 5px;
}

#content-wrapper-column {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
}

#selection-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bbbbbb;
    padding: 5px;
    position: sticky;
    top: 0;
    z-index: 100;
}

#selection-bar input {
    height: 32px;
    color: black;
    padding: 0 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid gray;
    vertical-align: middle;
}

#selection-bar input.rectangle {
    width: 32px;
    height: 32px;
    padding: 0 2px;
}

#selection-bar select {
    height: 32px;
    padding: 0 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid gray;
    vertical-align: middle;
}

#selection-bar div.block {
    display: inline-block;
    position: relative;
}

#help-link {
    position: absolute;
    left: 3px;
    top: 3px;
}

.help-button {
    padding: 1px 4px;
    z-index: 999;
}

button.dropbtn {
    margin: auto;
}

#image-popup {
    visibility: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #444444;
    overflow-y: auto;
    padding: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.diagram {
    border-radius: 4px;
    overflow: hidden;
    background-color: #f3f3f3;
}

#close-image-popup, #open-meteogram-page {
    margin-bottom: 10px;
}

#link-label {
    position: absolute;
    left: 3px;
    top: 3px;
}

#mapload {
    position: absolute;
    top: 75px;
    left: 255px;
    z-index: 999;
    font-size: 28px;
    color: red;
    visibility: visible;
}

#highlight {
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
    position: absolute;
    width: 30px;
    height: 20px;
    left: -40px;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    border: 1px solid white;
}

@keyframes fadein {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeout {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

#iFrameDiv {
    margin: 0 3px;
    border-radius: 4px;
    overflow: hidden;
}

.spalte {
    display: inline-block;
    position: relative;
    text-align: left;
    max-width: 800px;
}
