@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,700';

@media (max-width: 800px) {
    body, html {
        font-family: 'Open Sans', sans-serif;
        font-size: 12px;
        height: 100%;
        overflow: hidden;
        margin: 0;
        color: rgba(0, 0, 0, 0.7);
    }

    h1 img {
        vertical-align: top;
    }

    #wrapper {
        position: relative;
    }

    header {
        width: 100%;
        background: #ffffff;
    }

    header h1 {
        font-size: 4vw;
        padding: 3vw;
        margin: 0;
        border-bottom: 1px solid lightgrey;
    }

    a {
        color: #3366FF;
        text-decoration: underline;
    }

    a:hover {
        color: #4d9ed8;
        text-decoration: underline;

    }

    .top_img {
        height: 20px;
        margin-right: 2vw;
    }

    section {
        width: 100%;
    }

    .map {
        width: 100%;
        height: 80vh;
        border-top: 1px solid lightgrey;
        overflow: auto;
    }

    .section_comp {
        border-top: solid 1px #000000;
        border-bottom: solid 1px #000000;
    }

    .section_comp img {
        margin-left: 150px;
    }

    .form-wrapper {
        z-index: 1000;
        margin: 2vw;
    }

    .form-wrapper input {
        font-size: 4vw;
        width: 70%;
        height: 20px;
        padding: 5px;
        float: left;
        border: 1px solid lightgrey;
        background: #eee;
    }

    .form-wrapper input:focus {
        outline: 0;
        background: #fff;
        box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
    }

    .dbtn-reset {
        display: none;
    }

    #livesearch {
        margin: 0;
        text-align: left;
        background-color: #eee;
        font: normal 12px 'Open Sans', sans;
        z-index: 1001;
    }

    #livesearch a {
        color: #000000;
    }

    .langselector {
        display: none;
    }

    #livesearch a:hover {
        color: #666666;
    }

    #mobileFooterInfoBox h2 em {
        font-size: 18px;
        text-align: left;
        font-weight: 700;
    }

    #mobileFooterInfoBox h2 {
        font-size: 14px;
        text-align: left;
        font-weight: 400;
    }

    small {
        font-size: 10px;
    }

    #ObsBox {
       display: none;
    }

    #infotable td {
        padding: 0 5px;
    }

    #infoTableText {
        min-width: 342px;
    }

    #rollBox {
        width: auto;
        padding: 10px 30px 10px 5px;
        float: left;
        font: normal 12px 'Open Sans', sans;
        border: 0;
        background: #eee;
        border-radius: 2px;
        white-space: nowrap;
    }

    #rollWheel {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #eee;
    }

    .centered {
        position: absolute;
        top: 20px;
        left: calc(50% - 32px);
    }

    #boxtext {
        min-width: 342px;
        float: left;
        font: normal 12px 'Open Sans', sans;
        border: 0;
        background: #eee;
        border-radius: 2px;
        padding: 0px 5px;
        text-align: center;
    }

    footer {
        position: fixed;
        bottom: 0px;
        width: 100%;
        background: #ffffff;
    }

    .footerBox {
        position: absolute;
        height: 70vh;
        width: 100%;
        padding: 3vw;
        border-top: 1px solid lightgrey;
        bottom: 0;
        background: #ffffff;
        z-index: 99;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .footerMinButton {
        float: right;
        margin-right: 50px;
        cursor: pointer;
        overflow: visible;
        position: relative;
        border: 0;
        padding: 0;
        width: 100px;
        font: bold 15px/25px 'Open Sans', sans;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        background: #d83c3c;
        border-radius: 0 0 3px 3px;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    }

    .footerMinButton:hover {
        background: #e54040;
    }

     .vertical-line {
        border-right: 1px solid #000000;
    }

    #mouse-position {
        position: absolute;
        left: 3px;
        top: 655px;
        z-index: 99;
        font-size: 12px;
        background: #ffffff;
        padding: 5px;
    }

    #next-species {
        position: absolute;
        right: 3px;
        top: 655px;
        font-size: 12px;
        background: #ffffff;
        padding: 5px;
    }

    .footerContainer {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .footerItem.enabled {
        margin-right: 3px;
        cursor: pointer;
        padding-left: 10px;
        padding-right: 10px;
        font: bold 15px/25px 'Open Sans', sans;
        color: #fff;
        text-transform: uppercase;
        background: #d83c3c;
        -webkit-border-top-left-radius: 3px;
        -webkit-border-top-right-radius: 3px;
        -moz-border-radius-topleft: 3px;
        -moz-border-radius-topright: 3px;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    }

    .footerItem.disabled {
        margin-right: 3px;
        padding-left: 10px;
        padding-right: 10px;
        font: bold 15px/25px 'Open Sans', sans;
        text-transform: uppercase;
        -webkit-border-top-left-radius: 3px;
        -webkit-border-top-right-radius: 3px;
        -moz-border-radius-topleft: 3px;
        -moz-border-radius-topright: 3px;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        color: #a9a9a9;
        background: #d3d3d3;
    }

    .footerItem.enabled:hover {
        background: #e54040;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-btn-wrapper {
        float: right;
    }

    .mobile-btn {
        background-color: white;
        border: none;
        outline: none;
        padding: 0 0 0 0;
        opacity: 0.7;
    }

    .mobile-btn img {
        height: 32px;
    }

    .mobile-footer-btn-wrapper .mobile-btn {
        padding: 0 6vw 0 6vw;
    }

    .footerItem {
        display: none;
    }

    .footerMinButton {
        display: none;
    }

    .mobile-footer {
        position:fixed;
        left: 0;
        bottom: 0;
        height: 40px;
        width: 100%;
        background: white;
        border-top: 1px solid lightgrey;
    }

    .mobile-footer-btn-wrapper {
        position: absolute;
        margin: 5px;
    }

    .black {

    }

    .grey {
        opacity: 0.2;
    }

    .mobile-hidden {
        display: none;
    }
}

.blue {
    color: #3366FF;
}