/*
Theme Name: JohnGallagherBlog
Theme URI: http://johngallagherblog.com/
Description: Theme designed and created for www.johngallagherblog.com by Ryan Lang
Version: 1.0
Author: Ryan Lang	
Author URI: http://ryanlangdesign.com/

*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{font:11px Tahoma,Arial,sans-serif;margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
/* to preserve line-height and selector appearance */
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
/*because legend doesn't inherit in IE */
legend{color:#000;}
a{outline:none;}
strong{font-weight:bold;}
em{font-style:italic;}



/* Begin Typography & Colors */
body {
	font-family: Helvetica, Verdana, Arial, Sans-Serif;
	color: #333;
	background:url('images/bodybg.gif') repeat-x 0 0;
	}


#content {
	font-size: 1.2em;
	}

.maincolumn .entry
{
	font-size: .95em;
	line-height:1.5em;
	margin:5px 0;
}
.maincolumn .entry p
{
	margin:10px 0;
}
.maincolumn .entry li
{
	margin:3px 0 3px 10px;
	background:url('images/postlibg.gif') no-repeat 0 6px;
	padding: 0 0 0 10px;
}	
.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}


small {
	font-family: Helvetica, Verdana, Arial, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}
	
.posttitle
{
	font-family:Georgia, Times New Roman, Times, Serif;
	font-size:18px;
	font-weight:bold;
	width:335px;

}
.posttitle2
{
	font-family:Georgia, Times New Roman, Times, Serif;
	font-size:18px;
	font-weight:bold;

}
	.pagetitle
	{
		font-family:Georgia, Times New Roman, Times, Serif;
		font-size:18px;
		font-weight:bold;		
	}

.archtitle
{
	font-family:Georgia, Times New Roman, Times, Serif;
	font-size:12px;
	font-weight:bold;
	margin:0 0 10px;
}
.entry p a:visited {
	color: #b85b5a;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}
	


.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}


small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a {
color:#622219;
	text-decoration: none;
	}

a:hover {

	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

.content
{
	position:relative;
	margin: 0 auto;
	width:980px;
	z-index:1;
}
.searchblock
{
position:absolute;
right:0px;
top:-7px;
z-index:11;
width:235px;

overflow:hidden;
display:block;
height:40px;
}

#pageouter
{
	margin: 0 auto;
width:980px;
overflow:hidden;
	background:url('images/pagebg.gif') repeat-y 50% 0;
	position:relative;
	z-index:2;

}

#header
 {
	position:relative;
	margin:5px 0 0 0;
	width:980px;
	height:269px;
	display:block;
	overflow:hidden;
	background:url('images/headerbg.jpg') no-repeat 0 bottom;
	z-index:8;

}
#headerimg
{
	position:relative;
	z-index:2;
}
.logo
{
	position:absolute;
	left:30px;
	top:60px;
}
.logo a
{
	text-indent:-99999px;
	background:url('images/logo.png') no-repeat 0 0;
	display:block;
	width:363px;
	height:41px;
}
.description
{
	position:absolute;
	top:105px;
	left:70px;
	text-indent:-9999px;
	background:url('images/blogdescription.png') no-repeat 0 0;
	display:block;
	width:273px;
	height:13px;
	padding:5px;
	
}
.heashot
{
	position:absolute;
	top:3px;
	right:0px;
	z-index:10;
}
#navbar
{
	overflow:hidden;
	margin:0;
	display:block;
	overflow:hidden;
	background:url('images/navbg.png') no-repeat 0 0;
	width:980px;
	height:48px;
}
.navleft, .navright
{
	display:block;
	float:left;
	width:10px;
	height:46px;
}
.navleft
{
	background:url('images/navlbg.png') no-repeat 0 0;
}
.navright
{
	background:url('images/navrbg.png') no-repeat 0 0;
}
.navmain
{
	position:relative;
	float:left;
	width:960px;
	height:40px;
	display:block;
}
.navmain li
{
	float:left;
	
}
.navmain li a
{
	color:#fff;
	line-height:40px;
	text-transform:uppercase;
	display:block;
	padding:0 25px;

}
.navmain li a:hover
{
	background:url('images/navlibgactive.png') repeat 0 0;
	text-decoration:none;

}
.current_page_item
{
	background:url('images/navlibgactive.png') repeat 0 0;
}
.maincolumn {

	float: left;
	margin: 0 0 0 10px;
	width: 430px;
	padding:10px 10px;
	overflow:hidden;
	}


.post 
{
	position:relative;
	overflow:hidden;
}

.post hr {
	display: block;
	}
.thedate
{
	position:absolute;
	top:0;
	right:0;
}

.postmetadata {
	color:#222;
	font-size:.8em;
	clear: both;
	background:#ccc;
	padding:10px;
	margin:10px 0;
}
.commentslink
{
	position:absolute;
	top:15px;
	right:0;
	background:url('images/commentsbubble.gif') no-repeat 0 3px;
	padding:0 0 0 20px;
}
.clear {
	clear: both;
}

#footer 
{
	position:relative;
	padding: 20px 10px;
	margin: -6px auto 0 auto;
	width: 960px;
	clear: both;
	background:#4b4e51;
	color:#ccc;
	overflow:hidden;
		position:relative;
	z-index:1;
}

#footer p {
	margin: 0;
	padding: 10px 0;
	text-align: left;
	}
#footer a{	
	color:#aaa;
	}

.widget_yarpp p, .widget_yarp ol
{
	margin:0 0 0 20px;
}	
.leftfooterflag
{
	position:absolute;
	top:0;
	left:0;
	background:url('images/leftfooterflag.gif') no-repeat 0 0;
	display:block;
	width:10px;
	height:6px;
	
}
.rightfooterflag
{
	position:absolute;
	top:0;
	right:0;
	background:url('images/rightfooterflag.gif') no-repeat 0 0;
	display:block;
	width:10px;
	height:6px;
}	
/* End Structure */

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

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists*/

.entry ol {
	padding: 0 0 0 15px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


/* End Entry Lists */



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

#searchform #s {
	float:left;
	color:#fff;
	width: 170px;
	padding: 3px;
	background:#666;
	border:none;
	margin:3px 5px 0 0;
	border-top:solid 1px #222;
	border-left:solid 1px #222;
	border-right:solid 1px #777;
	border-bottom:solid 1px #777;
	}

#searchsubmit {
	border:none;
	text-indent:-9999px;
	background:url('images/searchicon.png') no-repeat 0 0;
	width:32px;
	height:32px;
	float:left;
	cursor:pointer;
	}

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

select {
	width: 130px;
	}

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

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebars */
#sidebar, #sidebarright
{
	float:left;
	padding:10px 0 0 0;
}
	

#sidebar
{
width:175px;
}
#sidebar  p
{
	margin:0 0 5px 15px;
}
#sidebar h2
{

	font-size:11px;
	font-family: Verdana,Helvetica, Arial, Sans-Serif;
	font-weight:bold;
	text-transform:uppercase;
	height:25px;
	line-height:32px;
	width:160px;
	height:37px;
	padding:0 0 0 10px;
	background:url('images/lcoltitlebg.png') no-repeat right 0;
}

	
#sidebar form {
	margin: 0;
	}
	
#sidebarright
{
	positin:relative;
	z-index:20;
	float:right;
	width:320px;
	padding:10px 20px 0 0;
}
#sidebarright h2
{

	font-size:11px;
	font-family: Verdana,Helvetica, Arial, Sans-Serif;
	font-weight:bold;
	text-transform:uppercase;
	height:25px;
	line-height:32px;
	height:37px;
	width:320px;
	margin:0 0 0 10px;
	padding: 0 0 0 10px;
	background:url('images/rcoltitlebg.png') no-repeat right 0;
}
#sidebar ul li ul, #sidebarright ul li ul, #sidebar ul li ol, #sidebarright ul li ol
{
	margin:0 0 10px 0;
}
#sidebar ul li ul li, #sidebarright ul li ul li, #sidebar ul li ol li, #sidebarright ul li ol li
{
	background:url('images/sidebarlibg.gif') no-repeat 0 2px;
	padding:0 0 0 12px;

	margin: 2px 0 2px 20px;
}
 
#sidebar ul li ul li a, #sidebarright ul li ul li a
{
	color:#622219;
}
.socialmedia
{
	margin:0 0 10px 15px;
	height:32px;
	width:312px;
}
.socialmedia a
{
	float:left;
	margin:0 5px;
}

.socialmedia a img
{
	width:32px;
	height:32px;
}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

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

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin: 0 0 10px 0;
	width:408px;
	overflow:hidden;
	border:solid 1px #ccc;
	padding:10px;
	background:#eee;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

.amzshcs-item
{
	margin:0 0px 10px 20px;
	overflow:hidden;
}
.amzshcs-item img
{
	float:left;
	margin:0 5px 5px 0;
}
.popular-posts p
{
	margin:5px 0 5px 20px;
}
.contactform
{
text-align:left;
}
.contactform li
{
background:none;
margin:0;
padding:0;
}

.contactform input, .contactform textarea
{
padding:5px;
}
.contactform .input
{

margin:10px 0 0 0;
}
.emailform
{
overflow:hidden;
display:block;
padding:0 0 10px 0;

}
.emailbox
{
overflow:hidden;
	padding:5px;
	float:left;
	width:200px;
	margin:0 5px 0 0;
}
.emailbtn
{
overflow:hidden;
	padding:3px;
	
	float:left;
}
