body {
    min-height: 100vh;
    margin: auto;
}

header {
    height: 10ex;
    background-color: #586994;
    color: #FFFBFE;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-title {
    font-family: Tahoma, sans-serif;
    font-size: xx-large;
    padding: .25rem .5rem;
}

#header-title2 {
    font-family: Tahoma, sans-serif;
    font-size: xx-large;
    padding: .25rem .5rem;
    outline: none;
    border: none;
    background-color: transparent;
    color: #FFFBFE;
    text-align: center;
    box-shadow: 0 0 0 1px #ebe5e566;
    width: 80%;
}

#header-title2::placeholder {
    color: #c1c1c1bd;
}

.header-button-container,
.header-button-container-left {
    min-width: 0%;
    max-width: 0%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-button-container {
    margin-right: 10px;
    margin-left: -10px;
    align-items: flex-end;
}

.header-button-container-left {
    margin-right: -10px;
    margin-left: +10px;
    align-items: flex-start;
}


@media print {
    .header-button-container { display: none; }
    .header-button-container-left { display: none; }
    aside {display: none;}
}

.header-button > a {
    font-family: monospace;
    font-size: smaller;
    color: white;
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    outline: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.header-button > a:hover {
    font-weight: bold;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 10ex);
}

.sidebar {
    min-width: 250px;
    max-width: 250px;
    background-color: #c7ced7;
    font-family: Tahoma, sans-serif;
}

.content {
    flex-grow: 1;
    display: flex;
}

.content-container {
    margin-top: 3ex;
    margin-bottom: 3ex;
    margin-left: 3em;
    margin-right: 3em;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
}

p:first-of-type,
h1:first-of-type,
h2:first-of-type,
h3:first-of-type,
h4:first-of-type {
  margin-top: 0;
}

.sidebar-rows {
    display: flex;
    flex-direction: column;
    row-gap: 1px;
    margin-top: 1ex;
    margin-left: 0px;
}

.nrow {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.ntext {
    margin-left: 1px;
    cursor: pointer;
}

.niconspace {
    margin-left: 1px;
    min-width: 4ex;
    font-family: monospace;
}

.niconspace > button {
    all:unset;
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.ntreeindent {
    margin-left: 1px;
    min-width: 2ex;
    max-width: 2ex;
}

.nlink {
      color: inherit; /* blue colors for links too */
      text-decoration: inherit; /* no underline */
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(6rem, min-content) 1fr;
  word-break: break-word;
  column-gap: 1rem;
  row-gap: 12px;
  max-width: 20rem;
  margin-bottom: 1ex;

}

.login-grid > input {
  border: 1px solid #ccc;
  height: 1.15rlh;
  font-family: monospace;
  padding-left: 0.3em;
}

.login-grid > input:focus {
  outline-style: solid;
  outline-width: 2px;
  border-color: #888;
  outline: 0;
}

#login-submit {
  line-height: 20px;
  padding: 2px 10px 2px 10px;
  background-color: rgb(250, 250, 250);
  border: 1px solid #ccc;
  color: rgb(0, 0, 0);
}

#login-submit:focus {
  outline: 2px solid #888;
}
