body {
  background-color: #000000;
  color: #dfdfff;
  font-family: arial, helvetica, sans-serif;
  margin: 0px;
}

div#screenlayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
  display: none;
  background: rgba(6,6,6,0.4) !important;
}

div#screenlayer > div {
  display: none;
  position: absolute;
}

div#screenlayer > div#svgprocessing {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
}

div#screenlayer > div.contextmenu {
  background-color: black;
  border-radius: 5px;
  padding: 3px;
  border: solid yellow 2px;
  z-index: 100;
  flex-direction: column;
}

div#screenlayer > div.contextmenu > button {
  display: flex;
  background-color: black;
  border: none;
  color: white;
}
div#screenlayer > div.contextmenu > button.disabled {
  color: grey;
}

pre {
  font-family: courier;
}

th {
  color: #dfdfff;
  font-weight: bold;
}
td {
  color: #dfdfff;
}

a:link {
  color: #afafff;
  text-decoration: none;
}
a:visited {
  color: #df8fff;
  text-decoration: none;
}

#topbar {
  margin: 0px 5px 0px;
}

#topbar * {
  text-align: left;
}

#AstruneTimeSvg {
  width: 150px;
  height: 57px;
}

#topbar #logo {
  margin: 3px 5px 0px 0px;
}
#topbar #logo img {
  height: 50px;
  vertical-align: top;
} 

#topbar #pagename {
  display: inline-block;
  position: relative;
  top: -17px;
  font-size: 30px;
  font-weight: normal;
  font-family: helvetica;
  color: #dd0000;
  top: -20px;
}

#topbar #pagename span.error {
  color: yellow;
}

#topbar #controls {
  margin-left: 10px;
  position: relative;
  top: 10px;
  float: right;
}

#topbar #controls img {
  height: 32px;
  width: auto;
}

#topbar .links {
  font-size: 16px;
  margin-left: 10px;
  display: none;
  position: relative;
  top: 10px;
  float: right;
}

#topbar .links > .toolicon {
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin: 3px;
  padding: 0;
  text-align: right;
}

#topbar .links > .toolicon img {
  height: 40px;
  margin: 0;
  padding: 0;
  text-align: right;
}

#svglogin {
}

#svglogin > svg {
  width: 40px;
  height: 40px;
}

#lsi_svg_x,
#lsi_svg_o {
  stroke: white;
}

#svgsettings > svg {
  width: 40px;
  height: 40px;
}

/* top-level sections */

section#login {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-top: 32px;
}

section#login > form {
  display: flex;
  background: orange;
  flex-direction: column;
  padding:5px;
  border: 2px solid black;
  border-radius: 10px;
  margin-top: 2rem;
}

section#login > form > * {
  font-size: 12pt;
  border: 1px solid black;
  border-radius: 5px;
  margin: 5px;
  padding: 0.25rem;
}

section#login > form > span.fa {
  border: none;
  margin-left: 85%;
  margin-top: -15%;
  position: relative;
  z-index: 2;
}

section#login > form button[type=submit] {
  background-color: rgba(255,255,255,0.3);
  margin-top: 10px;
  font-weight: bold;
}

section#settings #pwchangebutton {
  display: inline-block;
}
section#settings #pwchangeview {
  display: none;
}

section#main {
  position: absolute;
  display: none;
  z-index: 1;
}

#main {
  float: left;
  font-size: 12pt;
  width: 100%;
}

#main > table {
  margin-top: 0px;
}

.child.column {
  text-align: center;
}

.child.column > div {
  display: inline;
}

#message {
  display: none;
  color: black;
  background-color: grey;
  font-weight: bold;
  font-size: larger;
  padding: 1.25rem;
  border: 2px solid black;
  border-radius: 10px;
  margin-top: 2rem;
}

#links {
  text-align: center;
}

/* astrostructure tree is made up of definition lists, nodecontent and menu*/
dt.rootlink {
  color: #ffee00; /* fe0=yellow */
  font-size: 15pt;
  font-weight: bold;
}

dd {
  margin-left: 20px;
}

dl {
  margin: 0px
}

.nodecontent {
  white-space: pre;
  font-family: monospace;
  font-size: 12px;
}

.nodecontent a:visited {
  color: #eebb00;
}

.nodecontent a:link {
  color: #eebb00;
}

.menu {
  position: absolute;
  color: white;
  background-color: #444;
  margin: 5px;
  border: solid #f60 2px;
  z-index: 3;
  border-radius: 10px;
}

.menuname {
  background-color: #d40;
  color: white;
}

@media screen and (width >= 600px) {

  #main {
    height: calc(100vh - 50px);
  }

}

@media screen and (width < 600px) {

  #main {
    height: calc(100vh - 80px);
  }

  #topbar > * {
    text-align: center;
    display: block;
    clear: both;
    width: 100%;
    margin: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
  }

  #topbar .links {
    position: relative;
    top: 0px;
    float: none;
    margin: 0px;
  }

}

/* EOF */
