/*   
Theme Name: Custom theme
Theme URI: www.joesmalley.com
Description: 
Author: Joe Smalley
Author URI: www.joesmalley.com
Template: 
Version: 
.

.
*/

  @import url("styleReset.css");

/* -----------------------------------------------
   Structure
   ----------------------------------------------- */

html, body {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	color: #666;
}
	
/* -----------------------------------------------
   Neccessities
   ----------------------------------------------- */

.clear {
	clear: both;
}

li.clearingli{
	float: none;
	clear: left;
	width: 0px;
	height: 0px;
}

p, ul {
	line-height: 150%;
	margin: 0 0 1em 0;
}

a, 
h2 a:hover, 
h3 a:hover {
	color: #333;
	text-decoration: none;
}

a:hover {
	color: #EC3C00;
	text-decoration: underline;
}

a.pdf{
	background: url('images/pdf_icon.gif') left center no-repeat;
	height: 20px;
	padding-left: 26px;
	margin-bottom: 5px;
	display: inline-block;
}

b, strong{
	font-weight: bold;	
}

em{
	font-style: italic;	
}

.content ul{
	list-style: disc;
	margin-left: 1.5em;
}

table, tr, th, td{
	vertical-align: top;
}

/* -----------------------------------------------
   Layout
   ----------------------------------------------- */

#holder{
	border-top: 10px solid #EC3C00;	
	width: 100%;
}

#page {
	margin: 0 auto;
	width: 980px;
	text-align: left;
	padding: 0;
}

#content{
	float: left;
	margin: 0;
	width: 780px;
	padding: 0 0 60px 20px;
}

#header {
	height: 150px;
	margin: 40px 0 0 0;
}

#header a#logo{
	display: block;
	margin: 0 auto;
	width: 579px;
}

#footer {
	padding: 0;
	margin: 0 auto;
	clear: both;
}

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

#headerimg {
	margin: 0;
	height: 200px;
	width: 100%;
	margin: 7px 9px 0;
}

#page-sidebar{
	width: 190px;
	float: right;
}

#sidebar {
	width: 180px;
	float: left;
}

body#pageid-4 #sidebar{
	background: url('images/home.jpg') 65px 0px no-repeat;	
	width: 100%;
	height: 586px;
	padding: 0 0 60px 0;
}

body#pageid-4 #sidebar #mainNav{
	width: 180px;	
}

#sidebar form {
	margin: 0;
}


/* -----------------------------------------------
   Structure
   ----------------------------------------------- */

.post {
	margin: 0 0 40px;
	text-align: justify;
}

.post hr {
	display: block;
}

.postmetadata {
	margin: 30px 0;
	clear: both;
}


/* -----------------------------------------------
   Navigation
   ----------------------------------------------- */

ul#mainNav{

}

ul#mainNav li{
	
}

ul#mainNav li a{
	margin-bottom: 7px;
	display: block;
}

ul#mainNav a:hover{
	text-decoration: none;
	color: #EC3C00;
}

ul#mainNav li ul{
	margin-left: 12px;
}

ul#mainNav li.current_page_item > a,
ul#mainNav li.current_page_ancestor > a{
	color: #EC3C00;
}

ul#mainNav li ul{
	display: none;	
}

ul#mainNav li.current_page_ancestor ul{
	display: block;	
}

/* -----------------------------------------------
   Sub Nav
   ----------------------------------------------- */


/* -----------------------------------------------
   Text
   ----------------------------------------------- */

.thread-alt {

}
.thread-even {

}
.depth-1 {

}

.even, .alt {

}

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

.entry p a:visited {
	color: #b85b5a;
}

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;
}

#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;
}


/* -----------------------------------------------
   Headers
   ----------------------------------------------- */

h1 {
	font-size: 56px;
	color: #EC3C00;
	margin-bottom: 20px;
}

h2 {
	font-size: 20px;
}

#sidebar h2 {
	font-size: 1.2em;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
}

h3 {
	font-size: 16px;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}
	
h1, h2, h3 {
	font-weight: bold;
}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}
	
	
/* -----------------------------------------------
   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
}



/* -----------------------------------------------
   Lists
   ----------------------------------------------- */

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

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

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


/* -----------------------------------------------
   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;
}

#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;
}
	
	
/* -----------------------------------------------
   Comments
   ----------------------------------------------- */
   
h3#comments{
	margin: 0 0 20px 0;	
}

#commentform input,
#commentform textarea {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}

.commentlist{
	margin: 0;
	padding: 0;
}

.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	border-bottom: 1px solid #eaeaea;
	margin: 0;
	padding: 0;
}

.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;
}

.comment-meta,
.comment-author{
	width: 160px;
}

.comment-meta {
	font-weight: normal;
	text-transform:uppercase;
	font-size: 10px;
	font-family:Verdana, Geneva, sans-serif;	
}



.comment-meta a.comment-edit-link{
	display: none;	
}

.comment-content{
	width: 600px;
	float: right;
	margin: 0;
	padding: 0;
}
 
.alt {
	margin: 0;
	padding: 10px;
}

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

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

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

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

#commentform p {
	margin: 5px 0;
}

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

.commentmetadata {
	margin: 0;
	display: block;
}


/* -----------------------------------------------
   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; }
	
	
/* -----------------------------------------------
   Other
   ----------------------------------------------- */
   
   
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;
}

hr {
	display: none;
}

a img {
	border: none;
}

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

#col1,
#col2{
	width: 280px;
	line-height: 150%;
	float: left;
}

#col1{
	padding: 0 20px 0 200px;
}

#col3{
	width: 580px;	
	float: left;
	padding: 0 0 0 200px;
}

#mainimage{
	margin-bottom: 20px;
	height: 387px;
}

#mainimage{
	margin-bottom: 20px;
	height: 387px;
}

#mainimage-image{
	width: 580px;
	float: left;
}	

#mainimage-caption{
	float: left;
	width: 180px;
	padding: 0 0 0 20px;
}


.sliderwrapper1{
	position: relative; /*leave as is*/
	overflow: hidden; /*leave as is*/
	width: 100%;
	height: 389px;
	background-color: white;
	float: left;
}

.sliderwrapper1 .contentdiv{
	visibility: hidden; /*leave as is*/
	position: absolute; /*leave as is*/
	left: 0;  /*leave as is*/
	top: 0;  /*leave as is*/
	width: 100%; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
	height: 100%;
	filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

#slider1 img{
}

p.caption{
	position: absolute;
	bottom: 0px;
	left: 600px;
	width: 180px;
	margin: 0;
}

div#paginate-slider1{
	position: absolute;
	bottom: 65px;
	left: 600px;
	width: 180px;
	line-height: 140%;
	z-index: 99;
}

body#pageid-8 div#paginate-slider1{
	bottom: 31px !important;
}

body#pageid-44 div#paginate-slider1{
	bottom: 7px !important;
}

body#pageid-45 div#paginate-slider1{
	bottom: 17px !important;
}

.withborder img{
	border: 1px solid #dadada;
}