/*
 *	The Erudite WordPress theme by Soma Design
 *	http://somadesign.ca/
 *
 *	Licensed under the GPL 2.0
 *	http://www.gnu.org/licenses/gpl-2.0.html
 *
 */

/* CSS Reset based on http://meyerweb.com/eric/tools/css/reset/ */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,font,img,ins,q,s,samp,small,strike,strong,sub,sup,tt,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }
a:focus {overflow:hidden; outline:1px dotted;}
table { border-collapse:collapse;border-spacing:0; }
ol,ul {list-style:none;}
sup { vertical-align:super; }
sub { vertical-align:sub; }

/* Typography Test */
body.baseline {background-image:url(../images/body-bg.png); background-repeat:repeat; background-position:left 20px;}

/* Layout. Based on the idea of 960.gs. Sorta. Loosely. */
#container, #header, #footer-wrap-inner {width:60em; margin:0 auto; position:relative;}
#content {width:33.75em; padding-left:3.75em; padding-top:1.5em; overflow:hidden;}
body.single #content, body.page #content {overflow:visible;}
.sidebar {width:15em; clear:both;}
#footer {clear:both;}

/* Typography Base */
body {font: normal normal normal 100%/1.5 constantia,'hoefler text','palatino linotype',serif; background:#fafafa; color:#333; }
textarea, select, input {font-size:12px;}
h1,h2,h3,h4,h5,h6 {font-family:'gill sans','gill sans mt','gill sans mt pro','century gothic',corbel,sans-serif; font-weight:normal; text-transform:uppercase; letter-spacing:.05em; text-rendering: optimizeLegibility}
h1 {font-size:2.25em; line-height:1.333; margin:1.333em 0 .333em;}
h2 {font-size:1.5em; line-height:1; margin:1em 0 .25em;}
h3 {font-size:1.3125em; line-height:1.143; margin:1.143em 0 .286em;}
h4 {font-size:1.125em; line-height:1.333; margin:1.333em 0 .333em;}
h5 {font-size:1em; margin-top:1.5em 0 .375em;}
h4, h5 {letter-spacing:.1em;}
h6 { font-size: .825em; }
h1 + h2, h1 + h3, h1 + h4, h1 + h5, h1 + h6, h2 + h3, h2 + h4, h2 + h5, h2 + h6, h3 + h4, h3 + h5, h3 + h6, h4 + h5, h4 + h5, h5 + h6 {
	margin-top:0;
}
.amp {font-size:1.1em; font-style:italic; line-height:1.363;}
pre, code {font-family:consolas,'deja vu sans mono','lucida sans typewriter',monaco,monospace;}

/* Links */
a {text-decoration:none;}
a:link {color:#000;}
a:visited {color:#311;}
a:hover {color:#223; text-decoration:underline;}
a:active {color:#55f;}

/* Header */
#header-wrap {background:#6c1313 url(../images/stripes.png) repeat; margin-bottom:1.25em; padding:.625em 0;}
#header h1, #header h1 a {color:#fff; text-decoration:none; line-height:1; margin:0;}
#blog-description {font-size:.875em; color:#fff;}

/* Menu */
.skip-link {display:none;}
#access {width:60em; margin:0 auto;}
#menu {margin:1.5em 0 -.625em; overflow:hidden; padding:.75em 3.75em; border-top:1px solid #b66; background:#6c1313; background:rgba(50,10,10,.3);}
#menu a {color:#fff;}
#menu li {display:block; float:left; margin-right:2em; font-size:1em;}
#menu li ul {border-left:1px solid #444; padding-left:.5em; margin-left:.1em; display:none;}
#menu li:hover ul {display:block;}
#menu li li {float:none; font-size:.857em; display:block; margin-right:0;}
#menu li li li {font-size:1em;}

/* Enhanced Menu */
/*.js .hiding #access {display:none;}*/
.js #menu {padding-bottom:1.5em;}
.js #menu li ul {display:block;}
#menu-toggle {width:60em; margin:0 auto; position:relative;}
#menu-toggle div {display:block; color:#fff; padding:0 .5em; background:#6c1313; position:absolute; top:-1.7em; right:0; cursor:pointer; font-size:.75em; height:1.5em; line-height:1.4; z-index:5;}
#menu-toggle span {padding-right:.5em;}
#menu-toggle div:hover {background:#666;}

/* Navigation */
#nav-below {clear:both; width:33.75em; height:1.6875em; position:absolute; left:3.75em; bottom:0.0625em; z-index:5;}
.hiding #nav-below {bottom:-2.1875em;}
.paged #nav-below {}
#nav-below div {background:#666; height:100%; max-width:49.9%; overflow:hidden;}
.nav-previous {float:left;}
.nav-next {float:right;}
#nav-below a {color:#fff; padding:0 1em; line-height:2; height:100%; font-size:.75em; display:block;}

/* Footer Toggle */
#foot-toggle {clear:both;}
#foot-toggle div {position:relative; width:60em; margin:0 auto; text-align:right; height:2.25em;}
#foot-toggle span {font-size:.75em; background:#6c1313; color:#fff; padding:.5em 1em; cursor:pointer; position:absolute; bottom:0; right:5em;}
#foot-toggle span:hover {background:#666; border-color:#000 #000 #666;}

/* Footer */
#footer-wrap {background:#6c1313; clear:both; color:#fff; padding:1.5em 0;}
.js .hiding #footer-wrap {display:none;}
.footer {width:15em; float:left; margin-left:3.75em;}
.footer h3, .footer h2 {border-bottom:1px solid #666; font-size:1.3125em; line-height:1.143; margin:1.143em 0 .19em;}
.footer ul li {margin:0 0 2.25em;}
.footer ul li li, .footer ul div {font-size:.875em; margin:0;}
.footer ul li li li, .footer ul div div, .footer ul div li {font-size:1em !important;}
.footer p {margin:0 0 1em; text-indent:.625em;}
.footer ul li li li:before {content:"\2192\00a0"; margin-left:-1em;}
.footer ul li li ul {margin-left:1em;}
#footer-wrap a {color:#fff; text-decoration:none; border-bottom:1px solid #444;}
#footer-wrap a:hover {border-color:#ccc;}
#footer-wrap p a {border-color:#999;}
.footer #searchform .text {width:9.0625em; margin-right:.3125em;}
#footer {padding:1.5em 3.75em 0; text-align:right;}
#footer span {font-size:.75em; font-variant:small-caps;}
#footer .meta-sep {padding:0 .5em; color:#666;}
.footer select {font-size:12px;}
.footer table {width:100%;}
.footer table caption {margin:.625em 0; font-variant: small-caps;}
.footer table th, .footer table td {text-align:center;}
.footer table td {color:#bbb;}
.footer table tfoot td {padding:.625em 0 0;}

/* Posts */
div.post, div.page, div.attachment {position:relative; margin:0 0 2em; min-height:13.5em; clear:both;}
div.post:after, div.page:after {clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}/*clearfix*/
.post .shortened {overflow:hidden !important;}
.entry-content hr, .hr {height:3em; background:url(../images/fleuron.png) center 1em no-repeat; margin:0 0 1.5em; display:block; border-width:0px; border-style: none !important;}
.entry-title, .entry-title a {color:#555; text-decoration:none;}
.entry-title a:hover {text-decoration:underline;}
.entry-title {margin:0 0 .5em; line-height:1.5;}
h3.entry-title {margin-bottom:.857em;}
.entry-content p, .entry-content li, .entry-content dt, .entry-content dd {margin-bottom:.75em;}
.entry-content table {margin:1em 0;}
.entry-content table p {text-indent:0;}
.entry-content td, .entry-content th {padding:.125em .5em; text-align:left;}
.entry-content pre {font-size:.875em;}
.entry-content legend {font-size:1.4em; text-align:center; text-indent:0;}
.entry-content p + p {text-indent:1em;}
.entry-content form p {text-indent:0;}
.hypenation .entry-content p {text-align:justify;}
.entry-content h1 + p, .entry-content h2 + p, .entry-content h3 + p, .entry-content h4 + p, .entry-content h5 + p, .entry-content h6 + p, .entry-content hr + p, .entry-content .hr + p {text-indent:0;}
.entry-content blockquote {padding-left:1.875em; position:relative;}
.entry-content blockquote::before {content:"\201C"; position:absolute; font-size:3em; line-height:1; left:.0.0625em; top:0; color:#999;}
.js .entry-content blockquote::before {content:"";}
.js .entry-content blockquote .quote {position:absolute; font-size:3em; line-height:1; color:#999; display:block;}
blockquote .before {left:.0625em; top:0;}
.entry-content blockquote p {font-size:.9375em; text-indent:0;}
/*.entry-content ul li, .entry-content ol li {text-indent:-.5em; padding-left:.5em;}*/
.entry-content ul li {list-style: disc outside;}
.entry-content ol li {list-style: decimal outside;}
.entry-content li ol, .entry-content li ul {margin:.5em 0 0 .5em;}
body.single .entry-content > p:first-child:first-letter, .first-post .entry-content > p:first-child:first-letter {font-size:4.5em; line-height:.65em;}
.entry-content > p:first-child:first-letter {font-size:3em; float:left; background:#7c2323 url(../images/stripes.png) repeat; color:#fff; margin:.05em .1em 0 0; padding:.1em; line-height:.7em;}
/* Webkit + Hoefler = Odd leading. Or at least different. */
body.webkit.set-in-hoeflertext .entry-content > p:first-child:first-letter {padding:.2em .1em 0;}

.more-link, .entry-content p.more-link, .home-post .entry-content p.more-link {display:block; text-indent:0 !important; font-size:.75em; line-height:2; clear:both;}
.more-link a {text-decoration:none; font-style:italic;}
.page-link { font-size:.875em; clear:both; }
.page-link span { padding:0 .33em; }
.entry-content .page-link a { border-bottom-width:0; font-weight:bold; }

/* Epigraph */
blockquote.epigraph {font-style:italic; margin:0 3.75em 1.25em; text-align:justify;}
.first-page blockquote.epigraph {margin-right:26.25em;}
blockquote.epigraph p {font-size:.75em; text-indent:1em; margin-bottom:.75em;}
blockquote.epigraph em, blockquote.epigraph cite {font-style:normal;}
blockquote.epigraph cite {text-align:right; font-size:.75em; display:block; font-variant:small-caps;}

/* Pullquotes */
.shortened .pullquote-display {display:none;}
.pullquote-display {position:absolute; width:24.875em; right:-22.5em; border:.1em solid #d6d6d6; background:#f3f3f3;}
.pullquote-display p {padding:1.3em 1.6em; margin:0; font-variant: small-caps; font-size:1.125em; font-style:italic; line-height:1.333; text-indent:0; text-align:left;}

/* Main Links */
.entry-content a {text-decoration:none; border-bottom:1px solid #aaa;}
.entry-content a:visited {border-color:#ddd;}
.entry-content a:hover {border-color:#555; text-decoration:none;}
.entry-content a:active {color:#55f;}

/* Homepage post excerpts */
.first-page #content {width:auto;}
.first-page .first-post, .paged div.post {width:33.75em; margin-bottom:5.75em;}
.paged div.post {margin-bottom:3em;}
.home-post .entry-meta {position:static; border:0; padding:0; width:100%; clear:both;}
.home-post .entry-meta span {display:none; position:absolute;}
.home-post .entry-meta span.entry-date {top:4.8em; display:block; left:0;}
.home-post .entry-meta span.author {display:block; bottom:-0.7956em; right:0;}
.first-page div.home-post {width:15em; float:left; clear: none; margin:0 3.75em 4.5em 0;}
.first-page div.home-post-4, .first-page div.home-post-7 {margin-right:0;}
.first-page div.home-post-5, .first-page div.home-post-8 {clear:left;}
.home-post h3.entry-title {font-size:1.125em; line-height:1.333; height:2.667em; margin-bottom:2.085em; overflow:hidden;}
.home-post .entry-content p {font-size:.875em; line-height:1.714;}
.home-post hr, .home-post .hr {display:none;}

/* entry meta */
.entry-meta {position:absolute; top:3.1875em; padding-left:1.25em; width:13.75em; right:-22.5em; border-left:1px solid #aaa;}
.entry-meta span {display:block; font-size:.6875em; line-height:1.455; padding:.364em 0;}
.entry-meta span span {font-size:1em;}
.entry-meta a {font-style:italic;}
.entry-meta .meta-sep {display:none;}

/* Show more/less */
div.reveal {text-align:right;}
div.reveal p {cursor:pointer; font-style: italic; font-size:0.8125em; line-height:1.846;}
div.reveal span {font-size:.6875em;}

/* Comments */
img.avatar {position:absolute; left:-4.6em; top:0;}
.children img.avatar {width:16px; height:16px; border:1px solid #999; left:-1.59375em;}
#comments {padding:2.25em 0 1.5em;}
li.comment, li.pingback, li.trackback {position:relative; border-left:1px solid #aaa; margin:.75em 0 1.5em 7.5em; padding-left:1.25em; min-height:3.75em;}
li.comment.bypostauthor {border-color:#000;}
.comment-author a, .comment-meta a {text-decoration:none;}
.reply, #cancel-comment-reply {text-align:right;}
.reply a, #cancel-comment-reply a {text-decoration:none;}
.comment-meta-wrap {position:absolute; width:6.875em; left:-7.5em; top:.125em;}
.comment-meta {font-size: .625em; top:1.5em;}
.comment-author {font-size:.75em; line-height:1.2; padding-bottom:.25em;}
li.comment p, li.comment li {font-size:.875em; margin-bottom:1em;}
li.pingback p {font-size:.75em;}
.children li.comment {padding-left:2em; font-size:1em;}
a.comment-edit-link {position:absolute; left:0; bottom:-2em; color:#bbb; display:block;}
a.comment-edit-link:hover {text-decoration:underline;}
.comment:hover a.comment-edit-link {color:#555;}

/* Responses */
#comments h4 {font-size:1.3125em; line-height:1.143; margin:1.143em 0;}
#comments .disabled {font-style:italic;}
#respond {margin:3em 0 0;}
form#commentform {overflow:hidden; padding:1.5em 0;}
form p {font-size:.875em; margin:0 0 .5em;}
span.required, label .required {color:#900; font-weight:bold; font-size:.78125em;}
.comment-form-comment {width:24em; float:left;}
.comment-form-comment textarea {width:95%; height:12em; padding:.3125em; margin:0 0 .625em; overflow:auto;}
.user-info {float:right; width:12.25em;}
.user-info input {width:95%;}
.form-label {font-size:.75em; margin:.5em 0 0;}
.comment-form-comment label {font-size:.9em; display:block; margin:.75em 0 0;}
form p.form-submit {clear:both;}

/* Archives */
.page-title {margin-bottom:1em;}
.archive-meta {font-size:.875em; font-variant: small-caps; line-height:1.714; padding-bottom:3.429em; margin-top:1.714em;}

/* Pages */
ul#links-page h3, ul#archives-page h3 {font-size:1.312em;}
ul#links-page > li, ul#archives-page > li {list-style-type:none;}
ul#links-page li, ul#archives-page li {margin:.82em 0;}
ul#links-page > li > ul, ul#archives-page > li > ul {margin:1em;}


/* Image Layout */
.entry-content img {border:1px solid #aaa; padding:4px; margin-bottom:6px; max-width:100%;}
.entry-content img.wp-smiley {border:0 none; padding:0; margin:0;}
.centered, .aligncenter {display:block; margin:16px auto;}
.alignright {float:right; margin: 6px 0 3px 15px;}
.alignleft {float:left; margin:6px 15px 3px 0;}
.wp-caption {border:1px solid #aaa; text-align:center; padding-top:5px; margin-bottom:6px;}
.wp-caption a, .wp-caption img {border:0 none; padding:0;}
.wp-caption p.wp-caption-text {text-align:center; margin:5px; text-indent:0; font-size:.8125em;}
.entry-content .gallery a {border-width:0;}

/* Dark Scheme */
body.dark {
	color:#eee;
	background-color:#222;
}
.dark #header-wrap {
	background-image:url(../images/stripes-dark.png);
}
.dark #header-wrap, .dark #footer-wrap, .dark #menu-toggle div, .dark #foot-toggle span, .dark #nav-below a {
	background-color:#fffff6;
	color:#222;
}
.dark #header h1 a, .dark #blog-description, .dark #menu a, .dark #footer-wrap a {
	color:#222;
}
.dark .footer h3 {
	color:#000;
}
.dark #menu {
	background:#fff;
	background:rgba(255,255,255,0.5);
}
.dark .entry-title, .dark .entry-title a {
	color:#fff;
}
.dark .entry-content > p:first-child:first-letter {
	background-color:transparent;
	border:1px solid #444;
}
.dark .pullquote-display {
	background:#111;
	border-color:#666;
}
.dark a {text-decoration:none;}
.dark a:link {color:#fffff6;}
.dark a:visited {color:#fff;}
.dark a:hover {color:#ffe; text-decoration:underline;}
.dark a:active {color:#eec;}
.dark .entry-content a {border-color:#777;}
.dark .entry-content a:hover {text-decoration:none; border-color:#ddd;}
.dark .entry-content hr, .dark .hr {background-image:url(../images/fleuron-dark.png);}


