/*@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap');

::selection {
    background: #C5C8C6;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-size: 11pt;
    font-family: Inconsolata, monospace;
    font-family: 'Ubuntu Mono', monospace;
    /*font-family: monospace;*/
    color: white;
    background-color: black;
    background-color: rgb(8, 8, 11);
    background-color: #1D1F21;
    background-color: #141516;
}

p {
    margin: .75em 0;
    margin: .45em 0;
}

a {
    color: #fff;
    text-decoration: underline;
}

#header {

    padding: .2em 2.5em 0 2em;
    position: fixed;
    top:0px;
    left: 0px;
    z-index: 1000;
    width: 100%;
    height: auto;
    background-color: rgb(8, 8, 11);
    background-color: #1D1F21;
    background-color: #141516;
}
#header .logo {
    /*padding: 0px 10px 20px 0px;
    height: 100px;*/
    padding: 0px 10px 0px 0px;
    height: 75px;
}

#container {
    padding: .1em 1.5em 1em 1em;
    padding: .2em 2.5em 2em 2em;
    /*padding-top: 138px;
    padding-top: 95px;*/
    position: absolute;
    width: 87%;
    bottom: 0px;
}

/********************************************** PROMPT **********************************************/

.input-line {
    padding-bottom: 20px;
    margin-top: 10px;
}

output > .input-line {
    padding-bottom: 0px;
}

.input-line div {
    display: inline-block;
}

.prompt {
    white-space: nowrap;
    color: #96b38a;
    margin-right: 7px;
}
.cline {}

.cmdline, input {
    outline: none;
    background-color: transparent;
    margin: 0;
    width: 100%;
    font: inherit;
    border: none;
    color: inherit;
}

/********************************************** OUTPUT **********************************************/

#container output {
    clear: both;
    width: 100%;
}

#container output h3 {
    margin: 0;
}

#container output pre {
    margin: 0;
    font-family: inherit;
    line-height: 1.2em;
    color: #E4E8E5;
}

#container output pre.cat, #container output div.html {
    padding-left: 15px;
    border-left: 1px solid #ffffff;
    background-color: rgba(255,255,255, .1);
    padding: 20px;
}
#container output div.html p {
    line-height: 1.2em;
}
#container output div.html .subtitle {
    font-style: italic;
    margin-top: -10px;
}
#container output div.html time {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #9b9b9b;
}

#container output pre cc {
    /* comments */
    font-style: italic;
}
#container output pre p {
    margin: 0px;
    line-height: 1.1em;
}
#container output pre p.tab {
    margin-left: 25px;
}
#container output pre ul {
    margin-top: 0px;
    margin-bottom: 0px;
}
#container output pre ul li {
    line-height: 1px;
    list-style-type: none;
    text-indent: -16px;
}
#container output pre ul li:before {
    content: "-  ";
}

#container output .image {
    max-width: 100%;
}

.ls-files {
    /*height: 45px;*/
    -webkit-column-width: 20vw;
    -moz-column-width: 20vw;
    -o-column-width: 20vw;
    column-width: 20vw;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto ;
}
.grid-item {
    margin-bottom: 25px;
}


/********************************************** MAN **********************************************/

#container output pre.man {
    padding-left: 15px;
    border-left: 10px solid #bebebe;
    color: #bababa;
}
#container output pre.man hm {
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #fff;
    color: #323232;
    padding-left: 3px;
    padding-right: 3px;
}


/********************************************** TABLE **********************************************/
table {
    border: none;
}

.table-no-head tr th {
    display: none;
}

table tr th, table tr td {
    padding: 0px 2px;
}

table tr th {
    /*border-bottom: 1px solid #8e8e8e;*/
    border-bottom: 2px solid transparent;
    text-align: left;
}

.table-help tr th {
    display: none;
}
.table-help tr td {
    border-bottom: 2px solid transparent;
}
.table-help tr td.cmd {
    vertical-align: top;
    width: 75px
}
.table-help tr td.cmd:before {
    content: "-";
}

.table-dashed {
    border: 2px dashed #bbb;
    padding: 10px;
}
.table td.v-align-top {
    vertical-align: top;
}

.table td.margin-bottom {
    padding-bottom: 10px;
}

tab {
    /*height: 45px;*/
    display: inline-block;
    -webkit-column-width: 80px;
    -moz-column-width: 80px;
    -o-column-width: 80px;
    column-width: 80px;
}

/********************************************** HEALTH INDICATOR **********************************************/

.health img {
    vertical-align: bottom;
}

.health-indicator {
    display: inline-block;
    width: 8px;
    height: 12px;
    vertical-align:bottom;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.health-indicator.low {
    background-image: url(../img/health25.png);
}

.health-indicator.mid {
    background-image: url(../img/health50.png);
}

.health-indicator.good {
    background-image: url(../img/health100.png);
}

/******************************************* COLORS & TEXT ********************************************/

/*** TEXT ALIGNMENT ***/
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.uppercase {
    text-transform: uppercase;
}

/*** COLORS ***/
cred, .red {
    color: #b36f67;
}
cdarkred, .darkred {
    color: #402b25;
}
error, .error {
    color: #CC6666!important;
}
cgreen, .green {
    color: #99CC99;
}
clightgreen, .lightgreen {
    color: #65ff00;
}
cdarkgreen, .darkgreen {
    color: #324332;
}
success, .success {
    color: #65ff00;
}
cgreenyellow, .greenyellow {
    color: #c7cc99;
}
cyellow, .yellow, #container output pre.yellow {
    color: #FFCC66;
}
cdarkyellow, .darkyellow {
    color: #39351e;
}

cblu, .blu, cc {
    color: #8ea3b3;
}
clightblu, .lightblu {
    color: #6eb3cf;
}
cpurple, .purple {
    color: #B294BB;
}
cgrey, .grey {
    color: #9b9b9b;
}
clightgrey, .lightgrey {
    color: #C5C8C6;
}
cdarkgrey, .darkgrey {
    color: #3c3c3c;
}
cwhite, .white {
    color: white;
}
cdef {
    color: #cc8860;
}

cattr {
    color: #836faa;
}

cstr {
    color: #96bf7d;
}
.opacity-3 {
    opacity: .3;
}
.bold {
    font-weight: bold;
}
hl {
    background-color: #fff;
    color: #323232;
    padding-left: 3px;
    padding-right: 3px;
}
bright {
    color: #fff;
}

/*** prompt color ***/
.prompt c {
    color: #b08da7;
}
.prompt h {
    color: #6eb3cf;
}

.italic {
    font-style: italic;
}

/******************************************* NOTIFICATION ********************************************/
.notification {
    /*background-color: yellow;
  color: black;*/

}
p.notification {
    margin-bottom: 1px;
    margin-top: 0px;
    font-size: 14px;
}
p.notification, p.notification.default {
    border-left: 3px solid #C7BE4A;
    border-right: 3px solid #C7BE4A;
    background-color: rgba(255, 251, 200, 0.1);
    padding: 3px 6px;
    max-width: 650px;
}
p.notification ndate {
    display: block;
    float: right;
    color: #9b9b9b;
}
p.notification.fight, p.notification.alert {
    border-color: #b36f67;
    background-color: rgba(179, 111, 103, .1);
}
p.notification.success, p.notification.search {
    border-color: #99CC99;
    background-color: rgba(153, 204, 153, .1);
}
p.notification.dead {
    border-color: #3e3e3e;
    background-color: rgba(8, 7, 7, 1);
}
/*
p.notification::before {
    content: "[* ";
}
p.notification::after {
    content: " *]";
}
 */


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

#map {
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    /*margin-top: 120px;*/

    display: none;
    border-bottom: 5px solid #050505;
}

#map-canvas {
    position: relative;
    width: 100%;
    margin-left: 0px;
    margin-right: 345px;
    overflow: hidden;

    background-color: rgb(8, 8, 11);
    background-color: #1D1F21;
    background-color: #050505;
}
#map-help {
    position: absolute;
    left: 50px;
    bottom: 10px;
    height: auto;
    margin-left: 5px;
    border: 2px dashed rgba(179, 111, 103, 0.15);
    padding: 5px 7px;
    background-color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    color: #b36f67;


}

#map-help {
    border-color: rgba(232, 223, 103, 0.35);
    color: #e8d94a;
}
/*
#map-help {
    border: none;
    background-color: rgba(113, 91, 62, 0.31);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(179,111,103,0.22);
    box-shadow: 0px 0px 8px 0px rgba(179,111,103,0.22);
}
 */

#map-loading {
    display: block;
    top: 49vh;
    left: 50%;
    margin-left: -200px;
    width: 400px;
    position: fixed;
    
    text-align: center;
    font-size: 30px;
    color: #96b38a;
    text-shadow: 0 0 3px #96b38a;
}

.table-map {
    width: 100%;
    height: 100vh;
    /*table-layout: fixed;*/
    border-collapse: collapse;
}

.table-map td {
    border: 1px solid #112813;
    overflow: hidden;
    text-align: center;
    padding: 1px;
    vertical-align: middle;
    box-shadow: 0px 0px 100px 0px #112813;
    
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.table-map td.thead {
    padding: 2px;
    color: #96b38a;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 3px #96b38a;
}

/********************************************** PANEL REPORT **********************************************/

#panel-report {
    position: fixed;
    background-color: inherit;
    top: 0px;
    right: 2px;
    width: 317px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    border: 2px dashed #112813;

    z-index: 100;
    display: none;
}

#panel-report-header {
    width: 295px;
    padding: 15px;
    padding-bottom: 0px;
    border-bottom: 2px dashed #112813;
}
#panel-report-header img { width: 100%; }

#panel-report .datetime {
    line-height: 1.5em;
}

.panel-report {
    width: 100%;
    border-bottom: 2px dashed #112813;
    margin-bottom: 3px;
    padding: 7px 15px;
    overflow-y: scroll;
    /*color: #96b38a;*/
}

.panel-title {
    margin-top: 5px;
}
.panel-report .small {
    font-size: 13px;
    color: #989898;
}

#panel-report-notification {
    margin-left: 5px;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

td.squadname, td.squadnameshort {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
td.squadnameshort {
    max-width: 46px;
}
/* ALT version */

#panel-report {
    border: none;
    background-color: inherit;
    border-left: 5px solid #111;
}
.panel-report, #panel-report-header {
    border-bottom: 1px dashed #111;
}

.panel-report .research-squads, .panel-report .upgrade-squads {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ALT version 2 */
/*
#panel-report {
    border: none;
    background-color: inherit;

}
.panel-report {
    border: 2px dashed #112813;
    background-color: #000;
}
*/

#account-settings {
    position: fixed;
    bottom: 3px;
    right: 3px;
    padding: 3px;
    background-color: #141516;
    font-size: 11px;
}

/********************************************** CHAT **********************************************/

#chat {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: rgba(8, 8, 11, .95);
    padding: .1em 1.5em 1em 1em;
    padding: .2em 2.5em 2em 2em;
    color: #fff;
    background-color: rgb(8, 8, 11);
    background-color: #1D1F21;
}

#chat .username {
    color: #f8a;
}

#chat .message {
    color:#000;
}
#chat-messages {
    overflow: scroll;
    position: fixed;
    bottom: 61px;
    height: auto;
    max-height: 80vh;
    width: 100%;
    display: table-cell;
    vertical-align: bottom;
}
.chat-message-time {
    color: #dbdbdb;
}
#chat-messages p {
    margin: 3px 0px;
}

#chat #chat-header {
    padding-top: 100px;
    position: fixed;
    width: 100%;
    height: 150px;
}
#chat #chat-input {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    
    padding: .1em 1.5em 1em 1em;
    padding: .2em 2.5em 2em 2em;
}
#chat #chat-input input {
    width: 85%;
    border-bottom: 1px solid #fff;
}
.chat-info-message {
    /*font-style: italic;*/
}

/********************************************** EDITOR **********************************************/

#editor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    padding: 50px;
}

/********************************************** TUTORIAL **********************************************/

.box-tutorial {
    border: 2px dashed #8ea3b3;
    background-color: #23282d;
    padding: 10px 10px;
    /*max-width: 80%;*/
    width: auto!important;
}
#map-tutorial {
    position: fixed;
    top: 53px;
    right: 364px;
    width: 650px;
}
.box-tutorial h {
    color: #6eb3cf;
}
.box-tutorial-footer {
    color: #7e7e7e;
    font-size: 13px;
    text-align: right;
}


/********************************************** REGISTER / CONFIRM / RESET - AUTH **********************************************/

.modal {
    margin-top: -102px;
    background-color: rgba(20, 21, 22, .6)!important;
}
.modal h2 {
    margin-top: -28px;
    margin-bottom: 25px;
}
.modal .box-login {
    display: block;
    width: 500px;
    margin: 150px auto 0px auto;
    position: relative;
    border: 2px solid #96b38a;
    height: auto;
    padding: 60px 25px 25px 25px;
    background-color: rgb(20, 21, 22);

    box-shadow: 0px 0px 15px 13px rgba(53, 71, 43, .6);
}

.modal .cmdline {
    display: inline-block;
    width: 350px;
    border-bottom: 1px solid rgba(100, 100, 100, .2);
}
input:disabled {
    opacity: .5;
}
.modal .input-line {
    padding-bottom: 0px;
    margin-top: 0px;
}

.modal .input-error {
    display: block;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
}

#register.login response, .modal.login response  {
    display: block;
    position: relative;
    top: 0;
    right: 0;
    padding: 0;
    margin-top: 25px;
}

.close-modal {
    display: block;
    width: 50px;
    right: 10px;
    position: absolute;
    text-decoration: none;
    margin-right: 20px;
    margin-top: -25px;
}


/********************************************** LOGIN **********************************************/

.login {
    display: none;
    position: fixed;
    top: 112px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: .1em 1.5em 1em 1em;
    padding: .2em 2.5em 2em 2em;
    background-color: rgb(8, 8, 11);
    background-color: #1D1F21;
    background-color: #141516;
}
#username-prompt {
    position: absolute;
    top: 0px;
    left:0px;
    padding: .2em 2.5em 2em 2em;
}
#password-prompt {
    position: absolute;
    top: 0px;
    left:0px;
    padding: .2em 2.5em 2em 2em;
}
.login response {
    position: absolute;
    top: 35px;
    left:0px;
    padding: .2em 2.5em 2em 2em;
}

/***/

.blink {
    animation: blinker 500ms ease-in-out infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}