/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-regular.woff2") format('woff2');
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-light.woff2") format('woff2');
	font-weight: 300;
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-regular-italic.woff2") format('woff2');
	font-style: italic;
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-bold.woff2") format('woff2');
	font-weight: bold;
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-bold-italic.woff2") format('woff2');
	font-weight: bold;
	font-style: italic;
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-bold.woff2") format('woff2');
	font-weight: bold;
}

@font-face {
    font-family: "Epicene Text";
    src: url("webfonts/epicene-text-black.woff2") format('woff2');
	font-weight: 900;
}

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Oulde */

body {
	font-size:   16pt;
	color:       #222;
	background:  #fbfbfb;
	font-family: "Epicene Text", "Iowan Old Style" ,"Georgia", serif;
	line-height: 1.4;
	
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	color:       rgb(158, 22, 4);
}

h1 {
	font-size:     4em;
	line-height:   1;
	margin-bottom: 0.5em;
	margin-top:    2em;
}

h2 {
	font-size:     2em;
	margin-bottom: 0.75em;
	margin-top:    1.5em;
}

h3 {
	font-size:   1.5em;
	line-height: 1;
	margin-top:  1.5em;
}

h4 {
	font-size:     1.2em;
	line-height:   1.25;
	margin-bottom: 1.25em;
}

h5 {
	font-size:     1em;
	font-weight:   bold;
	margin-bottom: 1.5em;
}

h6 {
	font-size:   1em;
	font-weight: bold;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin: 0;
}

img {
	max-width: 100%;
}

p {
	margin: 0 0 1.5em;
}

#toc a { 
	color: rgb(158, 22, 4);
	text-decoration: none;
	font-weight: 500;
	line-height: 100%;
}

#toc .level-3{
	margin-left: 2em;
}

a, a:active, a:visited { 
	color: #601685;
	text-decoration: none;
	font-family: Epicene Text;
	font-weight: bold;
	line-height: 100%;
}

a:hover { color: #bd00cb;
	text-decoration: underline;
}

body 
{
	background-color: #f4f0f0;
}

body, html
{
	height: 100%;
}

p, h2, h3, li { orphans: 3; widows: 3; }

#main
{
	color: #2d1700;
	margin: -1px auto -1px auto;
	width: 800px;
	min-height: 100%;
	padding: 20px 40px 40px 40px;
}

img.portrait
{
	float: left;
	width: 222px;
	height: 222px;
	border: 4px solid #622e7d;
	box-sizing: border-box;
	margin: 8px 20px 40px 56px;
}

.timeline-chunk
{
	clear: both;
	margin: 84px 0;
}

.timeline-detail
{
	margin: 0 0 0 300px;
}

.timeline-annotation
{
	color: #222;
	float: left;
	width: 280px;
	margin: -25px 0 0 0;
	text-align: right;
	font-size: 94px;
	line-height: 89px;
	font-family: Epicene Text;
	font-weight: 600;
	/* text-transform: capitalize; */
	font-style: italic;
	font-variant-numeric: oldstyle-nums;
}

ul
{
	margin: 0 0 1.5em;
	padding: 0 0 0 0;
}

ul li
{
	padding: 0;
	list-style: none;
	background: url('../images/manicule.png') no-repeat left -3px;
    background-size: 22px 25px;
    background-repeat: no-repeat;
    padding: 0 0 0 28px;
    margin: 16px 0px 16px 0px;
}

em
{
	font-style: italic;
}

strong
{
	font-family: Epicene Text;
	font-weight: bold;
}

blockquote
{
	background-color: #FAF7F1;
	padding: 0 4px;
	margin: 28px -4px;
	
}

.sc
{
	font-variant: small-caps;
}

.note
{
	color: #C0B3A1;
	font-weight: 900;
	font-style: italic;
}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
