/* @override http://127.0.0.1:8000/build/css/style.css */

body {
    font: 14px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
    background: #212121 url(../images/background.png);
    text-rendering: optimizeLegibility;
}

h1.logo {
    font: 24px/34px Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 6px;
}
h1.logo a {
    text-indent: -100000px;
    display: inline-block;
    height: 34px;
    width: 256px;
    margin: 0 auto;
    background: url(../images/name-inverted.png) no-repeat 50% top;
    /* for aesthetic alignment: */
    position: relative;
    top: -6px;
    
    padding: 10px;
    background-position: 50% 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
}

h1.logo a:hover {
    background-color: #3a3a3a;
}

nav.site {
    font-family: Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

nav.site a {
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
    color: #999;
    color: rgba(255, 255, 255, 0.5);
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
}
nav.site a:hover { color: white; }

/* @group Content */

article header h1 {
    font: 22px/22px Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 38px;
    text-align: center;
}

article header h1 a {
    text-decoration: none;
    color: inherit;
}
article > header h2 {
    color: #999;
    font: 14px/20px Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    margin-top: -35px;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-align: center;
}
article header h1 a:hover {
    color: #04B;
}

article > section > p:last-child {
    margin-bottom: 0;
}

article footer .posted {
    margin-top: 40px;
	font-family: Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    text-transform: uppercase;
    text-align: right;
    font-size: 10px;
    color: #888;
    margin-bottom: 0;
}
article footer .posted time {
    text-transform: uppercase;
    font-size: 14px;
    color: #888;
}

article > section h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
article > section h2 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
}
article > section h3 {
    font-size: inherit;
    font-weight: bold;
    margin-bottom: 20px;
}

/* My Comment */

/* @group Special Cases (Archives, etc.) */
.archives li {
    margin-bottom: 0;
    list-style: none;
}

.archives li time {
    color: #666;
    display: inline-block;
    width: 4em;
    text-align: right;
    text-transform: uppercase;
    font-size: 12px;
    margin-right: .5em;
}

.archives .tag-filters {
    font-size: 14px;
    text-align: right;
    position: relative;
}


.archives .tag-filters a {
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    color: #666;
    display: inline-block;
    padding: 1px 5px;
    cursor: pointer;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
}

.archives .tag-filters .selected {
    background-color: #ddd;
    color: black;
}
.archives li.post, .archives li.year h1 {
    height: 20px;
}

.archives li.post {    
    -webkit-transition: height 300ms,
                                opacity 300ms,
                                -webkit-transform 300ms;
    -webkit-perspective: 500;
    -webkit-transform-origin: 0% 0%;
}
.archives li.year > * {    
    -webkit-perspective: 500;
    -webkit-transition: height 300ms ease-in-out,
                        opacity 300ms ease-in-out,
                        margin-bottom 300ms ease-in-out;
}
.archives li.post.hidden {
    height: 0;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: rotateY(90deg);
}
.archives li.year.hidden > * {    
    height: 0;
    opacity: 0;
    margin-bottom: 0;
}

footer .copyright {
    font-family: Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    color: #666;
}
footer .copyright a {
    -webkit-transition: all .2s;
    color: inherit;
    text-decoration: none;
}
footer .copyright a:hover {
    color: white;
}

.youtube-hd {
    position: relative;
    left: -50%;
}
.highlight {
	position: relative;
	margin: 0 -100px 20px; /* 100px is approximate */
	text-align: center;
}
.highlight pre {
	background: #dedede url(../images/paper-darker.png);
	max-width: 600px;
	position: relative;
	text-align: left;
	display: inline-block;
    overflow: auto;
	border: 1px solid;
	border-color: #f5f5f5 #aaa #aaa #f5f5f5;
	position: relative;
	padding: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: rgba(0,0,0,.3) 5px 5px 20px;
	-moz-box-shadow: 5px 5px 20px rgba(0,0,0,.3);
}
/* @end */

/* @end */

/* @group Type */
p, ul, ol, li, dl, dd {
    margin-bottom: 20px;
}
dt { font-weight: bold; }

a {
	color: #03d;
}
blockquote {
    margin: 0 20px 20px;
    padding: 20px;
    background-color: #e5e5e5;
}
sub, sup {
    vertical-align: sub;
    line-height: 0;
    font-size: 13px;
}
sup { vertical-align: super; }

table.footnote {
    font-size: 13px;
    color: #444;
}

table.footnote:first-of-type {
    border-top: 1px solid #bbb;
    padding-top: 20px;
}
table.footnote:first-of-type tr:first-of-type td {
    padding-top: 20px;
}

/* @group Tables */

table       { margin-bottom: 20px; line-height: inherit; /*width:100%; */}
th          { font-weight: bold; }
th,td       { padding: 0 .5em; }
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }

/* @end */

/* @group Images */

img.left  { float: left; margin: 20px 20px 20px 0; padding: 0; }
img.right { float: right; margin: 20px 0 20px 20px; }

article img {
	-ms-interpolation-mode: bicubic;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-webkit-box-shadow: #aaa 2px 2px 7px;
	-moz-box-shadow: 2px 2px 7px #aaa;
}
article img.hasborder {
	border: 0 none;
}

p.caption {
    text-align: center;
    color: #666;
}
.attribution p.caption {
    font-size: 11px;
    text-align: right;
    margin-bottom: 9px;
}

/* @end */

/* @group Miscellaneous Enhancements */

.added      { background: #060; color: #fff; }
.removed    { background: #900; color: #fff; }
aside, small {
    -moz-opacity: .6;
    opacity: .6;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=60);
}

.alt { 
    color: #666; 
    font-family: "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif; 
    font-style: italic;
    font-weight: normal;
}

/* @end */

/* @end */

/* @group Social Buttons */

.share strong {	
	font-family: Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}
.share small {
	font-family: Futura, "Gill Sans", "Twentieth Century", Arial, sans-serif;
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	color: #888;
}
.share {
	overflow: hidden; /* floats */
	margin: 40px 0 0;
	padding: 20px 0;
	border: 1px dashed #888;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.share li {
	float: left;
	width: 33%;
	text-align: center;
	list-style: none;
	margin-bottom: 0;
}


/* @end */


/* @group Layout */
/*
-- === -- -- ====== --
15 256 25 25  464   15  = 800px wide
*/

#wrapper {
    width: 100%;
    max-width: 550px;
    margin: 60px auto;
}

article {
	background: #fafafa url(../images/paper.png);
	position: relative;
    padding: 60px;
    margin-bottom: 60px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
	-webkit-box-shadow: rgba(0,0,0,.8) 2px 2px 40px;
	-moz-box-shadow: 2px 2px 40px rgba(0,0,0,.8);
}

#sidebar {
    margin-bottom: 40px;
}

@media print {
    h1.logo a {
        width: auto;
        text-decoration: none;
        position: static;
        text-indent: 0;
        color: #999;
        color: rgba(0, 0, 0, .5);
    }
    nav.site {
        display: none;
    }
    article h1 {
        text-align: center;
        font-size: 32px;
    }
    #wrapper {
        max-width: none;
        margin: 6px auto;
    }
    article {
        padding: 0;
    }
    
    .share {
		display: none;
	}
}
/* @end */

