/*  
Theme Name: Piit
Theme URI: http://sedlacek.biz/
Description: Theme based on WPAndreas03 by <a href="http://www.betaflow.com/">Michael Wales</a>, based on andreas03 by <a href="http://www.andreasviklund.com/">Andreas Viklund</a>.
Version: 1.04
Author: Petr Sedlacek
Author URI: http://sedlacek.biz/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
	

	*** REGARDING IMAGES ***
	All CSS that involves the use of images, can be found in the 'index.php' file.
	This is to ease installation inside subdirectories of a server.

	Have fun, and don't be afraid to contact me if you have questions.
*/

body{
margin:0;
padding:30px;
font:76% tahoma,verdana,sans-serif;
background:#047 url(img/bodybg.png) repeat-x fixed;
color:#222;
}

table.layout {
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
}

table.layout td {
	padding: 0;
}

#left {
	padding: 20px 0 0 20px;
	background: white url(img/topleft.png) no-repeat;
	background-position: top left;
	text-align: left;
	vertical-align: top;
}

#right {
	width: 210px;
	vertical-align: top;
	background: white url(img/topright.png) no-repeat;
	background-position: top right;
}

#footer {
	text-align: center;
	background-color: white;
}

#botleft {
	height: 10px;
	background: white url(img/bottomleft.png) no-repeat;
	background-position: bottom left;
}

#botright {
	height: 10px;
	background: white url(img/bottomright.png) no-repeat;
	background-position: bottom right;
}

#gallery {
	margin-top: 20px;
}

#thetop{
margin:0;
}

#container{
awidth:720px;
margin:0 25px;
padding:20px 20px 0 20px;
background:#fff url(img/contbg.png) no-repeat;
color:#222;
border: solid 1pt orange;
}


a{
text-decoration:none;
background-color:inherit;
color:#26c;
}

a:hover{
text-decoration:underline;
}

a img{
border:0;
}

p{
margin:0 0 15px 0;
line-height:1.5em;
}

#main p,#sidebar p{
padding:0 0 0 10px;
}

#logo{
width:240px;
margin:0 20px 0 0;
padding:0 0 25px 0;
background:#eee;
border:4px solid #dde;
text-align:center;
color:#555;
overflow:auto;
}

#logo h1{
margin:22px 5px 1px 5px;
letter-spacing:-1px;
}

#logo a{
background-color:inherit;
color:#26a;
text-decoration:none;
}

#logo a:hover{
background-color:inherit;
color:#69e;
}

#tagline{
text-align:center;
font-size:1.2em;
}

#intro p{
line-height:1.5em;
}

#main{
float:left;
awidth:530px;
margin-right:20px;
padding:0;
border: solid 1pt blue;
}

.headerstyle {
display:block;
margin:30px 0 10px 0;
padding:5px 0 5px 8px;
background:#eee url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
text-decoration:none;
}

.headerstyle a{
background:#eee url(img/gradient2.png) repeat-x;
}

.dateline {
margin: 0 0 0 0;
padding: 0 0 0 10px;
font-size: 85%;
}

.tags {
margin: 0 0 10px 0;
padding: 0 0 0 10px;
font-size: 85%;
}

#sidebar{
width:155px;
margin-top: 40px;
margin-left: 20px;
font-size:1em;
line-height:1.3em;
}

#sidebar p{
font-size:0.9em;
}

#sidebar ul{
list-style: none inside none;
margin: 0;
padding: 0 0 0 0;
}

#sidebar li{
margin: 0;
padding: 0 0 0 10px;
}

.themeswitcher li{
padding: 0 0 0 0;
margin: 0 0 0 0;
}

.sidelink{
display:block;
width:140px;
margin:3px 10px 2px 0;
padding:5px 0 5px 8px;
font-size:1.1em;
font-weight:bold;
text-align:left;
background:#eee url(img/gradient1.png) repeat-x;
color:#26c;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
}

.sidelink:hover,.menuheader{
background:#fff url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #888;
border-bottom:1px solid #888;
border-left:1px solid #ddd;
text-decoration:none;
}

#afooter{
margin:0 auto 20px auto;
width:760px;
background:#fff url(img/footerbg.png) bottom left no-repeat;
padding:0 0 5px 0;
font-size:0.9em;
color:#888;
text-align:center;
}

h1,h2,h3,h4{
margin:0 0 10px 0;
font-weight:normal;
}

h1{
font-size:2.8em;
}

h2{
margin:0 0 4px 0;
font-size:1.8em;
}

h3, h2.widgettitle {
margin:20px 0 0px 0;
font-size:1.4em;
}

h4{
margin:10px 0 5px 0;
font-size:1.2em;
}

textarea{
width:510px;
}

.clear{
clear:both;
margin:0;
}

.right{
text-align:right;
}

.center{
text-align:center;
}

.alignleft{
float:left;
}

.alignright{
float:right;
}

.internallink{
font-size:0.9em;
text-align:center;
}

.postmetadata{
padding:20px;
background:#eee;
color:#222;
border:2px solid #ddd;
}

.credit{
color:#888;
background-color:inherit;
}

.hide{
display:none;
}

div.sidebarAdsense
{
	margin-top: 3em;
	margin-left: 7px;
}


table.maintable {
border-collapse: collapse;
}

td.catrow {
border: solid 1px #bbb;
}

table.maintable td.tableh1 {
padding:5px 0 5px 8px;
background:#eee url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
text-decoration:none;
}

table.maintable td.catrow {
padding:3px 0 3px 8px;
background:#eee url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
text-decoration:none;
}

table.maintable td.tableb {
padding: 5px;
border: 1px solid #bbb;
}

table.maintable td.thumbnails {
vertical-align: top;
padding-left: 3px;
padding-right: 5px;
padding-top: 2px;
padding-bottom: 3px;
}

table.maintable tr.tableb_compact {
border-bottom: 1px solid #bbb;
}

table.maintable tr.tableb_compact td {
border-left: 1px solid #bbb;
border-right: 1px solid #bbb;
}

table.maintable tr.tableb_compact td td {
border: none;
}

table.maintable td.tableh2 {
padding:5px 0 5px 8px;
background:#eee url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
text-decoration:none;
}

table.maintable tr.tableb_compact td td.tableh2 {
padding:5px 0 5px 8px;
background:#eee url(img/gradient2.png) repeat-x;
color:#222;
border-top:1px solid #ddd;
border-bottom:1px solid #bbb;
text-decoration:none;
}

tr.tableb_compact p {
margin-bottom: 3px;
}

tr.tableb_compact p.album_stat {
font-size: 75%;
margin: 0;
}

table.maintable tr.tableb_compact td td.admin_menu {
font-size: 72%;
padding: 2px;
border-top:1px solid #ddd;
border-left:1px solid #ddd;
border-right:1px solid #aaa;
border-bottom:1px solid #aaa;
background-color: #eee;
}

td.tableh1_compact {
font-size: 75%;
}

/* Original open source design by Andreas Viklund - http://andreasviklund.com
Released through OSWD.org */