/*  
Theme Name: tb.com
Theme URI: http://blog.thomasbachem.com/
Author: Thomas Bachem
Author http://blog.thomasbachem.com/
*/



/* Begin Typography & Colors */
body {
	font-size: small;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Calibri,'Trebuchet MS',Arial,Helvetica,Verdana,Sans-Serif;
	background: rgb(75, 75, 75) url('images/layout_bg.gif') repeat-x fixed top left;
	color: #fff;
	text-align: center;
	margin: 20px 0 0 0;
	padding: 0;
}

a {
	color: #444;
	text-decoration: underline;
	background-color: transparent;
}

a:hover {
	background-color: #777;
	color: white;
}

a.plain, a:hover.plain {
	background-color: transparent !important;
	padding: 0 !important;
}


#page {
	text-align: left;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	background: transparent url('images/layout_headerbg.png') repeat-x top left;
	height: 83px;
	padding: 17px 15px 0 15px;
}

#header .title {
	display: block;
	margin: 5px 0 8px 6px;
}

#header .subtitle {
	display: block;
	margin-left: 6px;
}

#header .aboutme {
	float: right;
	width: 236px;
}

#header a {
	background-color: transparent;
}

#header .aboutme .photo {
	margin-right: 7px;
}

#header .aboutme .text {
	float: right;
}

#main {
	width: 800px;
	overflow: auto;
	background: #fff url('images/layout_sidebarbg.gif') repeat-y top right;
}

#content {
	float: left;
	font-size: 1.6em;
	width: 500px;
	background: #fff;
	color: #222;
	padding: 20px;
	line-height: 140%;
}

* html #content {
	line-height: 130%;
}

#content .entry a {
	background: #e1ecfc;
	color: #222;
	padding: 0.05em 0.1em;
	text-decoration: none;
}

#content .entry a:hover {
	background-color: #679ef1;
	color: #fff;
	text-decoration: none;
}

#content .entry .excerpt {
	font-size: 130%;
	line-height: 130%;
	color: #222;
}

* html #content .entry .excerpt {
	line-height: 120%;
}

#content .entry .excerpt a {
	color: #222;
	text-decoration: none;
}

#content .entry .excerpt a:hover {
	background-color: #679ef1;
	color: #fff;
	text-decoration: none;
}

#content .entry .excerpt a.sevenload {
	background-image: url('images/gfx_sevenload.png');
	background-repeat: no-repeat;
	background-position: 0.15em center;
	padding-left: 23px;
}

#content .entry ol.alpha {
	list-style: lower-alpha;
	font-weight: bold;
	margin-left: 0;
	padding-left: 1em;
}

* html #content .entry ol.alpha {
	margin-left: 1em;
}

#content .entry ol.alpha li {
	font-weight: normal;
}

#content .entry ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#content .entry ul li {
	background: url('images/gfx_arrow.gif') 0 3px no-repeat;
	padding-left: 23px;
	margin-left: 0;
}

* html #content .entry ul li {
	margin-top: 1em;
}

#content h4.date {
  font-size: 100%;
  color: #aaa;
  font-weight: normal;
  margin: 0;
}

#content h2 {
	font-size: 200%;
	color: rgb(138, 182, 11);
	margin: 0 0 0.7em 0;
	line-height: 100%;
	text-align: left;
}

#content h2 a, #content h2 a:hover {
	color: rgb(138, 182, 11);
	text-decoration: none;
	background-color: transparent;
}

#content hr {
	background-color: #ccc;     /* Mozilla 1.4 */
	color:            #ccc;     /* IE 6 */
	border:           #ccc;     /* Opera 7.11 */
	height:           1px;         /* in Opera für die Anzeige nötig, in Mozilla für die einheitliche Höhe */
	margin:           5px 0 5px 0;
	padding:          0;
}

#content .entrymeta {
	margin-top: 20px;
	font-size: 90%;
	background-color: #f5f5f5;
	padding: 5px;
	color: #444;
}

#content .entrymeta a {
	color: #444;
	text-decoration: underline;
	background-color: transparent;
}

#content .entrymeta a:hover {
	background-color: #777;
	color: white;
}

#content a.more-link {
	display: block;
	clear: both;
	width: 100%;
	background: transparent url('images/gfx_more.gif') 0 3px no-repeat !important;
	color: rgb(138, 182, 11);
	font-weight: bold;
	text-decoration: underline;
	padding: 16px 0 0 0;
}

#content a.more-link:hover {
	background-image: url('images/gfx_more_hover.gif') !important;
	color: rgb(99, 153, 46);
	text-decoration: underline;
}

#footer {
	background: #000 url('images/layout_footerbg.gif') top left;
	padding: 15px;
}

#footer .text {
	margin-bottom: 15px;
}

#footer .text a, #footer .text a:hover {
	background-color: transparent;
}

#footer .photo {
	float: left;
	margin-right: 24px;
}

#footer .photo a, #footer .photo a:hover {
	background-color: transparent;
}

#footer .last {
	float: none;
	margin-right: 0;
}

#footer .photo img {
	border: 7px solid white;
}


.searchinfo {
	margin-bottom: 20px;
	font-size: 90%;
	background-color: #f5f5f5;
	padding: 5px;
	color: #444;
}


#sidebar {
	float: right;
	width: 220px;	
	background-color: rgb(206, 251, 77);
	color: rgb(64, 103, 20);
	padding: 5px 20px 20px 20px;
	font-size: 1.3em;
}

* html #sidebar {
	width: 214px;	
}

#sidebar a {
	color: rgb(64, 103, 20);
	text-decoration: none;
}

#sidebar a:hover {
	background-color: rgb(104, 143, 60);
	color: white;
	text-decoration: none;
}

#sidebar h2 {
	display: block;
	margin: 15px 0 7px 0;
	color: #444;
	font-size: 1.3em;
	font-weight: normal;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}


#sidebar #contact {
	padding: 0 0 0 21px;
	margin: 0;
	list-style-type: none;
}

#sidebar #contact .email {
	list-style-image: url('images/gfx_email.gif')
}

#sidebar #contact .skype {
	list-style-image: url('images/gfx_skype.gif')
}

#sidebar #contact .icq {
	list-style-image: url('images/gfx_icq.gif')
}

#sidebar #contact .mobile {
	list-style-image: url('images/gfx_mobile.gif')
}


#sidebar #popular li {
	background-color: rgb(217, 252, 117);
	border-left: 3px solid rgb(138, 182, 11);
	margin-bottom: 5px;
	padding: 4px;
}


#sidebar #blogroll {
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	list-style-type: none;
}

#sidebar #blogroll li {
	float: left;
	width: 50%;
	line-height: 125%;
}


#sidebar .comments li {
	background-color: rgb(217, 252, 117);
	border-left: 3px solid rgb(138, 182, 11);
	margin-bottom: 5px;
	padding: 4px;
}




#realheader {
	padding: 0 4px 12px 4px;
	font-size: 1.5em;
}

#realheader a {
	color: #fff;
	text-decoration: none;
}

#realheader a:hover {
	color: #444;
	background-color: #fff;
}

#realheader .sep {
	margin-left: 1.7em;
}

#realheader .rssicon {
	background: url('images/gfx_rss.png') no-repeat center left;
	padding-left: 18px;
}

#realheader .xingicon {
	background: url('images/gfx_xing.png') no-repeat center left;
	padding-left: 16px;
}

#realheader .sevenloadicon {
	background: url('images/gfx_sevenload.png') no-repeat center left;
	padding-left: 19px;
}

#realheader .internallinks {

}

#realheader .externallinks {
	float: right;
	text-align: right;
}

#realfooter {
	color: #777777;
	font-size: 1.5em;
	padding: 6px 1px 20px 1px;
}

#realfooter a {
	color: #777777;
	text-decoration: underline;
}

#realfooter a:hover {
	color: #444;
	background-color: #fff;
	text-decoration: none;
}

#realfooter .copyright {
	float: right;
	text-align: right;
}



small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}


h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: normal;
	font-style: normal;
	font-size: 1.1em;
	color: rgb(138, 182, 11);
	}
	
.commentlist cite a:hover {
	background-color: rgb(138, 182, 11);
	color: white;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.commentmetadata, .commentmetadata a {
	font-weight: normal;
	color: #999;
	}
	
.commentmetadata a:hover {
	color: white;
	background-color: #999;
	}
	
.commentauthorurllink a {
	color: rgb(138, 182, 11);
}

.commentauthorurllink a:hover {
	background-color: rgb(138, 182, 11);
	color: white;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
}
	
blockquote .lesser {
	color: #aaa;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */


.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */

p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists */


html>body .entry li {
	margin: 7px 0 8px 10px;
	}


.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

/* End Entry Lists */



/* Begin Form Elements */
#searchform {

}

#sidebar #searchform #s {
	height: 17px;
	border: 1px solid rgb(170, 170, 170);
	width: 175px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	float: right;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}
	
.commentlist cite a, .commentlist .commentmetadata a {
	text-decoration: none;
}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
	
.gravatar {
	float:left;
	padding: 3px;
	border: 1px solid #777;
	background: #fff;
	margin-right: 7px;
}

.postgrav {
	float: left;
	padding: 3px;
	margin-right: 5px;
	margin-left: 5px;
	border: 1px solid #777;
	background: #fff;
}
	
/* End Comments */



/* Begin Sidebar */

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/
