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

/*
 * 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
   ========================================================================== */

a, a:active, a:visited { color: #650099;
	text-decoration: none;
	font-family: Steagal-Me;
	font-weight: medium;
	line-height: 100%;
}
a:hover { color: #bd00cb;
	text-decoration: underline;
}

body 
{
	color: #515151;
	background-color: #fef9f0;
	background-image: url(../images/41by71.png), url(../images/73by43.png), url(../images/79by47.png), url(../images/37by67.png);
	background-size: 41px 71px, 73px 43px, 79px 47px, 37px 67px;
	background-repeat: repeat;
	background-position: 0, 0, 0, 0;
}

body, html
{
	height: 100%;
}

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

#container
{
	
}

#main
{
	/* font: 20px adobe-garamond-pro-1,adobe-garamond-pro-2,HoeflerText-Regular,serif; */
    /* 	font: 19px Lora,HoeflerText-Regular,serif; */
	font-family: Steagal-Re;
	font-size: 19px;
	line-height: 28px;
	color: #2d1700;
	margin: -1px auto -1px auto;
	width: 800px;
	min-height: 100%;
	padding: 20px 40px 40px 40px;
	background-color: #fffffc;
	border: 1px solid #cfc295;
}

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

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

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

.timeline-annotation
{
	float: left;
	width: 280px;
	margin: 0;
	text-align: right;
	font-size: 58px;
	line-height: 58px;
	font-family: Steagal-Li;
	text-transform: capitalize;
}

ul#bio li
{
	list-style: none;
}

ul.posts
{
	margin: 0 70px 0 70px;
}

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

h1
{
	font-size: 96px;
	line-height: 96px;
	color: #2d1700;
	padding: 102px 0 8px 132px;
	background: url(../images/heart.png) no-repeat left center;
	background-size: 120px 164px;
	margin: -16px 0 0 -20px;
	font-weight: 300;
	font-family: Steagal-Re;
}

h1 .subtitle
{
	font-size: 61px;
	font-family: Steagal-Me;
	color: #D4CCBE;
}

h2
{
	font-size: 54px;
	line-height: 54px;
	color: #2d1700;
	padding: 11px 50px 13px 50px; /* top and bottom padding + line-height should be 48 */
	background: url(../images/fleuron.png) no-repeat left 4px;
	background-size: 48px 51px;
	margin-top: 13px; 
	margin-bottom: 13px;
	margin-left: -51px;
	font-weight: 500;
	font-family: Steagal-Re;
}

h3
{
	font-size: 40px;
	line-height: 56px;
	color: #2d1700;
	padding: 3px 0px 4px 51px;
	background: url(../images/fleuron.png) no-repeat left 6px;
	background-size: 48px 51px;
	margin-top: 16px; 
	margin-bottom: 16px;
	margin-left: -51px;
	font-weight: 500;
	font-family: Steagal-Re;
}

h4
{
	font-weight: 500;
	font-family: Steagal-Me;
}

.blog-header
{
	font-family: Steagal-Re, "Hiragino Sans";
	font-weight: 400;
	margin: 0 0 33px 70px;
	color: #A69A8B;
}

.blog-header a:link, .blog-header a:visited
{
	color: #A69A8B;
}

p
{
	margin: 28px 0px;
}

.featured p::before
{
	display: inline-block;
	background-image: url('../images/manicule.png');
	background-position: bottom left;
    background-size: 22px 25px;
    background-repeat: no-repeat;
    width: 25px; 
    height: 20px;
    content:"";
}

.post
{
	margin-left: 70px;
	margin-right: 70px;
}

.post-date
{
	color: #C0B3A1;
}

.post img
{
	max-width: 660px;
	border: 1px solid #888;
	margin: 14px 14px 14px 0;
}

figure
{
	margin: 0px;
	padding: 0px;
}

figure.book img
{
	border: none;
	float: right;
	margin-left: 16px;
	margin-top: -20px;
	margin-right: -20px;
	height: 360px;
}

figure.screen img
{
	border: none;
	width: 660px;
}

ul
{
	margin: 0;
	padding: 0;
}

ul li
{
	padding: 0;
}

em
{
	font-style: italic;
}

strong
{
	font-family: Steagal-Me;
	font-weight: 500;
}

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

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

.note
{
	color: #C0B3A1;
	font-family: Steagal-Me;
}











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