html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
:focus {
outline: 0;
}

a:link {
color: #ede5da;
text-decoration:underline;
transition:color 0.5s;
}

a:hover {
color: #ede5da;
}

p a:link {
color:white;
color: #ede5da;
text-decoration:underline;
}

a:hover, p a:hover {
text-decoration:none;
}

a:visited {
color: #ede5da;
}

html {
background: #1a172b;
}

body {
line-height: 1;
color: #ede5da;
background: #1a172b;
font-family:arial, sans-serif;
width:100%;
margin:0 auto;
font-size:0.92em;
overflow:hidden;
}

body.animate {
-webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275);
-moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275);
-ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275);
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

ol, ul {
list-style: none;
}

table {
border-collapse: separate;
border-spacing: 0;
}

caption, th, td {
text-align: left;
font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}

blockquote, q {
quotes: "" "";
}

pre, code {
font-family:Courier-New, monospace;
}


@font-face {
font-family: 'ridemybike_essentialbold';
src: url('ridemybike.eot');
src: url('ridemybike.eot?#iefix') format('embedded-opentype'),
     url('ridemybike.woff') format('woff'),
     url('ridemybike.ttf') format('truetype'),
     url('ridemybike.svg#ridemybike_essentialbold') format('svg');
font-weight: normal;
font-style: normal;
}


@font-face {
font-family: 'alianza_slab_900';
src: url('alianzaslab900.eot');
src: url('alianzaslab900.eot?#iefix') format('embedded-opentype'),
     url('alianzaslab900.woff') format('woff'),
     url('alianzaslab900.ttf') format('truetype'),
     url('alianzaslab900.svg#alianza_slab_900900') format('svg');
font-weight: normal;
font-style: normal;
}


@font-face {
font-family: 'alianza_slab_300';
src: url('alianzaslab300.eot');
src: url('alianzaslab300.eot?#iefix') format('embedded-opentype'),
     url('alianzaslab300.woff') format('woff'),
     url('alianzaslab300.ttf') format('truetype'),
     url('alianzaslab300.svg#alianza_slab_300300') format('svg');
font-weight: normal;
font-style: normal;
}


@font-face {
font-family: 'kefa_ii_probook';
src: url('kefa_ii_pro_book.eot');
src: url('kefa_ii_pro_book.eot?#iefix') format('embedded-opentype'),
     url('kefa_ii_pro_book.woff') format('woff'),
     url('kefa_ii_pro_book.ttf') format('truetype'),
     url('kefa_ii_pro_book.svg#kefa_ii_probook') format('svg');
font-weight: normal;
font-style: normal;
}


@font-face {
font-family: 'kefa_ii_proregular';
src: url('kefa_ii_pro_regular.eot');
src: url('kefa_ii_pro_regular.eot?#iefix') format('embedded-opentype'),
     url('kefa_ii_pro_regular.woff') format('woff'),
     url('kefa_ii_pro_regular.ttf') format('truetype'),
     url('kefa_ii_pro_regular.svg#kefa_ii_proregular') format('svg');
font-weight: normal;
font-style: normal;
}

.vert {
opacity: 0;
overflow:hidden;
}

.vert.in {
opacity:1;
}

h1 {
font: 9em/1 'ridemybike_essentialbold';
color: #a6522d;
font-weight: normal;
text-align: center;
padding:0;
}

@media (max-width: 400px) {
    h1 { font-size: 6em; }
}

h1 b {
font-weight: normal;
}

h1 .coffeescript {
text-align: center;
padding:0 10px 0 20px;
position:relative;
}

h1 b {
position:relative;
display:inline-block;
letter-spacing: 2px;
}

h1 ::selection {
background:transparent;
}

h1 ::-moz-selection {
background:transparent;
}

h1 .l1 {
-webkit-transform: translate(2px, 32px) rotate(-18deg);
transform: translate(2px, 32px) rotate(-18deg);
}

h1 .l2 {
-webkit-transform: translate(0, 20px) rotate(-16deg);
transform: translate(0, 20px) rotate(-16deg);
}

h1 .l3 {
-webkit-transform: translate(0, 8px) rotate(-14deg);
transform: translate(0, 8px) rotate(-14deg);
}

h1 .l4 {
-webkit-transform: translate(0, 0) rotate(-12deg);
transform: translate(0, 0) rotate(-12deg);
}

h1 .l5 {
-webkit-transform: translate(0, -2px) rotate(-6deg);
transform: translate(0, -2px) rotate(-6deg);
}

h1 .l6 {
-webkit-transform: translate(0, -6px) rotate(-1deg);
transform: translate(0, -6px) rotate(-1deg);
}

h1 .l7 {
-webkit-transform: translate(2px, -4px) rotate(6deg);
transform: translate(2px, -4px) rotate(6deg);
}

h1 .l8 {
-webkit-transform: translate(0, 2px) rotate(8deg);
transform: translate(0, 2px) rotate(8deg);
}

h1 .l9 {
-webkit-transform: translate(0, 8px) rotate(14deg);
transform: translate(0, 8px) rotate(14deg);
}

h1 .l10 {
-webkit-transform: translate(0, 12px) rotate(14deg);
transform: translate(0, 12px) rotate(14deg);
}

h1 .l11 {
-webkit-transform: translate(0, 21px) rotate(18deg);
transform: translate(0, 21px) rotate(18deg);
}

h1 .l12 {
-webkit-transform: translate(-2px, 26px) rotate(20deg);
transform: translate(-2px, 26px) rotate(20deg);
}

h1 .in-action {
margin: 0.3em 0 0 0;
letter-spacing: 4px;
font-size: 0.45em;
float:left;
clear: left;
text-transform: lowercase;
color: #ede5da;
text-align:center;
width:100%;
position:relative;
}

h1 .in-action:before {
position:absolute;
left:50%;
background:url('lightning.svg') 0 0 no-repeat;
content:'';
background-size:100%;
width:1em;
height:2em;
transform:scaleX(-1) rotate(-15deg);
margin-left:-4.7em;
margin-top:-1.5em;
opacity: 0.8;
}


h1 .in-action:after {
position:absolute;
left:50%;
background:url('lightning.svg') 0 0 no-repeat;
background-size:100%;
content:'';
width:1em;
height:2em;
margin-left:3.6em;
opacity:0.8;
margin-top:-1.4em;
transform:rotate(-5deg);
}

ul.buttons {
position:fixed;
top: 1.4em;
right: 1.4em;
z-index: 9000;
font-family: 'kefa_ii_probook';
}

ul.buttons li {
font-size: 0.8em;
display: block;
border-radius: 0.8em;
height: 2.2em;
line-height: 2.2em;
padding: 0 1em;
border: 2px solid #a6522d;
box-shadow: 0 3px 0 rgba(26,23,42,0.6);
margin: 0 0 0.8em 0;
background:#221f34;
transition:border 0.5s, color 0.5s;
color: #efc77f;
}

ul.buttons li a {
letter-spacing: 1px;
display:block;
text-align: center;
text-transform:uppercase;
text-decoration: none;
color:inherit;
}

ul.buttons li:hover {
border-color:#ede5d8;
color:#ede5d8;
}

section {
position: relative;
padding: 0;
float:left;
clear:left;
width:100%;
background: #1a172b url('dust.png') 0 0 repeat;
}

section.intro {
height: 100%;
}

section .main {
float:left;
clear:left;
margin: 5em 0 0 0;
width:100%;
height:100%;
}

section.content {
background-color: #d0c5af;
}

section.links {
background-color:#453c35;
}

section.content.out {
background-color: #1a172b;
}

section.content.in {
background-color: #d0c5af;
}

section.links.out {
background-color: #d0c5af;
}

nav {
float:left;
clear:left;
background: rgba(0, 0, 0, 0.2);
color:#ede4db;
width:100%;
height: 2.2em;
position: fixed;
bottom:0;
left:0;
z-index:9000;
border-bottom:4px solid #a6522d;
font-family:'kefa_ii_probook';
}

nav ul {
opacity: 0.9;
line-height: 2.5;
font-size:0.9em;
margin: 0 1.6em 0 0;
}

nav ul li {
float: right;
}

nav ul li.home {
float:left;
}

nav ul li a,
nav ul li a:link {
text-decoration: none;
color:#ede4db;
height:100%;
display:block;
margin-top: -1px;
padding:0 1em 0 1em;
transition: border-color 0.5s;
border-bottom:4px solid transparent;
}


nav ul li a.active,
nav ul li a:hover {
border-bottom:4px solid #f0c882;
}

.intro h1 {
height:1.9em;
}

.intro p.byline {
color: #ede5da;
display:block;
float:left;
clear:left;
width:100%;
line-height: 1.6;
text-align:center;
font-size:0.9em;
font-family: 'kefa_ii_probook';
}

.intro p.byline a {
color:#a6522d;
text-decoration:none;
}

.intro p.byline a:hover {
color: #ede5da;
}

.content h2,
.links h2,
.outro h2 {
font-family: 'alianza_slab_900';
font-size:3.6em;
padding: 0 0 0.5em 0;
color: #221f34;
letter-spacing: 2px;
border-bottom: 4px solid #c4b9a3;
text-indent:1em;
}

@media (max-width: 400px) {
    h2 { font-size: 2em !important; }
}


.outro h2,
.links h2 {
color:#ece5db;
}

.links h2 {
border-bottom: 4px solid #453e38;
}

.outro h2 {
border-bottom:4px solid #1e1b2c;
}

.content h2 .number {
color:#a6522d;
}

.content h2 .number:after {
content: '.';
padding: 0 0.2em 0 0;
}

.content {
overflow:hidden;
}

.inner {
margin: 2em 3.8em;
}

@media (max-width: 400px) {
    .inner {
	margin: 2em;
    }
}

.content .inner {
color:#221f34;
}

.content .chapter .toc {
color:#a6522d;
font-size:1.2em;
list-style-type:decimal;
line-height: 1.6;
font-family:'kefa_ii_probook';
float:left;
width: 50%;
}

@media (max-width: 400px) {
    .content .chapter .toc { width: 48%; font-size: 0.96em !important; }
    .content .chapter .rhs { margin-left: 2%; }
    .content .chapter .lhs { margin-right: 2%; }
}


.content .chapter .toc span {
color:#221f34;
}

.content .chapter .toc a,
.content .chapter .toc a:link {
color:#a6522d;
text-decoration:none;
}

.content .chapter .toc .free {
display:inline-block;
background:#ede5da;
color:#221f34;
font-size:0.6em;
padding:2px 5px;
border-radius:5px;
margin: 0 0 0 1em;
position:relative;
top:-0.2em;
}

.content .chapter {
height: 100%;
margin: 1em 0 4em 0;
}

section .text {
font-family:'kefa_ii_probook';
}

.crumbs {
font-size:0.92em;
color: #221f34;
top:2em;
left:4em;
position: absolute;
font-family:'kefa_ii_probook';
}


@media (max-width: 400px) {
    .crumbs { left: 2em !important; }
}

.outro .crumbs,
.links .crumbs {
color:#eec982;
}

.crumbs .middot {
position:relative;
top:1px;
}

.crumbs a,
.crumbs a:link {
color:#a6522d;
text-decoration:none;
}

.links .demos li {
display:block;
float:left;
height:60%;
}

.links .demos img {
width:85%;
}

p.clear {
margin-left: 4em;
clear: both;
}


/*
#1a172a
#cec3ad
#a6522d
#ede5da
#221f34
#b5aa96
*/