/*
Theme Name: hastie
Theme URI: http://wordpress.org/
Description: Custom wordpress theme for hastie legal
Author: Nathan Schivley

*/



/* Begin Typography & Colors */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, 
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: top;
	background: transparent;
}

/* remember to define focus styles! */
:focus
{
	outline: 0;
}

p {
       padding:6px 0px;
}

strong, b
{
	font-weight: bold;
}

em, i
{
	font-style: italic;
}


/* tables still need 'cellspacing="0"' in the markup */
table
{
	border-collapse: collapse;
	border-spacing: 0;
}


body {
	font-size: .8em;
	font-family: Arial, Helvetica, sans-serif;
	background: #4e83b9 url(/wp-content/themes/hastie/images/cuts/bground.jpg) repeat-x top left;
	color: #333;
        padding:0px !important;
        margin:0px !important;
}


#page {
       width:900px;
       margin:20px auto;
}

h1, .post h2, .archive h2 {
      font-family:Georgia, Times, serif;
      font-size:24px;
      color:#333;
      border-bottom:1px solid #333;
      padding:0px;
      margin:5px 0px 10px 0px;
}

h3 {
     font-family:Georgia, Times, serif;
     text-transform:uppercase;
     font-size:16px;
     font-weight:bold;
}

a:link, a:visited {color:#0054a6; text-decoration:underline;}
a:hover, a:active {color:#000; text-decoration:underline;}

/* HEADER */

#header {
      width:900px;
      height:270px;
      background:url(http://www.hastielegal.com/wp-content/uploads/2012/08/header3.jpg) no-repeat top left;
}

#header h1 {
     font-size:0px;
     text-indent:-1000px;
border:none;
}

#header h1 a {
      display:block;
      width:900px;
      height:231px;
      float:left;
}

#header ul {
       height:39px;
       width:440px;
       float:right;
       margin:0px;
       padding:0px;
}

#header ul li {
       list-style:none;
       float:left; 
       font-family:Georgia, Times, serif;
       font-size:18px;      
}

#header ul li a:link, #header ul li a:visited {
       display:block;
       color:white;
       padding:8px 10px 5px 10px;
       height:25px;
       text-decoration:none;
       background:#2f5e94 url(/wp-content/themes/hastie/images/cuts/nav_roll.jpg) repeat-x top left;
       margin:0px 1px;
       border-right:1px solid #036;
       border-left:1px solid #036;
}

#header ul li a:hover, #header ul li a:active {
       display:block;
       color:black;
       padding:8px 10px 5px 10px;
       height:25px;
       text-decoration:underline;
       background:#2f5e94 url(/wp-content/themes/hastie/images/cuts/nav_roll_R.jpg) repeat-x top left;
       margin:0px 1px;
       border-right:1px solid #036;
       border-left:1px solid #036;
}

/* MAIN */

#content {
       background:#f5f5e7;
       border-left:1px solid #036;
       border-right:1px solid #036;
       border-bottom:1px solid #036;
       padding:30px;
       margin:0px;
       -webkit-box-shadow: 0px 0px 8px #333;  
       -moz-box-shadow: 0px 0px 18px #333;  
       -box-shadow: 0px 0px 8px #333;  
}



#main_content {
       width:550px;
       margin-right:20px;
       float:left;
}

.main_content_top {
       width:550px;
       height:18px;
       float:left;
       background:#fff url(/wp-content/themes/hastie/images/cuts/main_box_top.jpg) no-repeat top left;
}

.main_content_middle {
       width:490px;
       float:left;
       background:#fff url(/wp-content/themes/hastie/images/cuts/main_box_middle.jpg) repeat-y top left;
       padding:5px 30px 10px 30px;
}

.main_content_bottom {
       width:550px;
       height:17px;
       float:left;
       background:#fff url(/wp-content/themes/hastie/images/cuts/main_box_bottom.jpg) no-repeat top left;
}

.page .post h2 {
      display:none;
}

.post p {
      line-height:1.4em;
      padding:8px 0px;
}

.post ul {
      margin:0px 0px 0px 30px;
}

.post ul li {
      list-style:disc;
      padding:5px 0px;
}

.wpcf7-form {
      float:left;
      text-align:left !important;
}

/* HOME PAGE */

#in_the_press {
      width:222px;
      height:135px;
      float:right;
      background:#036 url(/wp-content/themes/hastie/images/cuts/in_the_press.jpg) no-repeat top left;
      color:white;
      padding:40px 20px 20px 20px;
      overflow:hidden;
}

#in_the_press h4 {
      font-size:14px;
      font-style:italic;
      padding:0px;
      margin:0px;
}

#in_the_press a {color:white;}

#in_the_press .date {
     font-size:11px;
     padding:0px;
     margin:0px;
}

#in_the_press a.more {
     float:right;
}

/* RIGHT RAIL */

#right_rail {
       width:265px;
       float:left;
}

#right_rail ul li {list-style:none;}

.right_box {
       width:265px;
       float:left;
       margin:10px 0px;
}

.right_box h4 {
       font-size:16px;
       font-family:Georgia, Times, serif;
       font-weight:bold;
       border-bottom:1px solid #333;
}

.right_box_top {
       width:265px;
       height:16px;
       float:left;
       background:#fff url(/wp-content/themes/hastie/images/cuts/right_box_top.jpg) no-repeat top left;
}

.right_box_middle {
       width:215px;
       float:left;
       background:#fff url(/wp-content/themes/hastie/images/cuts/right_box_middle.jpg) repeat-y top left;
       padding:5px 25px;
}

.right_box_bottom {
       width:265px;
       float:left;
       height:14px;
       background:#fff url(/wp-content/themes/hastie/images/cuts/right_box_bottom.jpg) no-repeat top left;
}

.right_box#attorneys {
       margin-top:0px !important;
       font-size:12px;
}

.right_box#attorneys img {
       float:left;
       margin:0px 10px 0px 0px;
}

.right_box#attorneys h4 {
       float:left;
       padding:0px;
       width:120px;
       margin-top:-2px;
       margin-bottom:6px;
}

#sidebar .widgettitle {display:none;}

.recent_with_excerpt li{margin:10px 0px 20px 10px; color:#333 !important;}

/* FOOTER */

#footer {
      width:840px;
      margin:40px 0px 10px 0px;
      background:#f5f5e7;
      border:1px solid #036;
      padding:20px 30px;
      -webkit-box-shadow: 0px 0px 8px #333;  
      -moz-box-shadow: 0px 0px 18px #333;  
      -box-shadow: 0px 0px 8px #333; 
}

.footer_left {
      width:160px;
      float:left;
      border-right:1px solid #333;
      font-size:12px;
      line-height:16px;
}

.footer_middle {
      width:200px;
      margin-left:20px;
      float:left;
      font-size:12px;
      line-height:16px;
}

.footer_right {
      float:left;
      text-align:right;  
      width:450px;   
}

.footer_nav ul {
      border:1px solid #036;
      background:#a9b7cb;
      padding:6px;
      margin-left:48px;
      margin-bottom:6px;
}

.footer_nav ul li {
      list-style:none;
      display:inline;
      padding:0px 12px;
      border-right:1px solid #333;
}

.footer_nav ul li:last-child {border:none;}

p.copyright {
      float:left;
      width:230px;
      margin-left:150px;
}

.footer_right img {
      float:left;
      margin:0px 3px;
}

#bam {
      color:white;
      text-align:center;
      margin-bottom:20px;
}

/* WORDPRESS DEFAULTS */

.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: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}


.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;
	}


#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 */


.postmetadata {
	clear: both;
        margin-bottom:20px;
}

.clear {
	clear: both;
}


/* 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 */



.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


/* 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;
	}

#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 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;
}



a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 40px !important;
        width:430px;
	}
/* 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 */


