/*  
Theme Name: Mike Naberezny
Theme URI: http://mikenaberezny.com/
Description: The theme for mikenaberezny.com
Version: 0.1
Author: Derek DeVries
Author URI: http://maintainable.com/

	Mike Naberezny v1.0
	 http://maintainable.com

  This theme is copyright Maintainable Software
  All rights reserved
*/

/* =ORDER
 1. display
 2. float and position
 3. width and height
 4. Specific element properties
 5. margin
 6. border
 7. padding
 8. background
 9. color
10. font related properties
----------------------------------------------- */

/* =MAIN
----------------------------------------------- */
body, td, input, select, textarea, a {
  font: 14px/1.5em "Helvetica Neue", helvetica, arial, verdana, sans-serif;
  color: #333;
}
html, body, form, fieldset, h1, h2, h3, h4, h5, h6, 
p, pre, blockquote, ul, ol, dl, address {
  margin: 0;
  padding: 0;
}
li, dd, blockquote {
  margin-left: 1em;
}
form label {
  cursor: pointer;
}
fieldset {
  border: none;
}
img, table {
  border-width: 0;
}
hr {
  display: none;
}
form {
  display: inline;
}
h1 {
	font-size: 2em;
	line-height: 1em;
	margin-top: 0.25em;
	margin-bottom: 0.9em;
}
h2 {
	font-size: 1.875em;
	line-height: 1em;
	margin-bottom: .5em;
	padding-bottom: .5em;
}
h3 {
	font-size: 1.5em;
	line-height: 1.125em;
	margin-bottom: 1.125em;
}
h4 {
	font-size: 1.333em;
	line-height: 1.2857em;
	margin-bottom: 1.2857em;
}
p, ul, dl, ol, blockquote, pre, td, th {
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}
p.small {
	font-size: 0.8333em;
	line-height: 1.8em;
	margin-bottom: 1.8em;
}
table {
	border-collapse: collapse;
	margin-bottom: 1.5em;
}
blockquote {
    border-left: 5px solid #e9e9e9;
    margin: 1.3em 1em; padding: 0 1em;        
}

/* =COLORS
----------------------------------------------- */
body {
  color: #333;
}
a:link {
  color: #0366b1;
}
a:visited {
  color: #337eb7;
}
a:hover {
  color: #333;
}
h1 span {
  color: #888;
}
h3 {
  margin-bottom: .25em;
}
h4 {
  margin-bottom: .25em;
}

/* =CLEAR FLOATS
----------------------------------------------- */
/* clear float */
.clr:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
.clr {display: inline-block;}
/* Hides from IE-mac \*/
* html .clr {height: 1%;}
.clr {display: block;}
/* End hide from IE-mac */


/* =COMMON
----------------------------------------------- */
.vtop {
  vertical-align: top;
}
.vmid {
  vertical-align: middle;
}
.vbot {
  vertical-align: bottom;
}
.left {
  float: left;
}
.right {
  float: right;
  text-align: right;
}

/* =LAYOUT
----------------------------------------------- */
#header, 
#nav, 
#main_body,
#footer, 
#splash {
  width: 802px;
  margin: 0 auto;
}
#content {
  float: left;
  width: 563px;
  margin: 0 0 32px 0;
  padding: 10px 20px 20px 15px;
}
#sidebar {
  float: left; 
  width: 183px;
  padding: 15px 10px 0 10px;
}

/* =HEADER
----------------------------------------------- */
body {
  background: #3d3d3d url("images/header_fade.gif") top repeat-x;
}
#logo {
  padding: 8px 0;
}
#logo span, #logo a {
  display: block;
  width: 260px;
  height: 39px;
  background: url("images/logo_hi.gif") 0 5px no-repeat;
  margin: 0 auto;
}
#logo img {
  display: block;
  width: 0;
}

/* =NAV
----------------------------------------------- */
#nav {
  border: 1px solid #fff;
  background-color: #fff;
}
#nav ul {
  margin: 0;
  padding: 9px 0 12px 0;
  text-align: center;
  background: #fff url("images/nav_fade.gif") top repeat-x;
}
#nav ul li {
  display: inline;
  margin: 0;
}
#nav ul li a {
  padding: 9px 16px 12px 16px;
  font-size: 110%;  
  text-decoration: none;
  color: #333;
  line-height: 1em;
}
#nav li.sel a, 
#nav li.sel a:hover {
  color: #000;
  background: #fff url("images/nav_sel.gif") right top repeat-x;
}
#nav li a:hover {
  color: #000;
  background: #fff url("images/nav_hover.gif") right top repeat-x;
}


/* =FOOTER
----------------------------------------------- */
#footer {
  padding: 8px 0;
  border: 1px solid #fff;
  background: #fff url("images/footer_fade.gif") right top repeat-x;
  text-align: center;
}

/* =CONTENT
----------------------------------------------- */
#main_body {
  border: 1px solid #fff;
  border-top: 0;
  background-color: #fff;
}

/* =SIDEBAR
----------------------------------------------- */
#searchform {
  display: block;
  padding: 0 10px 8px 0;
  margin-bottom: 15px;
}
#searchform #s {
  width: 100px;
  border-width: 1px;
}
#sidebar h3 {
  font-size: 130%;
  font-weight: bold;
}
#sidebar ul {
  list-style-type: none;
}
#sidebar p,
#sidebar li {
  font-size: 90%;
  margin: 0;
  line-height: 1.5em;
}
#sidebar a {
  font-size: 100%;
}
#sidebar .feed img {
  margin: 2px 2px 4px 0;
}

#sidebar .book .figure {
  background-color: #E4E4E4;
  padding: 5px;
}
#sidebar .book img {
  border: 1px solid #999999;
}
#sidebar .book a {
  font-size: 110%;
}
#sidebar .recent_articles ul {
  list-style-type: none;
}
#sidebar .recent_articles li {
  margin: 0;
}
#sidebar .recent_articles a {
  font-size: 95%;
}
#sidebar img.author {
  border: 4px solid #d1d1d1;
  margin: .25em 0 0 0;
}
#sidebar .bio {
  font-size: 90%;
  margin: .4em 0 1.5em 0;
}
#sidebar .bio a {
  font-size: 100%;
}


/* =POSTS
----------------------------------------------- */
#posts {
  list-style-type: none;
}
#posts li {
  margin: 0;
  padding-bottom: 15px;
}
#posts li li {
  list-style-type: disc;
  margin-left: 15px;
  padding-bottom: 0;
}
#posts .meta {
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  font-size: 0.9em;
  line-height: 1em;
  color: #666;
  font-style: italic;
}
#posts .author {
  font-weight: bold;
}
#posts h2 {
  margin: .3em 0 0 0;
  padding-bottom: .3em;
  font-size: 145%;
}
#posts h2 a {
  font-weight: bold;
  line-height: 1em;
  text-decoration: none;
}
#posts h2 .date {
  color: #bfbfbf;
  font-weight: normal;
}
#posts a {
  font-size: 100%;
}
#posts em {
  background-color: #f9f9f9;
}
/* =SINGLE
----------------------------------------------- */
#content h1 {
  font-size: 170%;
  margin-bottom: 15px;
}

p.post_metadata {
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  padding: 8px;
  background-color: #f9f9f9;
  font-size: 90%;
  color: #666;
}
p.post_metadata a {
  font-size: 100%;
}
#respond h2 {
  font-size: 140%;
}
#respond label span {
  color: #666;
  font-style: italic;
}

/* =COMMENTS
----------------------------------------------- */
h2#comments {
  margin-top: 40px;
}
h2#comments, 
h2#post_comment {
  margin-bottom: 0;
  padding-left: 5px;
  font-size: 120%;
  color: #333;
}
#comment_list, 
#comment_form {
  border-top: 1px dotted #c3c3c3;
  border-bottom: 1px dotted #c3c3c3;
  background-color: #f9f9f9;  
}
#comment_list {
  list-style: none;
  padding: 2px 5px;
}
#comment_list p {
  margin-bottom: .75em;
}
#comment_list a {
  font-size: 100%;
}
#comment_list li {
  margin: 0;
  padding: 5px 5px;
  border: 1px solid #f9f9f9;
}
#comment_list .admin {
  background-color: #fff;
  border: 1px dotted #0f75c9;
}
#comment_list h4 {
  font-size: 110%;
  margin-bottom: 0;
}
#comment_list h4 a {
  font-size: 100%;
  font-weight: bold;
}
#comment_list h4 .author {
  color: #0366b1;
}
#comment_list h4 .date {
  color: #999;
  padding-left: 4px;
  font-size: 90%;
}
#comment_list .comment_text {
  font-size: 95%;
  color: #444;
}
#comment_list blockquote {
  font-style: italic;
  color: #666;
  padding-left: 5px;
}
#comment_list .edit {
  font-size: 90%;
}
#comment_list .edit a {
  margin-left: 3px;
  font-weight: normal;
}

#comment_form {
  display: block;
  padding: 10px 10px;
}
#comment_form .text {
  width: 300px;
}
#comment_form textarea {
  width: 500px;
}
#comment_form p label {
  float: left;
  width: 50px;
}
#comment_form p label.req {
  font-weight: bold;
}
#comment_form p.comment_box label {
  float: none;
  width: auto;
}
#comment_form p.comment_policy {
  margin-bottom: 0;
  padding-top: 6px;
  font-size: 90%;
  color: #666;
}

/* =SEARCH
----------------------------------------------- */
#content.search h1 {
  margin-bottom: .75em;
}
#content.search form {
  display: block;
  float: none;
}
#content.search input.text {
  width: 380px;
  vertical-align: middle;
  border:1px solid #B6B6B6;
  padding: 2px;
}

/* =SYNTAX
----------------------------------------------- */
code {
  background-color: #f9f9f9;
}
.label {
  position: relative;
  width: 44px;
  height: 20px;
  margin: 0 0 -23px -50px;
  text-indent: -9999px;  
}
p.ruby {
  background: url("images/source_ruby.gif") no-repeat;
}
p.php {
  background: url("images/source_php.gif") no-repeat;
}

div.wp_syntax div, 
div.wp_syntax td {
  padding: 0;
}
div.wp_syntax {
  border: 0;
}

.wp_syntax pre {
  padding: 5px 10px;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  background-color: #f9f9f9;
}

/* =GALLERY
----------------------------------------------- */
.gallery {
	margin: auto;
}
.gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;			}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-caption {
	margin-left: 0;
}

/* =SHOP
----------------------------------------------- */
#sidebar.store p {
  margin-bottom: .5em;
}
#sidebar a.categorylink {
  font-size: 1em;
}

#posts ul.productdisplay form {
  display: block;
  float: left;
  width: 330px;
}
#posts ul.productdisplay li {
  margin-left: 0;
  padding-bottom: 2em;
}
ul.productdisplay {
  display: block;
  list-style: none;
}
#posts .wrap img {
  float: none;
}
#posts .productimage {
  float: left;
  border: 1px solid  #ECE6D2;
  margin-right: 15px;
}
#posts .productimage img {
  width: 150px;
}
ul.productdisplay input {
  margin-top: 6px;
}
h2.cattitles {
  margin-bottom: 1em;
}

/* =CART
----------------------------------------------- */
div#sideshoppingcart div#shoppingcartcontents {
  padding: 3px 0 0 0;
}
div#sideshoppingcart div#shoppingcartcontents div {
  padding: 0;
}
div#sideshoppingcart div#shoppingcartcontents div.name {
  line-height: 1.3em;
  font-weight: bold;
}
div#sideshoppingcart div#shoppingcartcontents div.attr {
  color: #555;
}
.cart_total,
#shoppingcartcontents .item_count, 
#shoppingcartcontents .out_of_stock {
  line-height: 1.2em;
  margin-bottom: .5em;
  font-style: italic;
}
#shoppingcartcontents .out_of_stock {
  color: #b00;
}

#shoppingcartcontents li {
  font-size: .75em;
  margin-left: 16px;
  padding-bottom: 8px;
}
.pricedisplay,
#shoppingcartcontents .cart_total span,
#shoppingcartcontents li span {
  color: #393;
  font-weight: bold;
}
#posts .wrap .sandh {
  margin-left: 10px;
}
#shoppingcartcontents .cart_total {
  border-top: 1px solid #ECE6D2;
}
#shoppingcartcontents .cart_total img {
  float: none;
  vertical-align: middle;
}
.product_attr {
  margin: 8px 0;
}
.product_attr label {
  font-weight: bold;
}
.wrap table.productcart tr td {
  padding: 1px 3px;
  font-size: .8em;
}
.wrap table.productcart div.attr {
  padding-left: 10px;
}


/* =CHECKOUT
----------------------------------------------- */
#cart_actions img {
  float: none;
  vertical-align: middle;
}
#checkout_form .first_name input, 
#checkout_form .last_name input, 
#checkout_form .email input {
  width: 350px;
}
#checkout_form .address {
  margin-bottom: 1.5em;
}
#checkout_form .address dd p {
  margin: 0;
  font-size: .75em;
}
#checkout_form .address {
  padding-bottom: 1em;
  margin: 0;
}
#checkout_form .address dt {
  width: 135px;
  float: left;
  margin: 0 10px 4px 0;
  padding: 0;
  text-align: right;
}
#checkout_form .address dd {
  width: 320px;
  float: left;
  margin: 0 0 4px 0;
  padding: 0;
}
#checkout_form .address input {
  width: 250px;
}
#checkout_form .next_step {
  margin: 1em 0 1em 145px;
}

/* =NOMINATION
----------------------------------------------- */
.form {
  margin-left: 8px;
  border-top: 1px solid #ECE6D2;
  border-bottom: 1px solid #ECE6D2;
  padding: 0 16px;
  background-color: #FBF9F5;
}
.req {
  color: #393;
  font-weight: bold;
  font-size: .75em;
} 
.notice {
  border-top: 1px solid #ECE6D2;
  border-bottom: 1px solid #ECE6D2;
  margin: 16px 8px;
  background-color: #FBF9F5;
}
.notice li {
  padding: 4px 5px;
  padding: 0;
  color: #b00;
}

/* =FIGURES 
----------------------------------------------- */
.figure {
  padding: 5px;
  background-color: #E4E4E4;
}
.inline_figure img,
.figure img {
  border: 1px solid #999;
}
.figure {
  font-size: 80%;
}
.figure p,
#sidebar .figure p {
  margin: 7px 4px 0 4px;
}
.figure .title {
  font-size: 90%;
  font-weight: bold;
}
.figure .caption {
  margin-top: 3px;
}


/* =BOOKS
----------------------------------------------- */
#books h3 {
  margin: 1.0em 0 0 0;
}
#books .author {
  margin: 0 0 1.2em 0;
  font-size: 90%;
}
#books .figure {
  margin: 0 .75em .25em 0;
}
