html, body {
    background: #1a1a1a;
    font-family: courier, sans-serif;
    height: 100%;
    overflow-y: hidden;
    font-size: 14px;
}

* {
    box-sizing: border-box;
}

p {
    margin-bottom: 5px;
}

h1 {
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 5px;
    color: #ff0;
}

h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff0;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

input {
    padding: 10px;
    font-size: 15px;
    background: #eee;
    border: 1px solid #ccc;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

a {
    color: #ff0;
}

button:hover {
    cursor: pointer;
}

.container {
    float: left;
    height: 100%;
}

/******************************************************************************************************** INSTRUMENTS */

.container.instruments {
    width: 30%;
    padding-right: 5px;
}

.container.instruments .bottom {
    overflow-y: hidden;
    padding: 10px 0;
    color: #ff2205;
    font-size: 35px;
}

.container.instruments .bottom > div {
    width: 50%;
    float: left;
    text-align: center;
}

.container.instruments .bottom .value {
    width: 50%;
    display: inline-block;
}


#canvas-ai {
    width: 38%;
    display: inline-block;
    float: left;
}

#canvas-hsi {
    width: 100%;
}

/*********************************************************************************************************** CONTROLS */

.container.controls {
    width: 300px;
    padding: 5px;
    border-right: 6px double #ffff00;
    border-left: solid 1px #555;
}

.control-group {
    margin-bottom: 5px;
    overflow-y: hidden;
}

.control-group > *{
    float: left;
}

.control-group .col1 {width: 50px;}
.control-group .col2 {width: 100px;}
.control-group .col3 {width: 150px;}
.control-group .col4 {width: 200px;}

.control-group div.label {
    display: inline-block;
    padding: 12px 2px;
    width: 80px;
    color: #fff;
}

.control-group div.label > span {
    font-weight: bold;
    color: #ffff00;
    text-decoration: underline;
}

.control-group button,
.control-group input {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #fff;
    width: 100%;
}

.control-group button {
    font-weight: bold;
}

.control-group button.value.colored {
    color: #A70606;
}

.control-group button.value.on {
    color: #05AB13;
}

/**************************************************************************************************************** MAP */

.container.map {
    /*background: #fff;*/
    position: relative;
}

.container.map .tooltip {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -18px;
    width: 100%;
    text-align: center;
    color: #ff0;
    padding: 10px;
    cursor: pointer;
}

.control-container {
    position: absolute;
    top: 5px;
    right: 5px;
}

.header {
    border-bottom: 1px solid #fff;
    font-size: 18px;
}

.container.map canvas {
    cursor: move;
}

/************************************************************************************************************** MODAL */

.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50,50,50,0.8);
    z-index: 80;
    display: none;
}

.modal.show {
    display: block;
}

.modal > .inner {
    background: #181818;
    border: 1px solid #0a0a0a;
    color: #fff;
    margin: 10% auto;
    width: 500px;
    padding: 20px;
    max-height: 60%;
    overflow-y: auto;
}

.modal.s > .inner {
    width: 250px;
}

.modal.l > .inner {
    width: 90%;
}


/************************************************************************************************************* SELECT */

#beacon-select ul {
    margin: 5px 0;
}

#beacon-select li {
    padding: 2px 0;
    cursor: pointer;
}

#beacon-select li:hover {
    color: #ff0;
}

#debug {
    color: #fff;
    width: 60%;
    padding: 1%;
    float: left;
    display: inline-block;
}

#controls {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    text-align: right;
}

/********************************************************************************************************** COPYRIGHT */

#copyright {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #939393;
}