/*
Theme Name: Justine 2013
Author: Stephanie Leary
Description: Based on <code>_s</code> and the Less framework.
Version: 1.0a
License: GNU General Public License
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: none;
}
.entry-content h3.cover-gallery {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 1.5em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, em, i {
	font-style: italic;
}
cite {
	font-style: normal;
}
blockquote {
	margin: 1em 1.5em;
	font-size: 0.95em;
	color: #716c66;
}
#secondary blockquote {
	font-size: 0.8em;
	color: #ccc;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Consolas, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
	color: #6C8E1B;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 1.5em 0;
	width: 100%;
}
th {
	font-weight: bold;
}
th, td {
	padding: .25em;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
	color: rgba(0,0,0,.8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.4rem;
	line-height: 1;
	padding: 1.12em 1.5em 1em;
	text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
	box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	color: #111;
}
input[type=text],
input[type=email] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #933;
}
a:visited {
	color: #5E2221;
}
a:hover,
a:focus,
a:active {
	color: #A83938;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}


/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
	margin: 0 2em;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
}
.main-small-navigation .menu {
	display: none;
}


/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.entry-meta {
	clear: both;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	max-width: 100%;
}
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
	margin-bottom: 1.5em;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
	font-size: 13px;
	line-height: 16px;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.gallery-columns-3 dl.gallery-item {
	width: 31% !important;
	margin: 10px 2% 0 0;
}
.covers {
	position: relative;
}
.covers .attachment-cover_thumbnail {	
	float: right;
	margin: 0 0 1em 1em;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	position: relative;
	top: 0;
	right: 0;
	z-index: 0;
}
.covers .attachment-cover_thumbnail.primary {
	top: 20px;
	z-index: 10;
}
.covers .attachment-cover_thumbnail.secondary {
	margin-right: -40px;
}
body.home #magic .covers .attachment-full, 
body.home #daughters-of-earth .covers .attachment-cover_thumbnail, 
body.home #battle .covers .attachment-cover_thumbnail {
	float: none;
	margin: 1em auto;
	display: block;
	max-width: 200px;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous {
	float: left;
	width: 50%;
}
.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Search widget */
#searchsubmit {
	display: none;
}

/**********************************  LESS **************************************/

/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
	text-shadow: 0 0 1px 0 rgba(255,255,255,0.7);
}

.huge, h1 {
	font-size: 42px;
	line-height: 48px;
	letter-spacing: -1px;
	text-shadow: 0 0 1px 0 rgba(255,255,255,0.7);
}

.large, h2 {
	font-size: 26px;
	line-height: 36px;
	text-shadow: 0 0 1px 0 rgba(255,255,255,0.7);
}

.bigger, h3 {
	font-size: 22px;
	line-height: 30px;
}

h3.date {
	font-size: 13px;
	line-height: 16px;
}

.big, h4 {
	font-size: 20px;
	line-height: 24px;
}

body {
	font: 16px/24px "ff-meta-serif-web-pro-1","ff-meta-serif-web-pro-2",Cambria,Georgia,serif;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}



/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	padding: 36px 0;
	color: #141414;
	background: #933 url(img/flowers.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
	/* letterpress effect */
	text-shadow: rgba(0,0,0,0.1) -1px 0, rgba(0,0,0,0.1) 0 -1px,
	             rgba(255,255,255,0.1) 1px 0, rgba(255,255,255,0.1) 0 1px,
	             rgba(0,0,0,0.1) -1px -1px, rgba(255,255,255,0.1) 1px 1px;
}

#secondary h2, #secondary h2 a,
#secondary h3, #secondary h3 a {
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
}

h2.book-title {
	margin-bottom: 12px;
}

h2.book-title a.post-edit-link {
	font-size: 13px;
	color: #716C66;
	text-shadow: none;
	text-decoration: underline;
}

h2.recent_posts_with_excerpts {
    font-size: 1em;
    line-height: 1.4;
}

.recent_posts_with_excerpts .sharedaddy {
	display: none !important;
}

#page {
	width: 992px;
	padding: 0; 
	margin: 0 auto;
}

#masthead hgroup {
	margin-bottom: 24px;
	position: relative;
	min-height: 112px;
}

#masthead h1 a, #masthead h1 a:visited, #masthead h1 a:hover, #masthead h1 a:focus, #masthead h1 a:active {
	color: #fff;
}

#masthead h2 {
	color: rgba(0,0,0,0.6);
}

#masthead h1.menu-toggle {
	color: #fff;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
	text-align: center;
	font-size: 28px;
	line-height: 36px;
}

#masthead .covers {
	width: 252px;
	position: absolute;
	top: 0;
	right: 0;
}

#masthead .covers img {
	display: block;
	float: left;
	margin-left: 24px;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

#masthead .covers a:first-child img {
	margin-left: 0;
}

#colophon {
	width: 896px;
	margin: 0 auto;
	padding: 48px 0 0; 
	clear: both;
	color: #fff;
	font-size: .9em;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
}

#colophon a {
	color: rgba(255,255,255,0.8);
}

#colophon .site-credit {
	font-size: .8em;
	color: rgba(255,255,255,0.5);
	margin-top: 2em;
}

header nav, header .main-navigation {
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: #5E2221;  /* for old browsers */
	background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.4)), color-stop(100%,rgba(0,0,0,0.2))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.2) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.2) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.2) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.2) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#33000000',GradientType=0 ); /* IE6-9 */
}

header nav li a {
	color: rgba(255,255,255,0.8);
	font-size: .9em;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
}

header nav li a:active, header nav li a:focus, header nav li a:hover {
	color: rgba(255,255,255,1);
}

header nav li a:visited {
	color: rgba(255,255,255,.6);
}

header nav .menu-main-menu-container {
	text-align: center;
}

header nav .menu {
	margin: 0 1em;
	padding: 0;
	width: auto;
	display: inline-block;
}

.main-navigation ul ul li {
	padding: .25em 0;
	margin: 0;
}

.main-navigation ul ul {
	padding: 1em;
	background-color: #5E2221;
	text-align: left;
}

#primary {
	width: 664px; 
	float: left; 
	background: #fff;
	padding: 24px;
	box-shadow: 0 0 2em rgba(0, 0, 0, 0.5);
}

#secondary {
	width: 230px;
	padding: 24px;  
	float: right;
	background-color: #5E2221;  /* for old browsers */
	background-color: rgba(0,0,0,0.2);
	color: #fff;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
}

#secondary h3.widget-title {
	/* replace letterpress effect */
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
}

#secondary a {
	color: #fff;
	color: rgba(255,255,255,0.8);
}

#secondary li a, .archive-list td a, a.footnote-back-link {
	text-decoration: none;
}

.widget ul {
	list-style: none;
	margin-left: 0;
}

.widget ul ul {
	margin-left: 1em;
}

.widget li {
	margin-bottom: .6em;
}

#main:after, #primary:after, #secondary:after, body.home ul.booknav:after, body.home ul.booknav li:after {
	content: "";
	clear: both;
}

body.home div.book {
	margin-bottom: 32px;
	-webkit-hyphens: auto; 
	-moz-hyphens: auto; 
	hyphens: auto;
}

body.home div.book cite {
	display: block;
	text-align: right;
	text-indent: 3em;
	color: #2F2D2C;
}

body.home ul.booknav {
	margin: 0 0 1em;
	list-style: none;
	display: table;
}

body.home ul.booknav li {
	float: left;
	width: auto;
	margin-right: 2em;
}

body.home h2#older {
	margin-bottom: 32px;
}

body.home #magic, body.home #daughters-of-earth, body.home #battle, body.home #team-human {
	float: left;
	width: 300px;
	margin-right: 32px;
}

body.home #battle, body.home #magic {
	margin-right: 0;
}

body.home #daughters-of-earth {
	clear:both;
}

body.home #magic h2, body.home #daughters-of-earth h2, body.home #battle h2, body.home #team-human h2 {
	font-size: 18px;
	line-height: 24px;
}

body.home #magic h3, body.home #daughters-of-earth h3, body.home #battle h3, body.home #team-human h3 {
	font-size: 14px;
	line-height: 18px;
	color: #888;
	text-shadow: none;
}

body.home #magic p, body.home #daughters-of-earth p, body.home #battle p, body.home #team-human p {
	font-size: 14px;
	line-height: 18px;
}

body.home #team-human p {
	clear:both;
}

body.home #team-human .covers {
	height:130px;
}

body.home #team-human .covers .attachment-cover_thumbnail {
	max-width:60px;
	margin-right:140px;
}

body.home #team-human .covers .attachment-cover_thumbnail.secondary {
	margin-right:90px;
	margin-top:-80px;
	z-index:10;
}

body.home div.original {
	clear: both;
}

.entry-meta, ol.commentlist li article header, ol.commentlist li article footer {
	color: #888;
	font-size: .8em;
}

.entry-meta a, ol.commentlist li article header a, ol.commentlist li article footer, ol.commentlist li article footer a {
	color: #555;
}

ol.footnotes li {
	color: #5E2221;
}

h2.comments-title {
	margin-bottom: 1em;
}

ol.commentlist {
	list-style: none;
	margin-left: 0;
	counter-reset: comments; 
}

ol.commentlist li {
	padding-bottom: 1em;
	margin-bottom: 2.6em;
	border-radius: 0 1.2em 0 0;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.05))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#40000000',GradientType=0 ); /* IE6-9 */
}

ol.commentlist li.bypostauthor {
	background: #ffd;
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(195,160,157,0.75) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(195,160,157,0.75))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(195,160,157,0.75) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(195,160,157,0.75) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(195,160,157,0.75) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(195,160,157,0.75) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#bfffffcc',GradientType=0 ); /* IE6-9 */
}

ol.commentlist li article header:before {
	counter-increment: comments;
    content: counter(comments);
	display: block;
	float: right;
	height: 1.4em;
	line-height: 1.4em;
	min-width: 1.4em;
	background: #ddd;
	color: #666;
	padding: .2em;
	border-radius: 1.2em;
	text-align: center;
}

ol.commentlist li.bypostauthor article header:before {
	background: #5E2221;
	color: #fff;
}

ol.commentlist li.avatar div.comment-content, ol.commentlist li.avatar div.reply, ol.commentlist li.avatar footer {
	margin-left: 100px;
}

ol.commentlist li div.avatar {
	width: 100px;
	float: left;
}

.comment-author {
	margin-bottom: 1em;
}

.comment-author cite {
	font-style: normal;
	font-weight: bold;
	font-size: 1.1em;
}

#commentform label {
	width: 6em;
	float: left;
	clear: left;
}

#commentform .subscribe-to-comments label {
	width: auto;
	float: none;
}

span.required {
	color: #c66;
	font-weight: bold;
	display: block;
	float: left;
	margin-left: -1em;
}

#commentform input {
	
}

.archive-list {
	border-bottom: 1px solid #f0f0f0;
	margin-top: 0;
}

.archive-list th {
	border-bottom: 1px solid #ddd;
	padding: 0;
	text-align: right;
}

.archive-list td {
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #f0f0f0;
}

.archive-list td.day {
	width: 2.6em;
}

.archive-list td.comments-count {
	text-align: right;
}

.timeline-header h1.summary {
	color: #fff !important;
}

li.tweet .e-entry-title {
	color: #fff !important;
	font-size: 14px;
}

li.tweet .retweet-credit {
    margin: #aaa !important;
	text-shadow: none;
}

ul#buylinks {
	float: right;
	clear: right;
}

ul#buylinks {
	margin: 1em 0 0 1em;
	padding: 0;
}
ul#buylinks ul.sub-menu {
    padding:0;
    margin: 0;
}
ul#buylinks li, ul#buylinks ul.sub-menu li {
    list-style-type: none;
    display: inline-block;
}
/*Link Appearance*/
ul#buylinks li a {
	text-align: center;
}
ul#buylinks li ul.sub-menu li a {
	text-align: left;
}
ul#buylinks li a, ul#buylinks li ul.sub-menu li a {
    text-decoration: none;
    color: #fff;
    background: #8C2C31;
    display:inline-block;
	width: 165px;
 	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
	padding: .2em 10px
}
ul#buylinks li a:hover, ul#buylinks li ul.sub-menu li a:hover {
	color: #ffc;
}
/*Make the parent of sub-menu relative*/
ul#buylinks li {
    position: relative;
}
/*sub menu*/
ul#buylinks li ul.sub-menu {
    display:none;
    position: absolute;
    top: 30px;
    left: 0;
    width: 100px;
}
ul#buylinks li:hover ul.sub-menu {
    display:block;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	#page {
		width: 712px;
		padding: 0 28px; 
		margin: 0 auto;
	}

	#masthead hgroup {
		margin-bottom: 24px;
	}
	
	#masthead hgroup h1, #masthead hgroup h2 {
		width: 436px;
	}
	
	#colophon {
		width: 712px;
		margin: 0 auto;
		padding: 48px 0; 
		clear: both;
	}
	
	#primary, #secondary {
		width: 664px; 
		float: none;
		padding: 24px;
	}

	body.home #magic, body.home #daughters-of-earth, body.home #battle {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	
	.main-navigation {
		float: none;
	}
	
	.main-navigation li {
		margin: 0 1.8em 0 0;
	}
	
	.main-navigation li:last-child {
		margin-right: 0;
	}
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	#page {
		width: 96%;
		padding: 0; 
		margin: 0 auto;
	}
	
	#masthead hgroup {
		display: table;
	}
	
	#masthead hgroup .covers {
		position: static;
		margin: 24px auto;
	}
	
	#masthead h1, #masthead h2 {
		margin-left: 16px;
		margin-right: 16px;
	}
	
	#colophon {
		width: auto;
		padding: 34px;
	}
	
	#primary, #secondary {
		width: auto; 
		float: none;
		padding: 22px;
	}
	
	header nav .menu-main-menu-container ul {
		text-align: left;
	}
	
	header nav li a {
		font-size: 1.3em;
		text-decoration: none;
	}
	
	header nav ul.sub-menu li a {
		font-size: 0.9em;
	}
	
	body.home #magic, body.home #daughters-of-earth, body.home #battle {
		float: none;
		width: auto;
		margin-right: 0;
	}
	
}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	#page {
		width: auto;
		padding: 0; 
		margin: 0;
	}

	#masthead hgroup {
		margin-bottom: 24px;
		display: table;
	}
	
	#colophon {
		width: 436px;
		margin: 0 auto;
		padding: 48px 22px 36px; 
		clear: both;
	}
	
	#primary, #secondary {
		width: auto; 
		float: none;
		padding: 22px;
	}
	
	.main-navigation {
		float: none;
	}
	
	.main-navigation li {
		margin: 0 1em;
		list-style: none;
	}
	
	.main-navigation li:last-child {
		margin-right: 0;
	}
	
}