/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  width: 796px;
  height: 480px;
  font-family: sans-serif;
  font-size: 30px;
  background-color: black;
  color: white;
  user-select: none;
  overflow: hidden;
  position: relative;
}

button, .button {
  border-radius: 2px;
  background-color: dodgerblue;
  color: white;
  border: none;
  width: 70px;
  touch-action: none;
}

button:active, .button:active {
  transform: translate(1px, 1px);
}

button:hover, .button:hover {
  opacity: 90%;
}

.entire-screen {
  position: relative;
  height: 100%;
  width: 100%;
}

.title-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.title-bar {
  padding: 2px;
  border-bottom: 1px solid white;
  margin-bottom: 1px;
  position: relative;
  height: 40px;
}

.title-alarm {
  color: yellow;
  font-size: 24px;
}

.title-lock {
  font-size: 24px;
}

.page-content {
  position: absolute;
  top: 40px;
  width: 100%;
  height: 435px;
}

table {
  border-collapse: collapse;
  font-size: 1em;
}

td {
  border: 1px solid silver;
}

.misc-grid, .text-edit-grid, .list-edit-grid, .config-grid, .home-grid {
  display: grid;
  height: 100%;
  width: 100%;
  position: absolute;
  background: black;
}

.hide {
  display: none;
}

.screen-saver {
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  background: black;
}

.screen-saver-logo {
  position: relative;
}

.home-grid {
  grid-gap: 4px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 80px;
  grid-template-areas: "body body body body" "h1 h2 h3 h4";
}

.home-body {
  grid-area: body;
  display: grid;
  grid-template-columns: 200px auto;
  grid-template-rows: 1fr;
  grid-template-areas: "list graphs";
}

.home-list {
  grid-area: list;
  border: 1px solid white;
}
.home-list li {
  border-bottom: 1px solid silver;
  text-align: center;
}

.home-graphs {
  grid-area: graphs;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "m0 m1";
  height: 100%;
  font-size: 0.7em;
}

.module-graph-1, .module-graph-0 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.1em 1fr;
  grid-template-areas: "title title" "rf0 rf1";
}

.module-graph-0 {
  grid-area: m0;
}

.module-graph-1 {
  grid-area: m1;
}

.module-title {
  grid-area: title;
  text-align: center;
  border: 1px solid white;
  border-top: none;
}

.rf-graph-1, .rf-graph-0 {
  border: 1px solid white;
  display: grid;
  grid-template-rows: 1.1em 1fr 1.2em 1.1em;
  grid-template-areas: "rf-title" "if-graph" "if-title" "fibre-graph";
}

.rf-graph-0 {
  grid-area: rf0;
}

.rf-graph-1 {
  grid-area: rf1;
}

.rf-title {
  grid-area: rf-title;
  text-align: center;
  border-bottom: 1px solid white;
}

.if-title {
  border-top: 1px solid white;
  padding-top: 0.125rem;
  grid-area: if-title;
  text-align: center;
}

.rf-fibre-loss {
  grid-area: fibre-graph;
}

.rf-fibre-loss-bar {
  background-color: green;
  margin: 5px 0px 3px 0px;
  height: 0.6em;
}

.rf-graph-box {
  grid-area: if-graph;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.if-graph {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.half-width-graph {
  width: 50px;
}

.full-width-graph {
  width: 100px;
}

.if-graph .graph-holder {
  flex-grow: 1;
  position: relative;
}

.if-graph .graph-bar {
  position: absolute;
  bottom: 0;
  background-color: green;
  width: 100%;
}

.if-graph .graph-label {
  width: 100%;
  position: absolute;
  bottom: 0;
}

.if-graph .snr-holder {
  font-size: 0.75em;
  background-color: silver;
  color: black;
}

.home-flags {
  grid-area: flags;
  position: relative;
}
.home-flags table {
  width: 100%;
  bottom: 0;
  position: absolute;
}
.home-flags td {
  padding: 0 2px 0 2px;
}

.front-button {
  font-size: 1em;
  width: 100%;
}

.front-button:disabled {
  background-color: silver;
}

#status-button {
  grid-area: h1;
}

#settings-button {
  grid-area: h2;
}

#system-button {
  grid-area: h3;
}

.nav-button {
  width: auto;
  margin: 3px;
  font-size: 2em;
}

.config-grid {
  grid-template-columns: 140px auto 140px;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-areas: "la body ra" "lb body rb" "lc body rc" "ld body rd";
}

.left-col {
  grid-area: 1/1/4/1;
}

.centre-col {
  grid-area: body;
}

.right-col {
  grid-area: 1/3/4/3;
}

#home-button {
  grid-area: ld;
}

#scroll-left {
  grid-area: la;
}

#scroll-right {
  grid-area: ra;
}

#scroll-up {
  grid-area: rc;
}

#scroll-down {
  grid-area: rd;
}

.title-position {
  position: absolute;
  right: 2px;
  top: 2px;
}

.menu-list {
  list-style: none;
  padding: 1px;
  margin: 0;
  height: 100%;
  overflow-y: hidden;
}

.menu-list li {
  margin: 1px;
  border: 1px solid gray;
  padding: 0;
  position: relative;
}

.menu-title-name {
  height: 24px;
  font-size: 20px;
}

.menu-selection {
  font-size: 24px;
}

.menu-button {
  position: absolute;
  width: 54px;
  height: 54px;
  right: 2px;
  top: 2px;
  font-size: 24px;
  background-color: green;
}

.list-edit-grid {
  grid-template-columns: 1fr 6fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "la list ra" "lb list rb" "lc list rc" "ld list rd" "le list re";
}
.list-edit-grid ul {
  grid-area: list;
  border: 1px solid silver;
  height: 100%;
  list-style: none;
  overflow-y: hidden;
}
.list-edit-grid ul li {
  padding: 4px;
}
.list-edit-grid ul button {
  width: 100%;
  height: 60px;
  background: silver;
}
.list-edit-grid ul button.selected {
  background: dodgerblue;
}

.edit-button {
  width: auto;
  margin: 2px;
  font-size: 24px;
}

#list-edit-ok {
  grid-area: ra;
  background: green;
}

#list-edit-cancel {
  grid-area: la;
  background: red;
}

#list-edit-scroll-up {
  grid-area: rd;
}

#list-edit-scroll-down {
  grid-area: re;
}

.text-edit-grid {
  grid-template-columns: 1fr 70px;
  grid-template-rows: 65px 1fr;
  grid-template-areas: "edit ra" "button button";
}
.text-edit-grid input {
  grid-area: edit;
  height: 60px;
  font-size: 30px;
  margin-top: 5px;
}

#text-edit-back {
  grid-area: ra;
  margin: 4px 4px 0 4px;
  width: auto;
}

.text-key-holder {
  grid-area: button;
  display: grid;
  margin: 5px 2px 2px 2px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 5px;
}
.text-key-holder button {
  font-size: 24px;
  white-space: pre;
  width: auto;
}

button.text-edit-ok {
  font-size: 36px;
  background: green;
}

button.text-edit-cancel {
  font-size: 36px;
  background: red;
}

@media (min-width: 820px) {
  body {
    border: solid 1px silver;
    margin: 5px;
  }
}
.misc-grid {
  grid-gap: 4px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 80px;
  grid-template-areas: "body body body body" "h1 h2 h3 h4";
}

.misc-body {
  grid-area: body;
}

.home-button {
  font-size: 1.8em;
}

.system-info-list li {
  margin: 3px 5px 0 5px;
  padding: 4px;
  background-color: #222;
}

.system-info-list label:first-child {
  min-width: 260px;
  display: inline-block;
}

.system-info-list a, .system-info-list a:visited {
  text-decoration: none;
  color: blue;
}

.system-logging-switch {
  transform: scale(1.5);
}

.input-file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.input-file + label {
  width: auto;
  color: white;
  background-color: dodgerblue;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
}

#upgrade-form {
  display: inline;
}

.button-link, .button-link:visited, .button-link:link {
  text-decoration: none;
  border-radius: 2px;
  background-color: dodgerblue;
  color: white;
  border: none;
  touch-action: none;
  text-align: center;
}

.log-link, .log-link:visited, .log-link:link {
  text-decoration: none;
  border-radius: 2px;
  background-color: dodgerblue;
  color: white;
  border: none;
  touch-action: none;
  text-align: center;
  line-height: 80px;
}

.message-box {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: black;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  border: solid 2px white;
  align-items: center;
  align-content: space-between;
}

.alarm-list {
  grid-area: body;
  list-style: none;
  padding: 1px;
  margin: 0;
  height: 100%;
  overflow-y: hidden;
}

.alarm-list li {
  height: 2.6em;
  margin: 1px;
  font-size: 0.7em;
  border: 1px solid gray;
  padding: 2px;
  position: relative;
  overflow: hidden;
}

.network-grid {
  margin: 10px;
  display: grid;
  height: 300px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-areas: "x p6 p5 p4" "fr a b c" "rr a b c" "y p1 p2 p3";
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.netport {
  border: 1px solid white;
  text-align: center;
  padding: 3px;
}

.network-buttons {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

.network-buttons button {
  font-size: 1em;
  width: 160px;
  height: 80px;
}

/*
.back-button {
    font-size: 1em;
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 120px;
    height: 80px;
}
*/
.error {
  color: red;
}

.preview-image {
  width: 586px;
  height: 330px;
  background-color: #222;
  margin: 5px auto 0px auto;
  display: block;
}

#components-reconnect-modal {
  height: 100%;
  width: 100%;
  position: absolute;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  flex-direction: column;
}
#components-reconnect-modal.components-reconnect-show, #components-reconnect-modal.components-reconnect-failed, #components-reconnect-modal.components-reconnect-rejected {
  display: flex;
}
#components-reconnect-modal.components-reconnect-hide {
  display: none;
}

#connection-marker {
  white-space: pre;
}

.w-32 {
  width: 8rem;
}

.w-40 {
  width: 10rem;
}

.min-w-40 {
  min-width: 10rem;
}

.w-auto {
  width: auto;
}

.w-48 {
  width: 12rem;
}

.w-64 {
  width: 16rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-32 {
  height: 8rem;
}

.centre {
  text-align: center;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.pl-1 {
  padding-left: 0.25rem;
}

.pl-2 {
  padding-left: 0.5rem;
}

.pr-1 {
  padding-right: 0.25rem;
}

.pr-2 {
  padding-right: 0.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mr-8 {
  margin-right: 2rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.text-white {
  color: white;
}

.text-grey {
  color: #666;
}

.text-sm {
  font-size: 24px;
}

.font-bold {
  font-weight: bold;
}

.flex {
  display: flex;
}

.grow {
  flex-grow: 1;
}

.items-center {
  align-items: center;
}

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

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

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

/*# sourceMappingURL=styles.css.map */
