*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

html {
  height: 100%;
}

body {
  background-color: #15181b;
  color: #c0c0cb;
  height: 100%;
}

* {
  color: #c0c0cb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

.page-container {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 8fr;
  grid-template-rows: 60px 1fr 108px 32px;
  gap: 0.3rem;
  grid-template-areas: "header header" "leftnav content" "leftnav chatinput" "footer footer";
  overflow-y: hidden;
  height: 100%;
}
.page-container .page-leftnav {
  grid-area: leftnav;
  display: flex;
  flex-direction: column;
  border: #7b1822 solid 1px;
}
.page-container .page-leftnav .page-leftnav-item {
  display: block;
}
.page-container .page-header {
  grid-area: header;
  display: flex;
  flex-direction: row;
  padding: 0 16px 0 0;
  border: #7b1822 solid 1px;
  justify-content: center;
  justify-items: center;
}
.page-container .page-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  padding: 1px;
  border: #7b1822 solid 1px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.page-container .chatinput-container {
  grid-area: chatinput;
  border: #7b1822 solid 1px;
}
.page-container .page-footer {
  grid-area: footer;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0 16px;
  border: #7b1822 solid 1px;
}

.page-header-content {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  padding: 0 4px 0 16px;
  align-items: center;
}

.page-header-title {
  font-size: 150%;
  font-weight: bold;
}

#logout-link {
  display: flex;
  flex-direction: column;
  padding: 4px 16px;
  background-color: #313136;
  border: #676671 solid 1px;
  border-radius: 16px;
  transition: 0.2s;
}
#logout-link:hover {
  background-color: #252d31;
}

div.spacer {
  display: flex;
  flex-flow: row;
  flex: 1 0 auto;
  height: 0;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  padding: 0;
}
.row.content {
  padding: 8px;
  border: #313136 solid 1px;
}
.row.muted {
  color: #313136;
}

.column {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

label#userdoc-label {
  cursor: pointer;
  padding: 0;
  margin: 0;
}

input {
  display: flex;
  flex-flow: row;
  flex: 1 1 auto;
  transition: 0.2s;
  min-height: 32px;
  line-height: 1.5;
  padding: 8px;
  font-size: 125%;
  font-family: sans-serif;
  background-color: #313136;
  color: #c0c0cb;
  border: #919191 solid 1px;
  border-radius: 4px;
}
input:hover {
  background-color: #252d31;
}
input[type=file] {
  cursor: pointer;
}

.input-text {
  display: flex;
  flex-flow: row;
  flex: 1 1 auto;
  transition: 0.2s;
  white-space: pre-line;
  resize: both;
  overflow: scroll;
  height: 100%;
  background-color: #313136;
  color: #c0c0cb;
  border: #919191 solid 1px;
  border-radius: 4px;
}
.input-text:hover {
  background-color: #252d31;
}
.input-text > input, .input-text > textarea {
  min-height: 32px;
  border: none;
  outline: none;
  background-color: transparent;
  padding: 8px;
  line-height: 1.5;
  font-size: 125%;
  font-family: sans-serif;
}
.input-text > input:focus, .input-text > textarea:focus {
  background-color: #aeb0b9;
  color: #15181b;
}

.output-outer {
  display: flex;
  flex-flow: column;
  flex: 1 1 auto;
  padding: 8px;
  border: #8e8f97 solid 1px;
  border-radius: 8px;
}
.output-outer.warning {
  background-color: #7b1822;
}

.output-inner {
  display: flex;
  flex-flow: row;
  flex: 1 1 auto;
  padding: 8px;
  margin: 4px;
  border-radius: 8px;
  background-color: #313136;
}

.output-field {
  display: flex;
  flex-flow: column;
  flex: 1 1 auto;
  padding: 8px;
  margin: 4px;
  border-radius: 8px;
  background-color: #313136;
}

.output-container,
.form-container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 16px 0 16px 8px;
  padding: 8px;
  border: #8e8f97 solid 1px;
  border-radius: 8px;
}
.output-container .label, .output-container label,
.form-container .label,
.form-container label {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  margin: 8px;
  vertical-align: center;
}
.output-container .form-section,
.form-container .form-section {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  border: #8e8f97 solid 1px;
  border-radius: 8px;
}
.output-container .form-field-group,
.form-container .form-field-group {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}
.output-container .form-field-outer,
.form-container .form-field-outer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex-shrink: 1;
  padding: 0;
  margin: 8px 0;
  border: #8e8f97 solid 1px;
  border-radius: 8px;
}
.output-container .form-field-inner,
.form-container .form-field-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0 8px;
  width: 100%;
}

.form-button-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-shrink: 1;
  padding: 16px 0;
}

.form-button-group button {
  margin: 0 16px 0 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

.status-message {
  display: flex;
  flex-flow: row nowrap;
  flex: 1 1 auto;
}
.status-message .status-header {
  display: flex;
  flex-flow: column;
  padding: 0 8px;
  font-weight: bold;
}
.status-message .status-text {
  display: flex;
  flex-flow: column;
}

.horizontal-separator {
  display: flex;
  flex-direction: row;
  width: 25%;
  background-color: #541017;
  margin: 4px 0;
  height: 3px;
}

.id-text {
  font-family: monospace;
  font-size: 80%;
  color: #8e8f97;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

button {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background-color: #313136;
  color: #c0c0cb;
  border: #8e8f97 solid 1px;
  border-radius: 16px;
  padding: 4px 16px;
  margin: 0;
  transition: 0.2s;
}
button:hover {
  background-color: #252d31;
}
button.notice {
  border-color: #9b1e2b;
}
button.primary {
  background-color: #185232;
}
button.primary:hover {
  background-color: #0f331f;
}
button.warning {
  background-color: #9b1e2b;
}
button.warning:hover {
  background-color: #7b1822;
}
button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.included {
  background-color: #00a64c;
  color: white;
  width: 32px;
  height: 32px;
}
button.included:hover {
  background-color: #00873d;
}
button.excluded {
  background-color: #d32547;
  color: white;
  width: 32px;
  height: 32px;
}
button.excluded:hover {
  background-color: #9b1e2b;
}

.form-container.chatbot-form .input-text {
  height: 75px;
}
.form-container.chatbot-form .input-text input[type=text] {
  object-position: top left;
  font-size: 125%;
}
.response-container {
  display: flex;
  flex-flow: column wrap;
  margin-top: 20px;
  border: 1px solid #504e5e;
  border-radius: 8px;
}
.response-container #response-target {
  padding: 16px;
  border-radius: 8px;
  min-height: 200px;
}

.chattext-container {
  display: flex;
  flex-flow: column wrap;
  padding: 8px;
}
.chattext-container .chattext {
  display: flex;
  flex-flow: row wrap;
  flex: 1 0 auto;
  justify-content: flex-start;
  padding: 2px 8px;
  min-height: 24px;
  line-height: 1.3;
  border-radius: 8px;
  white-space: pre-line;
  border: 1px solid #504e5e;
}
.chattext-container .chattext.user {
  color: #3bce84;
  font-style: italic;
}
.chattext-container .chattext .chattext-label {
  display: flex;
  flex-flow: row wrap;
  color: #8e8f97;
  max-height: 24px;
}

.istview-container {
  display: flex;
  flex-flow: column nowrap;
  flex: 1 1 auto;
}

.card {
  display: flex;
  flex-flow: column nowrap;
  padding: 8px;
  margin: 8px 0 0 0;
  border-radius: 8px;
  border: #8e8f97 solid 1px;
}
.card .card-header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  font-weight: bold;
  font-size: 120%;
}
.card.inner {
  background-color: #313136;
  border: none;
}

.row-header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  color: #2b945e;
  margin: 8px 0 4px 0;
  font-weight: bold;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

.table-container {
  display: flex;
  flex-flow: column;
  border: #8e8f97 solid 1px;
}

table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #313136;
}
table.table-striped tbody tr.warning:nth-of-type(odd), table.table-striped tbody tr.warning:nth-of-type(even) {
  background-color: #7b1822;
}

td, th {
  padding: 4px 8px;
}

td.left, th.left {
  text-align: left;
}
td.right, th.right {
  text-align: right;
}
td.center, th.center {
  text-align: center;
}
td.justify, th.justify {
  text-align: justify;
}

.table-button-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-grow: 1;
  padding: 0;
}
.table-button-group.center {
  justify-content: center;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  height: 100%;
  padding: 0;
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}
[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

button, select {
  appearance: none;
  font-family: Roboto;
  cursor: pointer;
}

textarea {
  field-sizing: content;
}

.nav-item, select {
  display: flex;
  background-color: #313136;
  color: #d6d7e4;
  border: #676671 solid 1px;
  box-shadow: #676671 0 0 5px;
  transition: 0.2s;
}
.nav-item:hover, select:hover {
  background-color: #252d31;
  box-shadow: #676671 0 0 6px;
}
.nav-item:active, select:active {
  box-shadow: #676671 0 0 1px;
}

.nav-row {
  flex-direction: row;
  width: 100%;
}
.nav-row .nav-item {
  flex-direction: column;
  border-radius: 8px;
  margin: 0 8px;
  padding: 2px 8px;
}

.nav-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px;
}
.nav-column .user-label {
  display: flex;
  flex-direction: row;
  margin: 8px;
  padding: 8px;
}
.nav-column .nav-item, .nav-column select {
  flex-direction: row;
  border-radius: 16px;
  margin: 8px;
  padding: 8px 16px;
}
.nav-column .nav-item.current, .nav-column select.current {
  background-color: #313136;
  border-color: #00a64c;
}

#logout-item {
  margin-left: auto;
}

#login-form {
  max-width: 400px;
}
#login-form #login-message {
  margin: 8px;
}
#login-form .form-field-group {
  justify-content: space-between;
}
#login-form .form-field:first-of-type {
  width: 33%;
}
#login-form .form-field:nth-of-type(2) {
  width: 65%;
}
