/*
Theme Name: Gewindeaufschneider
Description: WordPress theme for <a href="http://www.gewindeaufschneider.de/">www.gewindeaufschneider.de</a>.
Version: 1.1
Author: Torsten Kelsch
Author URI: http://www.torstenkelsch.de/
Tags: gray, custom header, fixed width, two columns, widgets
Text Domain: gewindeaufschneider
*/


/*
* Colors:
* #006bb3
* #333333
* #666666
* #828384
* #cccccc
* #ffffff
*/


/* Basic stuff */
html, body {
  background: url(images/body-bg.png) repeat-x top center #fff;
  color: #333;
  font-family: "Trebuchet MS", Arial, "Myriad Pro", "Myriad Web", Myriad, Helvetica, sans-serif;
  font-size: 12px;
  height: 100%;
  line-height: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
}
img {
  border: none;
}
p img {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* Navigation / Hyperlinks */
/* Best order:
a:link
a:visited
a:hover
a:focus
a:active
*/
a:link {
  color: #828384;
  font-weight: bold;
  text-decoration: none;
}
a:visited {
  color: #828384;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  color: #666;
  font-weight: bold;
  text-decoration: underline;
}
a:focus {
  color: #828384;
  font-weight: bold;
  text-decoration: none;
}
a:active {
  color: #828384;
  font-weight: bold;
  text-decoration: none;
}
.before a:before {
  content: "> ";
}


/* Boxes */
#wrapper {
  min-height: 650px;
  margin: auto;
  width: 995px;
}
#logo {
/*   background: url(../images/logo.png) no-repeat top center #fff; */
  height: 95px;
  margin: 0 50px;
  width: 895px;
}
#header-bg {
  background: url(images/header-bg.png) no-repeat top center #fff;
  height: 252px;
  overflow: hidden;
  width: 995px;
}
#header {
  background: url(images/header-pic.jpg) no-repeat top center #fff;
  color: #828384;
  height: 200px;
  margin: 0 50px;
  text-align: center;
  width: 895px;
}
#header .description {
  color: #006AB3;
  margin-top: 10px;
  margin-right: 35px;  
  text-align: right;  
}
#header .block {
	padding: 0;
	margin: 0 20px 5px;
}
#header-region { /* (= Main navigation) */
  border-bottom: solid 7px #fff;
  background-color: #828384;
  color: white;
  font-size: 12px;
  font-weight: bold;
  height: 45px;
  letter-spacing: 1px;
  line-height: 45px;
  margin: 0 50px;
  padding: 0 35px;
  width: 835px;
}
#header-region a {
  color: white;
}
#content-bg {
  background: url(images/wrapper-bg.png) no-repeat top center #fff;
  margin: 0;
  min-height: 650px;
  overflow: hidden;
  padding: 0;
  width: 995px;
}
#content {
  float: left;
  margin: 0 50px;
  min-height: 650px;
  padding: 50px 35px 250px;
  position: relative; top: 0; left: 0;
  width: 635px;
}
#sidebar {
  float: right;
  padding: 50px 0 10px 0;
	position: relative; top: 0; right: 40px;
	width: 190px;	
}
#content-bottom { /* (= Footer) */
  border-top: solid 1px #828384;
  color: #828384;
  height: 100px;
  padding: 20px 0;
  position: absolute; bottom: 65px; left: 35px;
  width: 580px;
}
#content-bottom ul {
  list-style: none;
  padding: 5px 0 20px 0;
}
#content-bottom ul li {
  display: inline;
  margin: 0 7px 0 0;
}
#copyright {
  color: #828384;
  height: 30px;
  line-height: 30px;
  position: absolute; bottom: 35px; right: 35px;
  width: auto;
}
#footer {
	padding: 0;
	margin: 0 auto;
	width: 760px;
	clear: both;
}
#footer-bg {
  background: url(images/footer.png) repeat-x bottom center #ccc;
  height: 45px;
  width: 100%;
}
#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
}


/* Headers */
h1, h2, h3 {
  color: #006bb3;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-transform: uppercase;
}
h1 {
  position: absolute;
  margin-top: -500px;
}
h2 {
	font-size: 20px;
	margin: 0;	
}
#sidebar h2 {
	font-size: 12px;
}
h3 {
	font-size: 1.3em;
	padding: 0;
	margin: 30px 0 0;	
}
h2, h2 a, h2 a:link, h2 a:visited, h2 a:focus, h2 a:active,
h3, h3 a, h3 a:link, h3 a:visited, h3 a:focus, h3 a:active {
	color: #006bb3;
}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, 
h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}
h2 a:hover, h3 a:hover {
  color: #666;
}
h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}
h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
  border: 1px solid #ddd;
}
.even, .alt {
	border-left: 1px solid #ddd;
}
small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
}
.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
}
.sticky h2 {
	padding-top: 10px;
}
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentlist li ul li {
	font-size: 1em;
}
.commentlist li {
	font-weight: bold;
}
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}
#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentmetadata {
	font-weight: normal;
}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote {
	color: #777;
}
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 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
}
#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}


/* Structure */
.post {
	margin: 0 0 40px;
}
.post hr {
	display: block;
}
.postmetadata {
	clear: both;
}
.clear {
	clear: both;
}


/* Images */
p img {
	padding: 0;
	max-width: 100%;
}
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;
}


/* Lists */
.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;
}
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}
#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
}
#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
}
ol li, #sidebar ul ol li {
	list-style: decimal outside;
}
#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}


/* Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}
#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}
#sidebar #searchsubmit {
	padding: 1px;
}
select {
	width: 130px;
}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}
#commentform {
	margin: 5px 10px 0 0;
}
#commentform textarea {
	width: 100%;
	padding: 2px;
}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}


/* Comments*/
.alt {
	margin: 0;
	padding: 10px;
}
.commentlist {
	padding: 0;
	text-align: justify;
}
.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}
.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { 
  padding: 0; 
}
#commentform p {
	margin: 5px 0;
}
.nocomments {
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
}


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


/* AddThis */
div.addthis {
  height: 16px;
  line-height: 32px;
  margin: 16px 0;
  padding: 0;
  position: relative;
  width: 140px;
}
.addthis_default_style {
  height: 16px;
  margin: 0;
  overflow: visible;
  position: relative;
  width: 140px;
}


/* 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;
}
#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; }


/* 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;
}
.hidden {
	display: none;
}
.screen-reader-text {
  position: absolute;
  left: -1000em;
}
hr {
	display: none;
}
a img {
	border: none;
}
.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
