/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/
:root {
	--color: rgb(30, 30, 30);
	--color5: rgba(30, 30, 30, 0.5);
	--bg: rgb(255, 255, 255);
	--margin: 72px; 
}

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

@font-face {
	font-family: 'VaskaSans';
	src: local('VaskaSans'), url(typeface/untitled-sans-regular.woff2) format('woff2');
}


body {
font-size: 24px;
font-family: "VaskaSans", sans-serif;
background: var(--bg);
color: var(--color);
line-height: 1.4em;
}


body.exhibit-1
{
	--bg: rgb(50, 50, 50);
	--color: rgb(83, 83, 83);
	--color5: rgba(83, 83, 83, 0.5);
	/* --bg: rgb(255, 74, 74);
	--color: rgb(0, 255, 85);
	--color5: rgba(24, 255, 101, 0.5); */
	/* --bg: rgb(59, 85, 62);
	--color: rgb(78, 124, 93);
	--color5: rgba(78, 124, 93, 0.5); */
}

body.exhibit-48
{
	--color: rgb(255, 255, 255);
	--color5: rgba(255, 255, 255, 0.5);
	--bg: rgb(0, 42, 255);
}

::selection {
	color: transparent;
	background: transparent;
}

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

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

/* headings */
h1 { margin-bottom: 2em; font-weight: normal; }
h1 a { color: var(--color); }
h2 { margin-bottom: 1em; font-weight: normal; }
h3 { margin-bottom: 1em; font-size: 45px; line-height: 1.3em; letter-spacing: -0.030em; }
h4 { margin-bottom: 0; }

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

#index .top, #logjam .top { height: 125px; }
#index .top { display: flex; justify-content: space-between; flex-wrap: nowrap; }
#index .bot {  }
#index .bot p {  }

/* 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; width: 100vw; }
#main { 
	text-align: left;
	flex: 100% 1 1; 
	height: 100vh; 
	overflow-y: scroll;
	margin: 0 auto;
}
#index { 
	position: absolute; 
	z-index: 2; 
	top: 0; 
	left: 0; 
	right: 0; 
	height: 100px; 
	max-width: 2000px; 
}
#exhibit { max-width: 1600px; }
#exhibit .top { display: none; }
#logjam { flex: 0% 1 1; height: 100vh; overflow-y: scroll; display: none; }
#logjam #logs { font-size: 18px; line-height: 1.3em; }
#logjam #logs #log { margin-bottom: 2em; }

/* 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: normal; color: var(--color); }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: normal; }

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

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; vertical-align: top; }
#index ul li sup.new_exhibit:before { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; 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 { text-decoration: none; }
#exhibit a:visited {  }
#exhibit a:hover { text-decoration: none; opacity: 0.5; } 
#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: var(--margin); } 

/* this is where you pad them separately */
#index .container {  }
#exhibit .container { padding-top: 250px; }

/* 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 image */
#background
{
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: -1;
	background-position: center center;
	background-size: cover;
}

.selected, .spaced
{
	margin-top: 3em;
}

ul#menus {  }
ul#menus li.index-part { display: inline; }
ul#menus li#index-part-6 { display: none; }

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

	#index.active { background: var(--bg); height: 100vh; width: 100vw; overflow: auto; }
	#index .container, #exhibit .container { padding: 21px; }
	#index .top  { display: flex; justify-content: space-between; }
	#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; }

	h3 { margin-bottom: 1em; font-size: 30px; line-height: 1.3em; letter-spacing: 0; }
}



