/* @override 
	http://www.typewriterguerilla.com/wp-content/themes/typewriter-guerilla/style.css */

/*
Theme Name: Typewriter Guerilla
Theme URI: http://hashcooki.es/
Description: A custom theme built for Claude Alvares's worksite, using responsive CSS3, HTML5 and jQuery AJAX, based on the Starkers barebones theme
Version: 1.0
Author: Milind Alvares
Author URI: http://hashcooki.es/
Tags: starkers, html5, naked, clean, basic
*/


/* RESET */
/* ----------------------------------------- */

/**
 * Eric Meyer's Reset Stylesheet
 *
 * v2.0
 * 2011-01-26
 * Author: Eric Meyer - http://meyerweb.com/eric/tools/css/reset/
 */

html, body, div, span, applet, object, iframe,
blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* LAYOUT */
/* ----------------------------------------- */

/* Presentational classes generated by WordPress */
.aligncenter	{ display: block; margin: 0 auto; }
.alignleft		{ float: left; margin: 0 20px 20px 0; }
.alignright		{ float: right; margin: 0 0 20px 20px; }
.wp-caption		{ border: 1px solid #999; text-align: center; background: #eee; padding: 10px; margin: 10px; }



@font-face {
    font-family: 'Museo300';
    src: url('fonts/museo300-regular-webfont.eot');
    src: url('fonts/museo300-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo300-regular-webfont.woff') format('woff'),
         url('fonts/museo300-regular-webfont.ttf') format('truetype'),
         url('fonts/museo300-regular-webfont.svg#Museo300') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Museo500';
    src: url('fonts/museo500-regular-webfont.eot');
    src: url('fonts/museo500-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo500-regular-webfont.woff') format('woff'),
         url('fonts/museo500-regular-webfont.ttf') format('truetype'),
         url('fonts/museo500-regular-webfont.svg#museo500') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'CallunaItalic';
    src: url('fonts/calluna-it-webfont.eot');
    src: url('fonts/calluna-it-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/calluna-it-webfont.woff') format('woff'),
         url('fonts/calluna-it-webfont.ttf') format('truetype'),
         url('fonts/calluna-it-webfont.svg#CallunaItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'CallunaRegular';
    src: url('fonts/calluna-regular-webfont.eot');
    src: url('fonts/calluna-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/calluna-regular-webfont.woff') format('woff'),
         url('fonts/calluna-regular-webfont.ttf') format('truetype'),
         url('fonts/calluna-regular-webfont.svg#CallunaRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* font faces end --------------------------------------- */



body {
    overflow: auto;
    height: auto;
    background: url('images/bg.jpg') repeat-y 36.1702127659574% top;
    background-attachment: fixed;
}

.js body {
    background: url('images/bg.jpg') repeat-y 36.1702127659574% top;
    background-attachment: fixed;
    height: 100%;
    overflow: hidden;
}



a {
    text-decoration: none;
    color: #4f6a00;
    -webkit-transition-duration: 400ms;
    -moz-transition-duration: 400ms;
    transition-duration: 400ms;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

header#header {
    width: 36.1702127659574%;
    height: 100%;
    position: fixed;
}

header#header h1 {
    text-indent: -9999px;
    width: 281px;
    height: 85px;
    background: url('images/logotype.png') no-repeat left top;
    margin: 70px 15% 0 0;
    float: right;
    z-index: 10;
}


nav#post-navigation {
    margin: 0 auto;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 20px;
}

nav#post-navigation a {
    color: #333 !important;
}

nav#post-navigation a:first-child {
    margin-right: 50px;
}

nav#navigation {
clear: both;
width: 100%;
overflow: auto;
}

nav#navigation ul {
    font: normal 18px/1.5em Museo300, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 50px 15% 0 0;
    float: right;
    padding-left: 0;
}

nav#navigation ul li {
    list-style-type: none;
    color: white;
    text-align: left;
    margin-bottom: 10px;
      padding: 5px 25px 0px 15px;
      -webkit-transition-duration: 400ms;
    -moz-transition-duration: 400ms;
    transition-duration: 400ms;
}

nav#navigation ul li:hover  {
    background: -moz-linear-gradient(45deg,  rgba(140,142,164,0.15) 0%, rgba(128,177,219,0) 81%, rgba(125,185,232,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(140,142,164,0.15)), color-stop(81%,rgba(128,177,219,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(45deg,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(45deg,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(45deg,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* IE10+ */
    background: linear-gradient(45deg,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#638c8ea4', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
        border-radius: 5px;
}

body nav#navigation ul li.current {
background: -moz-linear-gradient(45deg,  rgba(140,142,164,0.39) 0%, rgba(128,177,219,0) 81%, rgba(125,185,232,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(140,142,164,0.39)), color-stop(81%,rgba(128,177,219,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(45deg,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(45deg,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(45deg,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* IE10+ */
background: linear-gradient(45deg,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#638c8ea4', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

text-align: left;
margin-left: -15px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
}




#navigation ul li a {
    color: #ddd;
    text-indent: -9999px;
    display: block;
    margin-top: 7px;
    width: 80px;
    opacity: 0.8;
    -moz-outline-style: none;
}

a:active, a:focus {
    -moz-outline-style: none;
    outline-style: none;
}

#navigation ul li a:hover, #navigation ul li#current a {
    opacity: 1;
}

#navigation ul li#nav-blog a  {
     background: url('images/nav-titles.png') no-repeat left top;

 }
 
#navigation ul li#nav-projects a  {
     background: url('images/nav-titles.png') no-repeat left -47px;

 }

#navigation ul li#nav-books a  {
     background: url('images/nav-titles.png') no-repeat left -94px;     

 }


 #navigation ul li#nav-videos a  {
     background: url('images/nav-titles.png') no-repeat left -141px;     

 }


#navigation ul li a:hover {
    color: #fff;
}

section#content {
    overflow-y: auto;
    width: 63.8297872340426%;
    float: left;
    margin-left: 36.1702127659574%;
}

.js section#content {
    
    overflow-y: scroll;
}



.js ::-webkit-scrollbar {
width: 10px;
height: 10px;
}

.js ::-webkit-scrollbar-track-piece  {
background-color: #fafafa;
-webkit-border-radius: 6px;
border: 1px solid #f1f1f1;

}

.js ::-webkit-scrollbar-button:start:decrement,
.js ::-webkit-scrollbar-button:end:increment  {
height: 30px;
display: block;
background-color: transparent;
}

.js ::-webkit-scrollbar-thumb:vertical {
height: 50px;
background-color: #ddd;
border: 1px solid #eee;
-webkit-border-radius: 6px;

}

article {
    margin-bottom: 50px;
    padding-top: 50px;
    width: 76.6666666666667%;
    max-width: 600px;
    margin: 20px auto 0;
}


article header {
        border-bottom: 1px solid #ddd;
        width: 56.6666666666667%;
        margin: 0 auto;
}


article header h2 {
    font-family: Museo500, Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 10px;
    line-height: 140%;
}

article header h1 {
    font-family: Museo500, Helvetica, Arial, sans-serif;
    font-size: 24px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 10px;
    line-height: 140%;
}

article header .title-meta {
    text-align: center;
        padding-bottom: 15px;
        font-size: 14px;    
        font-family: calluna;
        color: #aaa;
}

article header a.post-permalink {
     color: #aaa;
 }
 
article header a.post-permalink:hover {
    color: #333;
}

article header h2 a, article header h1 a {
    text-decoration: none;
    color: #4f6a00;
}

article p {
    font-family: CallunaRegular, Georgia, 'Times New Roman', sans-serif;
    font-size: 16px;
    line-height: 160%;
}

article p em {
    font-family: CallunaItalic, sans-serif;
} 

#content nav {
    width: 75%;
    margin: 0 auto;
    font-size: 14px;
    margin-bottom: 50px;
}

#content nav a {
    color: #4f6a00;
    text-decoration: none;
}

#content footer {
    text-align: CallunaItalic;
    font-style: italic;
    border-top: 1px solid rgba(0, 0, 0, .15);
    width: 90%;
    margin: 50px auto 0;
        position: relative;
        text-align: center;
}

footer {
    position: fixed;
    bottom: 10px;
    width: 36.1702127659574%;
}



footer ul {
    float: right;
    margin-right: 15%;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 15px;
}

footer ul li {
    list-style-type: none;
    float: left;
    font-family: Museo300, Helvetica, Arial, sans-serif;
    margin-left: 10px;
    font-size: 12px;
}

footer ul li a {
    color: rgba(255, 255, 255, .55);
}

footer ul li a:hover {
    color: rgba(255, 255, 255, 1);
}

div.loader {
    text-indent: -9999px;
    width: 24px;
    height: 24px;
    background: url('images/loader.gif') no-repeat left top;
    margin: 0 auto;
}

p.loader-p {
    text-align: center;
    margin-top: 80px;
    font-style: italic;
    font-family: Calluna;
    }
    
p.loader-p a {
    color: #ccc;
}

p.loader-p a:hover {
    color: #333;
}

img.loader-preload {
    display: none;
}

#hash {
    position: fixed;
    bottom: 0px;
    right: 5px;
    padding: 3px 12px 0;
    border-radius: 5px;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -webkit-transition-duration: 1600ms;
    -moz-transition-duration: 1600ms;
    transition-duration: 1600ms;
    width: 185px;
    height: 42px;
}

#hash p {
    float: left;
    margin-right: 5px;
        font-family: Museo300, Helvetica, Arial, sans-serif;
    font-size: 12px;
    margin-top: 14px;
    opacity: 0;
     -webkit-transition-duration: 800ms;
     -moz-transition-duration: 800ms;
     transition-duration: 800ms;
}

#hash img {
    opacity: 0.3;
    width: 30px;
    float: right;
    margin-top: 5px;
    -webkit-transition-duration: 800ms;
    -moz-transition-duration: 800ms;
    transition-duration: 800ms;
}

#hash:hover {
    background: #fff;
    box-shadow: 0px 0px 5px rgba(0,0,0, 0.3);
}

#hash:hover p {
    opacity: 1;
}

#hash:hover img {
    opacity: .7;
}

/* Books page */

#post-90 h3 { 
        font-family: Museo500, Helvetica, Arial, sans-serif;
    margin-bottom: 16px;
    margin-top: 1em;
    font-size: 24px;
}

#post-90 div, #post-87 div {
    margin-bottom: 10px;
    padding-bottom: 20px;
    width: 100%;
    overflow: auto;
    border-bottom: 1px solid #eee;
}


#post-90 img {
    width: 100px;
    float: left;
    padding: 0 15px 10px 0;
}

#post-90 p {

}

#post-90 p.meta {
    font-size: 14px;
}


/* @end Books page */



/* Projects page */

#post-87 h3 {
    font-family: Museo500, Helvetica, Arial, sans-serif;
    margin-bottom: 5px;
    font-size: 24px;
    margin-top: 1em;
}


#post-87 p {
    margin-top: 0px;
    margin-bottom: 7px;
}

#post-87 p.meta {
    font-size: 14px;
    margin-top: 0;
}



/* @end Projects page */




@media screen and (max-width: 940px) {

    #hash {
        z-index: 10;
        bottom: 0;
        height: 39px;
    }
    
    #hash:hover {
        background: transparent;
        box-shadow: none;
    }
    
    #hash img {
        opacity: .2;
    }
	
	.js section#content {
	    width: 100%;
	    margin-left: 0px;
        margin-top: 170px;
	    clear: both;
	}
	
	.js body {
	    background: none;
	}
	
    header#header {
	    width: 100%;
	    background: url('images/bg.jpg') repeat-y left top;
	    height: 190px;
	    top: 0;
	    float: none;
	    left: 0;
	    
	}
	
	header#header h1 {
	margin: 0 auto;
	    margin-top: 30px;
	    margin-bottom: 30px;
	    float: none;
	    background-position-y: bottom;
	    position: relative;
	}
	
	nav#navigation {
	    position: relative;
	    width: 100%;
	    margin: 0 auto;
	}
	
	nav#navigation ul {
	    width: 270px;
        border-top: 0px;
        margin: 0 auto;
        float: none;
	}
	
	nav#navigation ul li {
	    float: left;
	    margin: 0 7px;
        text-align: center;
        padding-right: 0;

	}
	
	nav#navigation ul li a {
	color: white;
	}
	
    
    body nav#navigation ul li:hover {
    background: -moz-linear-gradient(top,  rgba(140,142,164,0.15) 0%, rgba(128,177,219,0) 81%, rgba(125,185,232,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,142,164,0.315)), color-stop(81%,rgba(128,177,219,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(140,142,164,0.15) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#638c8ea4', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */
    	
    text-align: center;
    padding-right: 0px;
    margin-left: 7px;
    }
	
	
	body nav#navigation ul li.current {
	background: -moz-linear-gradient(top,  rgba(140,142,164,0.39) 0%, rgba(128,177,219,0) 81%, rgba(125,185,232,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,142,164,0.39)), color-stop(81%,rgba(128,177,219,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(140,142,164,0.39) 0%,rgba(128,177,219,0) 81%,rgba(125,185,232,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#638c8ea4', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */
		
	text-align: center;
	padding-right: 0px;
	margin-left: 7px;
	}
	
	
	#navigation ul li#nav-blog a {
	    width: 45px;
	}
	
	#navigation ul li#nav-books a {
	    width: 60px;
	}
	
		#navigation ul li#nav-projects a {
		    width: 75px;
		}

        #navigation ul li#nav-videos a {
            width: 90px;
        }
	
	footer {
	        position: absolute;
	    background: #f5f5f5;
	    border-top: 15px solid #fff;
	    width: 100%;
	    height: 40px;
	    bottom: 0;
	    left: 0;
	}
	
	#footer-nav {
        width: 180px;
        margin: 0 auto;
        float: none;
	}
	
	#footer-nav li {
	}
	
	#footer-nav li a {
	    color: #999;
	}
}

@media screen and (max-width: 500px) {
    
    #hash {
        display: none;
    }
    
    nav#navigation ul {
        width: 100%;
    }
    nav#navigation ul li {
    	    float: left;
    	    margin: 0 9%;
            text-align: center;
    
    	}
    
    nav#navigation ul li.current {
        margin-left: 9%;
    }
    
    header#header {
        height: 100px;
        position: relative;
        top: 0;
    }
    
    .js body {
        overflow: auto;
        margin: 0;
    }
    
    header#header h1 {
    margin: 0 auto 10px;
        float: none;
        background: url('images/logotype-small.png') no-repeat left 15px;
        position: relative;
        width: 85%;
        height: 47px;
        
    }
    
    .js section#content {
        margin-top: 0;
        overflow-y: auto;
        float: none;
        position: relative;
    }
    
    article {
        margin-top: 10px;
        padding-top: 20px;
    }
    
    footer {
        position: relative;
        padding-bottom: 20px;
        height: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
   
    
    nav#navigation ul li, nav#navigation ul li.current {
        margin: 0 4%;
    }
    
    header#header h1 {
        width: 210px;
    }
}


@media screen and (max-width: 600px) {
	
	article { 
	    width: 95%;
	}
	
	article header {
	    width: 80%;
	}
	
		
}

@-webkit-keyframes fader { 
    0% {
        opacity: 0;
    }

    99% {
        opacity: 1;
    }

    100% { -webkit-transform: none }
}

.js article {
    opacity: 0;
}



/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}
