
@font-face {
  font-family: "GarabosseParagon";
  src: url("../font/garabosse/Garabosse-Parangon.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "GarabosseGaillard";
  src: url("../font/garabosse/Garabosse-Gaillarde.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/*@import url('https://fonts.googleapis.com/css?family=Lato:400,500,700,900');*/
/*@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900|Roboto+Slab:300,400,700');*/

/* todo: propper rewrite of the structure; */

body {
  /* position: relative; */
  -webkit-font-smoothing: antialiased;
  /* min-height: 1000px; */
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: "GarabosseParagon", serif;
  font-size: 14px;
  overflow: none;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  color: #000000;
  /*-moz-user-select: none;
   -webkit-user-select: none; 
  -ms-user-select:none;
  user-select:none;
  -o-user-select:none;*/
}



canvas {
  position: absolute;
  /* cursor: pointer; */
}

.detailLoader {
  pointer-events: none;
   /* box-shadow: 0 0px 56px rgba(0, 0, 0, 0.66), 0 0px 6px rgba(0, 0, 0, 0.23); */
   opacity: 1;
   color: #CCCBC8;
   z-index: 100;
   position: absolute;
   right: 0;
   top: 0;
   font-weight: bold;
   height: 100%;
   width: 30px;
   /* background: rgb(55, 55, 55); */
}
.detailLoader .indicator{
  background: rgba(255, 255, 255, 0.24);
  width: 100%;
  position: relative;
  transition: height 1s;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
}
.detailLoader .label {
    width: 220px;
    color: rgba(255, 255, 255, 0.71);
    font-size: 11px;
    text-transform: uppercase;
    position: absolute;
    top: 0px;
    left: 8px;
    z-index: 200;
    transform: rotate(90deg);
    transform-origin: left bottom;
}

.sideLoader {
   /* box-shadow: 0 0px 56px rgba(0, 0, 0, 0.66), 0 0px 6px rgba(0, 0, 0, 0.23); */
   opacity: 1;
   color: #C1C1C1;
   z-index: 900;
   position: absolute;
   right: 0;
   top: 0;
   font-weight: bold;
   height: 100%;
   width: 30px;
  pointer-events: none;
   /* background: rgb(55, 55, 55); */
}
.sideLoader .indicator{
  background: rgba(0, 0, 0, 0.24);
  width: 100%;
  position: relative;
  transition: height 1s;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
}
.sideLoader .label {
    width: 220px;
    color: rgba(255, 255, 255, 0.71);
    font-size: 11px;
    text-transform: uppercase;
    position: absolute;
    top: 0px;
    left: 8px;
    z-index: 200;
    transform: rotate(90deg);
    transform-origin: left bottom;
}

.preload-juggle {
  z-index: 100;
  width: 300px;
  height: 300px;
  position: absolute;
  top: 10%;
  margin-top: -150px;
  left: 10%;
  margin-left: -150px;
  transform:scale(0.5);
}
.preload-juggle div {
  opacity: 0.6;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #FFF;
  margin-top: 150px;
  margin-left: 150px;
  animations: juggle 2.1s linear infinite;
}
.preload-juggle div:nth-child(1) {
  animation-delay: -0.7s;
}
.preload-juggle div:nth-child(2) {
  animation-delay: -1.4s;
}

@keyframes juggle {
  0% {
    transform: translateX(0px) translateY(0px);
  }
  12.5% {
    transform: translateX(27.5px) translateY(-57px) scale(1.1);
    background: #F7EFCD;
  }
  25% {
    transform: translateX(55px) translateY(0px);
    animation-timing-function: ease-out;
  }
  37.5% {
    transform: translateX(27.5px) translateY(57px);
  }
  50% {
    transform: translateX(0px) translateY(0px);
  }
  62.5% {
    transform: translateX(-27.5px) translateY(-57px) scale(1.1);
    animation-timing-function: ease-in;
  }
  75% {
    transform: translateX(-55px) translateY(0px);
    animation-timing-function: ease-out;
  }
  87.5% {
    transform: translateX(-27.5px) translateY(57px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}


@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.browserInfo {
    position: absolute;
    z-index: 3000;
    background: rgb(251, 245, 223);
    font-weight: bold;
    font-size: 20px;
    padding: 20px;
    height: 100%;
    vertical-align: middle;
    display: none;
    text-align: center;
}
.browserInfo span {
  font-size: 60px;
}
.browserInfo.show {
  display: block;
}


 .language-container {
    /* float: left; */
    /* display: none; */
    top: 0px;
    position: absolute;
    font-weight: bold;
    /* color: rgba(255, 255, 255, 0.38); */
    font-size: 0.8em;
    padding: 5px;
    background: rgb(103, 103, 103);
    right: 20px;
    /* position: fixed; */
    z-index: 100;
    /* width: 30px; */
    /* top: 5px; */
    /* padding: 9px; */
    /* padding-top: 2px; */
}

.language-container div {
    text-transform: uppercase;
    padding-left: 7px;
    float: left;
    padding-right: 6px;
    /* margin: 6px; */
    margin-bottom: 6px;
    margin-top: 6px;
}

.language-container a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.38);
  border: none;
}
.language-container a:hover {
  border: none;
}

.language-container .de {
  border-right: 1px solid #AFAFAF;
}

.language-container .active a {
    /* font-weight: bold; */
    color: #FFF;
}

.splash {
  position: absolute;
  background: rgba(39, 39, 39, 0.92);
  width: 100%;
  height: 100%;
  z-index: 500;
  display: none;
}
.splash a {
  color: #FFF;
  text-decoration: none;
}
.splash .credits {
  font-size: 13px;
  /* color: rgb(197, 197, 197); */
  padding-top: 30px;
}
.splash .center {

  color: #FFF;width: 640px;
  margin: auto auto;
  top: 30%;
  position: relative;
  text-align: center;

margin-top: -100px;}
.splash .btn{
      cursor: pointer;
      color: #FFF;
      border: 2px solid #fff;
      padding: 10px 22px;
      margin-top: 30px;
      display: inline-block;
}
.splash p{
  text-transform: uppercase;
  /* color: #FFF; */
  /* font-weight: bold; */
}

.infomenu {
  opacity: 0.3;
  position: absolute;
  right: 39px;
  top: 348px;
}

#hiddenreload {
  display: none;
  width: 40px;
  height: 40px;
  /* background: #FFF; */
  position: absolute;
  left: 0;
  top: 0;
  z-index: 500;
}

 
.viz {

    position: absolute;
}

svg {
  font: 12px "GarabosseParagon", serif;
  position: absolute;
  z-index: 100;
}


.timeline.hide {
    display: none;
}

.timeline {
    z-index: 200;
    color: #000;
}

.timeline * {
  /* pointer-events:none; */
}

.timeline .container {
  /* overflow: hidden; */
  position: absolute;
}

.timeline .entry {
  /* transform: scale(0.5); */
  /* overflow: hidden; */
  /* font-size: 13px; */
  margin-bottom: 3%;
  width: 92%;
  position: relative;
  background: #ffffff;
  border: 0.5px solid #000;
  float: left;
  padding: 4%;
}

.timeline .title {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
    overflow: hidden;
    /* padding: 4px; */
    /* padding-bottom: 2%; */
}

.timeline .text {
    font-family: "GarabosseParagon", serif;
    font-size: 12px;
    /* padding: 4px; */
    padding-top: 1em;
    line-height: 1.3em;
    text-transform: lowercase;
}

.timeline .year {
  transition: padding 0.2s;
  text-align: center;
  color: #000000;
  padding: 8%;
  
  /* border-bottom: 1px solid #eee; */
}

/*.none .entries {
  display: none; 
  opacity: 0;
}*/

.timeline.none .small.title {
  display: none;
}
.timeline.none .middle, .timeline.none .large {
  display: none;
}

.timeline.small .middle, .timeline.small .large {
  display: none; 
  opacity: 0;
}

.timeline.middle .small, .timeline.middle .large {
  display: none; 
  opacity: 0;
}

.timeline.large .small, .timeline.large .middle {
  display: none;
  opacity: 0;
  /* visibility: hidden; */
}

.timeline .small, .timeline .middle, .timeline .large {
  transition: display 0s, opacity 1s;
}

.timeline.small .small {
    /* transform-origin: left top; */
    /* transform: scale(0.5); */
    font-size: 1em;
}

.timeline.middle .middle {
    font-size: 0.45em;
}

.timeline.large .large {
    font-size: 0.3em;
}
/*.timeline.small {
    font-size: 9px;
}
.timeline.middle {
    font-size: 14px;
}
.timeline.large {
    font-size: 19px;
}*/


.timeline .small .title {font-size: 0.5em;}
.timeline .middle .title {
  
}


/* ------------------------------------- */

.overlay text {
  font-weight: bold;
  fill: rgb(232, 232, 232);
  font-size: 12px;
  text-anchor: middle;
}

.overlay rect {
  display: none;
  /* fill: rgb(88, 88, 88); */
}

.overlay .axis line {
  fill: none;
  stroke: #FFF;
  shape-rendering: crispEdges;
}

.overlay .axis text {
  fill:#fff;
}

#stats {
    position: absolute;
    z-index: 200;
    display: none;
}

.loader {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 350;
  pointer-events:none;
  font-family: Arial;
}
.loader text {
  fill:#fff;
}

.loader .foreground {
  fill:#FFF;
}

.loader .background {
  fill:#FFF;
  opacity: 0.2;
}

.tagcloud.open {
  transform: translate(0px,32px);
}
.tagcloud.show {
  opacity: 1!important;
  display: visible;
}

.tagcloud.hide {
  transform: translate(0px,-370px);
  /* opacity: 0; */
  /* visibility: hidden; */
}
.tagcloud.hide text {
  pointer-events:none !important;
}

.tagcloud {
    /* background: linear-gradient(to bottom, rgba(28, 30, 31, 0.78) 14%,rgba(28,30,31,0) 80%); */
    width: 100%;
    height: 300px;
    pointer-events: none;
    transition: transform 0.3s ease-in-out;
    left: 0;
    font-weight: 900;
    position: absolute;
    z-index: 50;
    color: #000000;
    transform: translate(0px,-18px);
}
.tagcloud>div {
  transition: all 0.3s ease;
}
.tagcloud .tag {
  float: left;
  text-shadow: none;
  filter: none;
  /* padding: 3px; */
  /* background: rgba(0, 0, 0, 0.17); */
  transform-origin: 0 0;
  white-space: nowrap;
  /* transition: transform 1s , opacity 1s , font-size 1s ; */
  transition: transform 0.3s, opacity 0.3s, background 0.3s, color 0.3s, padding 0.5s;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 100%;
  padding-left: 40px;
  padding-right: 0px;
  padding-top: 2px;
  padding-bottom: 1px;
}

.tagcloud .active {
  padding-right: 1.2em;
  background: #000000;
  color: #ffffff;
  z-index:100;
  text-shadow: none !important;
}
.tagcloud .tag div {
  /* padding-bottom: 200px; */
  /* position: relative; */
  /* transform-origin: bottom left; */
}

.tagcloud .tag {
  pointer-events: all;
  /* width: 680px; */
  /* width: 100%; */
  /* top: -15px; */
  position: absolute;
}

.tag span {

/* transform: rotate3d(0,0,1,0deg); *//* position: absolute; */}

.tag .close {
  position: absolute;
  width: 0.8em;
  height: 0.8em;
  /* background: #FFF; */
  /* float: right; */
  right: 0;
  top: 0;
  opacity: 0;
  margin: 0.2em;
  transition: opacity 0.5s, transform 0.5s;
  transform: rotate(0deg);
}
.tag.active .close {
  opacity: 1;
  transform: rotate(180deg);
}

.close:before, .close:after {
  position: absolute;
  left: 0.35em;
  content: ' ';
  height: 100%;
  width: 3px;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}



.tagcloud line{
  stroke:none;
  stroke-width:3px;
  fill:none;
}

.tagcloud .active line {
  /*fill: rgb(248, 229, 47);*/
  /*font-weight: bold;*/
  stroke:#FFF;
}

.tagcloud .active text {
  /*fill: rgb(248, 229, 47);*/
  /*font-weight: bold;*/
}

.tagcloud g:hover line {
  /*fill: rgb(248, 229, 47);*/
  /*font-weight: bold;*/
  /*stroke:#FFF;*/
}


.detail .enSpoiler {
    display: none;
    margin-top: 0;
    font-size: 12px;
    font-family: "GarabosseParagon", serif;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 10px;
    color: #000000;
}
.en .enSpoiler.hide {
    display: block;
}

.detail .slidebutton {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    left: 18px;
    width: 20px;
    height: 30px;
    position: absolute;
    background-image: url("../img/sideclose.svg");
    top: 50%;
    opacity: 0.2;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* transform: rotate(180deg); */
}
.detail .slidebutton:hover {
    opacity: 0.3;
}


.detail.sneak {
    right: -320px;
}
.detail.sneak .slidebutton {
    transform: rotate(180deg);
}
.detail.hide {
  right: -400px !important;
}

.detail {
    font-size: 12px;
    font-family: "GarabosseParagon", serif;
    z-index: 400;
    height: 100%;
    max-width: 100%;
    /* transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); */
    transition: right 0.3s ease-out;
    box-shadow: none;
    border-left: 0.5px solid #000;
    /* top: 20px; */
    right: 0px;
    position: absolute;
    width: 320px;
    color: #000000;
    background: #ffffff;
    /* font-size: 13px; */
    line-height: 1.4em;
    /* overflow-y: scroll; */
}
.detail .outer {
 height: 100%;
 overflow-y: auto;
 overflow-x: hidden;
}

.detail .inner {
  /*height: 100%;
  overflow-y: scroll;*/
  float: left;
  padding: 24px;
  /* padding-left: 60px; */
}

.detail2 {
  transition: opacity .5s ease-in-out;
  pointer-events: all;
  top: 20px;
  right: 20px;
  position: absolute;
  width: 400px;
  color: #000000;
  padding: 40px;
  background: #ffffff;
  border: 0.5px solid #000;
  font-size: 14px;
  max-height: 85%;
}


.detail .entry {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}

.detail .entry.wide {
  flex-direction: column;
}

.detail .entry.column .label {
  width: 100px;
  padding-right: 8px;
  flex: none;
  text-align: right;
  font-size: 12px;
}

.detail .entry .label {
  color: #000000;
  font-family: "GarabosseParagon", serif;
  font-size: 16px;
  flex: 1;
  padding-bottom: 3px;
}

.detail .entry .content {
  flex: 1;
}
.detail .entry .content p {
  margin: 0;
}

.detail .entry .content .keyword {
  background: #ffffff;
  border: 0.5px solid #000;
  padding: 5px;
  line-height: 100%;
  margin: 2px;
  float: left;
}

.detail .entry .content .keyword.active {
  background: #000000;
  color: #ffffff;
}

/* Sidebar filename */
.detail .sidebar-filename {
  font-family: "GarabosseParagon", serif;
  font-size: 20px;
  color: #000000;
  margin-bottom: 12px;
}

/* Sidebar metadata grid */
.detail .sidebar-metadata {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 6px;
  margin-bottom: 16px;
  font-family: "GarabosseParagon", serif;
  font-size: 13px;
  line-height: 1.4em;
}
.detail .sidebar-metadata .meta-label {
  color: #000000;
  white-space: nowrap;
}
.detail .sidebar-metadata .meta-value {
  color: #000000;
  text-align: left;
}

/* Section titles for detection areas */
.detail .section-title {
  font-family: "GarabosseParagon", serif;
  font-size: 14px;
  font-weight: normal;
  color: #000000;
  margin-bottom: 6px;
}

/* Detection image preview */
.detail .detection-image-section {
  margin-bottom: 16px;
}
.detail .detection-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 4px;
}

/* Detection objects list */
.detail .detection-section {
  margin-bottom: 16px;
}
.detail .detection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "GarabosseParagon", serif;
  font-size: 13px;
  line-height: 1.6em;
}
.detail .detection-list li {
  padding: 0;
}

.info span:nth-child(0n+1) {
  font-weight: bold;
  font-family: "GarabosseParagon", serif;
  color: #000000;
  width: 100px;
  /* font-weight: 500; */
  float: left;
  text-align: right;
  padding-right: 2px;
  
  font-size: 12px;
}

.info span:nth-child(0n+2) {
  width: 253px;
  float: left;
}

.detail a {
  color: #000000;
  font-style: normal;
}

.detail a:hover {
  text-decoration: none;
}

.detail h1, .infobar h1 {
    font-family: "GarabosseParagon", serif;
    font-weight: 900;
    line-height: 1.2em;
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000000;
}
.detail h1 {
    display: none;
}

.detail p.info, .infobar p.info {
    /* clear: both; */
    margin-top: 0;
    margin-bottom: 7px;
    position: relative;
    float: left;
}
.voronoi {
  /* pointer-events:all; */
}
.voronoi path{
  /* stroke: rgba(255, 255, 255, 0.07); */
  fill: none;
  /*pointer-events: all;*/
  display: none;
}

.page {
  /* pointer-events: visible; */
  width: 100%;
  /* min-width: 1200px; */
  position: absolute;
  top: 56px;
  /* z-index: 400; */
  height: calc(100% - 56px);
  /* min-height: 700px; */
}
.stooltip text {
  font-family: "GarabosseParagon", serif;
  font-weight: bold;
  font-size: 12px;
  color: #000000;
  line-height: 16px;
  text-shadow: none;
}

.stooltip path {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 0.5px;
  /*filter: drop-shadow(1px 1px 0px 0px #000000, inset 1px 1px 0px 0px rgba(250,250,250,0.20));*/
  /*-webkit-filter: drop-shadow( 5px 5px 1px #FFF );*/
}
.searchs {
    display: none;
    font-weight: bold;
    z-index: 500;
    color: #FFF;
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    font-size: 50px;
    text-align: center;
    /* line-height: 100%; */
    vertical-align: middle;
    position: absolute;
    display: table-cell;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.31);
    transition: opacity .5s ease-in-out;
    opacity: 0;
}
.searchs.show {
  opacity: 1;
}

.searchbar {
  width: 100%;
  height: 49px;
  position: absolute;
  z-index: 300;
  background: #ffffff;
  transform: translate(0px,-51px);
  transition: transform 0.3s ease-in-out;
}

.searchbar.open {
   transform: translate(0px,0px);
}
.searchbar.hide {
  display: none;
}
.searchbar input {
  border: none;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #000000;
  background: #ffffff;
  font-size: 20px;
  font-family: "GarabosseParagon", serif;
  
}

.searchbar .openbutton {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 28px;
  height: 26px;
  
  background-image: url("../img/search.svg");
  /* opacity: 0.33; */
  cursor: pointer;
}

.searchbar.open .openbutton {
  background-image: url("../img/close.svg");
}

.searchbar.open .button {
  top: 7px;
  background: none;
}

.searchbar .button {
  background: rgba(0,0,0,0.05);
  padding: 5px;
  position: absolute;
  right:25px;
}

textarea:focus, input:focus{
    outline: black solid 1px;
}
*:focus {
    outline: none;
}





.crossfilter {
  position: absolute;
  top: 0;
  left: 0;
  margin: 1em;
  z-index: 100;
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  width: 100%;
  /* transition: opacity 0.2s; */
}

.crossfilter.hide {
  display: none;
  pointer-events:none !important;
}


.crossfilter>div {
  margin: 0.5em;
  display: flex;
  flex-direction: column;
}

.crossfilter .label {
  margin-bottom: 0.5em;
  /* margin-left: 0.5em; */
  cursor: pointer;
}
.crossfilter .label:hover::after {
  content: '×';
  margin-left: 0.5em;
  line-height: 1;
}

.crossfilter .keys {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.crossfilter .keys .item {
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  margin-right: 0.25em;
  margin-bottom: 0.5em;
  background: #ffffff;
  cursor: pointer;
  border-radius: 0;
  border: 0.5px solid #000;
}

.crossfilter .keys .item.hide {
  opacity: 0.3;
  pointer-events: none;
}

.crossfilter .keys .item:hover, .crossfilter .keys .item.active {
  background: #000000;
  color: #ffffff;
}

/* ===== Accordion-style grouped filter – HORIZONTAL TOP BAR ===== */

/* Header row: left-rail title/subtitle only */
.header-row {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  padding: 12px 20px 10px 20px;
  background: transparent;
  pointer-events: none;
  width: 230px;
}
.header-row > * {
  pointer-events: all;
}

.left-rail {
  width: 230px;
  flex-shrink: 0;
}

/* Topbar: centered filters + right model toggle */
.topbar {
  position: fixed;
  top: 10px;
  left: 260px;
  right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  pointer-events: none;
  overflow: visible;
}
.topbar > * {
  pointer-events: all;
}
.topbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  margin-left: auto;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 16px;
}

.tagcloud.accordion {
  position: relative !important;
  top: auto;
  left: auto !important;
  right: auto;
  width: auto !important;
  height: auto !important;
  max-height: none;
  z-index: 9000;
  pointer-events: all;
  transform: none !important;
  padding: 0;
  margin: 0;
  font-weight: 400;
  overflow: visible;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  color: #000000 !important;
  flex-shrink: 0;
}

.tagcloud.accordion.hide {
  /* Never hide the top bar */
  transform: none !important;
  pointer-events: all !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.tagcloud.accordion > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0;
  gap: 0 12px;
  transform: none !important;
}

.tagcloud.accordion .filter-category {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
  border: 0.5px solid #000;
  background: #ffffff;
  width: 130px;
}

.tagcloud.accordion .filter-category-header {
  font-family: "GarabosseParagon", serif;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  padding: 4px 24px 4px 8px;
  pointer-events: all;
  list-style: none;
  user-select: none;
  letter-spacing: 0.03em;
  color: #000000;
  white-space: nowrap;
  background: #ffffff;
  border: none;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tagcloud.accordion .filter-category-header::-webkit-details-marker {
  display: none;
}

.tagcloud.accordion .filter-category-header::before {
  display: none;
}

.tagcloud.accordion .filter-category-header::after {
  content: '\25BE';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  pointer-events: none;
}

.tagcloud.accordion .filter-category-items {
  position: absolute;
  top: calc(100% + 1px);
  left: -0.5px;
  width: calc(100% + 1px);
  background: #ffffff;
  border: 0.5px solid #000;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  z-index: 9100;
  box-sizing: border-box;
}

.tagcloud.accordion .tag {
  position: relative !important;
  float: none !important;
  transform: none !important;
  font-family: "GarabosseParagon", serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1;
  padding: 5px 28px 5px 12px !important;
  opacity: 1;
  cursor: pointer;
  pointer-events: all;
  white-space: nowrap;
  text-transform: none;
  display: block;
  text-shadow: none !important;
  border-radius: 0;
  border-bottom: 0.5px solid #000;
  color: #000000;
  background: #ffffff;
  transition: background 0.12s, color 0.12s;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.tagcloud.accordion .tag:last-child {
  border-bottom: none;
}

.tagcloud.accordion .tag:hover {
  background: #f0f0f0;
}

.tagcloud.accordion .tag.active,
.tagcloud.accordion .tag.active:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  text-shadow: none !important;
  z-index: 1;
}

.tagcloud.accordion .tag .close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.65em;
  height: 0.65em;
  opacity: 0;
  margin: 0;
  transition: opacity 0.15s;
}

.tagcloud.accordion .tag.active .close {
  opacity: 1;
  transform: translateY(-50%);
}

/* Close X marks color override for B/W theme */
.tagcloud.accordion .tag.active .close::before,
.tagcloud.accordion .tag.active .close::after {
  background-color: #ffffff;
}

/* Scrollbar not needed for dropdown */
.tagcloud.accordion::-webkit-scrollbar {
  display: none;
}

/* --- Active filter category (has-active) --- */
.tagcloud.accordion .filter-category.has-active {
  background: #000000;
  border-color: #000000;
}

.tagcloud.accordion .filter-category.has-active .filter-category-header {
  background: #000000;
  color: #ffffff;
}

.tagcloud.accordion .filter-category.has-active .filter-category-header::after {
  color: #ffffff;
}


/* ===== Black & White theme overrides ===== */

/* Loader labels */
.detailLoader .label,
.sideLoader .label {
  color: #000000;
}
.detailLoader .indicator {
  background: rgba(0, 0, 0, 0.08);
}

/* Nav buttons (left-side layout switcher) – text-only with underline active */
.navi .button {
  background: none;
  color: #000000;
  border: none;
}
.navi .button.active {
  color: #000000;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  
}
.navi .button:hover:not(.active) {
  color: #000000;
}

/* Searchbar */
.searchbar {
  background: #ffffff;
  border-bottom: 0.5px solid #000;
}
.searchbar input {
  font-family: "GarabosseParagon", serif;
  
  background: #ffffff !important;
  color: #000000;
}

/* Detail sidebar */
.detail {
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}
.detail a {
  color: #000000;
}

/* Infobar */
.infobar {
  box-shadow: none;
}
.infobar .infobutton svg path {
  stroke: #000000;
}

/* Timeline year labels */
.timeline .year {
  color: #000000;
}

/* Overlay axis & text */
.overlay text {
  fill: #000000;
}
.overlay .axis line {
  stroke: #000000;
}
.overlay .axis text {
  fill: #000000;
}

/* Loader */
.loader text {
  fill: #000000;
}
.loader .foreground,
.loader .background {
  fill: #000000;
}

/* Tooltip */
.stooltip text {
  color: #000000;
  text-shadow: none;
}

/* Search overlay */
.searchs {
  color: #000000;
  background: rgba(255,255,255,0.6);
}

/* Model switch button group */
.model-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 500;
}

.model-switch::before {
  content: "Stable diffusion model:";
  font-family: "GarabosseParagon", serif;
  font-size: 14px;
  color: #000000;
  margin-right: 8px;
}

.model-switch .model-button {
  padding: 6px 12px;
  background: #ffffff;
  color: #000000;
  border: 0.5px solid #000;
  font-family: "GarabosseParagon", serif;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.model-switch .model-button:hover {
  color: #000000;
  background: #ffffff;
  border-color: #000000;
}

.model-switch .model-button.active {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  box-shadow: none;
}

/* ===== Project header ===== */
.project-header {
  width: 100%;
  padding-bottom: 20px;
}
.project-title {
  font-family: "GarabosseParagon", serif;
  font-size: 26px;
  font-weight: 400;
  color: #000000;
  line-height: 1.2;
}
.project-title a {
  color: inherit;
  text-decoration: none;
}
.project-subtitle {
  font-family: "GarabosseParagon", serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.2;
  margin-top: 4px;
}

/* ===== Nav-dot icon ===== */
.nav-dot {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ===== Global image count ===== */
#imageCount, .image-count {
  font-family: "GarabosseParagon", serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  text-transform: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 4px 0;
  flex-shrink: 0;
}

/* ===== Zoom-hide: disabled – left UI always visible ===== */
