@font-face {
    font-family: "DotMatrix";
    src: url("https://sigmaps1s.signalmaps.co.uk/webclient/DotMatrix.ttf?r=2019-07-08");
    font-display: swap;
}
@font-face {
    font-family: "DotMatrix-Square";
    src: url("https://sigmaps1s.signalmaps.co.uk/webclient/DotMatrix-Square-v2.ttf?r=2019-07-08");
    font-display: swap;
}
body {
    font-family: Arial;
    font-size: 1em;
    background-color: #202020;
    color: #a7a7a7;
}

.noAA {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #e80;
    text-decoration: none;
}

a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: underline;
}

img {
    border: 0;
    max-width: 100%;
}
#map p, p.clock, p.snowflake {
    margin: 0;
}

abbr[title] {
    cursor: help;
    border-bottom: 1px dotted #999999;
}

/* Smartphones */
@media screen and (max-width: 480px) {
    p {
        font-size: 0.5em;
    }
}

.container {
    font-size: 16px;
}
.navbar, .footer, .panel, .panel-heading, .panel-footer, .modal-header, .modal-footer {
    color: #a7a7a7 !important;
    background-color: #101010 !important;
    border-color: #101010 !important;
}

.panel { margin-bottom: 5px; }
.overview { transition: box-shadow .1s cubic; }
.overview:hover { box-shadow: 4px 4px 0px 3px rgba(0,0,0,0.15); }
.container-full { width: 99% !important; }
.section { padding: 10px 0 0 0; }
.modal-content { border-color: #101010; background-color: #272727; }

.title {
    max-width: 1854px;
    margin: auto;
}

#map {
    position: relative;
    width: 1854px;
    height: 860px;
    font-family: 'DotMatrix-Square',monospace;
}
#mapContainer {
    background-color: #000;
    height: 860px;
    max-width: 1854px;
    font-family: 'DotMatrix-Square',monospace;
    margin: auto;
    overflow-x: auto;
    overflow-y: hidden;
}
#mapImage {
    position: absolute;
    width: 100%;
    /*min-width: 1854px;*/
    top: 0px;
    left: 0px;
    background-color: black;

    z-index: 0;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
#time {
    font-family: monospace;
    font-size: 10pt;
}

p.motd {
    position: initial;
    background-color: transparent;
    border: none;
    margin: 2px;
    overflow-y: scroll;
}
@keyframes error {
    30% {background-color: #300;}
    50% {background-color: #900;}
    70% {background-color: #300;}
}
p.clock {
    width: 100%;
    color: #090;
    font-family: 'DotMatrix',monospace;
    font-size: 45px;
    white-space: nowrap;

    background-color: transparent;
}
.berth {
    position: absolute;

    color: #090;

    height: 16px;
    width: 48px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
    vertical-align: baseline;
    line-height: 1;
    font-size: 16px;
    z-index: 10;
}
.berthOcc {
    z-index: 11;
    background-color: #404040;
}
a.berth:hover {
    background-color: #404040;
}
p.berth {
    position: initial;

    background-color: transparent;
    text-align: center;
    padding: 0px 1px;
    width: 48px;
    height: 16px;
    z-index: 10;
}
p.berthBorder {
    background-color: transparent;
}
.text {
    position: absolute;
    color: #090;
    text-align: center;
    white-space: pre;
    line-height: 9px;
    font-size: 8px;
    z-index: 8;
}
.textLarge {
    position: absolute;
    background: transparent;
    color: #090;
    text-align: center;
    white-space: pre;
    line-height: 17px;
    font-size: 16px;
    z-index: 8;
}
.station {
    position: absolute;
    background-color: #000;
    color: #090;
    height: 8px;
    width: auto;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 8px;
    z-index: 8;
}
.stationLarge {
    position: absolute;
    background-color: #000;
    color: #090;
    height: 16px;
    width: auto;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 16px;
    z-index: 8;
}
.navButton {
    position: absolute;
    background-color: #000;
    color: #090;
    height: 16px;
    width: auto;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 16px;
    z-index: 8;
}
.backText {
    z-index: 7;
}
.signal {
    position: absolute;
    white-space: nowrap;
    background-color: rgba(0,0,0,0.25);
    color: #FFF;
    height: 8px;
    width: 14px;
    z-index: 6;
}
.verticalPost {
    height: 14px;
    width: 8px;
}
.noPost {
    height: 8px;
    width: 8px;
}

.points
{
    position: absolute;
    color: #000;
    background-color: rgba(0,0,0,0);
    width: 16px;
    height: 16px;
    z-index: 4;
}

.textOn {
    position: absolute;
    color: #090;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 8px;
    height: 8px;
    width: auto;
}
.textHide {
    position: absolute;
    color: #222;
    background-color: transparent;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 8px;
    height: 8px;
    width: auto;
}
.textOff {
    position: absolute;
    color: transparent;
    background-color: transparent;
    text-align: center;
    white-space: pre;
    line-height: 1;
    font-size: 8px;
    height: 8px;
    width: auto;
}
.tcOcc {
    position: absolute;
    background-color: #900;
}
.tcUnocc {
    position: absolute;
    background-color: #404040;
}
.trackc {
    position: absolute;
    z-index: 2;
}

#obscure {
    z-index: 50;
    position: absolute;
    display: inline-flex;
    background: rgba(0,0,0,0.75);
    width: 100%;
    height: 860px;
    line-height: 110px;
    font-family: 'DotMatrix', 'Source Sans Pro', sans-serif;
    pointer-events: none;
}
#loading {
    color: #090;
    margin: auto;
    vertical-align: middle;
    background-color: #FFF;
    border-radius: 10px;
    border: 2px solid #FFF;
    opacity: 0.6;
}
#compatText {
    font-size: 16px;
    font-family: Arial;
    color: black;
    line-height: 20px;
}
#loadText {
    color: #090;
    display: block;
    margin: auto !important;
    margin-left: 115px !important;
    text-align: left;
    font-size: 60px;
}
#spinner {
    display: block;
    margin: 5px;
    background-color: rgba(0,0,0,0);
    float: left;
    width: 100px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform:rotate(360deg); }
}
.hide {
    display: none;
}
@media only screen and (max-width: 993px) {
    .panel-img {
        display: none;
    }
}

#snowflakeContainer {
    position: absolute;
    left: 0px;
    top: 0px;
}
.snowflake {
    padding-left: 15px;
    font-family: Cambria, Georgia, serif;
    font-size: 14px;
    line-height: 24px;
    position: fixed;
    color: #FFFFFF;
    user-select: none;
    z-index: 1000;
}
.snowflake:hover {
    cursor: default;
    pointer-events: none;
}
.devSpacer {
    height: 42px;
    width: 1px;
    position: absolute;
    left: 30px;
}
.adunit {
    padding-top: 20px;
}
