/*
Theme Name: kackreiz.D
Theme URI: http://www.kackreiz.net
Description: kackreiz.net Theme
Version: 1.2
Author: Jan Varwig
Author URI: http://www.kackreiz.net/
*/

body {
	font-family: Georgia, Helvetica, Tahoma, Arial, Verdana;
	font-size: 14px;
	color: #333333;
}

#frame {
    width: 970px;
    position: relative;
    margin: auto;
}

#header {
    padding-top: 50px;
    position: relative;
	margin-bottom: 50px;
	height: 237px;
}

#header #images img {
    position: absolute;
    display: none;
    bottom: 0;
    left:0;
    width: 970px;
    height: 237px;
}

#header h1 {
    z-index: 10;
    position: absolute;
    top: 0;
    background: white;
    padding: 0;
    font-family: "Helvetica Neue";
    font-weight: lighter;
    font-size: 28px;
    line-height: 50px;
}

#nav {
	font-size: 16px;
	font-family: "HelveticaNeue", "Gill Sans", "Garamond Premier Pro", Garamond, Helvetica, "Trebuchet MS", "Georgia";
	letter-spacing: 1px;
    display: block;
    width: 100%;
	font-variant: small-caps;
	text-align: center;
	height: 30px;
	line-height: 30px;
	position: absolute;
	bottom: 0;
}

#nav li {
    float: left;
    width: 20%;
}

#nav li.current_page_item a, #nav li.current_page_parent a  {
	color: #444444;
    background: white;
    text-shadow: none;
}

#nav a {
    display: block;
    width: 100%;
	text-decoration: none;
	text-shadow: black 1px 1px 3px;
/*    background: rgba(0,0,0,0.2);*/
    color: white;
}

#main {
    position: relative;
    line-height: 1.6;
}

#content {
    width: 630px;
    margin: 0 10px;
}

#sidebar {
  position:absolute;
  right: 10px;
  top: 0;
  width: 230px;
}

#footer {
    clear: both;
}

/*********************** Footer ********************************************/

div#footer {
	text-align: center;
	margin-top: 100px;
}

/*********************** Entrydetails ********************************************/

.entry:hover .semihidden {
	visibility: visible;
}

.semihidden {
	visibility: hidden;
}

.postmeta {
    margin-bottom: 1em;
	font-size: 10px;
	color: #666666;
}

.postmeta a {
	color: #5555DD;
}


/*********************** Gallery ********************************************/

#content.photography-content {
    width: auto;
    margin: 0 0 0 10px;
}

#content.photo {
    width: 800px;
    margin: auto;
}

#content.photo .attachment {
    text-align: center;    
    position: relative;
}

.gallery-item {
    border: 0;
    width: 230px;
    min-height: 183px;
    display: -moz-inline-stack;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    zoom: 1;
    *display: inline;
}
.gallery-item img {
    vertical-align: middle;
}

.gallery-caption {
    margin-left: 0;
}

.photo .navleft, .photo .navright {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
}

.photo .navleft a, .photo .navright a {
    display: block;
    height: 100%;
    vertical-align: middle;
}

.photo .navleft {
    left: -20px;
    text-align: left;
}

.photo .navright {
    right: -20px;
    text-align: right;
}

.photo .navleft:hover {
    background: rgba(0,0,0,0.1);
    background: url(circleleft32.png) no-repeat 0 50%;
}

.photo .navright:hover {
    background: rgba(0,0,0,0.1);
    background: url(circleright32.png) no-repeat 100% 50%;
}


/*********************** Styles *********************************************/

.intro {
    font-size: 140%;
}

div.entry {
	margin-bottom: 50px;
}

a {
	color: #2020FF;
	text-decoration: none;
}

a img {
	border: 0;
}

p > img:first-child, p.image {
	text-align: center;
	font-size: 10px;
}

p {
	margin: 0;
	margin-bottom: 12px;
	margin-top: 5px;
}

div.entry p a {
	color: #2020FF;
}

div#main h1 {
	font-family: "HelveticaNeue-Light", "Gill Sans", "Garamond Premier Pro", Garamond, Helvetica, "Trebuchet MS", "Georgia";
	font-size: 26px;
	margin: 0;
	padding: 0;
	font-weight: normal;
	margin-top: 50px;
}

h2 {
	font-size: 24px;
	font-family: "HelveticaNeue-Light", "Gill Sans", "Garamond Premier Pro", Garamond, Helvetica, "Trebuchet MS", "Georgia";
	font-weight: lighter;
	margin-top: 50px;
}

h1 a, h2 a {
	text-decoration: none;
	color: #222;
}
h1 a:hover, h2 a:hover {
	text-decoration: none;
	color: rgb(32,32,255);
}
h3 {
	font-family: "HelveticaNeue-Light", "Gill Sans", "Garamond Premier Pro", Garamond, Helvetica, "Trebuchet MS", "Georgia";
	font-size: 21px;
	font-weight: lighter;
}

h4 {
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 15px;
}

blockquote {
	border-left: 1px solid #BBB;
	padding-left: 10px;
}

#main ul {
    list-style-type: square;
    margin-left: 1em;
}

#main ol {
    list-style-type: decimal;
    margin-left: 1em;
}


/* Wordpress images */

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

/*********************** hidden stuff *****************************************/

.post-edit-link {
    display: block;
    position: absolute;
    left: -100px;
    opacity: 0.1;
}


/*********************** Kommentare ********************************************/

div.comments {
	margin-top: 50px;
}

div#main h3.comments {
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}
div.comment_name {
	border-bottom: 1px solid #BBB;
}
div.comment_date {
	font-size: 10px;
	float: right;
	color: #777;
}
div.commentbody {
	margin-left: 30px;
	margin-bottom: 10px;
	margin-right: 30px;
	clear:left;
}
span.official_comment {
	/* color: #990; */
	font-style: italic;
}

/*********************** Formulare ********************************************/
form .styled {
	border: 1px solid #777;
	font-family: "Trebuchet MS";
}
form.commentform textarea {
	width: 440px;
	font-family: "Trebuchet MS";
	font-size: 12px;
}
form #submit {
	font-family: "Trebuchet MS";
}
form label {
	color: gray;
}
form.commentform p {
	margin-bottom: 5px;
	margin-left: 30px;
}

/*********************** Navigation im Archiv *********************************/

div.navigation {
	display: block;
	text-align: center;
	margin: 18px 0;
}

/*********************** Code Highlighter *************************************/

div.dean_ch {
	white-space: nowrap;
	border: hidden;
	border-left: 1px dotted #A0A0A0;
	background: white;
	border: hidden;
}

.dean_ch {
  overflow:hidden;
}

.dean_ch:hover {
  overflow:visible;
  background: white;
  background-transparency: 50%;
}
