body {
    padding: 0;
    margin: 0;
}

#mapcontainer {
    position: relative;
    height: 100%;
    width: 100%;
    /*    display: none;*/
}

#nav {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    border-radius: 1rem;
    z-index: 1000;
}

#map {
    height: 100%;
    width: 100%;
}

#mapfilter {
    position: fixed;
    left: 1em;
    bottom: 2rem;
    width: calc(100% - 2rem);
    z-index: 1000;
    padding: 0.5rem;
    border-radius: 1rem;
}

#maptitle {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    display: inline-block;
}

#maptitle p {
    margin-bottom: 0.25rem;
}

.emissions {
    font-size: 1rem;
    margin-bottom: 0;
}

.planelegend {
    display: inline-block;
    font-size: 0.75rem;
    margin-right: 0.25rem;
    vertical-align: top;
    margin-top: 0.25rem;
    padding: 0.3rem;
    border-radius: 0.2rem;
    font-weight: 700;
    border: 0.5px solid #000;
}

.planelegend:hover {
    cursor: pointer;
}

#selectall,
#selectnone {
    display: inline-block;
    font-size: 0.75rem;
    margin-right: 0rem;
    vertical-align: top;
    margin-top: 0.15rem;
    padding: 0.6rem 0.3rem;
}

#selectall:hover,
#selectnone:hover {
    cursor: pointer;
}

#nologin {
    position: fixed;
    top: 20%;
    left: 15%;
    width: 70%;
    z-index: 1000;
}

#copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

/*#googlebutton {
    position: fixed;
    top: 1rem;
    left: 3rem;
    z-index: 1000;
}*/

#googlebutton {
    display: inline;
}

#patreon {
    display: none;
}

#sorry {
    position: fixed;
    top: 35%;
    left: 25%;
    width: 50%;
    z-index: 1001;
    display: none;
}

@media only screen and (max-width: 1100px) {
    #patreon {
        display: block;
    }
    #promo,
    .extra {
        display: none;
    }
    #nav img {
        width: 50%;
    }
    #nav h1 {
        display: none;
    }
    #nav {
        right: 12.5%;
        width: 75%;
        padding: 0.25rem;
    }
    #mapfilter {
        padding: 0.25rem;
    }
    #planeslegend {
        margin-top: 2.5rem;
    }
    .planelegen {
        font-size: 0.75rem !important;
    }
    #maptitle {
        font-size: 1.25rem !important;
    }
    .emissions {
        font-size: 1rem !important;
    }
    .emissions small {
        font-size: 0.75rem !important;
    }
    #sorry {
        top: 25%;
        left: 20%;
        width: 60%;
    }
}
