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

body { 
color: #bbb; 
font-style: italic; 
font-size: 70%; 
line-height: 1.6em; 
font-family: "Courier New", Verdana, sans-serif; 
background-color: #383838 
}

/* link scheme */
/* you can customize links further down the page too */
a:link       { color: #bbb; font-size: 100%; text-decoration: none }
a:active       { color: #bbb; font-size: 100%; text-decoration: none }
a:visited         { color: #bbb; font-size: 100%; text-decoration: none }
a:hover      { color: #bbb; font-size: 100%; text-decoration: underline }
a img { border: none; opacity: 1; }

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

/* headings */
h1  { font-size: 120% }
h2  { font-size: 110% }
h3  { font-size: 100% }
h4  { font-size: 100% }

/* 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: 0; width: auto; }

/* 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 { margin-bottom: 1em; }
#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); }

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 {  } 
#exhibit a:active {  } 
/* nicer underlines */
/*
#exhibit p a:link { text-decoration: none; border-bottom: 1px solid var(--color); }
#exhibit p a:hover { text-decoration: none; border-bottom: 0; }
#exhibit p a:link img { text-decoration: none; border-bottom: 0; }
*/

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: 20px 9px 25px 20px; }

/* 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; } */

#exhibit .container { padding-top: 85px }
.blau { color: #66ccff; }
.pink { color: #ff33cc; }
.gruen { color: #33fa00; }
.tuerkis { color: #33cccc; }
.red { color: #c00 }
.cyan { color: #0091b3 }
.white { color: #fff }
.green { color: #35fe33 }
#disqus_thread { max-width: 1000px; }

@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; }
}





