html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  outline: none;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
    font-weight: bold;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  overflow: hidden;
}

#main {
  -webkit-filter: blur(25px);
  filter: blur(25px);
  z-index: 100;
}

#topbar {
  position: fixed;
  font-size: 18px;
  top: 0;
  width: 100%;
  height: 52px;
  z-index: 50;
  display: flex;
  transition: opacity 1s;
}

#topbar_righticon {
  float: left;
  cursor: pointer;
  background-image: url("/ne/img/storage.svg");
  background-repeat: no-repeat;
  background-size: 52px 52px;
  height: 52px;
  width: 52px;
}

#topbar_righticon:active {
  transition: 0.3s background-color;
}

#loadscreen {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
}

#auth {
  display: none;
  width: 360px;
  margin: 25vh auto;
  padding-bottom: 10px;
  border-radius: 4px;
  background-color: rgba(220, 220, 220, 0.9);
}

#auth h1 {
  display: none;
  margin: 20px 0 20px 0;
  font-size: 17pt;
  text-align: center
}

#auth_applogo {
  width: 80%;
  height: 100px;
  background-position: center center;
  background-size: 60% 60%;
  background-repeat: no-repeat;
  margin: 0 10% 0 10%;
}

#uiLog {
  position: fixed;
  top: 10vh;
  z-index: 150;
  width: 50%;
  margin: 0 25% 0 25%;
  pointer-events: none;
}

#uiLog > div {
  margin: 7px;
  border-radius: 4px;
  width: 100%;
  background-color: rgba(189, 195, 199, 0.8);
  transition: 0.25s height;
}

#uiLog p {
  padding: 15px;
  font-size: 2em;
}

#uiLog > div > div {
  float: left;
  background-position: center center;
  background-size: 60% 60%;
  background-repeat: no-repeat;
  height: calc(30px + 2em);
  width: calc(30px + 2em);
}

.uilog_error {
  background-color: rgba(231, 76, 60, 0.8) !important;
}
.uilog_error div {
  background-image: url("/ne/img/error.svg");
}

.uilog_good {
  background-color: rgba(46, 204, 113, 0.8) !important;
}
.uilog_good div {
  background-image: url("/ne/img/good.svg");
}

.uilog_warning {
  background-color: rgba(230, 126, 34, 0.8) !important;
}
.uilog_warning div {
  background-image: url("/ne/img/warning.svg");
}

#topbar_logo {
  height: 100%;
  background-size: 80% 80%;
  background-repeat: no-repeat;
  background-position: center center;
}

#topbar_menu {
    white-space: nowrap;
}
.topbarmenu_item {
  font-size: 18px;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  color: rgba(220, 220, 220, 0.8);
  transition: 0.3s all;
}

.topbarmenu_item > p {
  float: left;
  padding: 17px;
}

#topbar_version {
    display: flex;
    padding: 1em;
    flex: auto;
    align-items: center;
    justify-content: flex-end;
    font-style: italic;
    color: rgba(220, 220, 220, 0.5);
}

#topbar_userlabel {
  padding: 17px;
  padding-left: 0;
}

#topbar_user {
  font-size: 18px;
  cursor: pointer;
  color: rgba(220, 220, 220, 0.8);
  transition: 0.3s all;
  display: flex;
}

#topbar_user:hover,
.topbarmenu_item:hover {
  background-color: rgba(220, 220, 220, 0.3);
}

#topbar_user:active,
.topbarmenu_item:active {
  background-color: rgba(40, 40, 40, 0.3);
}

.topbar_usericon {
  float: left;
  background-image: url("/ne/img/user.svg");
  background-position: center center;
  background-size: 80% 80%;
  background-repeat: no-repeat;
  height: 52px;
  width: 52px;
}

#topbar_usermenu {
  display: none;
  position: fixed;
  top: 52px;
  right: 0;
  background-color: rgb(170, 170, 170);
  width: 200px;
  text-align: left;
}

#topbar_usermenu > div {
  float: left;
  color: rgb(30, 30, 30);
  width: 100%;
  cursor: pointer;
  transition: 0.3s all;
}

#topbar_usermenu > div:hover {
  background-color: rgba(200, 200, 200, 0.8);
}

#topbar_usermenu > div:active {
  background-color: rgba(140, 140, 140, 0.8);
}

#topbar_usermenu p {
  font-size: 14.5pt;
  padding: 15px;
}

#topbar_usermenu > div > div {
  float: left;
  background-position: center center;
  background-size: 60% 60%;
  background-repeat: no-repeat;
  height: 50px;
  width: 50px;
}

.topbarmenu_selected {
  background-color: rgba(150, 150, 150, 0.2);
  border-bottom: 4px solid rgba(255, 255, 255, 0.5);
}

#content {
  display: none;
  padding-top: 52px;
  color: rgb(220, 220, 220);
  width: 100vw;
}

#background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.logout_icon {
  background-image: url("/ne/img/power.svg");
}

.usermenu_settings_icon {
  background-image: url("/ne/img/settings.svg");
}

.usermenu_about_icon {
  background-image: url("/ne/img/about.svg");
}

.input {
  margin: 0 10% 0 10%;
  padding: 7px;
  border-radius: 3px;
  background-color: rgba(220, 220, 220, 0.5);
  border: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14pt;
  width: calc(80% - 14px);
  margin-bottom: 10px;
  transition: 0.3s all;
}

.input:focus {
  background-color: rgba(240, 240, 240, 0.6);
  transition: 0.3s all;
}

.gobtn {
  padding: 14px;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
  width: 70%;
  font-size: 16pt;
  text-transform: uppercase;
  border-radius: 4px;
  color: rgb(220, 220, 220);
  transition: 0.3s all;
}

.gobtn::after {
  content: "";
  background-image: url("/ne/img/go.svg");
  background-position: 6px 6px;
  background-size: 70% 70%;
  border-radius: 18px;
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
}

.view {
  top: 52px;
  left: 0;
  display: none;
  width: 100vw;
  height: calc(100vh - 52px);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.loader {
  margin: 45vh auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1em solid rgba(255, 255, 255, 0.2);
  border-right: 1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1em solid rgba(255, 255, 255, 0.2);
  border-left: 1em solid #ffffff;
  transform: translateZ(0);
  animation: load8 0.6s infinite linear;
  animation-timing-function: steps(30);
}

.loaderText {
  display: none;
  color: white;
  font-size: 4vw;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  position: relative;
  top: 30%;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 8em;
  height: 8em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.viewloader {
  margin: 35vh auto;
}

.control {
  margin-left: 10%;
  color: rgb(30, 30, 30);
  font-size: 16px;
  position: relative;
  padding-top: 1px;
  display: block;
  margin-bottom: 12px;
  padding-left: 25px;
  cursor: pointer;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.control__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #e6e6e6;
  transition: 0.3s all;
}

.control--radio .control__indicator {
  border-radius: 50%;
}

/* Hover and focus states */
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc;
}

/* Checked state */
.control input:checked ~ .control__indicator {
  background: rgb(52, 73, 94);
}

/* Hover state whilst checked */
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: rgb(72, 93, 114);
}

/* Disabled state */
.control input:disabled ~ .control__indicator {
  pointer-events: none;
  opacity: .6;
  background: #e6e6e6;
}

/* Check mark */
.control__indicator:after {
  position: absolute;
  display: none;
  content: '';
}

/* Show check mark */
.control input:checked ~ .control__indicator:after {
  display: block;
}

/* Checkbox tick */
.control--checkbox .control__indicator:after {
  top: 4px;
  left: 8px;
  width: 3px;
  height: 8px;
  transform: rotate(45deg);
  border: solid #fff;
  border-width: 0 2px 2px 0;
}

/* Disabled tick colour */
.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

.subview {
  position: absolute;
  top: 0;
  left: 300px;
  display: none;
  float: left;
  width: calc(100vw - 300px);
  height: calc(100vh - 52px);
}

.viewsubmenu {
  float: left;
  height: 100%;
  width: 300px;
  background-color: rgba(20,20,20,0.2);
}

.viewsubmenu > div {
  padding: 12px;
  width: calc(100% - 24px);
  font-size: 14.5pt;
  background-color: rgba(20,20,20,0.1);
  transition: 0.3s background-color;
  cursor: pointer;
  border-bottom: 1px solid rgba(220, 220, 220, 0.05);
}

.viewsubmenu > div:hover {
  background-color: rgba(220,220,220,0.1);
}

.viewsubmenu > div:active {
  background-color: rgba(20,20,20,0.5);
}

.submenu_selected {
  background-color: rgba(220, 220, 220, 0.15) !important;
}

.ne-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(20,20,20,0.7)
}

.ne-prompt {
  display: none;
  position: fixed;
  width: 20%;
  z-index: 500;
  font-size: 14pt;
  color: rgb(220, 220, 220);
  top: 20vh;
  text-align: center;
  padding: 5px;
  padding-top: 10px;
  left: 40vw;
  right: 40vw;
  background-color: rgba(20,20,30,0.5)
}

.ne-prompt p {
  padding: 5px;
  padding-bottom: 12px;
}

.ne-prompt div {
  background-color: rgba(20,20,30,0.1);
  float: left;
  padding: 10px;
  cursor: pointer;
  width: calc(50% - 22px);
  transition: 0.3s all;
}

.ne-prompt div:active {
  background-color: rgba(20,20,30,0.2);
}

.ne-prompt-yes {
  margin-right: 4px;
}

.ne-prompt-yes:hover {
  background-color: rgb(239, 72, 54);
}

.ne-prompt-no:hover {
  background-color: rgba(200, 200, 200, 0.3);
}

.ne-wronginput {
  background-color: rgb(239, 72, 54) !important;
}

.prefadeIn {
  transition: opacity .4s;
  opacity: 0;
}

.fadeIn {
  opacity: 1;
}

.prefadeOut {
  transition: opacity .4s;
  opacity: 1;
}

.fadeOut {
  opacity: 0;
}

.blurred {
  -webkit-filter: blur(30px);
  filter: blur(30px);
}

.ne_table {
  width: 100%;
}

.ne_table_title {
  background-color: rgba(25, 25, 25, 0.9);
  height: 40px;
}

.ne_table th, .ne_table td {
  border-bottom: 1px solid rgba(180, 180, 180, 0.1);
  width: 25px;
  padding: 15px;
  font-size: 14.5pt;
  text-align: center;
}

.ne_table tr {
  transition: 0.25s background-color;
}

.ne_table tr:hover {
  background-color: rgba(220, 220, 220, 0.1);
}

.ne-button {
  display: inline-block;
  cursor: pointer;
  padding: 12px;
  background-color: rgba(20, 20, 20, 0.9);
  font-size: 14pt;
  color: rgb(220, 220, 220);
  transition: 0.3s background-color;
}

.ne-button:hover {
  background-color: rgba(30, 30, 30, 0.9);
}

html.test #topbar {
    background-color: #4A48;
}
