/*
Theme Name: KungFu-Herne
Theme URI: 
Description: A premium magazine-style layout for Wordpress with multiple functionalities inspired by the great themes of Brian Gardner and Darren Hoyt
Version: 0.1 (released 2010-10-10)
Author: Christian Kubiak
Author URI: 

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Credits
=======

Thanks to Darren Hoyt and his "Mimbo" theme which has been a great inspiration
and a good source for lots of the code I used for this theme especially the intensive
use of custom fields.

Thanks to Brian Gardner and "Revolution" which inspired me to put the two additional
page layouts "Featured Page" and "3-Column-Page" into the theme.

Thanks to Patrick Griffiths who delivered the script for the dropdown menues. 
http://www.htmldog.com/articles/suckerfish/dropdowns/

I�d also like to thank Klaus Hartl (stilbuero.de) for the brilliant script I used 
for the tabbed section with the fade effect.

And last but not least my very special thanks go out to all of you out there
using the theme and sending me tons of emails telling me how great this theme is.

THANK YOU ALL!!!



/******************************************
*   HTML Elements                         
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html { min-height:101%; }
	
body {
    background: #FAF9F7 url(images/background.png) left top repeat-x;
	color: #333;
	padding: 10px 0 25px 0;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	margin: 10px 0;	}


hr {
	display: block;
	height:1px;
	background:#999;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 0px;
	}


/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#333;
	text-decoration: underline;
	}

a:hover	{ 
	color:#333;
	text-decoration: none; 
	}

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #000000;
	text-decoration: none;
	} 
.title:hover {
	color: #000000;
	text-decoration: underline;
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {text-decoration:none;}
h3 a:hover {text-decoration:underline;}

h4 a:link, h4 a:active, h4 a:visited  {color:#666; text-decoration:none;}
h4 a:hover {text-decoration:underline;}


/* Links in the sidebar */
.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
	background: #fff;
	display:block;
	padding:4px 4px 4px 20px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #EFEFEF;
	text-decoration:none!important;
	}

#sidelist a:link, #sidelist a:active, #sidelist a:visited {text-decoration:none;}
#sidelist a:hover {text-decoration:underline;}
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#EFEFEF;
	color: #666;
	}
#sidelist .children li a:hover, #sidelist .children li a:active	{
	color:#000;
	text-decoration:none!important;
	}

/* Links in unordered lists */
.bullets li a { text-decoration:none!important;	}
.bullets li a:hover { text-decoration:underline!important;	}

/* How tags appear */
.tags a {text-decoration:none;}
.tags a:hover {text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}



/******************************************
*   Images                         
******************************************/

/*** default image behaviour ***/
img { border:1px solid #999; padding:1px; }

img.noborderleft { border:0px; padding:2px; float:left; }

img.white { border:0px; padding:2px;}

/*** WordPress specific image classes ***/
/* top-right-bottom-left*/

.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin: 0px 15px 4px 0px;
}

.alignright {
float: right;
margin: 0px 0px 4px 15px;
}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
}

.wp-caption img{
   padding:2px;
   border:1px solid #999;
}

.wp-caption img:hover{
   border:1px solid #333;
}

.wp-caption p.wp-caption-text {
   color:#666;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}


		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:800px;
	margin:0 auto;
	font-size:1em;
	background:#FFF;
	padding: 0px 25px 35px 25px;    /* top-right-bottom-left*/
	}

#pagetopheader {
	width:849px;
    height:45px;
	margin:0 auto;
	background:#000033;
	padding: 0px 1px 0px 1px;    /* top-right-bottom-left*/
	border-bottom:1px solid #000;
	}

#pageheader {/*where the logo sits*/
	width:849px;
	height:100px;
    margin:0 auto;
	padding-bottom:15px;
    background: #00002F url(images/pageheader-bg.png) left top no-repeat;
	}

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 250px;
	float:right;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:250px;
	border-right:1px solid #b6b6b6;
	padding-right:15px;
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:220px;
	padding-left:15px;
/*	margin-top: -2px; */
	text-align:justify;
	}

#subtopnews {
    width: 490px !important;
    background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:5px;
	border: 1px solid #ccc;
    }


/******************************************
*   Sidebar                         
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

#sidelist li {
	list-style:none;
	}
	
.bullets li {
	margin:0 0 5px 15px;
	list-style:square;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

#sidelist .children {
	background:#EFEFEF;
	}

#sidelist .children li {
	background: #EFEFEF;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}

	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #FFFFFF;
	font-size: 1.8em;
	font-family: Georgia, Arial;
	font-weight: normal;
	padding:10px 0px 0px 40px;    /* top-right-bottom-left*/
    margin: 0px 0px 0px 0px;
}

.description {
	font-size: 1.3em;
	font-weight: bold;
    font-style: italic;
    color: #CCCCCC;
    padding: 15px 0px 0px 80px;   /* top-right-bottom-left*/
    margin: 0px 0px 0px 0px;
}

#blogtitle {
    position:relative;
    left:0px; top:10px; height:100px; width: 505px;
  }


h1 {
	color: #000000;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0px 10px 0px 0px;
	padding: 15px 0px 8px 0px;        /* top-right-bottom-left*/
}

h2, #featured-leftcol h2, #featured-rightcol h2, #featured-content h2 {
	color: #000000;
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #999999;
	margin: 20px 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:bold;
	color:#000000;
	}

#featured-sidebar h3, #sidebar h2, #featured-sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#000000;
	}

#featured-sidebar h3, #sidebar h3, #featured-sidebar h2, #sidebar h2 {
	font-size:0.9em;
	/*border-top:3px double #999; */
	border-bottom:1px solid #ccc;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	color:#000000;
	}

h3#respond {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;
	}

h4 a:link, h4 a:visited {
    font: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
	color:#000000;
	margin-bottom:0px;
	}
	
h4 {
    font: 1.2em Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
	color:#000000;
	margin-bottom:3px;
	}
	
/******************************************
*   Content                        
******************************************/

#content {
	width:505px;
	float:left
	}


/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	}

.feature p, #rightcol p { margin:0;	}

/*#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}*/

#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #000000;
	letter-spacing:normal;
	}
		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#000000!important;
	text-decoration:none;
	}
	
.read-on a:hover {
	text-decoration:underline;
	}

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block;
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}	
	


/* Post Formatting */


.entry {
	padding-bottom:28px;
	text-align:justify;
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;
	}	
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background:#F4F4EC;
	border-top:1px solid #E6E3D3;	
	border-bottom:1px solid #E6E3D3;	
	}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%;
	}
	

#searchform {
    width: 240px;
    padding:20px 0px 0px 0px; /* top-right-bottom-left*/
    }

.button {
	padding: 1px;
	background:#000033;
	color:#FFFFFF;
	border:none;
	}

.button:hover {
	background:#666;
	color:#FFF;
	text-decoration:none
	}

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

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}



/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}
	
	
/******************************************
*   Footer
******************************************/

#footer {
	margin: 0 auto;
	width: 900px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	color:#999999;
	}

#footer a {
	color:#999999;
	}

/******************************************
*   Eigende Klassen
******************************************/
.welcomebox {
	background: /*url(img/bgtourbox.jpg) repeat-x*/ #EFEFEF;
    width: 240px;
    height: 140px;
    margin-bottom: 5px;
	padding:5px;
	border: 1px solid #DCDCDC;
    }

.boxtour {
	background: /*url(img/bgtourbox.jpg) repeat-x*/ #EFEFEF;
    width: 240px;
    height: 95px;
    margin-bottom: 5px;
	padding:5px;
	border: 1px solid #DCDCDC;
    }

h3.article {
   	font: 0.9em Georgia, "Times New Roman", Times, serif;
	letter-spacing:0.1em;
    padding-bottom: 8px;
    margin-top:30px;
	margin-bottom:20px;
    border-bottom:1px solid #999999;
	font-weight:bold;
	color:#000000;
   }

#subheader {
	width:800px;
	height:88px;
	padding-bottom:0px;
	background:url(img/subheader1.jpg) no-repeat;
}

.page_item {
}
.current_page_item {
}

/* Menu MOD */
/* NAVIGATION MENUS */

#pagemenucontainer {
    height: 45px;
    float: right;
    padding: 0;
    background: url(images/pagenav-bg.png) left top repeat-x;
    }


#pagemenu, #pagemenu ul {
        padding: 0;
        margin: 0;
        list-style: none;
        line-height: 1;
        }
#pagemenu {
        margin-bottom: 1px;
        height: 45px;
        }

#pagemenu ul {
        float: left;
        list-style: none;
        margin: 0px 0px 0px 0px;
        padding: 0px;
        }

#pagemenu li {
        float: left;
        list-style: none;
        margin: 0px;
        padding: 0px;
        }

#pagemenu ul li {
        list-style: none;
        margin: 0px;
        padding: 0px;
        }

#pagemenu li a, #pagemenu li a:link {
        color: #FFFFFF;
        display: block;
        margin: 0;
        padding: 16px 16px;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 11px;
        font-family: Arial, Helvetica, sans-serif;
        /*background: url(images/pagenav-sep.png) left top no-repeat;*/
        }

#pagemenu li a:hover, #pagemenu li a:active {
        color: #FFFFFF;
        display: block;
        text-decoration: none;
        }

#pagemenu  li.current_page_item a {
        color:#FFFFFF;
        text-decoration: none;
        }

#pagemenu li:hover, #pagemenu li.sfhover {
        position: static;
        }


#navcontainer {
        height: 36px;
        display: block;
        overflow: hidden;
        background: url(images/container-bg.png) left top repeat-x;
        }

#navcontainer .current-cat a {
        background: #ffffff;
        color:#cc8b02;
        }

#wrapper {
}




