/*
Theme Name: Imperator Publishing
Theme URI: http://www.imperator-publishing.com/
Description: The updated <strong>Imperator Publishing</strong> theme. Now with its own <strong>Book</strong> post type.
Tags: flexible-width, one-column
Version: 3.0.0 &alpha;
Author: Caesar Schinas
Author URI: http://www.caesarsgrunt.com/
License: Copyright &copy; Caesar Schinas, 2011. All rights reserved.
License URI: http://www.caesarsgrunt.com/
*/

html {
	height: 100%;
	overflow-x: hidden;
	background: #ffffe9 url(images/bg-texture.png) repeat top left;
}
body {
	margin: 0;
	padding: 0;
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #520;
	text-align: center;
	letter-spacing: 0.02em;
	
	position: relative;
	min-height: 100%;
	height: auto
}

#content, .content,
#header h1 {
	padding: 0 5%;
	margin: 0 auto;
	max-width: 75em;
}
#content {
	position: relative;
	font-size: 1em;
	line-height: 1.75em;
	text-align: justify;
	padding-bottom: 7em;
}

#header, #footer {
	width: 100%;
	margin: 0 auto;
	padding: 20px 0;
	overflow: hidden;
}

#header {
	margin-bottom: 2em;
	border: 2px solid rgba(0,0,0,0.1);
	border-image: url(images/outline.gif) 3/2px round round;
	background: #faf6de url(images/bg-texture.png) repeat top left;
}
.admin-bar #header {
	padding-top: 40px;
}
#header h1 {
	font-size: 1em;
}
#header h1 a {
	display: block;
	width: 400px;
	height: 78px;
	float: left;
	outline: none !important;
	text-indent: -999999px;
	background: transparent url(images/logo.png) no-repeat left center;
}

#nav {
	float: left;
	margin: 1.5em 1em;
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 1.2em;
}
#nav li {
	display: block;
	float: left;
	padding: 0 5px;
	margin: 5px;
	text-align: cetner;
	list-style-type: none;
}
#nav li a {
	padding-bottom: 0.1em;
}

#footer {
	padding: 1em 0;
	clear: both;
	
	border: 2px solid rgba(0,0,0,0.1);
	border-image: url(images/outline.gif) 3/2px round round;
	background: #faf6de url(images/bg-texture.png) repeat top left;
	
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	text-align: center;
	color: #742;
	
	position: absolute;
	bottom: 0;
	left: 0;
}
#footer p {
	margin: 0;
	padding: 1em 0;
	text-align: center;
}

/*
#footer #cg {
	font-family: "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	background: url(images/underline.gif) repeat-x bottom;
}
#footer #cg a {
	background: none;
}
*/

/*
#sidebar {
	float: left;
	margin: 0 1em 2em -225px;
	width: 175px;
	font-size: 0.95em;
	line-height: 1.2em;
	text-align: right;
}
#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	font-size: 1.2em;
	text-decoration: none;
}
#sidebar h4 {
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 1.25em 0 0.25em;
	padding: 0 0 0.25em;
	background: url(images/underline.gif) repeat-x bottom;
}
#sidebar.bookmeta span.value {
	display: block;
	margin: 0 0 0.4em 0;
	font-style: italic;
}
#sidebar form {
	margin: 0;
}
#sidebar ul {
	list-style: none;
}
*/


h1, h2, h3 {
	font-family: Palatino, "Palatino Linotype", Century, Euclid, Garamond, "Lucida Bright", Georgia, serif;
	font-weight: bold;
	text-align: left;
}
h2, h3 {
	background: url(images/underline.gif) repeat-x bottom;
	color: #900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

h1 {
	margin: 0;
	padding-top: 20px;
	font-size: 3em;
}
h2 {
	margin: 1.5em 0 0;
	font-size: 1.6em;
}
h3 {
	padding: 0;
	margin: 30px 0 0;
	font-size: 1.3em;
}

h2 a, h2 a:hover,
h3 a, h3 a:hover,
h4 a, h4 a:hover {
	text-decoration: none;
	background: none;
}


a {
	color: #900;
	text-decoration: none;
	background: url(images/underline.gif) repeat-x bottom;
}
a:hover {
	color: #600;
	text-decoration: none;
	background: url(images/underline-hover.gif) repeat-x bottom;
}
#nav .current a {
	color: #000;
	background: url(images/underline-hover.gif) repeat-x bottom;
}




/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
}

.alignright {
	float: right;
}
.alignleft {
	float: left
}

img.alignright {
	padding: 4px;
	margin: 0 0 0.5em 2em;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 2em 0.5em 0;
	display: inline;
}
img.centered {	/* Umm... How about aligncenter? Nevermind... */
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* End Images */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}

/* Comment Form */
/* also used for the CG Contact Form plugin */
#commentform {
	margin: 0.5em 0 0;
	padding: 0 1em 0 0.5em;
	overflow: hidden;
}
#commentform, #commentform #submit {
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#commentform textarea, #commentform input {
	border: 1px dotted #afa8a0;
	-webkit-border-image: url(images/outline.gif) 3/2px round round;
	background: #f8f4e3;
	background: rgba(255,255,245,0.35);
	outline: none !important;
	font-family: "Handwriting - Dakota", "Lucida Handwriting", "Brush Script MT";
	font-size: 1em;
}
#commentform textarea:focus, #commentform input:focus {
	background: #fff8e8;
	background: rgba(255,255,245,0.65);
}

#commentform input {
	width: 50%;
	max-width: 35em;
	padding: 2px;
	margin: 5px 5px 1px 0;
}
#commentform textarea {
	width: 100%;
	max-width: 100%;
	padding: 2px;
}
#commentform #submit {
	margin: 0;
	float: right;
}
#commentform input, #commentform textarea {
	font: 0.9em;
}
#commentform p {
	margin: 5px 0;
}

/* End Form Elements */




/* Begin Various Tags & Classes */
code {
	font: 1.1em 'Courier New', Courier, Fixed;
}

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
	border-bottom: 1px dashed #999;
	cursor: help;
}

blockquote {
	margin: 0 0 0 1em;
	padding: 0;
	font-style: italic;
	color: #530;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
}

hr {
	display: none;
}

a img {
	border: none;
}

.pagenav {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}

::selection {
	color: #faf6de;
	background: rgba(85,34,0,0.5);
}
::-moz-selection {
	color: #faf6de;
	background: rgba(85,34,0,0.5);
}
/* End Various Tags & Classes*/






span.author {
	font-size: 0.75em;
	color: black;
	margin-left: 1em;
	text-transform: none;
	display: inline-block;
}




/* Book Archive Page */
/* the ul and .booklist class are from the old page template; now made redundant by the post type archive */
.post-type-archive-book .book {
	margin: 0 0 3em;
	padding: 0;
	overflow: hidden;
}
.post-type-archive-book .book h3 {
	margin: 0 0 0 190px;
}
.post-type-archive-book .book h3 img {
	float: left;
	margin: 0 1em 0.5em -190px;
	border: 2px solid rgba(0,0,0,0.2);
}
.post-type-archive-book .book h3:hover img {
	position: relative;
}
.post-type-archive-book .book p {
	margin: 0.75em 0;
}
.post-type-archive-book .book .bookmeta {
	margin: 0 0 0 190px;
	font-size: 0.9em;
}


/* [book] Shortcode */
.bookinfo {
	margin: 2em 1em 3em;
	padding: 0 0 0.25em;
	background: url(images/underline.gif) repeat-x bottom;
}
.bookinfo h3 {
	margin: 0 0 0 180px;
}
.bookinfo h3 img {
	float: left;
	margin: 0 1em 0 -180px;
	border: 2px solid rgba(0,0,0,0.2);
}
.bookinfo .bookmeta {
	overflow: hidden;
	font-size: 0.9em;
}
.bookinfo .bookmeta p {
	margin: 0.5em 0;
}
.bookinfo .entry {
	clear: both;
	font-family: Palatino, "Palatino Linotype", Century, Euclid, Garamond, "Lucida Bright", Georgia, serif;
}


/* Book Page */
.single-book h2 {
	margin: 0 0 0 250px !important;
}
.single-book h2 .author {
	display: block;
	margin-left: 0;
}
.single-book h2 img {
	float: left;
	margin: -0.25em 1em 1em -250px;
	border: 3px solid rgba(0,0,0,0.2);
}

.single-book .bookmeta {
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 0.9em;
}
.single-book .bookmeta img {
	margin: 0 20px 1em 0;
	float: left;
}

.single-book .entry {
	clear: left;
	font-family: Palatino, "Palatino Linotype", Century, Euclid, Garamond, "Lucida Bright", Georgia, serif;
	letter-spacing: 0.07em;
}
.single-book .entry > p:first-child {
	font-size: 1.05em;
	letter-spacing: 0.1em;
}
.single-book .entry > p:first-child:first-line {
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 0.1em;
	font-size: 1.1em;
}
.single-book .entry > p:first-child:first-letter {
	font-size: 3.5em;
	font-weight: normal;
	float: left;
	margin: 0.1em 0.03em 0 0;
	line-height: 0.7em;
}


