/*
Theme Name: Joe Beyer's Theme
Theme URI: http://www.beyerstudio.com/blog
Author: Joe Hughes
Author URI: 
Description: Designed specifically for Joe Beyer's Blog
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Based on Toolbox 1.4 by Automattic.
-------------------------------------------------------------- */

@font-face {
  font-family: 'Bodoni MT';
  src: url('BOD_R.TTF');
}

@font-face {
  font-family: 'Bodoni MT italic';
  src: url('BOD_I.TTF');
}


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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {background-image:url(bg.jpg);
background-attachment:fixed;
}


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

#page {
	display: block;
	margin: 0 auto;
	
	width:1014px;
	
}
#primary {
	float: right;
	margin: 0 0px 0 0;
	width: 690px;
	margin:10px 0 0 0px;
	background-image:url(bodybg.png);
}
#content {
	margin: 0 10px 0 0;
}



#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
	
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

#sidebar {float:left;
	width:300px;
	margin-right:10px;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}


/* Gallery */

.gallery .mainImageDiv {margin-bottom:10px; margin-right:5px; float:left; height:400px; width:1000px; text-align:center; overflow:hidden; background-color:#000;}
.gallery img.mainImage {padding:0; margin:0 auto; vertical-align:baseline;}
.gallery ul {float:left;overflow:auto;margin: 0 0 0 0; padding:20px 0 0 20px; list-style:none;}
.gallery li {display:block;width:80px;height:80px;float:left;margin:0 10px 10px 0;}
.gallery li.selected {}
.gallery li img {padding:0;opacity:0.3;border:0;}
.gallery li img.selected {opacity:1;}

.gallery .bvControlDiv {clear:both;float:left;text-align:center;margin:10px 0 0; width:300px;}
.gallery .bvPrev {display:block;float:left;text-decoration:none; padding:1px 5px;}
.gallery .bvNext {display:block;float:right;text-decoration:none; padding:1px 5px;}
.gallery .bvCaption {display:block;width:250px;overflow:hidden;margin: 0 auto;font-style:italic;}

.bitVolClearAfter:after {clear: both;content: ".";display: block;height: 0;visibility: hidden;}
.bitVolClearAfter {zoom:1;}

#sidebar ul {
width:300px;}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Typograpgy
-------------------------------------------------------------- */


#site-title a {color:#000;
				text-decoration:none;
				font-size:40px;
				margin:20px;
				font-family:"Bodoni MT", serif;
				float:right;

				
				
}

#branding h2 {font-size:16px;
				margin:20px;
				font-family:"Bodoni MT italic", serif;
				float:left;
				font-weight:100;
				line-height:1.6em;
				
}

#branding h3 {font-size:18px;
				margin:20px;
				font-family:"Bodoni MT", serif;
				float:right;
				font-weight:100;
				line-height:1.6em;
				text-align:right;
				
}

#branding h3 a{color:#000;
text-decoration:none;}

#content {margin:20px;
font-family:Verdana, Geneva, sans-serif;
font-size:14px;}

article header h1 a {
			color:#000;
			text-decoration:none;
			
}

article header h1 {font-size:24px;
			font-weight:bold;
			color:#000;
			text-decoration:none;
		     margin-bottom:10px;
}

article header div.entry-meta {
	margin-bottom:1em;
}

article {margin-bottom:30px;
			border-bottom:1px solid #666;
			padding-bottom:1em;
			
			padding:20px;}
			
article p {margin:0 1em 1em 1.5em;
line-height:1.3em;
}

/* =Header
-------------------------------------------------------------- */
#branding {

		margin-top:370px;
		margin-left:0px;
		width:690px;
		border:dashed 3px #000 inside;
		
		float:right;
}

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}
#sidebar {background-image:url(bodybg.png);}

#postlistingbycat {
padding:10px;
margin:10px 0px 0px 0px;
width:300px;

}

#postlistingbycat h1 {font-size:24px;
}

#postlistingbycat h2 {font-size:18px;}

#postlistingbycat  a {margin:0px 0px 10px 10px;	
						display:block;}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */



.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding:0 1em 1em 0;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

primary.image-attachment {margin-top:0px;}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */
article img {max-width:600px}

a img {
	border: none;
}
p img {
	margin: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}

.comment {line-height:1.5em;
background-color:#FFF;}
.comment p {line-height:1em}

#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

ul.children {margin:0px 0px 0px 50px;}

#comments-title{}

#commentform p{margin:0px 0px 10px 0px;}

#commentform p.form-allowed-tags{margin:0px 0px 10px 20px;}

/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}