/*  
Theme Name: Hemingway Revolutions
Theme URI: http://push.cx
Description: A tan single-column theme with ample whitespace.
Version: 1.0
Author: Peter Bhat Harkins
Author URI: http://push.cx/
*/

/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

*  {
	margin: 0px;
	padding: 0px;
}

* html #ancillary .block {
	margin: 0px 0px 0px 4%;
}

* html #comments cite {
	width: 30.6%;
}

* html #primary .secondary {
	margin-right: 4%;
}

a {
	color: #000000;
}
a:visited {
	color: #808080;
}
#ancillary a:visited {
    color: #333;
}

a img {
	border: none;
}

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/
body {
	background: #ffffee url(images/spiralbg.png) no-repeat scroll top left;
        /* note: this needs to match the text color in .recommended far below */
	color: #303030;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
}

fieldset  {
	padding: .5em;
}

h1 {
	color: #333333;
	font-size: 2.25em;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address  {
	margin: 1em 0px;
}

div.blockquote {
    background: url('images/blockquote_close.png') right bottom no-repeat;
}
blockquote {
    margin: 20px 0;
    padding: 0 20px 0 30px;
    background: url('images/blockquote_open.png') left top no-repeat;
}   

blockquote cite {
    display: block;
    width: 100%;
    text-align: right;
}

input.textfield, textarea  {
	border: 1px solid #868686;
	margin: 5px 0px;
}

label.text {
}

li, dd  {
	margin-left: 5%;
}

dt {
	margin-top: 1em;
}

ol#comments {
	list-style-type: none;
	margin: 2em 0px;
}

ol#comments li {
	list-style-type: none;
	margin: 2em 0px;
}

p, blockquote {
	line-height: 1.75em;
}

pre {
	border-bottom: 1px dotted #CCCCCC;
	border-top: 1px dotted #CCCCCC;
	overflow: show;
	padding: 0 0 1em 0;
	width: 100%;
}

select option {
	padding: 0px 5px;
}

table {
	border-spacing: 2px;
	margin: 1.5em 0px;
}

table caption {
	color: #000000;
	margin-bottom: -1em;
	margin-top: 1em;
	text-align: left;
}

table td {
	background: #eeeedd;
	color: #000000;
}

table th {
	background: #eeeedd;
	color: #000000;
	text-align: left;
}

table th, table td {
	padding: 0.3em 0.75em;
}

textarea.commentbox {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.25em;
	height: 10em;
	margin: 5px 0px;
	padding: 0.25em;
	width: 28em;
	background-color: #ffffee;
}

ul li {
	list-style-type: square;
	margin: 0.5em 0px 0.5em 2em;
}

ul.counts .count {
	color: #7A7A7A;
	float: right;
}

.date, .note {
	font-size: 75%;
}

ul.dates .date {
	color: #525252;
	padding: 0px 1.5em 0px 0px;
}

ul.dates a, ul.counts a {
	color: inherit;
	color: #303030;
	text-decoration: none;
}

ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count {
	color: #000000;
}

ul.dates li, ul.counts li {
	list-style-type: none;
	margin: 0px;
	padding: 0.5em 0 0.6em 0;
	line-height: 1em;
}

ul.dates, ul.counts {
	border-top: 1px solid #C2C2C2;
	border-bottom: 1px solid #C2C2C2;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.counts li {
    line-height: 1.75em;
    display: inline;
}
ul.dates .detail {
	color: #525252;
        margin-left: 1.5em;
}
ul.dates h4 {
	display: inline;
        margin: 0;
}

.clear {
	border: none;
	clear: both;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
}

.comment-head {
	border-bottom: 1px solid #E3E3E3;
	padding: 0.8em 2em 1.0em 0;
}

.comment-head .details{
	font-size: 0.95em;
}

.comment-head a {
	color: #868686;
	text-decoration: none;
}

.comment-head h2 {
	font-size: 1.5em;
	margin: 0 2em 0 0;
	display: inline;
}

.hide, .print-logo, .close-button {
	display: none;
}

/* This class sets the width and position for all rows */
.inside {
	width: 80%;
	max-width: 85em;
	margin: 0 auto;
}

.left, .alignleft {
	float: left;
}

.right, .alignright {
	float: right;
        margin: 0 0 1em 1em;
}

.rule {
	border-top: 1px solid #CCCCCC;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	margin: 1.5em 0px;
}

.secondary .featured p {
	line-height: 1.5em;
	margin: 1em 0px 0px 0px;
	padding: 0.5em 0px 0.6em 0px;
}

.secondary .featured dl {
	margin: 0px;
	padding: 0.5em 0px 0.6em 0px;
	line-height: 1.75em;
}

.secondary dt {
	color: #AAAAAA;
	display: inline;
	margin: 0;
}

.secondary dd {
	display: inline;
	padding-left: 0.5em;
	margin: 0;
}

.secondary dd a {
	color: #808080;
}

.secondary dd a:hover {
	color: #000000;
}

.secondary ul.postinfo {
    padding: 0;
    margin: 61px 0 0 0;
}
.secondary ul.postinfo li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.secondary ul.postinfo li.metadata a {
    color: #808080;
}

.single-post h1, .single-post h2 {
	margin-top: 0px;
}

img.decoration {
	margin: 1em;
	float: right;
}

img.content {
	display: block;
	margin: 2em auto;
}

.story h3 {
	color: #666666;
	font-size: 2em;
	font-weight: bold;
	margin: 1em 0 1em 0;
}

.story h3 a {
	border-bottom: 1px solid #cccccc;
	color: #333333;
	text-decoration: none;
}

p.aside {
        border-left: 0.25em solid #f8ff2d;
	font-size: 80%;
        margin-left: 1em;
        padding-left: 1em;
}
.update {
	border-top: 1px solid #f8ff2d;
	border-bottom: 1px solid #f8ff2d;
	background-color: #f3d58f;
        padding: 0.5em 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/
#ancillary, #footer {
	background-color: #a79364;
	opacity: .65;
	-moz-opacity: .65;
	filter: alpha(opacity=65);
}
#ancillary {
	padding: 2em 0px 0px 0px;
}

#ancillary .block {
	float: left;
	margin: 0px 0px 0px 5%;
}
#about { width: 30%; }
#recently { width: 30%; }
#tags { width: 30%; }

#tags .categories ul { border-bottom: none; }
#tags .tags ul { border-top: none; }

#ancillary .block h2, #ancillary .block h3 {
	margin: 1.5em 0 0.5em 0;
}

#ancillary .block-separator {
	clear: both;
	height: 2.5em;
}

#ancillary .first, * html #ancillary .first {
	clear: both;
	margin: 0px;
}

#ancillary .thrice-length {
	width: 100%;
}

#ancillary .twice-length {
	float: left;
	width: 65%;
}

#comment-form, #show-comment-form {
	margin: 4em 0px 3em 35.4%;
	width: 36em;
}
#show-comment-form {
        background-color: #000;
        border-radius: 0.5em;
        -moz-border-radius: 0.5em;
        -webkit-border-radius: 0.5em;
        color: #fff;
        display: block;
        margin: 2em 0 2em 35.4%;
        padding: 1em;
}

#comment-form span {
	font-size: 85%;
}

.formhead {
	display: inline;
	margin-right: 1em;
}

#comments .content {
	border-left: 1px solid #868686;
	float: left;
	margin-left: 1.9%;
	padding: 0px 0px 0px 2%;
	width: 60%;
}

#comments .trackback .content {
	background: url(images/trackback_pingback.png) 100% 0 no-repeat;
	min-height: 58px;
}

#comments .content h3 {
	font-size: 1em;
	margin: 0px;
}

#comments .content p {
        color: #000000;
	margin: 0px 0px 1em 0px;
}

#comments cite {
	float: left;
	font-style: normal;
	text-align: right;
	width: 31%;
}

#comments cite .admin-tools{
	margin: 5px 0px;
}

#comments cite .admin-tools a {
	background: #666666;
	border: 1px solid #999999;
	float: right;
	margin: 0px 5px;
	padding: 0px 3px 3px;
	text-decoration: none;
}

#comments cite .author {
	font-size: 1.2em;
}

#comments cite .author a {
	text-decoration: none;
}

#comments cite span {
	display: block;
}

#comments .comment pre {
	background-color: #ffffee;
        border: 1px solid #ccccbb;
}

#errors{
	color: #FF0000;
	font-weight: bold;
}

/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/
#footer {
	clear: both;
	margin: 0;
	padding: 2em 0px 3em 0px;
}

#footer .inside {
	border-top: 1px solid #cccccc;
	padding: 1em 0px;
}

#footer p {
	font-size: 0.95em;
	margin: 0px;
}

#footer p.attributes{
	float: right;
}

#footer p.attributes a {
	color: #525252;
	text-decoration: none;
}

#footer p.attributes a:hover {
	color: #000000;
}

#footer p.copyright {
	float: left;
}

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header {
}

#header .inside {
	padding: 3em 0px;
}

#header h2 {
	border-right: 1px solid #808080;
	float: left;
	font-size: 2.25em;
	margin: 0px 0.5em 0px 0px;
	padding: 0px 0.5em 0.25em 0px;
}

#header a {
	color: #000000;
	text-decoration: none;
}

#header p {
	line-height: 1em;
	margin: .15em 0 0 0;
	padding: 1em 0px;
}

/*-----------------------------------------------------------------------------------------------
  Live Search
-----------------------------------------------------------------------------------------------*/
#live-search {
	-moz-opacity: 0.4;
	position: absolute;
	text-align: right;
	top: 3em;
	right: 10%;
	/*width: 175px;*/
}

#live-search:hover {
	-moz-opacity: 1.0;
}

#preview {
	border: 1px solid #CCCCCC;
	margin: 1em 0px;
	padding: 0.5em;
}

#preview p {
	margin: 1em 0px 0px 0px;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/
#primary {
	color: #222;
	padding: 1px 0 2em 0;
}

#primary .primary {
        float: left;
	width: 65%;
}

#primary .secondary {
	float: right;
	width: 30%;
}

#primary .secondary .admin-tools{ margin: 1em 0; }

.story .details{
	margin: 1em 0;
	text-align: right;
	border-top: 1px solid #cccccc;
	padding: 0.5em 0;
	font-size: 0.95em;
	color: #4D4D4D;
	clear: both;
}
.story .details a {
	color:#4D4D4D;
	text-decoration: none;
}

.story .details a:hover { color:#000000; }

.brief-front-page h4, .brief-front-page .details {
	float: left;
        margin-top: 1em;
}
.brief-front-page h4 {
	clear: left;
}
.brief-front-page .details {
	color: #4D4D4D;
        margin-left: 2em;
}

#showtoggle {
	font-size: 75%;
	color: #aaaaaa;
}
#showtoggle a { color: #aaaaaa; }
#showtoggle a:hover { color: #000000; }

#search img {
	left: -5px;
	margin-top: 2px;
	position: relative;
	top: 0.25em;
}

#search input {
	background-color: #F8F8F8;
	border: 1px solid #868686;
	font-size: 0.85em;
	margin-top: 1.15em;
	width: 110px;
}

#search input:focus {
	background: #FFFFFF;
}

#search-result ul {
	margin: 0px;
}

#search-results {
	background: #CCCCCC;
	border-top: 1em solid #000000;
	float: right;
	-moz-opacity: 0.9;
	padding: 0px 0px 0px 0px;
	width: 30%;
}

#search-results h3 {
	background: #FFFFFF;
	font-weight: bold;
	margin: 0px;
	padding: 0px 0px 1em 0px;
	text-align: left;
}

#search-results small {
	border-bottom: 1px solid #555555;
	border-top: 1px solid #666666;
	display: block;
	font-size: 0.9em;
	padding: 0.5em 1em 0.7em 1em;
	text-align: left;
}

#search-results small a {
	color: #CCCCCC;
}

#search-results ul li {
	list-style-type: none;
	margin: 0.5em 0px;
	padding: 0px 1em 0.5em 1em;
}

#search-results ul li a {
	border-bottom: 1px dotted #CCCCCC;
	text-decoration: none;
}

#search-results ul li:hover {
	background: #202020;
}

.entries-nav {
  margin: 2em 0;
}



/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/
#secondary {
	background-color: #d3b56f;
	opacity: .65;
	-moz-opacity: .65;
	filter: alpha(opacity=65);
	border-top: 1px solid #E3E3E3;
	padding: 1px 0;
}

/* for help tooltips */
a.help { position: relative; }
a.help span { display: none; width: 12em; }
a.help:hover span {
	position: absolute;
	display: block;
	top: -5em;
	left: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}

/* for sociable page */
.sitelist li {
	display: inline;
	list-style-type: none;
	text-align: left;
	margin: 0;
	padding: 0;
}


/*-----------------------------------------------------------------------------------------------
	Sidebar widgets
-----------------------------------------------------------------------------------------------*/
.widget {
  list-style-type: none;
  margin: 0;
}
  .widget li {
    margin-left: 12px;
  }
.widget_tag_cloud div a {
  font-size: 10px !important;
  text-decoration: none;
}
.widget_tag_cloud div {
  padding: 0.5em 0;
}
.widget_twitter h2,
.widget_twitter .from-meta {
  display: none;
}
.widget_twitter .time-meta a {
  color: #666666;
  font-size: 75%;
  text-decoration: none;
}
.secondary .widget_twitter {
  font-style: italic;
}
.secondary .widget_twitter ul {
  margin: 3em 0 0 0;
}
.secondary .widget_twitter li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/*
Nice css hack: I want only want a single span holding a * in my book review
markup (so it's easily copied) but I want to display an empty absolute span
wrapping a relative div with a unicode star (so it's hanging into the left
margin).
*/
.recommended {
  position: absolute;
  color: #ffeeee; /* hide the * by making it the same color as the bg */
  z-index: -1; /* and behind the text */
}
.recommended::after {
  color: #000;
  content: "\2605"; /* display a nice unicode star */
  position: relative;
  left: -2.5em;
}

figure img.content {
  margin-bottom: 1em;
}
figcaption {
  font-style: italic;
  margin-bottom: 2em;
  text-align: center;
}
