/* Demo Content styling */

:focus{
	outline: none
}

.nowrap{
	white-space: nowrap;
}

body{
	margin: 3%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 100%;
}

#skipmain {
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	display: block;
}

#skipmain:focus{
	clip: auto;
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	width: 15em;
	height: auto;
	margin: 0 0 0 -7.5em;
	text-align: center;
	padding: .5em;
	color: #444444;
	background: #eeeeee;
	border-radius: 0 0 .4rem.4rem;
	z-index: 5;
}

body > header #logo{
	position: absolute;
	width: 6rem;
	height: 6rem;
	margin-left: -6.5rem;
	margin-left: calc(-6rem - 3%);
	background: #777777;
	display: block;
	text-align: center;
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 6rem;
	line-height: 1;
	overflow: hidden;
	border-radius: .4rem;
	transition: background-color .33s
}

body > header #logo:hover,
body > header #logo:focus{
	background-color: #444444;
}

.inline-logo{
	background: #777777;
	display: inline-block;
	text-align: center;
	color: #ffffff;
	text-decoration: none;
	margin: 0 .2em;
	font-size: 1.4em;
	width: 1em;
	vertical-align: bottom;
	line-height: 1;
	overflow: hidden;
	border-radius: .1em;
	transition: background-color .33s
}

section {
	padding:0 6.5rem;
	padding:0 calc(6rem + 3%);
	margin: 3% 0;
	color: #666666;
	line-height: 1.4
}

section h1,
section h2,
section h3,
section header{
	color: #444444;
	margin-bottom: 0em;
}

section article > h1 + *,
section article > h2 + *,
section article > h3 + *{
	margin-top: 0;
}

section a{
	color: #444444;
	background-color: transparent;
	transition: background-color .3s;
	border-radius: .25em;
}

section a:hover,
section a:focus{
	padding: .25em;
	margin: -.25em;
	background-color: #eeeeee;
	color: #444444;
}

section > article {
	margin: 0 auto;
	width: 100%;
	max-width: 164%;
}

section > article > header {
	font-size: 1.5em;
	line-height: 1.2;
	border-bottom: solid 1px #dddddd;
}

section > article > header h1{
	margin: 0;
}

section > article > header p{
	margin: .25em 0 .5em;
}

.code{
	margin-left: 0;
	margin-right: 0;
}

.code code{
	overflow: hidden;
	resize: none;
	display: block;
	border: none;
	padding: 0 3%;
	width: 100%;
	margin: 0 -3% .5em;
	background: #eeeeee;
	font-family: monospace;
	white-space: pre-wrap;
	color: #444444;
	font-size: 1.25em;
	border-radius: .25em;
}

figure{
	margin: 2em 0;
}

figure figcaption{
	font-size: .9em;
	font-style: italic;
	margin: 0;
}

blockquote {
	padding: 3% 0;
	margin: 1.5em 0;
	padding-left: 3%;
	border-left: solid 5px #eeeeee;
	font-style: italic;
	position: relative;
}

blockquote p{
	margin: 3% 0;
	margin: calc(3% - 5px) 0
}

blockquote:before,
blockquote:after{
	display: block;
	width: 1.5%;
	height: 5px;
	position: absolute;
	background-color: #eeeeee;
	content: "";
	left: 0;
	top: 0;
}

blockquote:after{
	top: auto;
	bottom: 0;
}

blockquote footer{
	font-style: normal;
}

blockquote > :first-child{
	margin-top: 0;
}

.button-wrapper{
	text-align: center;
	font-size: 1.5em;
}


a.button{
	display: inline-block;
	min-width: 7em;
	text-align: center;
	padding: 3%;
	color: #ffffff;
	border-radius: .25rem;
	text-decoration: none;
	margin: 0 auto .5em !important;
	box-shadow: 0 .1em .1em #aaaaaa;
	position: relative;
	top: -1px;
}

a.button:hover,
a.button:focus{
	padding: 3%;
	color: #ffffff;
	margin: 0 auto;
	box-shadow: 0 .1em .2em #aaaaaa;
}

a.button:active{
	box-shadow: inset 0 0 .2em rgba(0,0,0,.2);
	top: 0;
}

a.github{
	background: #60b044 !important;
}
a.download{
	background: #5abae6 !important;
}

a.button:after{
	font-weight: bold;
	display: inline-block;
	background: rgba(255,255,255,.75);
	width: 1.5em;
	line-height: 1.5em;
	margin-left: 1ex;
	border-radius: .125em;
	transition: background-color .3s;
}

a.github:after{
	color: #60b044;
	content: "❮ ❯";
}

a.download:after{
	color: #5abae6;
	content: "↓";
	text-decoration: underline;
}

a.button:hover:after,
a.button:focus:after{
	background: #ffffff
}

body > footer{
	width: 100%;
	margin: 3% -3% 0;
	padding: 3%;
	border-top: solid 1px #dddddd;
	color: #000000;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	height: auto;
	font-style: italic;
	text-align: right;
}

body > footer a{
	color: #666666;
	transition: color .3s;
}

footer a:hover,
footer a:focus{
	color: #444444;
}

@media only screen and (max-width: 45em) {

	body > header{
	padding-left: 3rem;
	padding-left: calc(2.5rem + 3%);
	height: auto;
	min-height: 0;
	}

	body > header #logo{
	height: 2.5rem;
	width: 3.em;
	padding: 0;
	font-size: 2.5rem;
	line-height: 2.5rem;
	overflow: visible;
	margin-left: 3rem;
	margin-left: calc(-2.5rem - 3%);
	width: 2.5rem;
	}

	section {
	padding: 0 3rem;
	padding: 0 calc(2.5rem + 3%);
	}

	section > article > header {
	width: 100%;
	}

}

@media only screen and (max-width: 30em) {

	section {
	padding: 0;
	font-size: .9rem;
	}

	.code code{
		border-radius: 0;
	}

	body > footer{
		font-size: .9rem;
	}

}

@media only screen and (max-width: 25em) {
	section, footer {
		font-size: .8rem;
	}
}

@media only screen and (min-width: 66em) {
	html{
	font-size: 115%;
	background-position: 0 0%;
	}
}

@media only screen and (min-width: 75em) {
	html{
		font-size: 130%;
	}
}

@media only screen and (min-width: 90em) {
	html{
		font-size: 150%;
	}
}
