/*
Theme Name: erko.risthein.ee
Theme URI: http://erko.risthein.ee/
Description: erko.risthein.ee
Version: 0.9
Author: Erko Risthein
*/

html {
	background-color: #6E6E6E;
	color: black;
}

body {
	font: 19px Georgia, "Times New Roman", Times, serif;
	line-height: 140%;
	padding: 0;
	margin: 0;
	min-width: 500px;
}


/* RESET */

p, ul, ol, li, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

:link, :visited {
	text-decoration: none;
	color: black;
}

a img {
	border: none;
}

table {
	border-collapse: collapse;
}

code, pre {
	background: #FFFBCC;
	border: 1px #E6DB55 dashed;
	display: block;
	overflow: auto;
	padding: .25em .5em;
}


/* GENERAL */

h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
}

h3 {
	color: gray;
	font-size: 130%;
	border-bottom: 1px solid #ccc;
	margin-top: .8em;
	margin-bottom: .4em;
	padding-bottom: .1em;
}

acronym, abbr {
	cursor: help;
	border-bottom: 1px dotted #39c;
}

table tr td {
	padding: .5em 3em .1em 0;
	border-bottom: 1px solid #bbb;
	vertical-align: top;
}

table tr td.headding {
	padding-top: 1.2em;
	border-bottom: 2px solid black;
	text-align: left;
}

table tr td.headding h3 {
	border-bottom: 0;
	margin-bottom: 0;
}

table tr td.first {
	padding-top: 0;
}

table h3 {
	color: black;
}

table tr td.first h3 {
	margin-top: 0;
}

blockquote {
	border-left: 5px solid #ccc;
	margin-left: 1.5em;
	padding: .5em 1em;
	font-style: italic;
	color: gray;
	background: #f9f9f9 url(img/quote.png) no-repeat 95% 10%;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.meta img, #commentlist img, #comments #rss img {
	vertical-align: middle;
}

.wp-caption {
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #F3F3F3;
	border: 1px solid #DDDDDD;
	margin: 4px;
	padding-top: 4px;
	text-align: center;
}

.wp-caption-text {
	font-size: .8em;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
	margin-left: 1em;
}

/* HEADER */

#header {
	background: #231f20 url(img/header_bg.gif) repeat-x;
	height: 115px;
	text-align: center;
	color: white;
}

#header h1 {
	text-indent: -5000px;
	background: url(img/logo.gif) no-repeat center;
	height: 95px;
}


/* WRAPPER */

#wrap1 {
	/* background: #a6a8ab url(img/wrapper_bg.gif) repeat-x; */
	background: #a6a8ab url(img/haunted.gif);
	padding-bottom: 1em;
}

#wrap2 {
	margin: 0 auto;
	width: 900px;
}


/* TOP NAVIGATION */

#topNav {
	list-style: none;
	text-align: right;
	margin-right: 260px;
}

#topNav li {
	display: inline;
	margin-left: .3em;
}

#topNav li a {
	padding: .1em .5em;
	background: #f3f4f4 url(img/tab_bg.gif) repeat-x;
	border: solid 1px gray;
}

#topNav li.current_page_item a {
	background: white;
	border-bottom: 0;
	padding-bottom: 3px;
}

#topNav li a:hover {
	background: white url(img/tab_bg2.gif) repeat-x;
	color: #39c;
}


/* CONTENT */
#content {
	font-family: "Segoe UI", Verdana, Geneva, Arial, Helvetica, sans-serif;
	float: left;
	width: 650px;
	border: 1px solid gray;
	background: white; /* url(img/content_bg.gif) repeat-x bottom; */
	font-size: 80%;
	min-height: 100px;
	-moz-border-radius-topleft: 10px;
	-khtml-border-top-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	-khtml-border-top-right-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
}

#content :link, #content :visited {
	color: #39c;
	padding-bottom: 2px;
	border-bottom: 1px solid #ccc;
}

#content :link:hover, #content :visited:hover {
	color: #37a;
	border-bottom: 1px solid #777;
}

#content table :link, #content table :visited {
	padding-bottom: 0;
}

#content p {
	margin-bottom: 1em;
}

#content ul, #content ol {
	margin: 0 0 1em 2em;
}

#content ul.margin li, #content ol.margin li {
	margin-bottom: 1em;
}


/* MAIN NAVIGATION */

#mainNav {
	font-family: "Segoe UI", Verdana, Geneva, Arial, Helvetica, sans-serif;
	width: 220px;
	float: right;
	list-style: none;
}

#mainNav li { /* wrap */
	margin-top: 1em;
}

#mainNav li#pages {
	margin-top: 0;
}

#mainNav li h4 { /* head */
	border: 1px solid gray;
	padding: .25em;
	background: #eee;
	text-align: center;
	font-size: 120%;
}

#mainNav ul { /* elements list */
	list-style-type: none;
	font-size: .8em;
}

#mainNav ul li { /* element */
	margin: 0;
	border: 1px solid gray;
	border-top: 1px solid white;
	background: #f3f4f4 url(img/tab_bg.gif) repeat-x;
}

#mainNav #lastfm-1 li {
	padding: 0.25em 1em;
}

.lastfm-timestamp {
	display: block;
	font-size: 75%;
}

#mainNav ul li a {
	display: block;
	padding: 0.25em 1em;
}

#mainNav ul li a:hover {
	background: white url(img/tab_bg2.gif) repeat-x;
	color: #39c;
}

#mainNav ul li.current_page_item a {
	background: white url(img/tab_bg2.gif) repeat-x;
}

#mainNav ul ul.children { /* ?? */
	font-size: 142%;
	padding-left: 4px;
}


/* FOOTER */

#footer {
	display: block;
	font-size: 60%;
	padding: 2em;
	background: #6E6E6E url(img/footer_bg.gif) repeat-x;
	color: #444;
	text-align: center;
	line-height: 200%;
}

#footer :link, #footer :visited {
	color: #444;
	font-weight: normal;
}

#footer :link:hover,  #footer :visited:hover {
	border-bottom: 1px solid #444;
}

#footer acronym, #footer abbr {
	border-bottom: none;
}

/* OTHER */

/* classes used by the_meta() */
ul.post-meta {
	list-style: none;
}

ul.post-meta span.post-meta-key {
	font-weight: bold;
}

.meta {
	margin-top: 1em;
	border-top: 1px solid #eee;
	font-size: .7em;
	text-align: right;
	display: block;
	font-style: normal;
}

.meta li, ul.post-meta li {
	display: inline;
}

.meta ul {
	display: inline;
	list-style: none;
}

.meta, .meta a {
	color: #808080;
	letter-spacing: 0;
}

.post {
	padding: 2em;
}

.storytitle {
	margin: 0 0 1em 0;
	font-size: 100%;
}

#content .post .storytitle a {
	display: block;
	font-size: 160%;
	padding-bottom: .3em;
}

#posts_nav {
	padding: 2em;
}

/* COMMENTS */

#comments, #posts_nav {
	background: #eee url(img/comments_bg.gif) repeat-x;
}

#comments {
	padding: 2em 3em 2em 2em;
}

#comments h2 {
	padding-bottom: .3em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
}

#comments h2 :link, #comments h2 :visited, #comments h2 :link:hover, #comments h2 :visited:hover {
	border-bottom: 0;
}

#commentform input, #commentform textarea {
	background: #fafafa;
	border: 1px solid #b2b2b2;
	padding: .5em;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#commentform input:focus, #commentform textarea:focus {
	background: white;
	border: 1px solid #ccc;
}

#commentform #author {
	background: #fafafa url(img/user_blue.png) no-repeat scroll 5px 7px;
	padding-left: 28px;
}
#commentform #email {
	background: #fafafa url(img/email.png) no-repeat scroll 5px 7px;
	padding-left: 28px;
}
#commentform #url {
	background: #fafafa url(img/world.png) no-repeat scroll 5px 7px;
	padding-left: 28px;
}

#commentform #author:focus, #commentform #email:focus, #commentform #url:focus {
	background-color: white;

}

#commentform textarea {
	width: 100%;
	font-family: "Segoe UI", Verdana, Geneva, Arial, Helvetica, sans-serif;
}

#commentlist {
	list-style-type: none;
	padding: 0;
}

#commentlist li {
	margin: 1em 0;
}

.avatar {
	float: right;
	margin: 0 0 1em 1em;
	background-color: white;
	border: 1px solid #ccc;
	padding: 2px;
}

#commentlist cite {
	font-size: .8em;
}

.commenttext {
	padding: 2em 1em 1em 1em;
	background: white url(img/comment_bg.png) top left no-repeat;
}

#commentlist li ul {
	border-left: 1px solid #ddd;
	font-size: 110%;
	list-style-type: none;
}

#akst_form {
	font-family: "Segoe UI", Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 70%;
}

#akst_form a {
	color: #39c;
}

#akst_form a:hover {
	color: #37a;
}
