/*
Theme Name: MalSimple
Theme URI: http://malcom.pl/
Description: Styl specjalnie utworzony do <a href="http://blog.malcom.pl/">MalDevBlog'a</a>.
Version: 1.0
Author: Malcom
Author URI: http://malcom.pl/
Date: 16.09.2009

	MalSimple v1.0
	http://malcom.pl/

	Ta szata graficzna została zaprojektowana i stworzona przez Marcina Malich,
	który ma bloga pod adresem http://blog.malcom.pl/

	CSS, XHTML i projekt objęty jest licencją GPL:
	http://www.opensource.org/licenses/gpl-license.php

	Baw się dobrze i nie krępuj się pytać, jeśli chcesz się czegoś ode mnie dowiedzieć.
*/


* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Sans-Serif;
	font-size: 13px;
	color: #222;
}


/* struktura */

.wrapper {
	width: 990px;
	margin: 0 auto;
}

#header {
	color: #FFF;
	background-color: #000;
}

#page {
	background: #fff url('images/header.png') repeat-x;
	padding: 10px 0 0 0;
}

#content {
	float: left;
	margin: 10px 0;
}

.narrowcolumn {
	width: 550px;
}

.widecolumn {
	width: 780px;
}

#miniblog {
	float: left;
	width: 220px;
	margin: 10px 0 10px 10px;
}

#sidebar  {
	float: left;
	width: 200px;
	margin: 10px 0 10px 10px;
}

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


p {
	margin: 15px 0;
/*	font-size: 12px;*/
	line-height: 140%;
	text-align: justify;
}

a {
	color: #999;
	text-decoration: none;
}

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

a img {
	border: none;
}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
	font-weight: bold;
}


ol, ul {
	margin: 5px 25px;
}

ol li, ul li {
	margin: 2px 0;
	font-size: 11px;
}

ul.none li, ol.none li {
	list-style-type: none;
	list-style-image: none;
}

blockquote {
	margin: 10px 25px;
	padding-left: 5px;
	border-left: 3px solid #ccc;
	color: #666;
	font-size: 12px;
}

small { font-size: 10px; }



#header, #header h1, #footer {
	font-family: Verdana, Arial, sans-serif;
}

#header {
	height: 50px;
	padding: 15px 0;
}

#header h1 {
	height: 50px;
	padding: 0px 0 0 58px;
	font-size: 30px;
	font-variant: small-caps;
	background: url('images/mallog.png') no-repeat;
}

#header h1 a {
	color: #fff;
}
#header h1 a:hover {
	color: #999;
	text-decoration: none;
}

#header p {
/*	margin: -4px 0 0 2px;*/
	margin: -19px 0 0 62px;
	color: #999;
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: lowercase;
}


#header form.search {
	margin-top: 5px;
	margin-right: 0;
	text-align: right;
}

#header form.search .query {
	width: 140px;
	padding: 2px;
	color: #ccc;
	font-size: 11px;
	background-color: #222;
	border: 1px solid #666;
}

#header form.search .query:focus {
	color: #fff;
	background-color: #333;
	border: 1px solid #999;
}

#header form.search .submit {
	width: 18px;
	height: 18px;
	border: 0;
	background: transparent url('images/search.png') no-repeat 0 3px;
}


#rss {
	margin: 16px 0 0 0;
}

#rss li {
	display: inline;
}

#rss a {
	padding: 0 0 2px 15px;
	margin-left: 3px;
	font-size: 9px;
	background: url('images/feed.png') no-repeat 0 1px;
}

#rss a, #footer a {
	color: #ccc;
	text-decoration: none;
}
#rss a:hover, #footer a:hover {
	color: #fff;
	text-decoration: underline;
}


#content h2, #miniblog h2, #sidebar h2  {
	margin: 5px 0 5px 0;
	padding-left: 5px;
	font-size: 20px;
	border-bottom: 1px solid #ccc;
}

#content h2 a {
	color: #000;
	text-decoration: none;
}
#content h2 a:hover {
	color: #666;
	text-decoration: none;
}

#content .entry a, #miniblog dd a, .comment a {
	color: #777;
	text-decoration: underline;
}

#content .entry  a:hover, #miniblog dd a:hover, .comment a:hover {
	color: #000;
}

#miniblog {
	font-size: 10px;
}

#miniblog dl {
	padding: 0 5px;
	margin: 0;
}

#miniblog dt {
	margin: 0 5px 2px 0;
	color: #999;
	text-align: right;
}

#miniblog dd {
	margin: 0;
	text-align: justify;
	padding-bottom: 15px;
}


#sidebar {
}

#sidebar a {
	color: #222;
}
#sidebar a:hover {
	color: #000;
}
#sidebar ul, #sidebar ol {
	margin: 0;
	padding: 0;
}

/* naglowkowe (pages/archives...)*/
#sidebar ul li, #sidebar ol li {
	list-style-type: none;
	list-style-image: none;
	margin: 0 0 15px 0;
	font-size: 10px;
}
/* contentowe (lista z miesiacami w li archiwum) */
#sidebar li ul li, #sidebar li ol li {
	margin-bottom: 0;
	padding: 0 5px;
	color: #999;
}


#sidebar li.categories ul li {
	text-align: left;
}

#sidebar li.categories ul li ul {
	margin-left: 15px;
	margin-bottom: 0;
}


#footer {
	padding: 0 0 15px 0;
	background-color: #000;
	color: #999;
	font-size: 10px;
}
#footer p {
	margin: 0;
	padding: 10px 0;
	line-height: normal;
	text-align: center;
}
#footer em {
	color: #ccc;
	font-style: normal;
}

/* logowanie i staty */
#footlog {
	float: left;
	padding: 0 10px 0;
}
#footstat {
	float: right;
	padding: 0 10px 0;
}


/* about w sidebarze */
#sidebar .about, #sidebar .tags {
	padding: 0 5px;
	margin: 0;
	font-size: 10px;
}

#sidebar .about img {
	margin: 2px 4px -2px 0;
	padding: 1px;
	border: 1px solid #aaa;
	float: left;
}


/* dane obok h2 */
.meta {
	margin: -22px 5px -22px 0;
	float: right;
	font-size: 10px;
	color: #333;
}
.meta a {
	color: #333;
}

.meta a.rss {
	padding: 0 15px 2px 0;
	background: url('images/feed.png') right no-repeat;
}

/* dane pod h2 */
.metadata {
	margin: -2px 5px 10px 5px;
	font-size: 10px;
	color: #666;
}
.metadata a, .readall a { color: #666; }
.metadata a:hover, .readall a:hover {color: #000; }


/* zawartosc wpisu */
.entry {
	padding: 0 5px;
}

.readall {
	margin: -10px 10px 25px;
	padding: 0;
	font-size: 10px;
	text-align: right;
}


.postmetadata {
	margin: 25px 50px 40px;
	padding: 10px;
	line-height: 110%;

}

.metabox {
	padding: 5px 10px;
	border: 1px dotted #aaa;
	background-color: #eee;
}
.metabox a { color: #000; text-decoration: underline; }


/* nawigacja w archiwach */
.navigation {
	margin: 0 10px 10px 10px;
	height: 14px;
	font-size: 11px;
}

/* przydatne klasy */

.fleft {
	float: left;
}
.fright {
	float: right;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.bold {
	font-weight: bold;
}



#related_post {
	margin: -10px 20px 20px;
}
#related_post ul li {
	color: #666;
	font-size: 12px;
}
#related_post li a {
	color: #111;
}

.nocomments {
	text-align: center;
}

#comments, #respond {
	padding-top: 25px;
}

.commentlist {
	list-style-type: none;
	list-style-image: none;
	margin: 0 5px;
}
.commentlist li {
	padding: 5px;
	min-height: 55px;
	font-size: 12px;
}
.commentlist .alt {
	background-color: #efefef;
}

.commentlist .avatar {
	float: left;
	width: 48px;
	height: 48px;
	padding: 1px;
	margin: 1px;    /* bo wymairy 48x48, a nie 50 ;p */
	border: 1px solid gray;
}

.commentlist .metadata {
	height: 14px;

}
.commentlist .author {
	margin: 0 0 0 5px;
	font-size: 14px;
	font-weight: bold;
}

.comment {
	margin: 22px 0 0 60px;
}

.comment p {
	margin-bottom: 5px;
}


#commentform {
	margin: 0 5px;
}
#commentform label {
	font-size: 10px;
}

form #author, form #email, form #url, form #wpmc {
	width: 260px;
}

form #comment {
	width: 460px;
	height: 140px;
	margin: -14px 0 0 0;
}

form #help {
	float: right;
	width: 280px;
	height: 130px;
	color: #333;
}
form #help p {
	margin: 5px 0;
	line-height: 100%;
}
form #help .xhtml code {
	display: block;
	margin-top: 2px;
	font-size: 9px;
}


#attention {
	margin: 20px 5px 0;
}
#attention h3 {
}
#attention p {
	margin: 0;
	font-size: 12px;
	color: #333;
}


#searchform {
	margin: 10px auto;
	padding: 10px;
	width: 300px;
	text-align: center;
}

.wp_codebox {
/*	margin: 10px 25px; not work! :(*/
	margin: 10px auto;

}
.narrowcolumn .wp_codebox { width: 500px; }
.widecolumn   .wp_codebox { width: 730px; }


#MBL_COMM {
	margin: 0 auto;
}
.mbl_fo_hidden {
	display: none;
}

