.brandlogo {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.splashlogo {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}

.btn-wide {
    width: 98%;
}

.whitetext {
    color: white;
}

body {
    padding: 0;
    margin: 0;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 50000;
    background: #324150;
    color: white;
}

#no-lock {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
    background: rgba(0,0,0,.6);
    color: white;
    display: none;
}

#no-lock p {
    position: absolute;
    top: 40%;
    left: 0px;
    width: 100%;
    text-align: center;
}

#overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 9500;
}

#overlay-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9600;
    background: rgba(0,0,0,.9);
}

#overlay-main #main-content {
    overflow-x: auto;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#mainCloseBtn {
    z-index: 999999;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: black;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    color: white;
}

.badge-img {
    border: 2px solid green;
}

#terrain-image {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 60px;
    width: 80px;
    border: 3px solid green;
}

.leaflet-control-locate {
    display: none;
}

#namedisp {
    color: black;
    position: absolute;
    left: 8px;
    top: 5px;
    font-size: 120%;
    font-weight: bold;
}

#energybar-container {
    position: absolute;
    top: 30px;
    left: 5px;
    height: 10px;
    width: calc(100% - 95px);
    background: rgba(0,0,0,.25);
}

#energybar {
    width: 0%;
    background: green;
}

#energybar-label {
    color: black;
    position: absolute;
    left: 8px;
    top: 40px;
    font-size: 75%;
    background: rgba(0,0,0,.2);
    padding: 0px 5px 0px 5px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

#chatbox {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: auto;
    max-height: 50%;
    width: 100%;
    z-index: 9501;
}

#chatmsgs {
    z-index: 9500;
    top: 0px;
    width: 100%;
    height: calc(100% - 35px) !important;
    display: none;
    position: absolute;
    font-family: monospace;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    word-break: break-all;
    background: rgba(0,0,0,.8);
}

.chatbox #chatmsgs .chat-username {
    color: green;
    font-weight: bold;
}

#buttons {
    position: absolute;
    right: 0px;
    top: 25%;
    width: 70px;
    padding-top: auto;
    padding-bottom: auto;
    padding-right: 10px;
    display: block;
    z-index: 9000;
}

#buttons .circlebutton {
    border: 1px solid black;
    background: rgba(255,255,255,.8);
    border-radius: 50%;
    box-shadow: 0 0 5px grey;
    width: 60px;
    height: 60px;
}

#buttons .circlebutton img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
}

.scrollable-box {
    overflow-y: auto;
}