@import url(https://fonts.googleapis.com/css?family=Lato:300);

.document-fit {
  position: relative;
  margin: 0;
  height: 100%;
}

.body-fit {
  position: relative;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.app {
  margin: 0;
  height: 100%;
  overflow: auto;
  position: relative;
}

.fit {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.list {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow-y: scroll;
  /* float when not stretched */
  float: left;
  clear: both; /* or none (?) in order to display e.g. two items with width 50% side by side */
}

.stretch {
  float: none;
  clear: none; /* or none (?) in order to display e.g. two items with width 50% side by side */
}

.scroller {
  position: relative;
  -webkit-box-sizing: border-box;
  overflow: auto;
  height: auto; /* Not 100%, otherwise list-height will not be increased, when new items are added to the list */ 
  border-color: inherit;
}

.video {
  width: 100%;
  height: 100%;
  /*-webkit-filter: grayscale(1.0);*/
}

.video-scrim {
  position: absolute;
  top: 0px;
    left: 0px;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgba(55, 60, 65, 0.5), inset 0 0 169px rgba(0, 0, 0, 0.75);
}

.item-touch {
  height: 64px;
  padding: 0px 32px 0px 32px; /* top, right, bottom, left */
  white-space: nowrap;
}

.content-touch {
  font-size: 14px;
  padding-top: 25px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  /* display: inline-block; */
  vertical-align: text-bottom;
}

.item {
  min-height: 14px;
  padding: 2px 10px 2px 10px; /* top, right, bottom, left */
  white-space: nowrap;
}

.content {
  font-size: 11px;
  padding-top: 1px;
  margin: 0px 0px 0px 22px;
  line-height: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: normal;
  /* display: inline-block; */
  vertical-align: middle;
}

ul {
  /* Disable default margin in Safari */
  margin: 0px;
}

li {
  margin: 10px 0px; 
}

li span {
  font-style: italic;
  font-family: monospace;
}

hr {
  display: block;
  -webkit-margin-before: 0.5em;
  -webkit-margin-after: 0.5em;
  -webkit-margin-start: auto;
  -webkit-margin-end: auto;
  border-style: inset;
  border-width: 1px;
  border-color: inherit;
  margin: 0px 0px;
}

form {
  height: 17px;
}

input {
  position: relative;
  width: 98%;
  top: -3px;
  height: 16px;
  padding: 0px;
  margin: 0px 0px 0px 10px;
  border: none;
  background: none;
  outline: none;
  color: inherit;
  font-size: 11px;
  font-family: inherit;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: text-bottom;
}

.input-icon {
  position: relative;
  top: 3px;
  left: 0px;
  width: 12px;
  height: 12px;
  line-height: 12px;
  vertical-align: middle;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  font-family: Consolas, monospace;
  float: left;
  color: rgba(0, 190, 255, 1.0);
}

.jbrn-theme {
  /* Use 'Lato' as alternative to 'Prelude' (original webOS font). Alternative  web-safe font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif */
  font-family: 'Lato', sans-serif;
  color: rgba(175, 175, 175, 1.0); 
  /*
    jbrn-blue: rgba(0, 90, 150, 1.0);
    jbrn-light-blue: rgba(0, 190, 255, 1.0);
    jbrn-cyan: rgba(0, 210, 230, 1.0);
    jbrn-yellow: rgba(250, 255, 130, 1.0);
  */
  background-color: rgba(0, 190, 255, 1.0);
  border-color: rgba(0, 190, 255, 1.0);
  box-shadow: inset 0 0 69px rgba(0, 0, 0, 0.3);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.jbrn-basic-theme {
  /* Use 'Lato' as alternative to 'Prelude' (original webOS font). Alternative  web-safe font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif */
  font-family: 'Lato', sans-serif;
  color: rgba(0, 0, 0, 1.0); 
  /*
    jbrn-blue: rgba(0, 90, 150, 1.0);
    jbrn-light-blue: rgba(0, 190, 255, 1.0);
    jbrn-cyan: rgba(0, 210, 230, 1.0);
    jbrn-yellow: rgba(250, 255, 130, 1.0);
  */
  background-color: rgba(255, 255, 255, 1.0);
  border-color: rgba(255, 255, 255, 1.0);
}

@media (prefers-color-scheme: dark) {
  .jbrn-basic-theme.adaptive {
    /* Use 'Lato' as alternative to 'Prelude' (original webOS font). Alternative  web-safe font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif */
    font-family: 'Lato', sans-serif;
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(0, 0, 0, 1.0);
    border-color: rgba(0, 0, 0, 1.0);
  }
}

.pixel {
  position: relative;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  background-color: rgba(0, 0, 0, 1.0);
}

@media (prefers-color-scheme: dark) {
  .pixel.adaptive {
    position: relative;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    background-color: rgba(255, 255, 255, 1.0);
  }
}

.scene {
  position: relative;
  width: 100%;
  height: 200vh;
  text-align: center;
}

span {
  line-height: 100%;
  vertical-align: middle;
}

.webos-theme {
  /* Use 'Lato' as alternative to 'Prelude' (original webOS font). Alternative  web-safe font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif */
  font-family: 'Lato', sans-serif;
  color: rgba(75, 75, 75, 1.0);
  background-color: rgba(245, 245, 245, 1.0);
  border-color: rgba(245, 245, 245, 1.0);
  box-shadow: inset 0 0 169px rgba(0, 0, 0, 0.3);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.console-light-theme {
  font-family: 'Menlo', 'Andale Mono', Consolas, monospace;
  color: rgba(105, 105, 105, 1.0);
  background-color: rgba(255, 255, 255, 1.0);
  border-color: rgba(245, 245, 245, 0.15);
}

.console-dark-theme {
  font-family: 'Menlo', 'Andale Mono', Consolas, monospace;
  color: rgba(245, 245, 245, 1.0);
  background-color: rgba(40, 40, 35, 1.0);
  border-color: rgba(94, 94, 94, 0.15);
}

.light {
  color: rgba(255, 255, 255, 1.0);
}

.dark {
  color: rgba(40, 40, 35, 0.75);
}

.internal {
  color: rgba(0, 190, 255, 1.0);
}

.internal-icon {
  position: relative;
  top: 2px;
  left: 0px;
  width: 12px;
  height: 12px;
  line-height: 12px;
  vertical-align: middle;
  text-align: center;
  font-style: italic;
  font-size: 9px;
  font-weight: bold;
  float: left;
  border-radius: 50%;
  background-color: rgba(0, 190, 255, 1.0);
}

.warning {
  color: rgba(255, 165, 0, 1.0); /* rgba(240, 120, 30, 1.0); */
}

.warning-icon {
  position: relative;
  top: 1px;
  left: 0px;
  width: 0px;
  height: 0px;
  float: left;
  border-width: 0px 6px 12px 6px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 165, 0, 1.0) transparent;
}

.warning-icon-exclamation {
  position: relative;
  left: -3px;
  top: 2px;
  font-size: 10px;
  font-weight: bold;
}

.error {
  color: rgba(245, 30, 30, 1.0);
}

.error-icon {
  position: relative;
  top: 2px;
  left: 0px;
  width: 12px;
  height: 12px;
  line-height: 12px;
  vertical-align: middle;
  text-align: center;
  font-style: normal;
  font-size: 10px;
  font-weight: bold;
  float: left;
  border-radius: 50%;
  background-color: rgba(245, 30, 30, 1.0);
}
