
/*
https://fonts.google.com/?preview.text=%E2%87%91%20%E2%86%91%20NOMAN&preview.text_type=custom&query=sans
*/

@font-face {
  font-family: OpenSans;
  src: url(/static/fonts/OpenSans/OpenSans-Regular.ttf);
}

@font-face {
  font-family: NotoSans;
  src: url(/static/fonts/NotoSans/NotoSans-Regular.ttf);
}

@font-face {
  font-family: IBMPlexSans;
  src: url(/static/fonts/IBMPlexSans/IBMPlexSans-Regular.ttf);
}

@font-face {
  font-family: EncodeSans;
  src: url(/static/fonts/EncodeSans_SemiCondensed/EncodeSans_SemiCondensed-Regular.ttf);
}
/* ------------------------------- */
/*              Body
/* ------------------------------- */
body {
    background-color: #0e3e59;
    color: #5fa0be;
    margin-bottom: 50px;
}

body.atc {
    overflow: hidden;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #0e3e59;
    padding: 3px;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover, a:focus {
    color: #23527c;
    text-decoration: underline;
}

.bg-white {
    color: black;
    background-color: white;
}

.bg-lightblue {
    background-color: #5fa0be;
    color: #0e3e59;
}

.right {
    float: right;
    display: inline-block;
}

.h1, h1 {
    font-size: 1.8rem;
}
.h2, h2 {
    font-size: 1.6rem;
}
.h3, h3 {
    font-size: 1.4rem;
}

.reset {
    clear: both;
    margin: 0;
    padding: 0;
    height: 0;
    width: 0;
}

.atc-only {
    display: none;
}

#clock {
    font-size: 1.3rem;
    line-height: 1.0rem;
    font-weight: bold;
    position: relative;
    top: 1px;
}

#clock .seconds {
    font-size: 0.7em;
}
/* ------------------------------- */
/*              ATC style
/* ------------------------------- */

.map-container {
    float: left;
    width: auto;
}

.atc-object-selector {
    position: absolute;
    top: 60px;
    right: 30px;
    background-color: #0c2846;
    width: 350px;
    height: 440px;
    padding: 8px;
    display: block;
}

.atc-input {
    position: absolute;
    top: 530px;
    right: 30px;
    background-color: #0c2846;
    width: 350px;
    padding: 8px;
    display: none;
}
.atc-input input {
    width: 100%;
}

.atc-input button {
    padding: 5px;
}

.object-selector {
    float: left;
    width: 500px;
    background-color: white;
    overflow-y: scroll;
    max-height: 100vh;
    height: 100vh;
    padding-bottom: 100px;
}

.object-selector-wider {
    width: 800px !important;
}
.object-selector div {
    margin: 20px;
}
.object-selector-log div {
    margin: 3px 20px;
}

.object-selector-wider div {
    margin: 3px !important;
}

.plane-selector span {
    white-space: nowrap;
}

.pilot-control h1 {
    float: left;
}

.pilot-control span {
    float: left;
    padding-left: 20px;
    padding-top: 6px;
}

.atc-menu {
    /*border: 8px #0c2846 solid;*/
    padding: 6px;
    background-color: #0c2846;
}

.atc-menu i {
    margin: 0 5px;
}

.atc-menu a {
    color: #00ccff;
}

.atc-menu a:hover, .atc-menu a:focus {
    color: #5fa0be;
}

.atc-menu .dropdown-menu {
    background-color: #0c2846;
    padding: 6px;
    margin-left: -6px;
    min-width: 180px;
}

/* ------------------------------- */
/*              Forms
/* ------------------------------- */

/* Full-width inputs */
input[type=text], input[type=date], input[type=password], input[type=number], textarea, select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    background: white;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type=range] {
    width: 100%;
}

textarea {
    height: 200px;
}

/* Bigger checkbox and radio */
input[type=checkbox] {
    transform: scale(1.5);
    margin: 20px 10px;
}
input[type=radio] {
    transform: scale(1.5);
    margin: 10px 10px 20px;
}

label {
    font-weight: bold;
    margin: 8px 0 0 0;
}

/* normal font weight for labels*/
label.normal {
    font-weight: normal;
}

/* Set a style for all buttons */
button, input[type=submit], input[type=button] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

input[type=button] {
    background-color: #5fa0be;
}

/* Add a hover effect for buttons */
button:hover, input[type=submit]:hover {
    opacity: 0.8;
}

form .help {
    color: gray;
    margin-top: 5px;
}

/* Control form  */
.control-form-images img {
    width: 100%;
}

/* ------------------------------- */
/*              Admin
/* ------------------------------- */

.object-selector div.group {
    background-color: black;
}

.object-selector div.object1 {
    padding-left: 30px;
    /*background-color: #fff;*/
}
.object-selector div.object2 {
    padding-left: 30px;
    /*background-color: #bbb;*/
}

.scenario-ctrl a, .scenario-ctrl i {
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
}
.scenario-ctrl a:hover {
    color: black;
}

/* ------------------------------- */
/*           Font colors
/* ------------------------------- */

.red {
    color: red;
}

.black {
    color: black;
}

.gray {
    color: gray;
}

.green {
    color: green;
}

.orange {
    color: orange;
}


