:root {
  /*--default-color: rgba(0,0,54,1);*/
  --default-color: rgba(0, 0, 0, 1);
  --selected-color: rgba(0, 112, 192, 1);
  /*--selected-color: var(--choral-cyan);*/
  /*--disabled-color: rgba(182,197,209,1);*/
  --disabled-color: rgba(191, 191, 191, 1);
  /*--shade-color: rgba(0,112,192,.3);*/
  --shade-color: rgba(242, 242, 242, 1);
  --heading-color: rgba(127, 127, 127, 1);
  --red-color: rgba(255, 0, 0, 1);
  --line-sep-color: rgba(217, 217, 217, 1);
  --line-sep-op8-color: rgba(217, 217, 217, .8);
  --gray-shade-color: #f1f1f1;
  --selected-op3-color: rgba(0, 112, 192, .6);
  /*  --disabled-op5-color:rgba(182,197,209,.5); */
  --disabled-op5-color: rgba(191, 191, 191, .5);
  --diagram-1-color: rgba(126, 142, 165, 1);
  --diagram-2-color: rgba(90, 105, 129, 1);
  --depth-0-color: var(--blue-color);
  --depth-1-color: var(--default-color);
  --depth-2-color: var(--blue-color);
  --depth-3-color: var(--default-color);
  --depth-4-color: var(--blue-color);
  --depth-5-color: var(--default-color);
  --depth-6-color: var(--blue-color);
  --depth-7-color: var(--default-color);
  --depth-8-color: var(--blue-color);
  /*
  --level-0-color: var(--choral-blue-selected);
  --level-1-color: var(--default-color);
  --level-2-color: var(--choral-blue-selected);
  --level-3-color: var(--default-color);
  --level-4-color: var(--choral-blue-selected);
  --level-5-color: var(--default-color);
  --level-6-color: var(--choral-blue-selected);
  --level-7-color: var(--default-color);
  --level-8-color: var(--choral-blue-selected);
  */
  --level-0-color: var(--default-color);
  --level-1-color: var(--heading-color);
  --level-2-color: var(--default-color);
  --level-3-color: var(--heading-color);
  --level-4-color: var(--default-color);
  --level-5-color: var(--heading-color);
  --level-6-color: var(--default-color);
  --level-7-color: var(--heading-color);
  --level-8-color: var(--default-color);


  /* Material design */

  --mdc-theme-primary: var(--choral-blue);
  --mdc-theme-secondary: var(--default-color);

}

body {
  /*font-family: Calibri, Calibri Light, Calibri-light, Arial, Helvetica, sans-serif;*/
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: .9em ;
  background-color: white;
  color: var(--default-color);
  overflow-y: scroll;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch !important;
  overflow-x: hidden;
  margin: 0px;
  -webkit-font-smoothing: antialiased !important;
  letter-spacing: .1px;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  /* for remove highlight on ipad */
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

iframe {
  border: none;
}

/*
** Media
*/

/*
@media all and (max-width: 1367px) {
  body {
    font-size: .8em;
  }
}
*/

/*
**  General classes
*/

.small-caps {
  font-variant: small-caps;
}

.orange, view-options .level.orange {
  color: var(--choral-orange);
}

.gray, view-options .level.gray {
  color: var(--heading-color);
}

.blue, view-options .level.blue {
  color: #4e79a7;
}

.lightgray, view-options .level.lightgray {
  color: lightgray;
}

.separator, view-options .level.separator {
  border-top: 1px solid lightgray;
  content: '';
}

.choral-blue {
  color: var(--choral-blue);
}

.large {
  font-size: 1.1em;
}

.small {
  font-size: .9em;
}

.smaller {
  font-size: .8rem;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.enabled {
  cursor: default;
}

.disabled {
  color: var(--disabled-color) !important;
}

.enabled:not(.selected):not(.color-override) {
  color: inherit;
  /* var(--default-color); */
}

.enabled.selected {
  color: var(--choral-blue-selected);
}

.enabled:hover {
  color: var(--choral-blue-selected);
}

.selectable:hover {
  color: var(--choral-blue-hover) !important;
}

.bg-gray .enabled:not(.icon):hover {
  background-color: #ccc;
}

.bg-gray .enabled.selected:not(.icon) {
  background-color: #777;
  color: white;
}

/*
.bg-gray .icon.enabled:hover,
.bg-gray .icon.enabled.selected {
  color: var(--choral-orange);
}
*/

.bg-blue .enabled:hover {
  color: var(--choral-orange-light);
}

.bg-blue .enabled.selected {
  color: var(--choral-orange);
}

.hover-zoom {
  transition: .5s;
}

.hover-zoom:hover {
  transform: scale(1.5);
}

.border {
  border: .5px solid var(--line-sep-color);
  border-radius: .2rem;
}

.margin-7 {
  margin: 7px;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 2rem;
}

.m-3 {
  margin: 3rem;
}

.m-4 {
  margin: 4rem;
}

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

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

.ml-3 {
  margin-left: 3rem;
}

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

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

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

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.p-4 {
  padding: 4rem;
}

span {
  cursor: default;
}

/* Containers */

.flex-row {
  display: flex;
}

.flex-row.space-between {
  justify-content: space-between;
}

div.scrollable-container {
  overflow-y: scroll;
  height: 90vh;
  margin-right: 10px;
  margin-left: 10px;
}

/* select {
  font-size: inherit;
  border: .5px solid var(--line-sep-color);
} */

select:focus {
  outline: none;
}

/* link */

a.link, a {
  text-decoration: none;
  color: var(--default-color);
}

/* very thin scrollbar */

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.01);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05);
}

/* general */

table.simple tr {
  line-height: 1.6em;
}

table.simple tbody td, table.dataTable thead th {
  text-align: right;
}

table.simple.left tbody td, table.dataTable thead th {
  text-align: left;
}

table.simple tbody td:first-child, table.simple thead th:first-child {
  text-align: left;
}

table.bordered-table, table.all-bordered-table {
  line-height: 1.8em;
}

table.all-bordered-table td, table.all-bordered-table th {
  border: .25px solid;
  border-color: var(--line-sep-color);
}

table.bordered-table td {
  border: .25px solid;
  border-color: var(--line-sep-color);
  border-left: none;
  border-right: none;
}

table.bordered-row-table tr:not(:last-child) {
  border-bottom-style: solid;
  border-bottom-width: .25px;
  border-bottom-color: var(--line-sep-color);
  border-collapse: collapse;
}

table.bordered-row-table tr {
  vertical-align: middle;
  height: 1.8em;
}

table.bordered-row-table tr td {
  border: none;
}

.page-center {
  position: absolute;
  /* width: 18em; */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* primitives */

/* components */

.component {
  cursor: default;
}

.label-icon span.label {
  margin-left: .4em;
}

.title {
  margin-top: 10px;
  margin-bottom: 10px;
}



/* Button */

span.button {
  padding: .4rem .8rem;
  line-height: 1.3rem;
  display: inline-block;
  cursor: pointer;
  /* background: #ebebeb; */
  /* background: linear-gradient(#fff,#ebebeb); */
  /* border: 1px solid #b5b5b5; */
  /* border: .5px solid #b5b5b5; */
  border-radius: .2rem;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  transition: .5s;
}

.interactive-shadow {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: .2rem;
}

span.button:not(.disabled), .interactive-shadow:not(.disabled) {
  box-shadow: 0 13px 19px -10px rgba(0, 0, 0, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.1);
  border: none;
}

span.button.disabled, .interactive-shadow.disabled {
  border: .5px solid var(--line-sep-color);
}

span.button:not(.disabled):hover, .interactive-shadow:not(.disabled):hover {
  box-shadow: 0 13px 19px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(0, 0, 0, 0.3);
}

span.button span.icon+span.label {
  margin-left: 10px;
}

div.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  color: var(--heading-color);
  background-color: white;
  border-radius: 50%;
  z-index: 13;
}

div.close-button:hover {
  color: var(--choral-blue-hover) !important;
}

/* Table related */

/* table td th {
  padding-left: .5em;
  padding-right: .5em;
  border: .5px solid;
  border-color: transparent;
  border-left: none;
  border-right: none;
}

table th {
  font-weight: normal;
  text-align: left;
}

table {
  border-collapse: collapse;
} */

table.scrollable {
  height: 70vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
  display: block;
  border-collapse: collapse;
}

/* table.scrollable td {
  border: none;
} */

tr.first-left-rest-right td:not(first-child) {
  text-align: right;
}

tr.first-left-rest-right td:first-child {
  text-align: left;
}

div#map-page {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

div#top-menu div.line-1, div#top-menu div.line-2, div#main-area div.line-3 div#custom-main-area div.line-3 {
  width: 100vw;
  height: 2.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div#top-menu div.line-1 {
  background-color: var(--choral-blue);
  color: white;
}

div#top-menu div.line-2 {
  background-color: var(--gray-shade-color);
}

div#main-area div.line-3 {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

div#main-area div.line-3.show {
  height: 1.8em;
  opacity: 1;
  transition: 500ms;
  visibility: visible;
}

div#main-area div.line-3:not(.show) {
  height: 0em;
  opacity: 0;
  transition: 500ms;
  visibility: hidden;
}

div#custom-main-area div.line-3 {
  justify-content: flex-end;
  width: 100%;
}

div#custom-main-area div.line-3.show {
  height: 1.8em;
  opacity: 1;
  transition: 500ms;
  visibility: visible;
}

div#custom-main-area div.line-3:not(.show) {
  height: 0em;
  opacity: 0;
  transition: 500ms;
  visibility: hidden;
}

div#top-menu div.line-1>div, div#top-menu div.line-2>div, div#main-area div.line-3>div {
  margin: .4em;
}

div#top-menu div.line-1 div.text-menu>span {
  margin-left: 1.1em;
  margin-right: 1.2em;
}

div#top-menu div.line-1 div.text-menu>span:last-child {
  margin-right: .2em;
}

div#top-menu div.line-1 div.text-menu>span:hover {
  color: var(--choral-orange-light);
}

div.icon-menu {
  display: flex;
}

div.icon-menu>div {
  margin-left: 8px;
  margin-right: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div#icon-menu {
  position: absolute;
  background-color: white;
  position: absolute;
  right: 10px;
  top: 33%;
  cursor: default;
  /*  font-size: 10.5pt;*/
  /* width: 20px; */
  display: flex;
  flex-flow: column;
  /*justify-content: space-around;*/
  align-items: center;
  /*box-shadow: rgba(0,32,96,0.2) 1px 1px 2px 0px; */
  padding: 5px;
  z-index: 10;
}

div#icon-menu div.icon {
  margin-top: 8px;
}

div.nptable-header div.nptable-center.title {
  /*  font-size: 1.1em;*/
  color: var(--choral-blue-selected);
}

div#main-area {
  width: 100vw;
  height: calc(100vh - 3em);
  display: flex;
}

div#custom-main-area {
  width: 100vw;
  /* height: calc(100vh - 3em); */
  /* display: flex; */
}

div#left-menu {
  width: 20vw;
  background-color: var(--gray-shade-color);
}

div.view-area {
  width: 80vw;
}

div#viz {
  display: flex;
  flex-direction: column;
  /*  justify-content: center;*/
  /*align-items: center;*/
  margin-top: 10px;
  width: 100%;
  height: calc(100% - 4rem);
}

div#viz div.view-panel {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
}

div#viz div.view-panel div.view {
  /*  flex-grow: 10;*/
  display: flex;
  flex-direction: column;
  min-width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

div#viz div.table-option {
  /*font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  /*  font-size: 10pt;*/
  color: var(--heading-color);
  margin-top: 5px;
  display: flex;
  justify-content: center;
}

div.item+div.item::before {
  content: "\00a0 . ";
  position: relative;
  color: var(--heading-color);
}

div#viz div.table-option div.item.selected {
  color: var(--choral-blue-selected);
}

div.table-option div.item:hover, div.nav div.item:hover {
  color: var(--choral-blue-hover);
}

div.nptable-table.menu {
  border-top: solid 0px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

div.nptable-table.menu table span.label-icon span.icon {
  font-size: .9em;
  padding-left: .5em;
}

div.nptable-header.menu {
  margin-top: 0px;
}

div.nptable-table {
  border-top-color: var(--selected-op3-color);
}

div#view-options {
  display: flex;
}

div#view-options div.button {
  margin-left: 8px;
  margin-right: 8px;
}

div#view-options div.button.enabled:not(.selected), div#icon-menu div.icon.enabled:not(.selected), .enabled:not(.selected):not(.icon):not(.button):not(.color-override) {
  color: inherit;
  /* var(--default-color); */
}

div#view-options div.button.selected, div#icon-menu div.icon.enabled.selected {
  color: var(--choral-blue-selected);
}

div#view-options div.button.disabled, div#icon-menu div.icon.disabled {
  color: var(--disabled-color);
}

div#view-options div.button.enabled:hover, div#icon-menu div.icon.enabled:hover {
  color: var(--choral-blue-selected);
}

div.hdr-panel {
  display: flex;
  justify-content: center;
  margin: 10px;
}

div.hdr-panel div.hdr, div.hdr-panel div.button {
  margin-left: 20px;
  margin-right: 20px;
}

div.hdr-panel div.hdr {
  color: var(--heading-color);
}

div.hdr-panel div.button:hover {
  color: var(--choral-blue-hover);
}

div.pivot-filter-panel {
  /*  position: absolute;*/
  margin-left: auto;
  /*  margin-right: 30px;*/
  /*right: 35px;
  top: 100px;*/
  display: flex;
  /*  flex-direction: column;*/
  flex-grow: 1;
  cursor: default;
  /*  color: var(--heading-color);*/
  /*
  min-width: 150px;
  max-width: 250px;
  */
  min-width: 15vw;
  max-width: 20vw;
  z-index: 10;
  /*background-color: white;*/
  margin-left: 10px;
  margin-top: 10px;
}

div.pivot-filter-panel div.filler {
  width: 30px;
}

div.pivot-filter-scroller {
  height: calc(100vh - 5em);
  overflow-y: scroll;
  scroll-behavior: smooth;
  width: 100%;
}

div.pivot-filter-panel div.views-options.level-1 {
  padding-left: 1rem;
}

div.pivot-filter-panel div.views-options.level-2 {
  padding-left: 1.5rem;
}

div.pivot-filter-panel div.views-options.level-3 {
  padding-left: 2rem;
}

div.pivot-filter-panel div.views-options.level-4 {
  padding-left: 2.5rem;
}

div.pivot-filter-panel div.views-options.level-5 {
  padding-left: 3rem;
}

div.pivot-filter-panel div.views-options.level-6 {
  padding-left: 3.5rem;
}

div.pivot-filter-panel div.views-options.level-7 {
  padding-left: 4rem;
}

div.pivot-filter-panel div.views-options.level-8 {
  padding-left: 4.5rem;
}

div.pivot-filter-panel div.views-options.level-9 {
  padding-left: 5rem;
}

div.pivot-filter-panel div.views-options, div.pivot-filter-panel div.group-options, div.pivot-filter-panel div.pivot-options, div.pivot-filter-panel div.Row-pivot-options, div.pivot-filter-panel div.Column-pivot-options, div.pivot-filter-panel div.filter-options {
  /* 
  margin-top: 6px;
  margin-bottom: 6px;
  */
  padding: 5px;
}

div.pivot-filter-panel div.pivot-options, div.pivot-filter-panel div.Row-pivot-options, div.pivot-filter-panel div.Column-pivot-options, div.pivot-filter-panel div.filter-options {
  margin-left: 6px;
}

div.tree-view div.node {
  margin-top: 5px;
}

div.pivot-filter-panel div.views-options.domain {
  font-weight: bold;
  font-size: 1.1em;
}

div.views-options span.icon {
  font-size: .9em;
}

div.pivot-panel div.pivot-title, div.filter-panel div.filter-title {
  /*  border-bottom: 0.5px solid var(--line-sep-color);*/
  margin-top: 10px;
  padding-bottom: 2px;
  /* font-variant: small-caps; */
}
div.filter-panel div.filter-title:hover {
  color: var(--choral-blue-selected);
}
div.filter1-panel {
  margin-top: 10px;
}

div.filter1-panel div ~ div {
  margin-top: 10px;
}

div.level1.entry {
  color: var(--level-2-color);
  height: 2em;
}

div.level2.entry {
  color: var(--level-1-color);
  height: 2em;
}

div.updated-on {
  /*font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  position: fixed;
  right: 5px;
  bottom: 10px;
  font-size: small;
  color: var(--heading-color);
}

div#side-menu-view, div.center-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 5px;
  background-color: white;
  border-radius: 3px;
  transform: translate(-50%, -50%);
  border: solid .5px var(--disabled-color);
  box-shadow: 1px 2px 15px 1px rgba(0, 0, 0, 0.15);
  z-index: 12;
  transition: opacity .5s;
}

div.center-popup div.content {
  max-height: 80vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
  max-width: 85vw;
  min-width: 10vw;
  min-height: 5vh;
}

.row-pre {
  /*font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  /*  color: var(--heading-color);*/
  /*  font-size: 10pt; */
  font-weight: 300;
}

.row-pre:hover {
  color: var(--choral-blue-hover);
}

table.dataTable thead th:first-child.unit {
  /*  font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  font-style: normal;
  font-size: 8pt;
  color: var(--heading-color);
  text-align: right;
}

div.map-address {
  color: var(--heading-color);
  border-bottom-style: solid;
  border-bottom-width: .25px;
  border-bottom-color: var(--disabled-color);
  margin: 0 auto;
  margin-top: 10px;
  padding-bottom: 4px;
}

div.map-address span.name {
  /*font-family: Calibri, Calibri Light, Calibri-light, Arial, Helvetica, sans-serif;*/
  /*font-size: 11pt; */
  color: var(--default-color);
}

div.map-address span.time-unit, div.map-address span.filter {
  margin-left: 5px;
  font-size: .8em;
}

div.favorite-view {
  width: 70vw;
}

div.favorite-title, div.movie-editor-title {
  /*  font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  /*  font-size: 10pt; */
  margin: 0px;
  padding: 10px;
  text-align: center;
  border-bottom: solid .25px var(--heading-color);
}

div.favorite-view table, div.movie-editor table {
  height: 75vh;
  overflow-y: scroll;
}

div.favorite-view table td {
  padding: 5px;
}

div.favorite-view table td span {
  margin: 8px;
  color: transparent;
}

div.favorite-view table td span.visible {
  color: inherit;
}

div.movie-editor div.movie-editor-title span {
  margin-left: 10px;
}

div.movie-editor thead {
  border-bottom: solid .25px var(--heading-color);
  color: var(--heading-color);
}

div.movie-editor thead th {
  padding-left: 5px;
}

div.movie-editor thead th:last-child {
  padding-right: 8em;
}

div.movie-editor tr {
  line-height: 1.8em;
}

div.movie-editor td span.option {
  margin-left: 5px;
  margin-right: 5px;
}

/* Movie Player */

div.player {
  position: absolute;
  pointer-events: none;
  border: none;
  /* 5px solid lightgray; */
  background-color: white;
  width: 100vw;
  height: 100vh;
  /*    width: 800px;
  height: 600px; */
  bottom: 1px;
}

div.player span.movie-icon {
  position: fixed;
  top: 5px;
  right: 5px;
  color: var(--red-color);
}

div.player div.title {
  margin: 0 auto;
  font: inherit;
  text-align: center;
}

div.player div.moviescreen {
  display: table;
  margin: 1px auto;
  font: inherit;
  /*width: 100%; */
  /*  height: 90%;*/
  height: 90vh;
  overflow: scroll;
}

div.player div.moviescreen img {
  max-width: 90vw;
  max-height: 90vh;
}

div.player div.controls {
  /*margin: 1px auto; */
  pointer-events: all;
  position: absolute;
  bottom: 1.2em;
  width: 100%;
  text-align: center;
  /*font-size: 1.5em;*/
}

div.player div.controls span {
  margin-left: 15px;
  margin-right: 15px;
}

div.player div.controls span:hover {
  color: var(--red-color);
}

div.player div.controls span.disabled {
  color: var(--blue-shade-color);
}

div.player div.moviescreen table.scrollable {
  margin: 1px auto;
  display: table;
}

.zoom-2 {
  zoom: 2;
  -moz-transform: scale(2);
  -moz-transform-origin: 0 0;
}

/* Movie Player */

div.frameview-header {
  display: flex;
  justify-content: space-between;
  height: 2em;
  margin: 10px;
  margin-right: 30px;
}

div.preview-main {
  margin-top: 5px;
  overflow: scroll;
  pointer-events: none;
}

div.addressbar {
  /*  font-family: Calibri Light, Calibri-light, Calibri, Arial, Helvetica, sans-serif;*/
  /*  font-size: 10pt; */
  border-bottom: solid .25px var(--heading-color);
}

div.search {
  position: initial;
  margin: 5px;
  border: none;
  display: flex;
  flex-direction: column;
  height: 8rem;
  width: 40rem;
}

input.search-input {
  vertical-align: middle;
  font-size: 1rem;
  font-size: 1rem;
  height: 2rem;
  outline: none;
  border: none;
  overflow: visible;
  touch-action: manipulation;
  border-bottom: .5px solid var(--line-sep-color);
}

div.search span.speech {
  margin-left: 10px;
}

div.search ul {
  list-style: none;
  padding-left: 5px;
  margin-top: 0px;
  height: 85%;
  overflow-y: scroll;
}

div.search li.suggest {
  padding-top: 5px;
}

div.search li.suggest:hover {
  color: var(--choral-blue-hover);
}

div#search i.fal {
  margin-left: 5px;
  margin-top: 3px;
}

/* waterfall */

div.waterfall-container .bar.total rect {
  fill: var(--choral-blue-hover);
}

div.waterfall-container .bar.positive rect {
  fill: var(--choral-blue-hover);
}

div.waterfall-container .bar.negative rect {
  fill: crimson;
}

div.waterfall-container .bar line.connector {
  stroke: grey;
  stroke-dasharray: 3;
}

div.waterfall-container .bar text.value {
  text-anchor: middle;
  /*  font-size: 10pt; */
}

div.waterfall-container .bar text.label {
  text-anchor: middle;
  /*  font-size: 9pt;*/
}

div.waterfall-container .axis path, div.waterfall-container .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
  opacity: 0.2;
}

/* Slide button for slide panel*/

div.slide-panel-right {
  position: fixed;
  top: 4em ;
  padding-top: 2em;
  box-shadow: 0 13px 19px -10px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: .5s;
  background: white;
  width: 50vw;
  padding-left: 10px;
  padding-bottom: 10px;
  /* z-index: 5; */
  max-height: 92vh !important;
  overflow-y: scroll;
}

div.slide-btn {
  position: fixed;
  right: 0px;
  top: 9.1em;
  height: 2em;
  width: 2em;
  background: lightgray;
  text-align: center;
  border-radius: 1em;
  transition: .5s;
  opacity: .6;
  z-index: 6;
}

div.slide-btn:hover {
  opacity: 1;
  color: var(--selected-color);
  transform: scale(1.5);
}

div.slide-btn.closed {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

div.slide-btn.open {
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}

div.stack-view {
  z-index: 11;
  background: white;
}

div.stack-pane {
  position: absolute;
  background: white;
  border: solid .5px var(--disabled-color);
  box-shadow: 1px 2px 15px 1px rgba(0, 0, 0, 0.15);
  padding: 3px;
}

div.stack-btn {
  position: absolute;
  /*background: white;*/
  color: var(--disabled-color);
}

div.glossary-table {
  max-width: 85%;
  margin: auto;
}

div.glossary-table th {
  font-variant: small-caps;
}

div.glossary-table td {
  vertical-align: top;
}

div.glossary-table table tr td:first-child {
  white-space: nowrap;
}

div.threat-level-container {
  display: flex;
}

div.threat-level-container div.view-container {
  display: flex;
  flex-direction: column;
}

div.threat-level-container div.legend-container {
  width: 20vw;
}

div.threat-level-container div.legend-container {
  transform: translate(50%, 50px);
}

div.threat-level-container div.view-container {
  width: 50vw;
  /* z-index: 5; */
}

div.threat-level-container div.view-container>div {
  margin-top: 10px;
}

div.threat-level-container div.view-container>div.h-separator {
  margin-top: 10vw;
}

div.threat-level-container div.view-container table tr {
  border-collapse: separate;
}

div.threat-level-container div.view-container table td, div.threat-level-container div.legend-container table tr td:first-child {
  border: 2px solid white;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: center;
}

div.diagram-table {
  height: 85vh;
  width: 80vw;
  overflow: scroll;
}

div.diagram-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  padding: 10px;
}

div.diagram-grid div.cell {
  padding: 20px;
  border: .25px solid var(--line-sep-color);
}

div.diagram-grid div.cell:hover {
  border: .25px solid var(--red-color);
}

div.diagram-grid div.cell img {
  width: 90%;
  /*  height: 90%;*/
}

div.diagram-grid-index {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 20px;
  margin: 1em auto;
}

div.diagram-grid-index div.cell {
  padding: 15px;
  /* margin: 5px; */
  box-shadow: 0 3px 9px -4px rgb(0 0 0 / 30%), 0 0 1px 1px rgb(0 0 0 / 5%);
  overflow: hidden;
  /* max-height: 200px; */
  text-align: center;
  /* display: flex; */
  /* flex-direction: column; */
  display: grid;
  /* grid-template-rows: max-content 200px 1fr;*/
}

div.diagram-grid-index div.cell img {
  /* flex-grow: 1;  */
  object-fit: contain;
  width: 100%;
  height: 100%;
}
div.diagram-grid-index div.cell:hover {
  border: .25px solid var(--choral-orange);
  box-shadow: 0 13px 19px -10px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(0, 0, 0, 0.05);
}


div.diagram-grid-index div.cell div.title {
  color: rgba(32, 33, 36, 0.80);
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 15px;
  overflow: hidden;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

div.diagram-grid-index div.cell div.border-cell:hover {
  border: .25px solid var(--red-color);
}

div.diagram-grid-index div.cell div.border-cell {
  border: .25px solid var(--line-sep-color);
  margin: .7em;
  padding: 10px;
  text-align: center;
  /*
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  */
  min-height: calc(100% - 3em);
}

div.diagram-grid-index div.cell div.border-cell span.index-title {
  position: relative;
  top: -1.3em;
  background: white;
}

/* div.diagram-grid-index div.cell img {
  width: 90%;
} */

div.diagram-grid-large {
  display: grid;
  grid-template-columns: 100%;
  padding: 10px;
}

div.diagram-grid-large div.cell {
  margin-top: 10px;
  margin-bottom: 10px;
}

div.diagram-grid-large div.cell~div.cell {
  border-top: solid .5px var(--line-sep-op8-color);
}

div.diagram-scroll-top {
  position: fixed;
  right: 1rem;
  z-index: 2;
  background-color: var(--diagram-1-color);
  opacity: .7;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  font-size: 1.2em;
}

div.diagram-grid-large span.menu-button {
  font-size: 1.4rem;
}

div.diagram-grid-large span.menu-button .fa-circle {
  color: var(--heading-color);
}

div.diagram-grid-large span.menu-button:hover .fa-circle {
  color: var(--choral-blue-hover);
}

div.diagram-grid-large div.diagram-menu {
  position: fixed;
  background: white;
  border: solid .5px var(--line-sep-color);
  padding: 10px;
  line-height: 1.5em;
  box-shadow: 1px 2px 15px 1px rgba(0, 0, 0, 0.15);
}

div.diagram-grid-large div.diagram-menu div.L2 {
  margin-left: 1rem;
}

/*
** popup filter
*/

div.filter-container {
  display: flex;
  min-height: 50vh;
  min-width: 30vw;
  max-width: 80vw;
  max-height: 80vh;
  overflow-x: scroll;
  /* flex-direction: column; */
}

div.filter-panel, div.filter-hdr {
  margin: 5px;
}

div.filter-hdr {
  font-variant: small-caps;
}

div.filter-hdr span.clear-all {
  margin-left: 30px;
}

div.filter-panel div.filter-selected {
  max-height: 5em;
  min-height: 2em;
  overflow: scroll;
  color: var(--choral-blue-selected);
}

div.filter-container div.node {
  margin: 5px;
}

div.filter-container div.tree-view {
  max-height: 90%;
  overflow: scroll;
}

/*
** Diagnostics and all
*/

div.diagnostic table {
  margin: 10px;
}

div.diagnostic table tr:not(:last-child) td {
  border-bottom: solid .5px var(--line-sep-color);
}

div.diagnostic table td {
  min-height: 2em;
  padding-left: 1em;
  max-width: 30vw;
  line-height: 1.8em;
  vertical-align: top;
}

div.diagnostic table tr td:first-child svg {
  font-size: .9em;
}

div.diagnostic table tr td:nth-child(2) {
  font-variant: small-caps;
  padding-left: 0px;
}

div.diagnostic span.dot-between~span.dot-between::before {
  font-size: 80%;
  content: "  .  ";
  /*" ・ ";*/
  position: relative;
}

div.diagnostic div.L2:not(:hover), div.diagnostic div.L3:not(:hover) {
  color: var(--diagram-1-color);
}

div.diagnostic div.L2, div.diagnostic div.L3 {
  margin-left: 1em;
}

div.diagnostic span.L2+span.L3::before {
  font-size: 80%;
  content: "  »  ";
  /*" ・ ";*/
  position: relative;
}

div.diagnostic span.L2:not(:hover), div.diagnostic span.L3:not(:hover) {
  color: var(--diagram-1-color);
}

/*
** cards
*/

div.cards>div.card {
  border: solid .5px var(--line-sep-color);
  width: 300px;
}

div.card div.info-hdr {
  font-variant: small-caps;
  font-size: 1.1em;
  color: var(--heading-color);
  margin: 5px;
  margin-bottom: .5em;
}

.card:hover {
  border-color: hsla(0, 0%, 100%, 0.5);
  cursor: move;
}

.card.is-dragging, .card.is-positioning-post-drag {
  background: #C90;
  z-index: 2;
}

.packery-drop-placeholder {
  outline: 3px dashed hsla(0, 0%, 0%, 0.5);
  outline-offset: -6px;
  -webkit-transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
}

div.card table.info-table {
  width: 100%;
}

div.card table.info-table tr td:last-child {
  text-align: right;
}

/*
** summary metrics
*/

div.summary-metrics {
  width: 90%;
  height: calc(100vh - 100px);
  overflow-y: scroll;
  scroll-behavior: smooth;
}

div.summary-metrics div.section {
  min-height: 3em;
}

div.section:not(:nth-child(1)) {
  padding-top: 20px;
}

div.summary-metrics div.common-metric div.metric-name, div.summary-metrics div.common-metric div.metric-value-a, div.summary-metrics div.common-metric div.metric-value-t {
  border-bottom: solid 1px var(--line-sep-color);
}

div.summary-metrics div.metric-group {
  padding-top: 20px;
}

div.subgroup div.subgroup-title {
  padding-top: 20px;
}

div.summary-metrics div.line {
  display: grid;
  grid-template-columns: 55% 20% 20% 5%;
  padding: 10px 10px 0px 0px;
}

div.subgroup-title~div.line {
  padding-left: 20px;
}

div.summary-metrics div.header-metrics {
  text-align: right;
}

div.summary-metrics div.metric-name {
  border-bottom: solid .5px var(--line-sep-color);
}

div.summary-metrics div.metric-value-a, div.summary-metrics div.metric-value-t {
  text-align: right;
  border-bottom: solid .5px var(--line-sep-color);
}

div.summary-metrics div.metric-favorite {
  text-align: right;
  min-width: 2em;
  opacity: .2;
}

div.summary-metrics div.metric-favorite.selected {
  opacity: .5;
}

div.summary-metrics div.metric-favorite:hover {
  opacity: 1;
}

div.summary-metrics div.time-option {
  position: fixed;
  bottom: 0px;
  background: white;
  width: 60%;
  color: var(--heading-color);
}

div.summary-metrics table tr td:first-child {
  white-space: nowrap;
}

div.summary-metrics table tr {
  height: 1.6em;
}

div.summary-metrics tbody tr:hover {
  background-color: rgba(149, 192, 231, .2);
}

div.summary-metrics table th {
  padding-left: 5px;
  padding-right: 5px;
}

div.summary-metrics table tr td:not(:first-child) {
  text-align: right;
}

/*
** live diagrams
*/

div.diagram span.label-icon {
  font-size: 1.1em;
  font-weight: bold;
}

div.diagram div.l1-title {
  margin-top: .8em;
  font-weight: bold;
}

div.diagram div.l1 {
  margin-left: 1.5em;
}

/*
** domain menu
*/

div.domain-menu {
  width: 60vw;
  font-size: calc(.7em + .4vw);
  /* position: absolute; */
  /* top: 40%; */
  /* left: 50%; */
  /* transform: translate(-50%,-50%); */
  padding-top: 3rem;
  margin: 0 auto;
}

div.domain-menu div.domain-menu-hdr {
  text-align: left;
  /*font-weight: bold;*/
}

div.domain-menu div.domain-menu-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
  grid-gap: 1em;
  padding-top: 1.1em;
  padding-left: 1.1em;
  height: 10rem;
}

div.domain-menu div.domain-menu-grid.future {
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 9% 9% 9% 9% 9% 9% 9% 9% 9% 9% 9% 9%;
  height: 15rem;
}

div.domain-menu-option.enabled span.icon {
  color: var(--choral-blue-selected);
}

div.domain-menu div.domain-menu-hdr span.label {
  font-size: calc(1em + .2vw);
}

div.domain-menu div.domain-menu-hdr span.icon {
  color: var(--choral-blue-selected);
  /*  font-size: calc(1.05em + .2vw);
  font-weight: normal; */
}

/** Glossary Toggle **/

.toggle-glossary {
  color: #ffa500;
}

/** LnView **/

div.Ln-view.scrollable {
  overflow-y: scroll;
  height: 85vh;
  margin-right: 10px;
  margin-left: 10px;
}

/*
div.Ln-view + div.Ln-view {
  border-bottom: solid .5px var(--line-sep-color);
}
*/

div.Ln-view div.hdr {
  margin-bottom: 10px;
  font-size: 1.3em;
}

div.Ln-view div.hdr span.icon {
  font-size: .9em;
}

div.Ln-view div.hdr span.label {
  /*  font-variant: small-caps;*/
  font-weight: bold;
  /*  color: var(--choral-blue); */
}

div.Ln-view div.hdr span.icon+span.label {
  margin-left: 10px;
}

div.Ln-view div.hdr span.label.filled+span.root.filled::before {
  content: " . ";
}

div.Ln-view div.content {
  margin-left: 15px;
  line-height: 2em;
}

div.Ln-view div.title {
  font-size: 1.3em;
  margin-left: 15px;
}

div.Ln-view div.l1-name {
  font-size: 1.2em;
  font-variant: small-caps;
  margin-bottom: .6rem;
}

div.Ln-view span.link {
  margin-right: 10px;
}

div.Ln-view span.l2-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: .3rem;
}

div.Ln-view span.l2-name span.label {
  margin-left: 0px;
}

/*
div.Ln-view span.l4 {
  color: var(--choral-blue-gray);
}
*/

div.Ln-view div.l2+div.l2, div.Ln-view div.l1+div.l1 {
  margin-top: .6rem;
}

div.Ln-view div.l3-group {
  margin-left: 10px;
}

div.Ln-view span.l3 {
  font-size: 1.1em;
  /*  line-height: 1.6rem;*/
  display: block;
  /* Following three makes second line + indented*/
  /* margin-left: 10px; */
  /* padding-left: 10px; */
  /* text-indent: -10px; */
  margin-bottom: 5px;
}

div.Ln-view span.l3-sameline {
  font-size: 1.1em;
  /* Following three makes second line + indented*/
  /* margin-left: 10px; */
  /* padding-left: 10px; */
  /* text-indent: -10px; */
  /*margin-right: 10px;*/
}

div.Ln-view span.l3-sameline+span.l3-sameline::before {
  font-size: 80%;
  opacity: .8;
  content: " . ";
}

div.Ln-view span.l3-name+span.l4::before {
  content: " ( ";
}

div.Ln-view span.l4:last-child::after {
  content: " ) ";
}

div.Ln-view span.l4+span.l4::before {
  font-size: 80%;
  opacity: .8;
  content: " . ";
}

div.Ln-view span.l4 span.link, div.Ln-view div.l4 span.link {
  margin-left: 10px;
  text-align: center;
}

div.Ln-view div.l4 {
  margin-left: 10px;
  /*  color: var(--choral-blue-gray);*/
}

div.Ln-view details.level-1 {
  margin-left: 2rem;
}

div.Ln-view details.level-2 {
  margin-left: 3rem;
}

div.Ln-view details.level-3 {
  margin-left: 4rem;
}

div.Ln-view details.level-4 {
  margin-left: 5rem;
}

div.Ln-view details>summary::-webkit-details-marker {
  display: none
}

div.Ln-view details>summary {
  margin-left: -1rem;
}

div.Ln-view details>summary:focus {
  outline: none;
}

div.Ln-view details>summary:before {
  content: "+";
  float: left;
  text-align: left;
  width: 1rem;
}

div.Ln-view details[open]>summary:before {
  content: "-";
}

/** LnView **/

/** NISTControlView **/

div.nistcontrol-list {
  overflow-y: scroll;
  height: 90vh;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 1.1em;
}

div.nistcontrol+div.nistcontrol {
  /*border-top: solid .5px var(--line-sep-color);*/
  margin-top: 1rem;
}

div.nistcontrol.control {
  margin-left: 2rem;
}

div.nistcontrol.enhancement {
  margin-left: 4rem;
}

div.nistcontrol div.details {
  margin-left: 2rem;
}

div.nistcontrol div.details.collapse, div.nistcontrol.collapse {
  display: none;
}

/*
div.nistcontrol div.title
{
  text-transform: uppercase;
}
*/

div.nistcontrol div.title, div.nistcontrol div.L0 {
  font-weight: bold;
}

div.nistcontrol div.L0, div.nistcontrol div.L1, div.nistcontrol div.L2, div.nistcontrol div.L3 {
  /*margin-left: 20px;*/
  margin-top: 10px;
}

/** NISTControlView **/

/** create post **/

div.post-view {
  position: initial;
  margin: 5px;
  border: none;
  height: 80vh;
  width: 80vw;
  overflow-y: scroll;
}

div.post-view div.title input, div.post-view div.description textarea {
  font-size: 1em;
  margin-left: 5px;
  vertical-align: middle;
  resize: none;
  outline: none;
  padding: 2px 0;
  border: 0;
  width: 90%;
}

div.post-view div.description textarea {
  height: 4em;
}

div.post-view div.title, div.post-view div.description {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: .5px solid var(--line-sep-op8-color);
  margin-bottom: 15px;
}

div.post-view div.screenshot {
  margin-top: 15px;
}

/** create post **/

/** multi-input component **/

div.multi-input {
  display: flex;
  flex-wrap: wrap;
  margin: -2px 0!important;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: .5px solid var(--line-sep-op8-color);
}

div.multi-input span.label {
  margin-right: 10px;
  padding-top: 2px;
}

div.multi-input input {
  left: -10000px;
  width: 1px;
  position: absolute;
}

div.multi-input div.value {
  font-size: inherit;
  margin-right: .33333333em;
  padding: 0;
  vertical-align: baseline;
  display: inline-block;
  align-items: center;
  border: 1px solid #dadce0;
  border-radius: 10px;
  box-sizing: border-box;
  display: inline-flex;
  height: 20px;
  line-height: 20px;
  padding-left: 8px;
  padding-right: 4px;
}

div.multi-input div.value div.close {
  margin-left: 5px;
  /* margin-right: 5px; */
  color: var(--diagram-1-color);
  font-size: xx-small;
}

div.multi-input textarea {
  font-size: 1em;
  margin-left: 5px;
  vertical-align: middle;
  overflow: hidden;
  resize: none;
  outline: none;
  padding: 2px 0;
  border: 0;
}

div.multi-input div.suggest {
  padding-top: 10px;
  padding-left: 5px;
}

div.multi-input div.search-results {
  position: absolute;
  min-width: 300px;
  background-color: white;
  border: solid .5px var(--disabled-color);
  box-shadow: 1px 2px 15px 1px rgba(0, 0, 0, 0.15);
  padding: 5px;
}

div.multi-input div.suggest:hover {
  color: var(--choral-blue-hover);
}

/** multi-input component **/

/** markerjs **/

div.markerjs-toolbar {
  background: var(--shade-color);
}

div.markerjs-toolbar div.markerjs-toolbar-button:hover {
  color: var(--choral-blue-hover);
  fill: var(--choral-blue-hover);
}

div.markerjs-text-editor {
  background-color: var(--shade-color);
}

div.markerjs-text-editor textarea {
  font-size: 1.2em;
  padding: 5px;
}

div.markerjs-logo {
  z-index: -10;
}

/** markerjs **/

/** posts-view **/

div.posts-view {
  overflow-y: scroll;
  height: 90vh;
  width: 80vw;
}

div.message-view div.screenshot {
  min-height: 300px;
}

div.message-view {
  margin: 10px;
  padding: 10px;
}

div.message-view+div.message-view {
  border-top: .5px solid var(--line-sep-op8-color);
}

div.message-view div.message-date {
  font-size: .9em;
  color: var(--choral-grey);
}

div.posts-view div.comments {
  margin-left: 20px;
}

div.posts-view div.comment {
  margin-top: 5px;
  margin-bottom: 10px;
}

div.posts-view textarea.comment-text {
  width: 80%;
}

/** posts-view **/

/** help-popup **/

div.help-popup {
  background: #fff;
  position: absolute;
  z-index: 110;
  -webkit-box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 0;
  display: none;
  font-size: 1.1em;
  line-height: 20px;
  border-radius: 2px;
}

div.help-popup [x-arrow] {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
  border-color: white;
}

div.help-popup[x-placement="bottom"] {
  margin-top: 10px;
}

div.help-popup[x-placement="left"] {
  margin-right: 10px;
}

div.help-popup[x-placement="top"] {
  margin-bottom: 10px;
}

div.help-popup[x-placement="right"] {
  margin-left: 10px;
}

div.help-popup[x-placement="bottom"] [x-arrow], div.help-popup[x-placement="bottom-auto"] [x-arrow] {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

div.help-popup[x-placement="left"] [x-arrow], div.help-popup[x-placement="left-auto"] [x-arrow] {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

div.help-popup[x-placement="top"] [x-arrow], div.help-popup[x-placement="top-auto"] [x-arrow] {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

div.help-popup[x-placement="right"] [x-arrow], div.help-popup[x-placement="right-auto"] [x-arrow] {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

/** help-popup **/

/** text-menu **/

div.text-menu-view.scrollable {
  overflow-y: scroll;
  height: 90vh;
}

div.text-menu-view.left-right {
  display: flex;
  align-items: center;
}

div.text-menu-view div.text {
  margin: 15px;
  font-size: 1.2em;
  white-space: pre-line;
}

div.text-menu-view table {
  margin: 15px;
}

div.text-menu-view table tr {
  height: 1.8em;
}

div.text-menu-view table th {
  background-color: var(--choral-blue);
  color: white;
  font-weight: bold;
  font-variant: normal;
  padding-left: 8px;
  padding-right: 5px;
}

/** text-menu **/

/* Google map */

div#googelMap {
  position: relative;
  width: 800px;
  height: 600px;
}

div#mapcontainer {
  width: 100%;
  height: 100%;
  cursor: default;
}

div#totalcontainer {
  position: absolute;
  top: 1em;
  left: -4em;
  z-index: 1;
  background-color: white;
  border-radius: 2px;
  border: 3px;
  padding-left: 3px;
  padding-right: 3px;
  color: var(--red-color);
  cursor: default;
}

div#measure-selector {
  position: absolute;
  top: 3em;
  left: -5em;
  border: 3px;
  cursor: default
}

div.text_marker {
  font-family: inherit;
  border-radius: 2px;
  border: 3px;
  padding-left: 3px;
  padding-right: 3px;
  color: var(--red-color);
}

div.branch-infowindow {
  align-content: center;
  display: flex;
  /*    flex-direction: column;*/
  align-items: center;
}

div.branch-infowindow span {
  font: inherit;
}

div.branch-infowindow img {
  display: block;
  min-width: 50px;
  min-height: 50px;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
}

div#googleMap div.floating-panel {
  position: absolute;
  right: 5px;
  top: 60px;
  /* z-index: 5; */
  padding: 5px;
  /*border: 1px solid #999;*/
}

div#googleMap div.d3-on-google-legend {
  position: absolute;
  right: 5px;
  top: 100px;
  background: white;
  border-radius: 4px;
}

div#googleMap div.branch-popup {
  overflow: scroll;
  position: absolute;
  left: 0px;
  top: 0px;
  display: flex;
  flex-flow: column;
  align-items: center;
  align-content: center;
  background-color: white;
  border-radius: 4px;
  border: white 10px;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* d3 markers on google map */

.d3-on-google, .d3-on-google svg {
  position: absolute;
}

.d3-on-google svg {
  width: 60px;
  height: 20px;
  padding-right: 100px;
  font: 10px sans-serif;
}

.d3-on-google circle {
  fill: brown;
  stroke-width: 1.5px;
  opacity: .7;
}

/* Google map */

/* datatables */

table.dataTable th.bar {
  vertical-align: bottom;
}

table.dataTable thead th {
  color: var(--depth-0-color);
  font-weight: normal;
}

table.dataTable tbody td, table.dataTable thead th {
  text-align: right;
}

table.dataTable tbody tr.tdalignleft td, table.dataTable thead tr.tdalignleft th {
  text-align: left;
}

table.dataTable tbody td:first-child, table.dataTable thead th:first-child {
  text-align: left;
}

table.dataTable thead th:first-child.unit {
  text-align: right;
  color: gray;
  font-style: italic;
}

table.dataTable thead th.grp-hdr {
  text-align: left;
}

table.dataTable thead th.grp-hdr.filled:nth-child(odd) {
  border-bottom: 1px solid #fbdd9a;
  /* #ff000014; */
}

table.dataTable thead th.grp-hdr.filled:nth-child(even) {
  border-bottom: 1px solid #b0c3ea;
  /*#0a79bf14;*/
}

table#dataTable1 td div.hollowbar, table.dataTable th.bar div.hollowbar, table.dataTable td div.hollowbar {
  color: white;
  /*  outline-color: var(--choral-cyan);*/
  outline-color: #ccc;
  outline-width: 1px;
  outline-style: solid;
}

table#dataTable1 td div.filledbar, table.dataTable th.bar div.filledbar, table.dataTable td div.filledbar {
  /*  background-color: var(--choral-cyan);*/
  background-color: #ccc;
  opacity: .5;
}

table.dataTable th.bar div.filledbar, table.dataTable th.bar div.hollowbar {
  max-width: 30px;
  margin: 0 auto;
}

table.dataTable thead th {
  vertical-align: baseline;
}

table.dataTable thead th, div.DTFC_RightWrapper table.dataTable td {
  border: none;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
  background-color: rgba(204, 204, 204, .5);
  /* #ccc */
}

div.dataTables_scrollBody table.dataTable tbody td.highlighted, div.dataTables_scrollBody table.dataTable tbody th.highlighted, div.dataTables_scrollBody table.dataTable tbody tr.highlighted {
  /*color: var(--steel-blue-color);*/
  /*  background-color: rgba(149,192,231,.2);*/
  /*background-color: rgba(13,162,188,.2);*/
  background-color: rgba(204, 204, 204, .5);
  /* #ccc */
}

table.dataTable tbody tr.highlighted {
  background-color: rgba(230, 230, 230);
}

table.dataTable tbody tr.depth-0 td, table.dataTable thead th.depth-0 {
  color: var(--depth-0-color);
}

table.dataTable tbody tr.depth-1 td, table.dataTable thead th.depth-1 {
  color: var(--depth-1-color)
}

table.dataTable tbody tr.depth-2 td, table.dataTable thead th.depth-2 {
  color: var(--depth-2-color);
}

table.dataTable tbody tr.depth-3 td, table.dataTable thead th.depth-3 {
  color: var(--depth-3-color);
}

table.dataTable tbody tr.depth-4 td, table.dataTable thead th.depth-4 {
  color: var(--depth-4-color);
}

table.dataTable tbody tr.depth-5 td, table.dataTable thead th.depth-5 {
  color: var(--depth-5-color);
}

table.dataTable tbody tr.depth-6 td, table.dataTable thead th.depth-6 {
  color: var(--depth-6-color);
}

table.dataTable tbody tr.total-row td, table.dataTable thead th.total-row {
  color: var(--depth-1-color);
}

table.dataTable tbody tr {
  height: 35px;
}

/* datatables */

/* nptable */

div.nptable-header {
  display: flex;
  margin-top: 10px;
}

div.nptable-header div {
  /*width: 33.33%;*/
  flex-basis: 0;
  flex-grow: 1;
  cursor: default;
  margin-left: 15px;
  margin-right: 15px;
  white-space: nowrap;
}

div.nptable-header div.nptable-left {
  text-align: left;
}

div.nptable-header div.nptable-center {
  text-align: center;
}

div.nptable-header div.nptable-right {
  text-align: right;
}

div.nptable-table {
  display: flex;
  justify-content: center;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-top-style: solid;
  border-top-width: .5px;
  border-top-color: var(--med-blue-color);
  overflow: scroll;
}

div.nptable-table table {
  margin-top: 10px;
}

div.nptable-table table+table {
  margin-left: 10px;
  margin-right: 10px;
}

div.nptable-table table>tr {
  vertical-align: middle;
  height: 1.9em;
}

div.nptable-table:not(.menu) table>tr:not(:last-child) {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: var(--gray-shade-color);
  border-collapse: collapse;
}

div.nptable-table tr td {
  white-space: nowrap;
  text-overflow: ellipsis;
  border: none;
}

div.nptable-table tr td.left {
  max-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
  width: 70%;
}

div.nptable-table tr td.left.selected {
  color: var(--red-color);
}

div.nptable-table tr td.right {
  max-width: 0;
  text-overflow: ellipsis;
  text-align: right;
  width: 30%;
}

div.nptable-footer {
  text-align: center;
  color: var(--gray-89-color);
}

div.nptable-footer span.option:not(.selected):hover {
  color: var(--choral-blue-hover);
}

div.nptable-footer span.selected {
  /* color: red; */
  color: var(--choral-blue-selected);
}

div.nptable-footer span.option+span.option::before {
  content: ' . ';
  color: initial;
}

/* nptable */

/* tile in path breadcrumb */

div.nav div.tile-icon {
  /*
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    */
  display: inline-block;
  margin-right: 8px;
}

/*
div.tileitem span:last-child {
  color: var(--red-color);
}
*/

/*
div.nav div.tile-icon div {
   ---/ *
    background-color: var(--red-color);
    color: white;
    border-radius: 36px; 
    height: 36.0px;
    width: 36.0px;
    display: flex;
    justify-content: center;
    align-items: center;
    ---* /
    color: var(--red-color);
}
  */

span.tile-string~span.tile-string::before {
  /*font-family: "Font Awesome 5 Pro";*/
  font-family: "map-font";
  content: "\00a0  \e80c  \00a0";
  /*" > ";*/
  position: relative;
  color: var(--heading-color);
  /*opacity: .3;*/
  font-size: 10pt;
  vertical-align: baseline;
}

span.chevron::before {
  font-family: "map-font";
  content: "\00a0  \e80c  \00a0";
  /*" > ";*/
  position: relative;
  color: var(--heading-color);
  font-size: 10pt;
  vertical-align: baseline;
}

span.tile-string span.icon {
  font-size: 9pt;
}

span.tile-string:hover {
  color: var(--choral-blue-hover);
}

/* tile in path breadcrumb */

/* PageMenu - html included from dtkg */

div.page-menu-view {
  overflow-y: scroll;
  height: 85vh;
  margin-right: 15px;
  font-size: larger;
}

.display-area-menu {
  overflow: hidden;
}

div.custom-html {
  font-size: 1.05em;
}

div.custom-html div.selectable {
  padding: 7px 10px;
}

div.custom-html div.padded {
  padding: 7px 10px;
}

div.custom-html div.selectable:hover {
  color: #80BFFF;
}

div.custom-html div.selectable.active {
  color: #0066CC;
}

/* ln-* margins */

div.custom-html div.ln-1, div.custom-html div.ln-2, div.custom-html div.ln-3, div.custom-html div.ln-4 {
  margin-left: 20px;
}

div.custom-html div.ln-4 {
  color: #7F7F7F;
}

div.custom-html .bold {
  font-weight: bold;
}

div.custom-html div.row {
  display: flex;
  flex-flow: row wrap;
}

/* PageMenu - html included from dtkg */

/* input file */

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

.dropzone {
  height: 10vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  transition: .5s;
}

/* input file */

/* Fix header table */

/* Use overflow:scroll on your container to enable scrolling: */
table {
  border-collapse: collapse;
}
div.fixed-hdr-table {
  max-width: 80vw;
  max-height: 90vh;
  overflow: scroll;
}

/* Use position: sticky to have it stick to the edge
 * and top, right, or left to choose which edge to stick to: */

table.fixed-hdr-table thead th {
  position: -webkit-sticky;
  /* for Safari */
  position: sticky;
  top: 0;
}

table.fixed-hdr-table tbody th {
  position: -webkit-sticky;
  /* for Safari */
  position: sticky;
  left: 0;
}

/* To have the header in the first column stick to the left: */

/* table.fixed-hdr-table thead th:first-child {
  left: 0;
  z-index: 2;
  background-color: #fff;
} */

/* Just to display it nicely: */

table.fixed-hdr-table thead th {
  /* Ensure this stays above the emulated border right in tbody th {}: */
  /* z-index: 1; */
  background-color: #fff;
}

table.fixed-hdr-table tbody th {
  background: #FFF;
  border-right: 1px solid #CCC;
  /* Browsers tend to drop borders on sticky elements, so we emulate the border-right using a box-shadow to ensure it stays: */
  /* box-shadow: 1px 0 0 0 #ccc; */
  /* border-bottom: 1px solid #ccc; */
  text-align: right;
}

table.fixed-hdr-table table {
  border-collapse: collapse;
}

table.fixed-hdr-table td, table.fixed-hdr-table th {
  padding: 0.3em;
}

table.fixed-hdr-table td {
  border: 1px solid rgba(200, 200, 200, .5);
}

table.fixed-hdr-table th.rotate {
  /* Something you can count on */
  height: 200px;
  white-space: nowrap;
  background-color: #fff;
}

table.fixed-hdr-table th.rotate>div {
  transform: /* Magic Numbers */
  translate(2px, 100px)
  /* 45 is really 360 - 45 */
  rotate(270deg);
  width: 12px;
}

table.fixed-hdr-table th.rotate>div>span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}

table.fixed-hdr-table th {
  font-weight: inherit;
}

/* Fix header table */

/* SVG related */

path.link {
  stroke: steelblue;
  stroke-opacity: .4;
  fill: none;
}

/* SVG related */

/* Animation */

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0)
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0)
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }
}
@keyframes beat {
  0%, 90% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  45% {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
  }
}

.animate__beat {
  -webkit-animation-name: beat;
  animation-name: beat;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
}

.animate__fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown
}

.animate__animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both
}

/* Animation */


/* sortable list */

.list-group {
  padding-left: 0;
  margin-bottom: 20px;
  margin-bottom: 0px;
}

.list-group-item {
  position: relative;
  display: flex;
  padding: 5px 3px 5px 3px;
  margin-bottom: 0px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-width: 0px;
  padding-right: 10px;
}

.list-group-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.list-group-item:last-child {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-width: 1px;
}


span.button-group {
  position: absolute;
  right: 0px;
}



/* sortable list */

/* custom elements */
choral-address:hover {
  color: var(--choral-blue-hover);
}
/* custom elements */

/* Notes */
div.scrollable-container.notes {
  margin-left: 20px;
  margin-right: 20px;
}
.note-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.note-card {
  background-color: white;
  width: 300px;
  min-height: 100px;
  margin: 10px;
  border: .5px solid #ccc;
  box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
}
.note-card  {
  padding: 0 20px 20px;
}
.note-card img {
  max-width: 100%;
}
hr {
  height: 1px; 
  margin-top: 20px; 
  border-width: 0; 
  background-color: #e6e6e6;
}
/* Notes */


/* FLOW large file upload */

#frame {margin:0 auto; width:800px; text-align:left;}



/* Uploader: Drag & Drop */
.flow-error {display:none; font-size:14px; font-style:italic;}
.flow-drop {padding:15px; font-size:13px; text-align:center; color:#666; font-weight:bold;background-color:#eee; border:2px dashed #aaa; border-radius:10px; margin-top:40px; z-index:9999; display:none;}
.flow-dragover {padding:30px; color:#555; background-color:#ddd; border:1px solid #999;}

/* Uploader: Progress bar */
.flow-progress {margin:30px 0 30px 0; width:100%; display:none;}
.progress-container {height:15px; background:rgb(223, 230, 236); position:relative; }
.progress-bar {position:absolute; top:0; left:0; bottom:0; background:rgb(76, 120, 168); width:0;}
.progress-text {font-size:11px; line-height:9px; padding-left:10px;}
.progress-pause {padding:0 0 0 7px;}
.progress-resume-link {display:none;}
.is-paused .progress-resume-link {display:inline;}
.is-paused .progress-pause-link {display:none;}
.is-complete .progress-pause {display:none;}

/* Uploader: List of items being uploaded */
.flow-list {overflow:auto; display:none; list-style: none;}
.uploader-item {width:148px; height:90px; background-color:#666; position:relative; border:2px solid black; float:left; margin:0 6px 6px 0;}
.uploader-item-thumbnail {width:100%; height:100%; position:absolute; top:0; left:0;}
.uploader-item img.uploader-item-thumbnail {opacity:0;}
.uploader-item-creating-thumbnail {padding:0 5px; font-size:9px; color:white;}
.uploader-item-title {position:absolute; font-size:9px; line-height:11px; padding:3px 50px 3px 5px; bottom:0; left:0; right:0; color:white; background-color:rgba(0,0,0,0.6); min-height:27px;}
.uploader-item-status {position:absolute; bottom:3px; right:3px;}

/* Uploader: Hover & Active status */
.uploader-item:hover, .is-active .uploader-item {border-color:#4a873c; cursor:pointer; }
.uploader-item:hover .uploader-item-title, .is-active .uploader-item .uploader-item-title {background-color:rgba(74,135,60,0.8);}

/* Uploader: Error status */
.is-error .uploader-item:hover, .is-active.is-error .uploader-item {border-color:#900;}
.is-error .uploader-item:hover .uploader-item-title, .is-active.is-error .uploader-item .uploader-item-title {background-color:rgba(153,0,0,0.6);}
.is-error .uploader-item-creating-thumbnail {display:none;}


.flow-file {margin-top: 1rem;}

.flow-file table.flow-table {
  line-height: 1.8em;
}
.flow-file table.flow-table tr td:first-child {
  color: gray
}
.flow-file table {
  margin: 0 auto;
}
.flow-file table.simple {
  text-align: center;
}
.flow-file .buttons span {
  font-size: larger;
  margin-left: 20px;
}
/* FLOW large file upload */

/* Codemirror editor */
.cm-scroller {
  border-radius: 10px;
}