/*
Theme Name: TheGeek
Theme URI: http://thegeek.de/
Description: An ajax based personal theme
Version: 1.0
Author: Marc Schieferdecker
Author URI: http://thegeek.de/
Tags: prototype, ajax, scriptacoulus, geek, personal
*/

/* Main definitions */
* {
	margin:0em;
	padding:0em;
	text-decoration:none;
	font-size:1em;
}

a:link, a:visited, a:hover {
	color:#000;
	text-decoration:underline;
}

/* Body definitions */
body {
	background-color:#FFF;
	background-image:url('images/body_bg.jpg');
	background-repeat:repeat-x;
	font-size:76%;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}

/* Wrapper */
#wrap {
	width:880px;
	margin:auto auto;
}

/* Head */
#head {
	font-family:"Times New Roman", Times, serif;
	font-size:4em;
	height:100px;
	text-align:center;
	border-bottom:1px solid #CCC;
}
#head h1 {
	padding-top:22px;
	font-weight:normal;
	color:#333;
}
#head h1 a:link, #head h1 a:visited {
	text-decoration:none;
}

/* Subhead */
#subhead {
	margin-top:3px;
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	height:50px;
	font-size:1.2em;
	text-align:center;
}
#subhead h2 {
	padding-top:15px;
	font-weight:normal;
}

/* Main menu */
#menu {
	overflow:hidden;
	margin-top:3px;
	border-top:1px solid #CCC;
	color:#999;
}
#menu .padding {
	padding-top:40px;
}
#menu ul, #menu ul li {
	list-style-type:none;
	list-style-position:inside;
}
#menu ul li {
	float:left;
	margin-right:36px;
	width:184px;
}
#menu ul li.selected {
	color:#000;
}
#menu ul li:hover {
	color:#000;
}
#menu .menu_head {
	font-weight:bold;
	font-size:1.4em;
	font-weight:normal;
	margin-bottom:0.6em;
}
#menu .menu_text {
	font-size:1.2em;
}
#menu ul li a:link, #menu ul li a:visited {
	color:#999;
}
#menu ul li.selected a:link, #menu ul li.selected a:visited {
	color:#000;
}
#menu ul li a:hover {
	color:#000;
}

/* Main content layer */
#wrap_content {
	margin-top:40px;
	background-color:#F4F4F4;
	min-height:350px;
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	text-align:center;
}
#content {
	margin:auto auto;
	margin-top:1em;
	margin-bottom:1em;
	text-align:left;
	width:880px;
}
#content h3 {
	font-size:2.2em;
	font-weight:normal;
	font-family:"Times New Roman", Times, serif;
	margin-bottom:0.4em;
}
#content #entrys {
	font-size:1.2em;
	color:#666;
}

/* Footer */
#footer {
	width:880px;
	margin:auto auto;
	text-align:center;
	color:#999;
	margin-top:1em;
	margin-bottom:1em;
}
#footer .omnicode {
	font-size:0.7em;
	font-family:Arial narrow,narrow;
}

/* WP base styles */
#content p {
	margin-bottom:1em;
}
#content h4 a:link, #content h4 a:visited {
	text-decoration:none;
	font-weight:bold;
}
#content h4 a:hover {
	text-decoration:underline;
}
#content .small {
	font-size:0.9em;
	font-family:Arial,Helvetica,serif;
	margin-bottom:1.8em;
	color:#AAA;
}
#content .small a:link, #content .small a:visited {
	color:#AAA;
}
#content .small a:hover {
	color:#000;
}
.postmetadata {
	color:#999;
}
.postmetadata a:link, .postmetadata a:visited {
	color:#999;
}
.postmetadata a:hover {
	color:#000;
}
.post {
	border-top:1px solid #CCC;
	padding-top:1em;
	color:#333;
}
.entry img {
}
.entry a img {
	border:10px solid #FFF;
	margin-left:1em;
	margin-right:1em;
}
.category-fotografie .entry a img {
	border:10px solid #FFF;
	margin-left:0px;
}
.alignright {
	text-align:right;
}
.alignleft {
	text-align:left;
}
.navigation {
	margin-top:0.5em;
	margin-bottom:1em;
}
a.more-link {
	font-weight:bold;
}
.entry ul, .entry ul li {
	margin-left:1.2em;
	list-style-type:square;
}
.entry ol, .entry ol li {
	margin-left:1.2em;
}
.entry ol, .entry ul {
	margin-bottom:1em;
}
.entry blockquote {
	margin-left:60px;
	padding-left:5px;
	border-left:5px solid #999;
	background-color:#FFF;
}
.entry .tipp {
	overflow:hidden;
	width:50%;
	float:right;
	color:#999;
	background-color:#FFF;
	padding:5px;
	padding-top:2px;
	padding-bottom:3px;
	margin-bottom:0.8em;
	margin-left:1em;
	border:1px solid #999;
	border-top-color:#CCC;
	border-left-color:#CCC;
	background-color:#FFF;
}

/* Comments */
#respond h4 {
	font-size:1.1em;
	margin-bottom:0em;
	line-height:50%;
}
#comments {
	font-size:1.1em;
	margin-bottom:0.5em;
}
.comment, .pingback {
	background-color:#FFF;
	padding:5px;
	margin-bottom:5px;
	border:1px solid #666;
	border-left-color:#AAA;
	border-top-color:#AAA;
}
.bypostauthor {
	background-color:#EEFFEE;
}
.comment .comment-body {
	margin:10px;
}
.comment .comment-body .commentmetadata {
	margin-bottom:10px;
	border-bottom:1px solid #CCC;
	min-height:26px;
}
.commentmetadata a:link, .commentmetadata a:visited {
	text-decoration:none;
}
.commentlist {
	margin-bottom:1.5em;
}
.commentlist li, #commentform input, #commentform textarea {
	font-size:0.9em;
}
.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;
}
.commentmetadata {
	font-weight:normal;
}

#commentform p {
	font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#commentform textarea, #commentform input {
	border:1px solid #666;
	border-left-color:#AAA;
	border-top-color:#AAA;
}
#commentform p, #content #commentform div.small {
	margin:0em;
}
#commentform input#submit {
	margin-left:0.5em;
}
.commentlist .pingback {
	font-size:10px;
	background-color:#EEE;
	margin:0em;
	padding-bottom:0px;
}
.commentlist .pingback a {
	font-weight:normal;
}
.commentlist .pingback .says {
	display:none;
}

/* DDSG Sitemap */
div.ddsg-wrapper ul, div.ddsg-wrapper ul li {
	margin-left:1em;
	margin-top:1.2em;
	list-style-type:square;
}
div.ddsg-wrapper ul li ul li {
	margin-top:0em;
}
div.ddsg-wrapper div p {
	display:none;
}

/* Code-Tag with no javascript */
.entry pre {
	margin-bottom:2em;
	font-weight:bold;
}

/* =Images
-------------------------------------------------------------- */
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
.entry .wp-caption a img {
	border: none;
	margin-left: 0em;
	margin-right: 0em;
}
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #ccc;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #666;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #666;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
