/* Shared */
@font-face {
  font-family: "Graphik";
  src: url("/static/vendor/Graphik-Regular.woff") format("woff"), url("/static/vendor/Graphik-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Graphik";
  src: url("/static/vendor/Graphik-RegularItalic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Graphik";
  src: url("/static/vendor/Graphik-Semibold.woff") format("woff"), url("/static/vendor/Graphik-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}
:root {
  --bulma-primary-h: 28deg;
  --bulma-primary-s: 93%;
  --bulma-primary-l: 50%;
  --bulma-link-h: 187deg;
  --bulma-link-s: 37%;
  --bulma-link-l: 24%;
  --bulma-info-h: 18deg;
  --bulma-info-l: 92%;
  --bulma-family-primary: Graphik,sans-serif;
  --bulma-body-family: Graphik,sans-serif;
  --bulma-control-radius: 50px;
}

.section {
  --bulma-section-padding: 1rem 1.5rem;
  --bulma-section-padding-desktop: 1rem 3rem;
  --bulma-section-padding-medium: 2rem 4.5rem;
  --bulma-section-padding-large: 3rem 6rem;
}

.button {
  --bulma-button-padding-vertical: 1em;
  --bulma-button-padding-horizontal: 2em;
  font-weight: bold;
}

.has-addons input {
  height: 100%;
}

.pagination {
  --bulma-pagination-item-hover-background-l-delta: 22%;
  --bulma-pagination-item-border-l: 0%;
  --bulma-pagination-item-outer-shadow-l: %;
  --bulma-pagination-item-outer-shadow-a: 0;
}

:root {
  --mind-infobox-background: var(--bulma-info);
}

#filter-box, .search-filter-menu {
  --bulma-link-text: var(--bulma-link);
}
#filter-box a:hover .link-content, .search-filter-menu a:hover .link-content {
  text-decoration: underline;
}

mark {
  background: #f7ac6b;
}

#sort-options {
  /* #abc7ca */
  --bulma-primary-h: 186deg;
  --bulma-primary-s: 23%;
  --bulma-primary-l: 73%;
}

.left-panel {
  width: 18rem;
  margin-right: 2rem;
  margin-left: 1rem;
}

.right-panel {
  flex: 1;
}

.control.is-loading::after {
  top: 1.1rem;
  border-left-color: #485fc7 !important;
  border-bottom-color: #485fc7 !important;
}

.semantic-toggle {
  pointer-events: initial;
  color: #555;
}
.semantic-toggle input {
  margin-right: 0.2rem;
}

.infocircle {
  position: relative;
  border: 0;
  font-size: 1.5rem;
  font-weight: normal;
  background: none;
  box-shadow: none;
  border-radius: 0px;
  color: var(--bulma-primary);
}

.hoverable {
  padding-bottom: 0.15rem;
  border-bottom: 1px dashed #000;
}

.z-zero {
  z-index: 0;
}

.semantic-search-info {
  margin-left: 0.5rem;
  verticalAlign: "middle";
  font-size: 107%;
  pointer-events: initial;
}

[data-title] {
  position: relative;
}

[data-title]:before {
  /* Main tooltip */
  content: attr(data-title);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  margin-left: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.5;
  letter-spacing: 0.025rem;
  white-space: normal;
  word-break: break-word;
  width: 200px;
  padding: 10px;
  border-radius: 10px;
  background: var(--mind-infobox-background);
  color: black;
  z-index: 1000;
  display: none;
}

[data-title]:after {
  /* Decorative arrow */
  content: "";
  position: absolute;
  left: 100%;
  margin-left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid #000;
  border-color: transparent var(--mind-infobox-background) transparent transparent;
  display: none;
  z-index: 1000;
}

[data-title]:hover:before,
[data-title]:hover:after {
  display: block;
}

.date-filter {
  align-items: center;
  display: grid;
  grid-template-columns: min-content auto;
  gap: 0.5rem;
  margin-left: 0.5rem;
  max-width: 20rem;
}
.date-filter label {
  /*font-weight: bold;*/
}

#site-navbar {
  background-color: white;
  display: flex;
  align-items: stretch;
  box-shadow: 0px 0px 24px 0px rgba(38, 77, 82, 0.12);
}
#site-navbar > * {
  align-self: center;
}
#site-navbar #site-logo {
  margin-left: 1rem;
  margin-right: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
#site-navbar #site-logo img {
  vertical-align: middle;
}
#site-navbar .tab {
  color: var(--bulma-link);
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  margin: 1rem;
}
#site-navbar .tab:hover {
  border-bottom-color: var(--bulma-link);
}
#site-navbar .tab.selected {
  pointer-events: none;
  border-bottom-color: var(--bulma-link);
}
#site-navbar #right-edge {
  margin-left: auto;
  margin-right: 1rem;
}
#site-navbar #logged-in {
  margin-right: 1rem;
}

#site-footer {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #888;
}
#site-footer > * {
  display: inline-block;
  width: 33%;
}
#site-footer .center {
  text-align: center;
}
#site-footer .right {
  text-align: right;
  padding-right: 2rem;
}

/* Search page */
.pagination-container {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  justify-items: center;
  align-items: center;
}
.pagination-container #pagination {
  grid-column: 2/2;
  margin: 0;
}
.pagination-container #sort-options {
  grid-column: 3/3;
}
.pagination-container #sort-options .sort-icon {
  display: none;
}
.pagination-container #sort-options .is-selected .sort-icon {
  display: unset;
}

ul#tag-list {
  overflow-y: scroll;
  max-height: 20rem;
}

#analysis-link {
  float: right;
  margin-left: 1rem;
}

#chat-body {
  display: flex;
}

.hits-list .list-item {
  padding: 0;
}
.hits-list .list-item-content {
  padding: 1.2rem 1rem;
  max-width: 100%;
}
.hits-list a.list-item-content:hover .result-title, .hits-list a.list-item-content:hover .result-date {
  text-decoration: underline;
  text-decoration-color: unset;
}
.hits-list .list-item-title {
  display: grid;
  grid: auto/1fr 1fr 1fr;
}
.hits-list .list-item-title .sentiment-icon {
  justify-self: center;
}
.hits-list .list-item-title .result-date {
  justify-self: end;
}
.hits-list .chat-group {
  margin: 0.2rem 0;
  padding: 0.5rem;
  overflow-wrap: break-word;
}

#trends {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#trends.trends-preview {
  margin-top: 10vh;
  margin-left: auto;
  margin-right: auto;
  max-width: 50rem;
}
#trends .title {
  display: flex;
  justify-content: space-between;
}
#trends .title h2 {
  display: inline-block;
}
#trends #trend-filters label {
  font-size: 0.9rem;
  font-weight: normal;
}
#trends #no-data {
  text-align: center;
  margin: 5rem;
}
#trends table .sortable {
  cursor: pointer;
}
#trends table .sortable:hover {
  background-color: rgba(0, 0, 100, 0.05);
}
#trends table .sortable i {
  margin-left: 0.5rem;
}

/* Chat page */
.content dt {
  font-weight: bold;
}
.content dd {
  margin-left: 0.2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}
.content dd ul {
  margin-top: 0;
  margin-left: 1rem;
}

hr {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.chat-group, .chat-icon {
  border-radius: 1rem;
  background: #eee;
  border: 1px solid #ccc;
}

.chat-group {
  position: relative;
  margin: 1rem;
  margin-left: 2rem;
}

.chat-group.author-volunteer, .chat-group.author-volunteer .chat-icon {
  background: #fff6f2;
  border: 0;
}

.chat-group.author-child, .chat-group.author-child .chat-icon {
  background: #ffe1d4;
  border: 0;
}

.forum-user-id {
  font-weight: bold;
  padding: 0.5rem;
  margin-left: 0.2rem;
  flex: none;
  display: inline-block;
}

.chat-group.author-0, .chat-group.author-0 .chat-icon {
  background-color: #f0f8e7;
  border: 1px solid #ddf;
}

.chat-group.author-1, .chat-group.author-1 .chat-icon {
  background-color: #e6f7ff;
  border: 1px solid #ddf;
}

.chat-group.author-2, .chat-group.author-2 .chat-icon {
  background-color: #fef9e6;
  border: 1px solid #ddf;
}

.chat-group.author-3, .chat-group.author-3 .chat-icon {
  background-color: #f8e6f7;
  border: 1px solid #ddf;
}

.chat-group.author-4, .chat-group.author-4 .chat-icon {
  background-color: #e7f3e6;
  border: 1px solid #ddf;
}

.chat-group.author-5, .chat-group.author-5 .chat-icon {
  background-color: #f3e6ff;
  border: 1px solid #ddf;
}

.chat-group.author-6, .chat-group.author-6 .chat-icon {
  background-color: #fff3e6;
  border: 1px solid #ddf;
}

.chat-group.author-7, .chat-group.author-7 .chat-icon {
  background-color: #f3f6e6;
  border: 1px solid #ddf;
}

.chat-group.author-8, .chat-group.author-8 .chat-icon {
  background-color: #e6f7e6;
  border: 1px solid #ddf;
}

.chat-group.author-9, .chat-group.author-9 .chat-icon {
  background-color: #f7e6e6;
  border: 1px solid #ddf;
}

.chat-gap {
  text-align: center;
}

.chat-message {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  padding: 0.5rem;
}

.chat-text {
  display: inline-block;
  overflow: hidden;
  overflow-wrap: break-word;
}

.chat-ts {
  font-style: italic;
  font-size: 90%;
  opacity: 0.8;
  width: 3.5rem;
  padding: 0 0.2rem;
  flex: none;
  display: inline-block;
}

.chat-icon {
  position: absolute;
  left: -2.5rem;
  top: 0.1rem;
  padding: 1rem;
}

.list-item-description {
  padding-left: 2.5rem;
}

/* TODO: only do this for debug */
/*.chat-group.author-child .chat-text, .list-item-description .chat-group.author-child {
  filter: blur(6px);
}*/
/* Analysis page */
.horizontal-chart-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.horizontal-chart-list > * {
  position: relative;
  width: 30%;
  height: 25rem;
  /*height: 35vw;*/
}

.chart-wrapper {
  height: 30rem;
}

/*.horizontal-chart-list canvas {
  max-height: 40rem;
}*/
.search-filter-menu {
  min-width: 20rem;
}
.search-filter-menu .dropdown-content {
  max-height: 60vh;
  overflow: scroll;
}

.chart-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  column-gap: 1rem;
}
.chart-row + .chart-row {
  margin-top: 1.5rem;
}

.chart-box {
  min-height: 30rem;
  /*background: #fff;*/
  padding: 1rem;
  border-radius: 6px;
  /*box-shadow: 0 2px 5px 0 #ddd;*/
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
}

@media (max-width: 768px) {
  .chart-row {
    grid-template-columns: 1fr;
  }
}
.chart-row.wide {
  grid-template-columns: minmax(150px, 1fr);
}

#tag-chart-wrapper, #time-chart-wrapper {
  width: 100%;
}

ul.chart-legend {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 0.8rem;
  margin: 0;
  margin-top: 0.6rem;
  padding: 0;
}
ul.chart-legend > li {
  display: flex;
  cursor: pointer;
  /*white-space: nowrap;*/
  align-items: center;
  flex-direction: row;
}
ul.chart-legend > li > .color-box {
  display: inline-block;
  height: 1rem;
  width: 1rem;
}
ul.chart-legend > li > .legend-text {
  margin: 0;
  margin-left: 0.2rem;
  padding: 0;
}

.search-field .field-body {
  align-items: center;
}

.hit-count {
  padding: 0 1rem;
  font-weight: bold;
}

/*# sourceMappingURL=index.css.map */
