/**
 * Rebuilt to match the real jfontanive.com Indexhibit stylesheet
 * (values taken directly from the site's own style.css)
 */

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
	margin: 0;
}

/* reset (approximates what the site's own reset.css does) */
ul, ol, li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body {
	font-size: 12px;
	font-family: 'Helvetica neue', Arial, Helvetica, Verdana, sans-serif;
	background: #fff;
	color: #000;
	line-height: 1.4em;
	max-width: 700px;
}

/* link scheme */
a:link { text-decoration: none; color: #000; }
a:visited { text-decoration: none; color: #888888; }
a:hover { text-decoration: underline; }
a:active { text-decoration: none; color: #ffffff; background: #000000; }
a img { border: 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 { max-width: 700px; margin-bottom: 1em; }

/* two-column layout: fixed left index, exhibit content offset to the right */
#index {
	width: 215px;
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	overflow-y: auto;
	box-sizing: content-box;
}

#exhibit {
	margin: 0 0 0 251px;
	min-height: 100vh;
	overflow-y: auto;
}

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

/* 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 */
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: #56bbdc; }

/* 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: underline; }
#exhibit a:visited {  }
#exhibit a:hover { text-decoration: none; }
#exhibit a:active {  }

/* links styles just for h1 title of site (your name/logo) */
#index h1 a { font-weight: normal; text-decoration: none; color: #000; }

/* padding for #index and #exhibit together */
.container { padding: 27px 9px 25px 27px; }

#index .container {  }
#exhibit .container {  }

/* size and style of titles and captions */
.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; }

/* project page images */
#exhibit img { display: block; max-width: 700px; width: 100%; height: auto; margin-bottom: 1em; }

/* stack into a single column on narrow screens */
@media (max-width: 700px) {
	#index {
		position: static;
		width: auto;
		height: auto;
		overflow-y: visible;
		border-bottom: 1px solid #ccc;
	}

	#exhibit {
		margin-left: 0;
		min-height: auto;
		overflow-y: visible;
	}
}
