/*
Theme Name: CD Theme 3
Theme URI: http://conorpdowling.com
Description: Simple theme for gentle exit based on defaults. Focus on entries and tags, not dates.
Version: 3
Author: Conor Dowling
Author URI: http://www.conorpdowling.com
Tags: simple, blog
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/

/* Structure - clearly split from colors, decoration */

/* * {padding: 0; margin: 0; border: none;} TODO: Removing as effected forms */

body {
	margin: 0;
	padding: 0;
	font-size: 62.5%; /* Resets 1em to 10px */
	}
	
h1 {
	font-size: 3em;
	margin: 0.67em 0 0.67em 0;
}

h2 {
	font-size: 2em;
	margin: 0.83em 0 0.83em 0;
}

h3 {
	font-size: 1.3em;
	margin: 1em 0 1em 0;
}

p {
	font-size: 1.05em;
	margin: 1em 0 1em 0;
}

#page {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 960px; /* Some others are 800 */
	/* outline: solid black 1px; */
	}
	
#header {
	width: 100%;
	}

#header #logo {
	float: left;
	/* height: 200px; perhaps IE needed must test */
	padding-top: 20px;
	padding-bottom: 20px;
	}

#site-title {
	font-size: 4.5em !important;
	margin: 0 !important;
}

#site-description {
	font-size: 1.05em !important;
	margin: 0;
	text-align: right;
	border-top: solid black 1px; /* Split to put color below */
}
	
#header #searchbox {
	float: right;
	/* outline: solid black 1px; */
	margin: 0;
	padding: 0;
	position: relative;
	top: 40px;
	/* height: 90px Perhaps IE needed must test */
}

#comment {
	border: solid black 1px;
}

#commentform textarea {
	padding: 2px;
	width: 100%;
}

#commentform #submit {
	float: right;
	margin: 0px;
}
	
#commentform input {
	margin: 5px 5px 1px 0px;
	padding: 2px;
	width: 170px;
}

/* Override Select not to be blue but purple */
	
#topnav { /* Lower part of Header */
	clear: both;
	width: 100%;
	margin: 20px 0 0 0;
	padding: 0;
}

/* TODO: CHANGE FOR FF 3? put padding top bottom above and left right in here */
#topnav ul {
	list-style-type: none; 
	margin: 0;
	padding: 0;
	height: 37px; /* Force over floating li's */
	padding: 5px 5px 5px 5px; */
}

#topnav ul li { /* maybe only float matters */
	float: left;
	font-size: 1em;
}

#topnav ul #library-item {
	float: right;
}

#topnav ul li a {
	display: block;
	line-height: 37px; /* = height ul */
	padding: 0 10px 0 10px;
}

#topnav ul li ul {
	position: absolute;
	height: auto; /* Width and Height matter */
	width: auto;
	padding: 5px 0px 5px 0px; /* Between vertical options */
	display: none;
}

#topnav ul li:hover ul {
	display: block;
}

#topnav ul li li {
	height: auto;
	float: none; /* Force vertical */
}

#topnav ul li ul li a {
	line-height: 2.5em;
}

#content {
	float: left; /* Needed or else margin in its first div causes a gap */
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: left;
	padding-left: 60px;
	padding-right: 60px;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 840px; /* as some pages won't fill it */
}

#toprow {
	width: 100%;
	float: left;
	padding-top: 20px;
}

#leftcolumn {
	width: 55%;
	float: left;
	padding-left: 5%;
}

#rightcolumn {
	width: 30%;
	float: right;
	padding-right: 5%;
	padding-left: 5%;
}

#bottomrow {
	clear: left;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 5%;
	padding-right: 5%;
}

#toprow h1 {
	font-size: 2em;
}

#bottomrow h1 {
	font-size: 2em;
}

.header {
	margin-top: 20px; /* Padding + Margin matches .post margin */
	padding-right: 20px;
	text-align: right;
}

.header h1 {
	font-size: 2em;
}

.post {
	margin-bottom: 0px; /* Element below adds space */
	padding: 20px;
	padding-top: 10px;
}

.post + .post {
	margin-top: 0px;
}

.single-post h2 {
	margin-top: 0px;
	font-size: 2.4em;
}

.post .post-meta {
	font-size: 0.8em;
	margin-top: -1.2em;
}

#content blockquote {
	margin: 15px 10px 0 10px;
	padding: 5px 20px 5px 20px;
}

blockquote.bqnotitle:after {
	display: none !important;
}

#content blockquote[title]:after {
	content: "\2014  " attr(title);
	display: block;
	padding-bottom: 15px;
	}
	
blockquote + .more {
	margin-top: 12px;
}

/* For Poetry etc, use line, could do whitespace: pre */
blockquote .line, blockquote .line {
	display: block;
	margin: 0;
}

/* For regular extracts i.e. not poetry. Can have paragraphs */
blockquote p, blockquote p {
	margin: 1em 0px;
}
	
.post .comments, .post .cites {
	padding-top: 10px;
}

.post .comments {
	padding-bottom: 10px;
}

.post .more a {
	font-size: 1em;
}
	
.navigation {
	/* width: 100%; */
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 10px;
	margin-bottom: 50px;
}

.navigation-previous {
	float: left;
}

.navigation-next {
	float: right;
}

#footer {
	padding: 0;
	margin: 0 auto;
	clear: both;
	/* or try float: left and 960. */
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
/* End Structure */

/* Start Color/Text Alignment/Link colors and emphasis/Backgrounds */
/* TODO: cut down on this comment. Four colors. Usually only change two */
/*
 Dominants: pick link/bar color AND body background color.
 Look at: http://en.wikipedia.org/wiki/Web_colors
 Given lack of borders, need light but not too light a bg and darker (warm) a
 Colors: grey, white, black, purple, subtle purple (rgb(245, 245, 241))
 - body bg: grey
 - page bg: transparent
 - content bg: white
 - text color: black
 - link color: purple (no underline)
 - blockquote bg color (and sticky color): rgb(245, 245, 241)
 - topnav bg: purple
 - topnav text color: white
 - topnav bg:hover: black
 - topnav subnav:hover: purple
 - post meta title: #777
*/
body {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color: grey;
	background-color: BlanchedAlmond; /* Try DarkKhaki */
	/* Play with one or two more but ok now. Try to improve in Alts */
	}
	
h1 h2 h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

a, a:visited {
	color: purple;
	color: Maroon;
	text-decoration: none;
}

a:hover {
	color: black;
}
	
#page {
	background-color: transparent;
	}
	
#content {
	color: black;
	background-color: white;
}

#topnav {
	background-color: purple;
	background-color: Maroon;
}

#topnav ul li a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

#topnav li:hover a, #topnav ul li a:hover { /* First keep BG color when hover children */
	background-color: black;
	opacity: 0.9;
}

#topnav ul li ul {
	background-color: black; /* == hover color of top menu */
	opacity: 0.9;
}

#topnav ul li li a {
	background-color: transparent !important; 
	color: white;
	text-transform: none;
}

#topnav ul li li a:hover {
	color: purple;
	color: Maroon;
}

#site-description {
	text-transform: uppercase;
}

#toprow h1 {
	padding-bottom: 2px;
	font-size: 1em;
	border-bottom: solid Maroon 1px !important;
}

#bottomrow h1 {
	padding-bottom: 2px;
	font-size: 1em;
	border-bottom: solid Maroon 1px !important;
	margin-right: 40%; /* Same as width of right column above */
}

#bottomrow .post {
	padding: 0;
	margin: 0;
}

#content blockquote {
	background-color: rgb(245, 245, 241);
	}
	
#content q:hover {
	background-color: rgb(245, 245, 241);
}
	
.post .post-meta {
	color: #777; /* Light Grey: color four */
}

.sticky-post {
	background-color: rgb(245, 245, 241); /* Invert Blockquote */
}

.sticky-post blockquote {
	background-color: white !important;
}

.sticky-post q:hover {
	background-color: white;
}

/* ****************** Library ************************* */
.library-list {
	margin-left: 60px;
	font-weight: bold;
	margin-bottom: 30px;
	margin-top: 15px;
}

.library-list li {
	padding-bottom: 8px;
}

/* ****************** Text Template ******************* */

.textplus {
	padding: 10px 0px 20px 0px;
}

#banner {
	margin: 15px 30px 0 30px;
	padding: 5px 20px 5px 20px;
	border: none;
	background-color: rgb(245, 245, 241);
	color: black;
}	

#banner div {
	text-align: center;
}

.blogcites {
	text-align: left !important;
}

.blogcites h2 {
	font-size: 1.2em;
}

#banner p {
	text-align: justify;
}

#banner .author {
	text-transform: uppercase;
}

#banner .title {
	text-transform: uppercase;
}

.book > h1 {
	padding-top: 15px;
	font-size: 2.5em;
}

.chapter > h1 {
	padding-top: 5px;
	font-size: 1.5em;
}

.chapter > h2 {
	padding-top: 0px;
	font-size: 1.2em;
}

.text #copyright {
	margin: 15px 30px 0 10px;
	padding: 5px 20px 5px 20px;
	border: none;
	font-size: .8em;
	background-color: rgb(245, 245, 241);
}

.page-links {
	font-size: 14px;
	margin-top: 5px;
}

.page-links a {
	font-size: 12px;
}

.page-links strong {
	font-size: 12px;
}

.editLink {
	margin-top: 5px;
}