/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/

/* Lil Grotesk: regular for text, bold for titles (anything with font-weight: bold) */
@font-face {
	font-family: 'Lil Grotesk';
	src: url('fonts/LilGrotesk-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Lil Grotesk';
	src: url('fonts/LilGrotesk-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Lil Grotesk';
	src: url('fonts/LilGrotesk-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

body {
	font-size: 16px;
	font-family: 'Lil Grotesk', 'Helvetica Neue', Arial, Helvetica, Verdana, sans-serif;
	background: #fff;
	color: #000;
	line-height: 1.4em;
	/* font-weight: 300; */
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: #000; }
a:visited { text-decoration: none; color: #888888; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; color: #00cc00; }
a img { border: none; }
audio:focus { outline: none; }

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

/* headings */
h1 { font-size: 16px; margin-bottom: 1em; font-weight: bold; }
h2 { font-size: 16px; margin-bottom: 1em; font-weight: bold; }
h3 { font-size: 16px; margin-bottom: 1em; }
h4 { font-size: 16px; margin-bottom: 1em; }

/* paragraph width */
#index p { margin-bottom: 1em; }
#exhibit p, code, blockquote { width: 600px; margin-bottom: 1em; /* line-height: 1.3em; */ }

/* page text is justified; the last line of each paragraph stays left */
#exhibit p, #exhibit blockquote, #exhibit .hscroll-text { text-align: justify; }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #ccff00; color: #000; }

/* 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 */
#index { width: 215px; background: #fff; /* line-height: 1.3em; */ }
#exhibit { margin: 0 0 0 215px; }

/* 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 
{ color: black; }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: 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: normal; color: #00f; }

/* 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 */

/* menu items (Work, About, Contact) underline on hover, like the work table rows */
#index ul.section span.section_title a:hover,
#index ul.section li.exhibit_title a:hover { text-decoration: underline; }

/* links styles only for the #index region */
#index a:link {  } 
#index a:visited {  }
#index a:hover {  } 
#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; } 
#exhibit a:active {  } 

/* links styles just for h1 title of site (your name/logo) */
/* site title in Lil Grotesk Black, letters tightened by 3% of the font size */
#index h1 { font-size: 24px; line-height: 1.2em; font-weight: 900; letter-spacing: -0.03em; }
#index h1 a { font-weight: 900; text-decoration: none; color: #000; }

/* project title above the gallery and text, only in the projects section (folder name 'project', the same one format.work_table.php lists) */
#exhibit h2.exhibit-title { display: none; margin: 0 0 18px 0; }
body.folder-project #exhibit h2.exhibit-title { display: block; }

/* project text runs to 65% of the window, minus the menu (215px) and the left padding (27px) */
body.folder-project #exhibit p,
body.folder-project #exhibit blockquote,
body.folder-project #exhibit .hscroll-text { width: auto; max-width: max(280px, calc(65vw - 242px)); }

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: 27px 9px 25px 27px; }

/* this is where you pad them separately */
#index .container {  }
#exhibit .container {  }

/* 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; }

/* smartphones: the menu goes on top and everything runs the full width */
@media (max-width: 700px) {
	#index { position: static; width: auto; height: auto; overflow: visible; }
	#exhibit { margin: 0; }
	.container { padding: 18px 16px; }
	#index .container { padding-bottom: 0; }

	/* Work, About, Contact in one line */
	#index ul.section { display: inline-block; margin: 0 18px 0 0; }
	#index h1 { margin-bottom: 0.5em; }

	/* text full width and left aligned: justified text leaves gaps in narrow columns */
	#exhibit p, code, blockquote,
	body.folder-project #exhibit p,
	body.folder-project #exhibit blockquote,
	body.folder-project #exhibit .hscroll-text { width: auto; max-width: none; }
	#exhibit p, #exhibit blockquote, #exhibit .hscroll-text { text-align: left; }

	/* images and videos in the text never wider than the screen */
	#exhibit p img { max-width: 100%; height: auto; }
	#exhibit p iframe, #exhibit .vimeo, #exhibit .vimeo iframe { max-width: 100%; }
}