/*
Theme Name: Yawny
Theme URI: http://janboddez.be/yawny/
Description: A simple and elegant WordPress theme.
Version: 0.1
Author: Jan Boddez
Author URI: http://janboddez.be/
Tags: fixed width, black and white
*/

/* GENERAL LAYOUT
   ========================================================================== */

body {
	background: #eee url(images/body.png) 0 0 repeat-x;
	color: #444;
	font: 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#container {
	margin: 0 auto;
	width: 930px;
}

#header {
	background: transparent url(images/header.png) 0 100% no-repeat;
	float: left;
	padding: 15px 0 0 40px;
	width: 890px; /* 40px + 890px = 930px */
}

#logo {
	display: inline;
	float: left;
	padding: 0 0 55px;
	width: 350px; /* Adding an explicit width on floated elements forces 'hasLayout' in certain browsers. */
}

#content {
	background: transparent url(images/content.png) 0 0 repeat-y;
	float: left;
	padding: 0 40px 20px;
	width: 850px; /* 40px + 850px + 40px = 930px */
}

#main {
	display: inline;
	float: left;
	width: 550px;
}

#sidebar {
	float: right;
	padding: 20px 0 0;
	width: 230px;
}

#footer {
	background: transparent url(images/footer.png) 0 0 no-repeat;
	clear: both;
	color: #777;
	font-size: 11px;
	padding: 45px 40px 10px;
	width: 850px; /* 40px + 850px + 40px = 930px */
	text-shadow: #fff 0 1px 1px;
}

/* NAV
   ========================================================================== */

#nav {
	float: right;
	list-style: none;
	padding: 7px 0 0;
}

#nav li {
	display: inline;
	float: left;
	list-style: none;
	margin: 0; /* LIs come with margins by default. */
	padding: 0 0 0 8px;
}

#nav a {
	-khtml-border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: #e9e9e9;
	border: 0;
	color: #777;
	display: block;
	float: left;
	padding: 8px 10px;
	text-decoration: none;
}

#nav .current_page_item a, #nav a:hover {
	background-color: #f5f5f5;
	color: #444;
}

/* POSTS
   ========================================================================== */

.post {
	clear: both;
	float: left;
	padding: 0 0 20px;
	width: 100%;
}

.postmetadata {
	color: #777;
	font-size: 11px;
}

/* COMMENTS, PHEW!
   ========================================================================== */

#comments {
	float: left;
	width: 100%;
}

#comments h3, #respond h3 {
	padding: 3px 0 17px !important;
}

.commentlist {
	float: left;
	padding: 0; /* ULs come with padding by default. */
	width: 100%;
}

.comment {
	background-color: #fff;
	display: inline;
	float: left;
	list-style: none;
	margin: 0; /* LIs come with margins by default. */
	width: 100%;
}

.children {
	margin: 0 0 0 20px;
}

.comment-body {
	border-bottom: 1px solid #ddd;
	margin: 0 0 29px;
}

.comment-author cite {
	font-style: normal;
	font-weight: bold;
}

.avatar {
	border: 1px solid #ccc;
	float: left;
	padding: 4px;
	margin: 0 10px 10px 0;
}

.commentmetadata {
	color: #777;
	display: block;
	font-size: 11px;
	padding: 0 0 20px;
}

.reply {
	padding: 0 0 29px;
}

.depth-5 .reply, .depth-5 .comment .reply {
	display: none; /* Limiting the discussion depth to 5, CSS-wise. */
}

#respond {
	padding: 0 0 20px;
}

.comment #respond {
	border-bottom: 1px solid #ddd;
	margin: 0 0 30px;
	padding: 0 0 29px;
}

/* ASIDES
   ========================================================================== */

.asides { /* Asides are small posts based 'round some interesting link or something. */
	border-left: 2px solid #ddd;
	margin: 0 0 40px;
	padding: 0 0 0 18px;
	width: 530px; /* 2px + 18px + 530px = 550px */
}

.asides p {
	padding: 10px 0;
}

.asides .postmetadata {
	padding-top: 10px;
}

/* HEADINGS
   ========================================================================== */

h1 {
	font: bold 24px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: -1px;
	padding: 10px 0;
	text-shadow: #fff 0 1px 1px;
}

h1 a:link, h1 a:visited {
	color: #999;
}

h1 a:hover {
	color: #777;
}

h2, h3, h4, h5, h6 {
	color: #777;
	font: bold 32px/40px "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 10px 0;
}

h2 a:link, h2 a:visited {
	color: #777;
}

h2 a:hover {
	color: #333;
}

#sidebar h2, h3, h4, h5, h6 {
	color: #777;
	font-size: 20px;
	line-height: 20px;
	padding: 7px 0 13px;
}

h4, h5, h6 {
	font-size: 16px;
	padding: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	border: 0 !important;
}

/* GENERAL TYPOGRAPHY
   ========================================================================== */

.hidden {
	display: none;
}

#description {
	color: #777;
	font-size: 11px;
}

img {
	border: 0 !important;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

del {
	color: #777;
	text-decoration: line-through;
}

a {
	border-bottom: 1px solid #ddd;
	color: #777;
	text-decoration: none;
}

a:visited {
	color: #555;
	text-decoration: none;
}

a:hover, a:active, a:focus {
	color: #000;
	text-decoration: none;
}

p, ul, ol {
	margin: 0;
	padding: 0 0 20px;
}

ul li {
	list-style-type: disc;
	margin: 0 0 0 15px;
}

ol {
	margin: 0 0 0 25px;
}

ol li {
	list-style-type: decimal;
}

code {
	font-family: Consolas, "Courier New", Courier, monospace;
}

blockquote {
	border-left: 2px solid #ddd;
	margin: 0 0 20px;
	padding: 0 0 0 20px;
}

blockquote p, blockquote ul, blockquote ol {
	padding: 10px 0;
}

.navigation, #comments .navigation {
	float: left;
	padding: 0 0 20px;
	width: 100%;
}

.single .navigation {
	padding: 0 0 40px;
}

.aligncenter {
	margin: 0 auto;
	text-align: center;
}

img.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.alignleft {
	float: left;
	text-align: left;
	width: 45%;
}

.alignright {
	float: right;
	text-align: right;
	width: 45%;
}

/* FORMS
   ========================================================================== */

#author, #email, #url, #comment, #s {
	border: 1px solid #d5d5d5;
	font: 13px/16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 2px;
	width: 544px; /* 1px + 2px + 544px + 2px + 1px = 550px */
}

#author, #email, #url, #s {
	width: 224px; /* 1px + 2px + 224px + 2px + 1px = 230px */
}

#s {
	margin: 0 0 5px;
}

#author:focus, #email:focus, #url:focus, #comment:focus, #s:focus {
	border-color: #9cf; /* Blue borders on :focus. */
}

#submit, #searchsubmit {
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background: transparent url(images/button.png) 0 0 repeat-x;
	border: 1px solid #ccc;
	color: #777;
	font: bold 13px/16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 5px;
	text-shadow: #fff 0 1px 1px;
}

#searchsubmit {
	float: right;
}

#submit:hover, #searchsubmit:hover {
	border-color: #999;
	color: #555;
}

/* GALLERIES
   ========================================================================== */

.galleries {
	margin: 0 0 30px;
}

.gallery {
	margin: 0 !important;
}

.gallery-item {
	margin: 0 !important;
	text-align: center;
}

.gallery-thumbnail {
	float: left;
	padding: 0 15px 0 0;
}

.gallery-thumbnail img, .gallery-item img, .alignleft img, .alignright img {
	background: #ddd;
	padding: 5px;
}

.gallery-thumbnail a, .gallery-item a, .alignleft a[title], .alignright a[title] {
	border: 0 !important;
}

.gallery-icon img {
	background: #ddd;
	padding: 5px;
}

.gallery-caption {
	color: #777;
	font-size: 11px;
	padding: 0 0 20px;
	text-align: center;
}

.gallery-caption p {
	padding: 0;
}
