/*  
Theme Name: Jakub Korab 
Description: Custom WordPress theme for jakubkorab.net
Version: 1.0
Author: Lunamedia
Author URI: http://www.lunamedia.co.uk
*/

/* Layout */

@import url('reset.css');
@import url('text.css');

/* Global */

html{
	background: #eee url(images/top-tile.jpg) repeat-x 0 0;
}

body{
	width: 100%;
	margin: 0 auto;
}

#container{
	float: left;
	width: 100%;
	margin: 0 auto;
	font-size: 1.4em;
	line-height: 1.7em;
	background: #eee;
	color: #444;
}

#container-inner{
	width: 768px;
	margin: 0 auto;
}

/* Links */

a:link, a:visited{
	text-decoration: none;
	color: #86cb5a;
	-webkit-transition: color 0.2s linear; 
	-moz-transition: color 0.2s linear; 
	-o-transition: color 0.2s linear; 
	transition: color 0.2s linear;
}

a:hover, a:focus, a:active{
	color: #000;
	color: rgba(0,0,0,0.8);
	text-decoration: underline;
}

a:active{
	outline: none;
}

a img {
	border: none;
	display: block;
}

/* Header */


#header{
	float: left;
	width: 100%;
	height: 44px;
	background: #2e2e2e;
}

#header-inner{
	width: 750px;
	margin: 0 auto;
	background: #2e2e2e;
}

a#site-name{
	float: left;
	height: 44px;
	width: 166px;
	background: #86cb5a;
	-webkit-transition: background-color 0.2s linear; 
	-moz-transition: background-color 0.2s linear; 
	-o-transition: background-color 0.2s linear; 
	transition: background-color 0.2s linear;
}

a#site-name:hover{
	background: #2e2e2e;
}

a#site-name img{
	display: block;
}

#header ul {
	float: right;
	width: 308px;
	height: 24px;
	margin-top: 10px;
}

#header ul li{
	float: left;
	display: inline;
	margin-left: 20px;
}

#header ul li a{
	display: block;
	text-indent: -9999px;
	height: 24px;
	width: 24px;
}

#header ul li a#about-link{
	background: url(images/about.png) no-repeat 0 0;
}

#header ul li a#about-link:hover{
	background: url(images/about.png) no-repeat 0 -24px;
}

#header ul li a#ameliant-link{
	background: url(images/ameliant-icon.png) no-repeat 0 0;
}

#header ul li a#ameliant-link:hover{
	background: url(images/ameliant-icon.png) no-repeat 0 -24px;
}

#header ul li a#archive-link{
	background: url(images/archive.png) no-repeat 0 0;
}

#header ul li a#archive-link:hover{
	background: url(images/archive.png) no-repeat 0 -24px;
}

#header ul li a#search-link{
	background: url(images/search.png) no-repeat 0 0;
}

#header ul li a#search-link:hover{
	background: url(images/search.png) no-repeat 0 -24px;
}

#header ul li a#rss-link{
	background: url(images/rss.png) no-repeat 0 0;
}

#header ul li a#rss-link:hover{
	background: url(images/rss.png) no-repeat 0 -24px;
}

#header ul li a#twitter-link{
	background: url(images/twitter.png) no-repeat 0 0;
}

#header ul li a#twitter-link:hover{
	background: url(images/twitter.png) no-repeat 0 -24px;
}

#header ul li a#linkedin-link{
	background: url(images/linkedin.png) no-repeat 0 0;
}

#header ul li a#linkedin-link:hover{
	background: url(images/linkedin.png) no-repeat 0 -24px;
}


/* Content */


#content{
	width: 750px;
	margin: 60px auto;
}

.widget{
	float: left;
	width: 220px;
	padding: 10px;
}

.widget li{
	list-style: none;
}

.widget ul li ul, .widget ul li ul li ul{
	margin-bottom: 0.5em;
}

.widget ul li ul li, .widget ul li ul li ul li{
	margin-bottom: 0.5em;
}

.widget ul li a{
	color: #fff;
}


/* Footer */

#footer{
	clear: left;
	width: 750px;
	margin: 0 auto;
	padding: 40px 0;
	font-size: 0.9em;
	color: #999;
}

#footer ul li{
	display: inline;
	margin-left: 10px;
}

#footer ul li a{
}

#footer ul li a:hover{
	text-decoration: underline;
}

/* Posts */

.post{
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid #ddd;
}

p.post-date{
	margin-bottom: 5px;
}

p.postmetadata{
	margin-bottom: 15px;
	padding-top: 15px;
	font-size: 0.9em;
	color: #aaa;
}

body.single .postmetadata{
	border-top: 1px solid #ddd;
}

.entry ul, .entry ol{
	margin-left: 20px;
}

.entry ul li{
	list-style-type: disc;
	margin: 0.5em 0;
}

.entry ol li{
	list-style-type: decimal;
	margin: 0.5em 0;
}


/* Images */

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

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

img.alignright {
	margin: 0 0 5px 10px;
	display: inline;
}

img.alignleft {
	margin: 0 10px 5px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}

.index-thumbnail{
	float: left;
	margin: 0 10px 10px 0;
}

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

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 12px;
	line-height: 17px;
	padding: 5px 4px 5px;
	margin: 0;
}



/* Begin Comments */

h3#comments{
	padding-top: 25px;
}

ul.commentlist {
	margin: 20px 0;
	padding: 0;
}

ul.commentlist li {
	margin: 20px 0 0;
	padding: 20px 20px 20px 60px;
	position: relative;
	list-style: none;
}

ul.commentlist li cite.fn{
	margin: 0 0 10px 0;
	font-size: 1.3em;
	font-weight: normal;
	font-weight: 300;
}

ul.commentlist .avatar {
	position: absolute;
	top: 20px;
	left: 0;
	border: 1px solid #ddd;
}

ul.commentlist .commentmetadata {
	display: none;
}

ul.commentlist ul  {
	margin: 20px 0 20px 0px;
	padding: 0;
}

ul.commentlist ul li {
	border: 0;
	overflow: auto;
	padding-bottom: 0;
}

ul.commentlist li.even{
}

ul.commentlist li.odd{
}

ul.commentlist li.bypostauthor{
}

.says{
	display: none;
}

#commentform label{
	float: left;
	width: 200px;
}

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

#submit{
	padding: 0.75em 1.25em;
	font-size: 1em;
	background: #333;
	color: #fff;
	-webkit-transition: background-color 0.2s linear; 
	-moz-transition: background-color 0.2s linear; 
	-o-transition: background-color 0.2s linear; 
	transition: background-color 0.2s linear;
	border: none;
}

#submit:hover{
	background: #86cb5a;
	cursor: pointer;
}


/* Elements and Utility */

acronym, abbr, span.caps {
	cursor: help;
}

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

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 30px;
	font: italic 1em Georgia, "Times New Roman", Times, serif;
	line-height: 1.7em;
	color: #999;
	border-left: 1px dashed #86cb5a;
}

cite {
	margin: 5px 0 0;
	display: block;
	font-style: normal;
}

.center {
	text-align: center;
}

.clearleft{
	clear: left;
}

code{
	color: #c1590d;
}

.pagination{
	float: left;
	clear: left;
	width: 750px;
	text-align: center;
}

.split-third{
	float: left;
	width: 30%;
	margin-right: 3%;
}

.split-third ul{
	margin-bottom: 0;
}

.split-third ul ul{
	padding-left: 20px;
}

.split-third li{
	list-style-type: none;
}

#search-panel{
	background: #2e2e2e;
	height: 60px;
	display: none;
}

#custom-search{
	width: 244px;
	margin: 0 auto;
	padding-left: 506px;
}

#searchform #s{
	width: 242px;
	margin-top: 10px;
	padding: 10px;
	line-height: 1.5em;
	color: #777;
	border:solid 1px #aaa;  
	font-size: 1.2em;
}

body.single h1{
	color: #86cb5a;
}


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}


@media only screen and (max-device-width: 320px) {
	html{
	background: #eee url(images/top-tile-handheld.jpg) repeat-x 0 0;
	}
	#header{
	height: 88px;
	width: 320px;
	background: none;
	}
	#header-inner{
	width: 320px;
	background: none;
	}
	a#site-name{
	float: left;
	background: none;
	}
	#header ul {
		float: left;
		clear: left;
		width: 320px;
	}
	#header ul li{
	margin-left: 18px;
	}
	#container-inner{
	width: 320px;
	}
	#content{
	margin: 10px 0;
	overflow: hidden;
	}
	p,dl,hr,h1,h2,h3,h4,h5,h6, #content ol, #content ul,address,fieldset, blockquote, cite, .split-third, #footer{
	width: 300px;
	margin: 10px 0;
	padding: 0 10px;
	}
	.split-third{
	clear: left;
	}
	#custom-search{
	width: 300px;
	margin: 0 auto;
	padding-left: 0;
	}
}


