html,
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #626262;
}
#header {
    background-color: #f7f7f7;
    padding: 20px;
    padding-bottom: 7px;
}
#logos {
    min-width: 235px;
    height: 45px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    text-align: right;
}
#logos img {
    margin-left: 20px;
}
#container {
    position: absolute;
    width: 100%;
    bottom: 0px;
    top: 0px;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}
#map {
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-flex-grow: 1;
}
.googft-info-window {
    white-space: nowrap;
}
.googft-info-window dt {
    border: solid 1px #666;
    width: 20px;
    height: 15px;
    float: left;
}
.googft-info-window dd {
    margin-left: 30px;
}
.googft-info-window dl {
    line-height: 20px;
    margin: 0;
    margin-top: 3px;
}
.colorLegend {
    width: 20px;
    height: 15px;
    float: left;
    margin-right: 8px;
    margin-top: 1px;
    border: solid 1px #666;
}
#pac-input {
    height: 20px;
    font-size: 14px;
    padding: 8px;
    margin-bottom: 20px;
}
#container,
#map,
#header,
#interface_content
/*, #interface, .sub_1, .button_sub_2*/

{
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: -ms-flexbox;
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.button .button {
    display: none;
}

/* Anzeigefenster für Google earth */

#map-canvas {
    -webkit-flex-grow: 1;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

/* Interface */

#interface {
    width: 365px;
    background-color: #5d5d5d;
    color: #ebebeb;
    box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.2);
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}
#interface_content {
    margin: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-direction: column;
}
h1 {
    margin: 0px;
    margin-top: 6px;
    margin-right: 20px;
    font-size: 1.6em;
    font-weight: 400;
    color: #717171;
    line-height: 1.25em;
}
h1 span {
    white-space: nowrap;
}
h1 a {
    text-decoration: none;
    color: #717171;
    font-size: 0.5em;
    margin-right: 1.3em;
}
.button {
    line-height: 1.6em;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    text-decoration: none;
    text-align: left;
    font-size: 17.5px;
    cursor: pointer;
}
.button div {
    margin-left: 0em;
    font-size: 0.94em;
    color: #dbdbdb;
    background-color: #575757;
}
.button div p {
    margin-left: 0.8em;
}
.button div .button div {
    color: #c9c9c9;
    background-color: #505050;
}
.button div .button div p {
    margin-left: 2em;
}
.button div .button div .upload {
    margin-left: 0.8em;
}
.button div .button div .textinput {
    margin-left: 1.2em;
}
.button div .button div .button div {
    color: #bababa;
    background-color: #464646;
}
.button div .button div .button div p,
.button div .button div .button div .upload {
    margin-left: 2.2em;
}
.button div .button div .button div .textinput {
    margin-left: 2.8em;
}
.button div .button div .button div .button div {
    color: #a3a3a3;
    background-color: #404040;
}
.button div .button div .button div .button div p,
.button div .button div .button div .button div .upload {
    margin-left: 4.8em;
}
.button div .button div .button div .button div .textinput {
    margin-left: 8em;
}
.button:first-child {
    margin-top: 0.6em;
    padding-top: 0.5em;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 12px 28px -14px rgba(0, 0, 0, 0.2);
}
.button div .button:last-child {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0px -12px 28px -14px rgba(0, 0, 0, 0.15);
}
.button p {
    margin: 0px;
}
.button p span {
    float: right;
    margin-right: 10px;
    font-size: 16px;
    opacity: 0.3;
    color: #9a9a9a;
}
.button_active,
.button_active:hover {
    color: #88c1a8!important;
    font-weight: 400;
}
.icon_active > p span {
    color: #88c1a8;
    opacity: 1;
}
.button:focus {
    outline: 0 !important;
}
.upload {
    border: none!important;
    background: none;
    padding: 0px;
    font-size: 12px;
    box-shadow: none!important;
}
.textinput {
    width: 18em;
    height: 1em;
    font-size: 0.8em;
}
input.textinput.id_input {
    margin-bottom: 1em;
}
.save {
    color: #D2D2D2;
    text-decoration: none;
    border: 1px solid #999;
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    border-radius: 0.5em;
    margin-left: 0.2em;
}
.bg {
    background-color: #fff;
}
#_bg,
#l_container,
#l_panel {
    box-sizing: border-box;
}
#l_bg {
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    display: table;
    visibility: hidden;
}
#l_container {
    display: table-cell;
    vertical-align: middle;
}
#l_panel {
    width: 300px;
    background: #F4F4F4;
    padding: 20px;
    box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
#l_panel h2 {
    margin-top: 0px;
}
#l_panel input {
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}
.clickbutton {
    color: #666;
    text-decoration: none;
    border: 1px solid #999;
    padding: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.5em;
}
.anleitung {
    color: #999;
    margin-left: 2.2em;
    margin-bottom: 0.5em;
    display: block;
}
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(80, 80, 80, 0.7)!important;
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 600px;
    position: relative;
    margin: 12% auto;
    padding: 5px 20px 13px 20px;
    background-color: #F7F7F7!important;
    color: #000;
    font-size: 1.1em;
    box-shadow: 2px 2px 40px rgba(0, 0, 0, 0.7);
}
.modalDialog li {
    padding-bottom: 0.4em;
}
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #00d9ff;
}
#rating {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-left: 7px;
}
.bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 15px;
}
#rating .barLabel {
    margin-left: 10px;
    font-size: 0.9em;
    margin-top: -3px;
}
.star {
    width: 20px;
    height: 20px;
    background-image: url(pics/star.png);
    opacity: 0.15;
    margin-right: 3px;
    cursor: pointer;
}
.starActive {
    opacity: 0.7;
}
#indicator_values {
    margin: 10px;
    position: absolute;
    border-radius: 3px;
    top: 98px;
    right: 365px;
    width: 270px;
    background-color: #fff;
    color: #666;
    font-size: 0.8em;
    padding-bottom: 10px;
}
#indicator_values h3,
#indicator_values p,
#indicator_values div div {
    margin-left: 10px;
    margin-right: 10px;
}
#indicator_values h3,
#indicator_values p {
    font-size: 1em;
    margin-bottom: 5px;
}
#indicator_values p {
    margin-top: 0px;
}
#indicator_values div div {
    padding: 1px;
    height: 15px;
    background-color: #f2f2f2;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15);
}
#indicator_values div div div {
    height: 13px;
    box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.15);
    margin: 0;
    width: 50%;
}
#total_area div div {
    background-color: rgb(255, 104, 104);
}
#density div div {
    background-color: #ffbf68;
}
#green_area div div {
    background-color: #cceb64;
}
#trees div div {
    background-color: #89d6c7;
}
@media only screen and (max-width:1100px) {
    #header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    #logos {
        text-align: left;
        margin-bottom: 15px;
        margin-left: -20px;
    }
    h1 {
        margin-right: 0;
    }
}
@media only screen and (max-width:785px) {
    #container {
        height: 100%;
        -webkit-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    #interface {
        width: 100%;
    }
    #map {
        height: 300px;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        -webkit-flex-shrink: 0;
    }
    #header,
    #pac-input {
        display: none;
    }
    #interface_content {
        margin: 10px;
    }
    #locator {
        background-color: #fff;
        border-radius: 3px;
        width: 33px;
        height: 33px;
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: center;
        box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    }
    #locator img {
        width: 60%;
        margin-top: 8px;
    }
}
