/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/
:root {
	--color: rgba(20,20,20,1);
	--color5: rgba(120,120,120,0.5);
	--bg: rgb(255, 255, 255);
	--margin: 36px;
	--margin900px: 18px;
	--bold: 500; /* 500, 600 or bold */
}

html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
overflow-y: scroll;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
		text-size-adjust: 100%;
}

body {
font-size: 16px;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
background: var(--bg);
color: var(--color);
line-height: 1.4em;
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: var(--color); }
a:visited { text-decoration: none; color: var(--color5); }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
a img { border: none; opacity: 1; text-decoration:none}

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }
sup { font-weight: var(--bold); font-size: 12px; line-height: 12px; vertical-align: top; }
p { max-width: 800px; }

/* headings */
h1 { margin-bottom: 3em; font-weight: var(--bold); }
h1 a { color: var(--color); }
h2 { margin-bottom: 3em; font-weight: var(--bold); }
h3 { margin-bottom: 0; }
h4 { margin-bottom: 0; }

/* paragraph width */
#index p { margin-bottom: 1em; }
#exhibit p, code, blockquote { margin-bottom: 1em; /* line-height: 1.3em; */ }

#index .top {  }
#index .top { display: flex; justify-content: space-between; flex-wrap: nowrap; }
#index .top .toggle-hold { display: none; }
#index .bot { position: fixed; left: var(--margin); bottom: var(--margin); width: 250px; }
#index .bot p { margin-bottom: 1em; width: auto; }
#index .bot span { text-transform: uppercase; font-size: 11px; }
#index .bot .createdby p { margin-bottom: 0; }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #f3ffc1; color: var(--color); }

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
#wrapper { min-height: 100vh; max-width: 1800px; }
#index { width: 285px; background: transparent; /* line-height: 1.3em; */ }
#exhibit { margin: 0 0 0 285px; }
#exhibit .top { display: none; margin-bottom: 3em; }

/* styling the index */
#index ul { list-style: none; margin: 0; }
#index ul.section { }
#index ul.subsection {  }

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags { list-style-type: none; margin-bottom: 1em; }
#index ul#all_tags li { display: inline; margin-right: 3px; }
#index ul#all_tags li a {  }

/* styles for the section titles */
#index ul.section span.section_title, 
#index ul.section span.section_title a 
{ font-weight: var(--bold); color: var(--color); }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: var(--bold); }

/* active exhibit title parts */
/* color of active exhibit title link and font-weight */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active, 
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link, 
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: var(--bold); color: var(--color); }

li.active a:before { /* content: '_'; */ }

/* additional #index options */
#index ul li .password a { /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */ }

/* the "new" indicator */
#index ul li sup.new_exhibit { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; line-height: 9px; vertical-align: middle; }
#index ul li sup.new_exhibit:before { content: 'New'; }
/* end styling for index */

/* links styles only for the #index region */
#index a:link {  } 
#index a:visited {  }
#index a:hover { opacity: 0.5; } 
#index a:active {  } 

/* links styles only for the #exhibit region */
#exhibit a:link {  }
#exhibit a:visited {  }
#exhibit a:hover { text-decoration: none; } 
#exhibit a:active {  } 
/* nicer underlines */

#exhibit a:link { text-decoration: none; }
#exhibit a:hover { text-decoration: none; border-bottom: 0; }
#exhibit #img-container .asset-holder a { text-decoration: none; border-bottom: 0; }

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: var(--margin); } 

/* this is where you pad them separately */
#index .container {  }
/* change margin-top if you are using backgrounds */
#exhibit .container { min-height: 90vh; /* margin-top: 100vh; */ }

/* size and style of titles and captions (not mobile though) */
.captioning { margin-top: 2px; }
.title { /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */ }
.caption { /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */ }

#background
{
	/* 'fixed' if you want image to never move */
	position: absolute;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh; /* adjust height of background as desired */
	z-index: 1;
	background-position: center center;
	background-size: cover;
}
/* you can adjust by exhibit if wanted this way */
/* body.exhibit-4 #background { height: 85vh; } */

.footnote { margin-top: 3em; font-size: 75%; line-height: 1.4em; }


/*custom accordion menu*/


/* Hauptsections (auf- und zuklappbar) */
.section > li > ul {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* geöffnet durch JS */
.section > li > ul.open {
  max-height: 2000px; /* groß genug für Inhalte */
  margin-bottom: 1em !important; /* gewünschter Abstand */
}

/* Unterpunkte (Jahre) immer sichtbar */
.subsection {
  max-height: none !important; /* immer aufgeklappt */
  overflow: visible !important;
}

/* Cursor für klickbare Hauptbereiche */
.section_title {
  cursor: pointer;
}


/*custom accordion menu END*/

/* custom Breadcrump Menu START */

#breadcrumb {
  font-size: 0.9em;
  margin-bottom: 1em;
  color: #666;
}
#breadcrumb h2 {
  font-weight: normal;
  margin: 0;
}
#breadcrumb a {
  text-decoration: none;
  color: #333;
}
#breadcrumb a:hover {
  text-decoration: underline;
}
#breadcrumb .current {
  color: #000;
  font-weight: 600;
}

/* custom Breadcrump Menu END */

@media only screen and (max-width: 900px)  
{ 
	/* adjust height to work with name, logo, etc on mobile */
	#index { height: 55px; width: 100vw; }

	#index.active { background: var(--bg); height: 100vh; width: 100vw; overflow: auto; }
	#index .container, #exhibit .container { padding: var(--margin900px); }
	#index .top  { display: flex; justify-content: space-between; }
	#index .top .toggle-hold { display: block; }
	#index nav { /* overflow-y: scroll; max-height: 90vh; */ }
	#index .bot { margin-top: 3em; position: relative; left: 0; bottom: auto; width: auto; }

	#exhibit { margin: 0; padding-top: 100px; }
	#exhibit p { width: auto; max-width: none !important; }
}