html, body, #map {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

#map {
    cursor: crosshair;
}

#infos_page {
    margin: 0;
    padding: 0;
    margin-top: 32px;
    width: 100%;
    border-top: 2px solid rgba(50, 50, 255, .7);

    position: absolute;
    z-index: 1;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

#infocontents {
    background: rgba(255, 255, 255, .8);
    font-size: 16px;
    width: 100%;
}

#infosummary {
    color: black;
    font-size: 18px;
    drop-shadow: white;
    background: rgba(255, 255, 255, .7);
    font-weight: bold;
    border-top-right-radius: 8px;
    text-align: center;
}

#cursorInfo {
    text-align: center;
    overflow: hidden;
}

#cursorInfo span {
    width: 16%;
    color: #090;
    float: left;
    text-align: center;
}

#graph {
    border: 1px solid black;
    width:79%;
    padding: 0;
    margin: 0 10% 0 10%;
    height: 100px;
    cursor: crosshair;
}

#message {
    margin: -20px -25%;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40px;
    z-index: 1;
    background-color: white;
}

/*
.overlay {
    background-color: rgba(255, 255, 255, .7);
    color: black;
}
*/

#latlng {
    display: block;
    float: right;
    /*
    right: 10px;
    bottom: 10px;
    */
    width: 160px;
    /*height: 16px;*/
    font-size: 12px;
    text-align: center;
    padding: 4px;
    font-family: Consolas, monospace;
}

/*
#search {
    position: absolute;
    left: 40px;
    top: 0;
    width: 35%;
    overflow: visible;
    background: transparent;
    z-index: 1;
}

.tool, #searchcontents {
    background-color: #FFF;
    padding: 6px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border: 1px solid rgb(113, 123, 135);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
}


.tool {
    box-sizing: border-box;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    z-index: 10;
    position: relative;
    display: inline-block;
    cursor: pointer;
}


#searchcontents {
    border-radius: 6px;
    z-index: 11;
    position: absolute;
    top: 40px;
    width: 400px;
}

#searchcontents ul {
    list-style-type: none;
    margin: 1em 0;
    padding: 0;
    overflow: auto;
}

#searchcontents li {
    margin-bottom: 1em;
}

#searchcontents li a, #searchcontents li a:active, #searchcontents li a:visited, #searchcontents li a:hover {
    color: #07D;
    text-decoration: none;
}

#searchcontents li a:hover {
    text-decoration: underline;
}

*/

#tabbar, .page {
    z-index: 100;
    font-family: Arial, sans-serif;
    font-size: 14pt;
    background-color: rgba(0, 0, 0, 0.4);
    color: #FFF;
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    width: 100%;
}

#tabbar {
    padding: 0;
}

#tabbar > span {
    margin: 0;
    padding: 5px 20px;
    display: inline-block;
    cursor: pointer;
}

#tabbar > span:hover {
    background-color: rgba(50, 255, 255, .7);
}

#tabbar > span.activetool {
    background: rgba(50, 50, 255, .7);
}

#tabbar span.small {
    display: none;
}

@media (max-width: 640px) {
    #tabbar span.large {
        display: none;
    }
    #tabbar span.small {
        display: inline;
    }
    #latlng {
        display: none;
    }
}

.page {
    margin-top: 32px;
    height: 100%;
    border-top: 2px solid rgba(50, 50, 255, .7);
    background-color: rgba(0, 0, 0, 0.7);
}

.page ul {
    margin: 0;
    padding: 0;
    columns: auto 170px;
    column-fill: auto;   /* Fill first column, then second, etc. */
    height: 100%;
}

ul#searchresults {
    columns: auto auto;
}

.page ul li, .page ul li a {
    list-style-type: none;
    margin: 0;
    padding: 10px 10px;
    cursor: pointer;
    color: #FFF;
    text-decoration: none;
}

.page ul li:hover {
    background-color: rgba(50, 255, 255, .7);
}

.page_element {
    margin: 0;
    padding: 10px 10px;
}

.page input {
    font-size: inherit;
    font-family: inherit;
    border: none;
    padding: 6px 6px;
    margin: 0;
}

#locinput {
    width: calc(100% - 120px);
}

#locbtn {
    width: 100px;
    background-color: rgb(50, 50, 255);
    color: #FFF;
}

.bubble {
    line-height: 1.35;
    overflow: hidden;
    white-space: nowrap;
}

.map-marker-label{
    position: absolute;
    color: #000;
    text-shadow: 0px 0px 2px #FFF;
    font-size: 14px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, .5);
    margin: -3px 6px;
    padding: 0;
    border-radius: 2px;
}