/*
Theme Name: FHOTD Theme
Theme URI: http://www.fuglyblog.com
Description: Custom theme for Fugly Horse of the Day
Version: 1.0
Author: Fwooper
*/

/* Ignore these. But don't delete! */
@import "style/css/reset.css";
@import "style/css/typography.css";
@import "style/css/layout.css";


html, body {
	background: #9A3603; /* site background colour */
	font: 76%/1.7em "Trebuchet MS", Verdana, Arial, sans-serif; /* sitewide font preferences */
	color: #2f1101; /* sitewide font colour */}
	
a:link, a:visited, a:hover, a:active {
	text-decoration: none; /* removes the default underline of links */
	color: #9A3603; /* sitewide link colour */}
	
	a:hover {
		color: #da7703;}
	
	#content .comment-body p img {
		padding: 0;
		border: 1px solid #eee;}
				
	/* --- NOTE ON LINKS ---
		
	You can target unvisited and visited links separately, as well as "when hovered over" 
	links and "in this moment clicked (active)" links. 
	
	Unvisited links = 
	a:link { add your style rules here }
	
	Visited links = 
	a:visited { add your style rules here }
	
	When hovered over = 
	a:hover { add your style rules here }
	
	Clicking right now links = 
	a:active { add your style rules here }
	
	You will have to move these "templates" out of the commented (within / * * / these) area.

	 */
	
h1, h2, h3, h4, h5, h6 {
	font-weight: bold; /* makes all headings bold */}
	
hr {clear: both;}
	
#container { /* EVERYTHING goes inside this container div */
	width: 990px;
	margin: 0 auto; /* to make the site centered */
	background: #fefefe;
	font-size: 1.43em; /* overall font size - ems are used because they are relative and scale better */
	line-height: 1.6em;
	padding-top: 20px;
	border-left: 1px solid #8a390f;
	border-right: 1px solid #8a390f;}
	
	#container p {
		padding-bottom: 1em; /* ensures the paragraphs don't run together and form a massive wall of text */}
		
	hr {
		margin: 15px 0; /* gives separator lines within posts a bit of breathing space */}
	
#header {
	position: relative; /* don't touch! */
	margin: 0 auto; /* makes the header centered (auto) */
	height: 14em;
	max-height: 230px;
	color: #000;
	background: #9A3603;
	width: 950px;
	z-index: 1000;
	border-left: 1px solid #8a390f;
	border-right: 1px solid #8a390f;}
	
	h1 { /* title of site */
		background: transparent url(style/images/fhotdbanner.gif) top left no-repeat; /* displays the banner */
		height: 85px; /* makes banner fit */
		width: 600px;
		text-indent: -9999px; /* magically makes the text bugger off and lets the image show */}
		
		#headerlink { /* 1px transparent gif that is positioned over the FHOTD title, to make it clickable. Probably not the RIGHT way to do it, but it works.*/
			position: absolute;
			top: 0;
			left: 0;
			width: 600px;
			height: 90px;}
			
		p.sitedescription { /* the "Snarky commentary on..." text */
		width: 500px; /* to not make the site description run straight into the poor horse's mouth */
		color: #fff;
		font-size: 1em;
		line-height: 1.35em;
		padding: 0.5em 0 0 20px;}
	
	p.sitedescription a:link, 
	p.sitedescription a:visited, 
	p.sitedescription a:hover, 
	p.sitedescription a:active { /* make sure the "snarky commentary on... " text stays white, even though it's a link */
		color: #fefefe;
		text-decoration: none;
		border: none;}
		
	p.fhotdmeta { /* the small upper right corner log in/log out/register link */
		font-size: 0.9em;
		position: absolute;
		top: -20px;
		right: 0px;}
			
	div#fhotdhorse { /* the yawning horse */
		position: absolute;
		height: 130px;
		width: 150px;
		background: transparent url(style/images/fhotdbanner.gif) bottom right;
		right: -1px;
		bottom: 37px;}
			
	#mainnav {
		position: absolute;
		bottom: 0px;
		background: #9A3603 url(style/images/menubg.gif) top repeat-x;
		display: block;
		width: 910px;
		height: 35px;
		padding: 0 20px;
		font: 1em/1.1em "Lucida Grande", "Trebuchet MS", Arial, sans-serif;
		text-transform: uppercase;
		letter-spacing: 2px;
		border-bottom: 1px solid #8a390f;
		border-top: 1px solid #b64f1a;
		overflow: visible;}
		
		#mainnav li {
			float: left;
			padding-right: 5px;}
			
			#mainnav a {
				padding: 13px;
				position: relative;
				top: 10px;}
			
			#mainnav a:link, #mainnav a:visited {
				color: #fff;}
				
			#mainnav li.current_page_item a {
					padding: 13px 12px 12px 12px;
					background: #9A3603 url(style/images/menubg.gif) bottom repeat-x;
					border: 1px solid #8a390f;}	
			
			#mainnav a:hover, #mainnav a:active, #mainnav li.current_page_item a:hover {
				border: 1px solid #8a390f;
				padding: 12px;
				background: #fefefe;
				background-image: none;
				color: #9A3603;
				-moz-box-shadow: #000 0px 0px 5px;
				-webkit-box-shadow: #000 0px 0px 5px;
				box-shadow: #000 0px 0px 5px;
				outline: none;}	
				
			#mainnav li.getsearchform {
				float: right;
				padding-top: 5px;}	
				
				li.getsearchform input#s {
					border: 1px solid #9A3603;
					background: #d7af9a;/*url(style/images/fhotdsearchbg.png) top left no-repeat;*/
					width: 150px;
					height: 16px;
					padding: 2px;
					padding-top: 3px;
					margin: 0;
					color: #9A3603;
					font-family: "Trebuchet MS", "Lucida Grande", Arial, sans-serif;}
					
					li.getsearchform input#s:focus {
						background: #fefefe;}
				
			label.screen-reader-text {
				display: none;}	
	
/* MAIN CONTENT AREA */
	
#content { 
	width: 730px; /* width of the "left column" */
	float: left; /* column goes to the left */
	padding-right: 20px;
	padding-bottom: 20px;
	border-right: 1px solid #d8c9c1;
	margin: 20px 0 0 20px;}


	#content h3 {
		font-size: 1.2em;}
	
/* POSTS */

div.post { /* each post */
	border-bottom: 1px solid #d8c9c1; /* adds bottom separator between posts */
	padding-bottom: 0px;
	margin-bottom: 30px; /* adds space between posts */}
	
div.post div.postheader {
	position: relative; /* don't touch! */}
	
	div.postheader p.postdate { /* post date */
		width: 3.6em;
		padding: 5px;
		background: #fefefe;
		position: absolute;
		height: 4.5em;
		left: -5.5em; /* makes it stick out to the left */
		top: 0px;
		text-transform: uppercase; /* makes it uppercase */
		letter-spacing: 1px; /* adds kerning, important if uppercase */
		font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
		font-size: 0.8em;
		color: #9A3603;
		text-align: center;
		line-height: 1.7em;
		-moz-border-radius-topleft: 3px;
		-moz-border-radius-bottomleft: 3px;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-bottom-left-radius: 3px;
		-khtml-border-radius: 3px;}
	
		/* styles for the year, month, and day, respectively */
		div.postheader p.postdate span.postyear{
			font-size: 1em;
			display: block;
			text-align: center;
			position: relative;
			top: 1px;}
		div.postheader p.postdate span.postmonth{
			font-size: 1.5em;
			display: block;
			text-align: center;
			position: relative;
			bottom: 1px;}
		div.postheader p.postdate span.postday{
			font-size: 2.37em;}
	
#content h2 { /* page and post title */
		font-size: 1.6em;
		line-height: 1.2em;
		font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;}
	
div.post img { /* images in posts */
	margin: 10px; /* pushes text off of image edge */
	border: 1px solid #cfcfcf;}
	
	div.post img.wp-smiley { /* making an exception for smileys */
		margin: 0;
		border: none;
		display: inline;}
		
	div.post a img.social_img { /* making an exception for social links images */
		margin: 0;
		border: none;}	
		
div.post p.postmetadata { /* the tags and category information underneath the post title */
	text-transform: uppercase;
	font-size: 0.9em;
	letter-spacing: 1px;
	padding-bottom: 0;
	margin-bottom: 0;
	line-height: 1.3em;
	padding-top: 10px;}
	
div.post p.postcommentslink { /* the "# comments | Add a comment" text at the bottom of each post */
	padding-bottom: 0px;
	margin-bottom: 0px;}
	
div.social_bookmark {
	clear: both;
	margin: 10px 0;
	padding: 0px 20px 10px 20px;
	background-color: #faf5f2;}
	
	div.social_bookmark a strong em {
		font-style: normal;
		margin: 0;
		position: relative;
		top: 12px;}
	
blockquote { /* if used, makes quotes indented */
	margin-left: 20px;}
		
/* SIDEBAR */

#sidebar {
	width: 180px;
	float: right; /* makes sidebar go to the right */
	padding: 0;
	margin: 20px 20px 0 0;}
		
#sidebar ul { 
	margin-bottom: 20px; /* adds space between the sidebar's different sections */}
	
	#sidebar ul li#linkcat-2 {
		padding-top: 20px;}
	
#sidebar h2.widgettitle, label.screen-reader-text { /* title of each sidebar section, if there is a title */
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 2px;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, sans-serif;
	padding-bottom: 0.4em;
	clear: both;}
	
ul.blogroll li {
	padding: 0.1em 0; /* adds space between each blogroll link, to clarify that some links are multi-line */}
	
	#sidebar input#s {
		border: 1px solid #d8c9c1;
		padding: 5px;
		width: 170px;
		font-family: "Trebuchet MS", sans-serif;
		font-size: 1.1em;
		margin-bottom: 5px;
		color: #333;}
	#sidebar input#searchsubmit {
		float: right;}
	
/* COMMENTS */

h3#comments { /* Heading above comments */
	font-size: 1.1em;
	padding-bottom: 1.2em;
	clear: both;}
	
div#respond h3 { /* the Leave a Reply heading above the comment field */
	font-size: 1.1em;
	padding-bottom: 1.2em;
	clear: both;}
	
ol.commentlist {
	clear: both;}

ol.commentlist li { /* each comment */
	border: 1px solid #e1c5b8; /* wraps each comment with a border */
	margin-bottom: 20px; /* adds the space between separate comments */
	padding: 5px 20px; /* makes the comment text not cling to the comment border */}
	
	div.comment-body { 
		position: relative; /* don't touch! */}
	
	div.comment-author {
		border-bottom: 1px solid #e1c5b8; /* adds the line between "Poster says" and the comment text */
		margin-bottom: 10px;
		padding-bottom: 5px;
		height: 70px; /* makes sure the avatar has enough room */}
		
		div.comment-author cite.fn {
			font-size: 1.2em; /* makes the poster's name a bit larger */
			font-weight: bold; /* makes the poster's name bold */
			position: relative;
			top: 45px;}
			
		div.comment-author span.says {
			font-style: italic; /* makes the "says" italic */
			position: relative;
			top: 45px;}
			
		div.comment-author img.avatar {
			/*border: 5px solid #e1c5b8;*/
			position: absolute;
			top: 5px;
			right: 0px;}
			
		div.reply:after {
			content: '.';
			display: block;
			clear: both;
			height: 0;
			visibility: hidden;}
			
		div.reply {
			margin-bottom: 1em;}
			
		div.reply a.comment-reply-link {
			display: inline-block;
			float: right;
			background: #9A3603 url('style/images/menubg.gif') top repeat-x;
			padding: 15px 10px 13px 10px;
			color: #fff;
			text-transform: uppercase;
			font-size: .8em;
			line-height: 0;
			border: 1px solid #9A3603;}
			
		div.reply a.comment-reply-link:hover, div.reply a.comment-reply-link:active {
			background: #9A3603 url('style/images/menubg.gif') bottom repeat-x;}
		
	div.comment-meta { /* the date and time the comment was posted */
		position: absolute;
		letter-spacing: 1px;
		top: 0;
		text-transform: uppercase;
		font-size: 0.8em;}
		
	ol.commentlist li blockquote {
		background-color: #f3f3f3;
		border: 1px solid #f0f0f0;
		padding: 10px;
		margin-left: 20px;
		margin-bottom: 1em;
		font-size: 0.85em;}
		
		#container ol.commentlist li blockquote p:last-child {
			padding-bottom: 0;}
		
/* COMMENT NAVIGATION */	

p.commentsnav {
	position: relative;
	height: 1em;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.8em;}
	
	span.commentpagelinks .page-numbers {
		display: block;
		float: left;
		margin: 0 1.2em 5px 0;
		padding: 0.3em 0.9em 0.2em 0.9em;
		border: 1px solid #E1C5B8;}
		
	span.commentpagelinks span.current {
		background-color: #9A3603;
		border: 1px solid #9A3603;
		color: #fff;}
		
p.nextprevious {
	position: relative;
	height: 1em;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.8em;}
	
	p.nextprevious {
		position: relative;
		bottom: 15px;}

span.olderentries {
	position: absolute;
	top: 0;
	left: 0; }	
span.newerentries {
	position: absolute;
	top: 0;
	right: 0;}	

		
/* WRITE COMMENT TEXTBOXES */

div#leavecomment { /* adds border around comment field */
	border: #e1c5b8 1px solid;
	padding: 0 20px 20px 20px;
	margin-bottom: 10px;}
	
p.commenteer-header {
	position: relative;
	top: 10px;
	height: 50px;}

span.commenteer { /* styles for the name of the comment author, while s/he's writing a comment */
	font-size: 1.2em;
	font-weight: bold;
	position: relative;
	top: 25px;}
	
span.wantstosay {
	font-style: italic;
	position: relative;
	top: 25px;}

a.commenteer-logout { /* styles for the (Log out) link */
	position: absolute;
	font-size: 0.8em;
	left: 0;
	top: -5px;
	line-height: 1.35;}
	
	ul.panel {
		border-bottom: 1px solid #e1c5b8;}
/*
a.commenteer-addimage {
	position: absolute;
	font-size: 0.8em;
	left: 0;
	top: -5px;
	line-height: 1.35;}
*/
	
textarea#comment { /* styles for the comment field */
	width: 685px; /* to avoid comment box spilling over into sidebar */
	border: none; /* removes default grey border */
	border-top: 1px solid #e1c5b8; /* adds line underneath comment author's name */
	padding-top: 10px;
	margin-bottom: 10px;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 0.93em;
	line-height: 1.55em;}
	
input#submit { /* the Submit Comment buttom */
	float: right; /* makes it go right */}
	
p.gravatar-info { /* the text that explains how to add an avatar, beneath the comment field on single post pages */
	padding: 0.5em 0;
	font-size: 0.9em;
	clear: both;}
	
/* OTHER PAGES */

body.archive #content h2, body.search #content h2, body.page #content h2 {
	padding-bottom: 1em;} /* adds a bit of breathing space for headings on archive, search and page pages */

body.archive #content h3, body.search #content h3 {
	font-size: 1.4em;} /* post title size on archive and search result pages */
	
body.page div.post { /* removes the bottom separator on page pages, where it is unnecessary */
	border-bottom: none;}
	
	
/* ARCHIVES */

#morestuff { /* container for the google ads above the footer */
	position: relative;
}

div#archives-text {
		width: 300px;
		float: left;
		margin-bottom: 30px;
		padding-top: 30px;}
		
	ul#archives-randomposts {
		width: 300px;
		float: right;
		margin-bottom: 30px;}
		
		ul#archives-randomposts li, ul.archives-monthly li {
			padding: 5px 0;
			border-bottom: 1px dotted #e4d0c6;}

	ul.archives-monthly {
	position: relative;
	overflow: hidden;
	width: 300px;
	height: 250px;
	overflow-y: scroll;
	margin-bottom: 30px;}
	
	ul.odd {
		margin-right: 30px;
		float: left;}
	ul.even {
		float: right;}
		
/* HELP */

body.page-id-950 #content pre {
	padding-left: 30px;
	font-size: 1.2em;
	font-family: monospace;
	padding-bottom: 1em;}

/* FOOTER */
	
#footer {
	clear: both; /* makes sure the footer goes underneath BOTH the content column and the sidebar */
	padding: 20px;
	border-top: 1px solid #d8c9c1;
	font-size: 0.95em; /* shrinks the font size somewhat */}
	
#footer p { 
	padding-bottom: 0; /* removes the extra space beneath paragraphs in the footer - would mess up the lists */}
	
ul.footerul {
	width: 295px; /* width of each footer column */}
	
ul.footerul li {
	border-bottom: 1px dotted #d8c9c1; /* the faint lines between the links in the footer */
	padding: 5px 0;}
	
	ul.footerul li.f-rss {
		padding-left: 30px;
		background: transparent url(style/images/rss.gif) left no-repeat;}	
	
	ul.footerul li.f-wp {
		padding-left: 30px;
		background: transparent url(style/images/wplogo.gif) left no-repeat;
		}
		
	ul.footerul li.hasicon a:first-child {
			padding-left: 30px;
			margin-left: -30px;}

ul.footerul li h4 { /* the column headings in the footer */
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 2px;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, sans-serif;
	padding-bottom: 0.4em;}
	
#recentcomments, #randomposts { 
	float: left; /* Site Info and Random Posts go to the left */}
#siteinfo {
	float: right; /* Recent Comments go to the right */}
	span.recentcommentsauthor {
		font-weight: bold; /* bolds the name of the comment author in the Recent Comments list */}
#recentcomments {
	margin-right: 30px; /* adds space between the Site Info and the Random Posts columns */}
	
p.elementalley {
	position: absolute;
	right: 20px;
	bottom: 5px;
	font-size: 0.8em;
	line-height: 1em;
	text-align: right;}
	
/* attachment pages */

img.attachment-thumbnail {
	width: 100px;
	height: 100px;}

body.attachment #content h3 {
	font-style: italic;
	font-weight: normal;}

body.attachment #content h3 a.attachment-image-subtitle {
	font-style: normal;
	font-weight: bold;}
	
	/* image test for content div */
	
	#content img {
		clear: left;} /*makes images not sit all weirdly next to each other, when they're meant to be underneath each other*/
		
	#content dl.gallery-item img {
		clear: none;} /*removes the above rule if you're using wordpress's built-in image gallery*/
