/* -*- coding: utf-8 -*-
	Based on: Smashing HTML5, dated July 2009, Version: 1.0,
	          "Sample layout for HTML5 and CSS3 goodness."
	which is licensed by:
		Smashing Media GmbH <http://www.smashingmagazine.com/>
	Original author: Enrique Ramírez <http://enrique-ramirez.com/>

	License: MIT <http://opensource.org/licenses/MIT>
*/

/* Imports */
@import url("reset.css");
@import url("pygment.css");

/***** Global *****/
/* Body */
body {
    background: #F5F4EF;
    color: #024;
    font-family: helvetica, sans-serif;
    line-height: 1.429;
    margin: 0;
    padding: 0;
}

/* Headings */
h1 {font-size: 180%; padding-bottom: 0.1em; border-bottom: 1px solid #034; }
h2 {font-size: 150% }
h3 {font-size: 130% }
h4 {font-size: 120% }
h5 {font-size: 110% }
h6 {font-size: 100% }

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 1.1;
	margin-top: .6em;
	margin-bottom: .6em;
	font-family: Monaco, monospace;
}

h3, h4, h5, h6 { margin-top: .8em; margin-bottom: .8em; }
	
hr { border: 1px; }

/* Anchors */
a { text-decoration: none; font-weight: bold; color: #034; }
a img {text-decoration: none; padding: 2px; margin-bottom: 0; }
a:hover img {border: 1px dotted #034; padding: 1px; }
a:link { color: #034; }
a:visited { color: #234; }
a:hover, a:active { border: 1px dotted #034; background-color: #dcf; }
a.image-reference:hover, a.image-reference:hover { border: none; background: none; }


section#content a[href^="http://"]:after, section#content a[href^="https://"]:after {
 content: "\002b00"; /* north east arrow */
}

/* Paragraphs */
div.line-block,
p { margin-top: .5em;
    margin-bottom: .5em;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

/* Lists */
ul {
	list-style: outside disc;
	margin: 0em 0 0 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 0em 0 0 1.5em;
}

li { margin-top: 0.5em;}

.post-info {
    float:right;
    margin:10px;
    padding:5px;
}

footer.post-info {
  border: 1px solid #000;
  background: #dcf;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.post-info p{
    margin-top: 1px;
    margin-bottom: 1px;
}

a.readmore {
  float: right;
  border:  1px solid #034;
  padding: 2px 4px 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-user-select: none;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

pre{background-color:  rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;}

/* Quotes */
blockquote {
    margin: 20px;
    font-style: italic;
}
cite {}

q {}

div.note {
   float: right;
   margin: 5px;
   font-size: 85%;
   max-width: 300px;
}

/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}
	
	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}
	
	tbody .alt td {}
	tbody .alt th {}
	
	/* Tfoot */
	tfoot th {}
	tfoot td {}
	
/* HTML5 tags */
header, section, footer, aside, nav, article, figure {
	display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto;}
img.right, figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: left; margin: 0 2em 2em 0;}

/**** Header ****/
#banner {
	margin: 0 auto;
	padding: 0.5em 0 0 0;
}

	/* Banner */
	#banner h1 {
	    font-size: 1.4em; text-align: right; color: #034;
	    margin-right: 1em; border-bottom: none;
	}
	#banner h1 a, #banner h1 a:link, #banner h1 a:visited {
	    border: none; padding: 0;
	    display: block;
	    margin: 0 0 .6em .2em;
	}
	#banner h1 a:hover, #banner h1 a:active {
	    border: none; padding: 0;
	    display: block;
	    margin: 0 0 .6em .2em;
	}
        #banner h1 a img {
	    position:absolute; left:1px; top:1px;
	    border: 1px; padding: 0;
	    z-index: 1;
	}
	#banner h1 a:hover img, #banner h1 a:active img {
	    position:absolute; left:1px; top:1px;
	    border: 1px dotted #034; padding: 0;
	}

	#banner h1 strong {font-size: 0.36em; font-weight: normal;}
	
	/* Main Nav */
	#banner nav {
	    background: #dcf;
	    font-size: 1.143em;
	    height: 36px;
	    line-height: 30px;
	    margin: 15px 0;
	    padding: 0;
	    text-align: center;
            border-bottom: 4px solid #034;
	}
	
	#banner nav ul {list-style: none; margin: 0 auto; margin-left: 150px;}
	#banner nav li {float: left; display: inline; margin: 0;}
	
	#banner nav a:link, #banner nav a:visited {
		color: #034;
		display: inline-block;
		height: 30px;
		padding: 3px 1.5em;
		text-decoration: none;
	}
	#banner nav a:hover, #banner nav a:active,
	#banner nav .active a:link, #banner nav .active a:visited {
		background: #107;
		color: #fff;
		text-shadow: none !important;
	}
	
	#banner nav li a {
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}

/**** Featured ****/
#featured {
    font-size: 87.5%;
    background: #efefff;
    width: 80%;

	margin-bottom: 2em;
	overflow: hidden;
	padding: 5px 20px 20px 20px;
	
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

#featured figure {
	border: 2px solid #eee;
	float: right;
	margin: 0.786em 2em 0 5em;
	width: 248px;
}
#featured figure img {display: block; float: right;}

#featured h2 {font-size: 1.714em; margin-bottom: 0.333em;}
#featured h3 {font-size: 1.429em; margin-bottom: .5em;}

#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;}
#featured h3 a:hover, #featured h3 a:active {color: #fff;}

/**** Body ****/
#content {
	background: #fff;
	overflow: hidden;
	padding: 15px 15px 15px 15px;
	width: 90%;
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/**** Extras ****/
#extras {margin: 0 auto 5em auto; overflow: hidden;}
#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
#extras h2 {
	color: #C74350;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}

#extras a:link, #extras a:visited {
	color: #444;
	display: block;
	border-bottom: 1px solid #F4E3E3;
	text-decoration: none;
	padding: .3em .25em;
}

#extras a:hover, #extras a:active {color: #fff;}

	/* Blogroll */
	#extras .blogroll {
		float: left;
		width: 615px;
	}
	
	#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}
	
	/* Social */
	#extras .social {
		float: right;
		width: 175px;
	}
	
	#extras div[class='social'] a {
		background-repeat: no-repeat;
		background-position: 3px 6px;
		padding-left: 25px;
	}
	
		/* Icons */
		.social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');}
		.social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');}
		.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
		.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
		.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
		.social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');}
		.social a[href*='github.com'],
		.social a[href*='git.io'] {background-image: url('../images/icons/github.png');}
		.social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');}
		.social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');}
		.social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');}
		.social a[href*='news.ycombinator.com'],
		.social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');}
		.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
		.social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');}
		.social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');}
		.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
		.social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');}
		.social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');}
		.social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');}
		.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
		.social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');}
		.social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');}

/**** About ****/
#about {
    width: 30%;
    float: right;
    font-size: 95%;
    font-style: italic;
    margin-right: 2em;
    margin-top: -0.2em;
    margin-bottom: 0.2em;
    background: #F5F4EF;
    font-style: normal;
    overflow: hidden;
    padding: 8px;
    text-align: center;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: right; width: 500px;}

/**** Footer ****/
#contentinfo {
  font-size: 75%;
  border-top: 4px solid #034;
  padding-left: 2em;
  padding-top: 1.5em;
  padding-bottom: 6em;
  background: #dcf;
}

/***** Sections *****/
/* Blog */
.hentry {
    font-size: 87.5%;
    background: #efefff;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    width: 85%;
    margin-bottom: 1.5em;
    padding: 2px 3% 2.5em;

	display: block;
	border-bottom: 1px solid #eee;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}
.hentry img{display : none ;}

.hentry .post-info * {font-style: normal;}

	/* Blog Index */
	#posts-list {list-style: none; margin: 0;}
	li#article_index { display: inline; clear: both; }

	ul#taglist { margin: 4px; list-style: none; }
	#taglist li {
	    display: block;
	    list-style: none;
	    border: none;
	    margin: 2px;
	    background: none;
	    padding: 2px;
	}

	#taglist li a { font-family: courier; font-weight: bold;
	    margin: 2px; border: 1px solid #034; padding: 2px;
	    background: #034; color: #fff; }
	#taglist li a:hover, #taglist li a:active {
	    margin: 2px; border: 1px solid #fff; padding: 2px;
	    background: #034; color: #fff;
	}

	/* About the Author */
	#about-author {
		background: #f9f9f9;
		clear: both;
		font-style: normal;
		margin: 2em 0;
		padding: 10px 20px 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
	#about-author strong {
		color: #C64350;
		clear: both;
		display: block;
		font-size: 1.429em;
	}
	
	#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}
	
	/* Comments */
	#comments-list {list-style: none; margin: 0 1em;}
	#comments-list blockquote {
		background: #f8f8f8;
		clear: both;
		font-style: normal;
		margin: 0;
		padding: 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
	
	#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
	
	/* Add a Comment */
	#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
	#add-comment input[type='text'],
	#add-comment input[type='email'],
	#add-comment input[type='url'] {float: left; width: 200px;}
	
	#add-comment textarea {float: left; height: 150px; width: 495px;}
	
	#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
	
	#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
	#add-comment * {margin-bottom: .5em;}

/*paginator*/
.paginator{height:36px;margin:18px 0;}
.paginator ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);}
.paginator li{display:inline;}
.paginator a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0;}
.paginator a:hover,.paginator .active a{background-color:#f5f5f5;}
.paginator .active a{color:#999999;cursor:default;}
.paginator .disabled span,.paginator .disabled a,.paginator .disabled a:hover{color:#999999;background-color:transparent;cursor:default;}
.paginator li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
.paginator li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
.paginator-centered{text-align:center;}
.paginator-right{text-align:right;}

/*tag_cloud*/
ul.tag_cloud { line-height: 150%; }
li#tag_cloud { display: inline; }
#taglist li a.tag-1 {font-size: 90%; background-color: rgba(0, 48, 64 1.0); }
#taglist li a.tag-2 {font-size: 75%; background-color: rgba(0, 48, 64, 0.8); }
#taglist li a.tag-3 {font-size: 60%; background-color: rgba(0, 48, 64, 0.6); }
#taglist li a.tag-4 {font-size: 45%; background-color: rgba(0, 48, 64, 0.3); }
