@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);

body {
	padding: 0px 50px 50px 50px;
	font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #676767;
	font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
	color: #222;
	margin: 40px 0 15px;
}

p, ul, ol, table, pre, dl {
	margin: 0 0 20px;
}

h1, h2, h3 {
	line-height: 1.1;
}

h1 {
	font-size: 28px;
}

h2 {
	color: #393939;
}

h3, h4, h5, h6 {
	color: #494949;
}

img {
	border-radius: 5px;
}

a {
	color: #39c;
	font-weight: 500;
	text-decoration: none;
}
a:hover {
	color: #69CDFF;
}

a small {
	font-size: 11px;
	color: #777;
	margin-top: -0.6em;
	display: block;
}

.wrapper {
	width: 900px;
	margin: 0 auto;
}

blockquote {
	border-left: 1px solid #e5e5e5;
	margin: 0;
	padding: 0 0 0 20px;
	font-style: italic;
}

code, pre {
	font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
	color: #FFF;
	font-size: 12px;
}
code {
	color: #B63434;
}

pre {
	padding: 8px 15px;
	background: #000;
	border-radius: 5px;
	border: 1px solid #e5e5e5;
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	text-align: left;
	padding: 5px 10px;
	border-bottom: 1px solid #e5e5e5;
}

dt {
	color: #444;
	font-weight: 700;
}

th {
	color: #444;
}

img {
	max-width: 100%;
}

header {
	width: 270px;
	float: left;
	position: fixed;
}
header h1 a {
	color: #222;
	font-size: 28px;
	font-weight: bold;
}

header ul {
	list-style: none;
	height: 40px;

	padding: 0;

	background: #eee;
	background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
	background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
	background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
	background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
	background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);

	border-radius: 5px;
	border: 1px solid #d2d2d2;
	box-shadow: inset #fff 0 1px 0, inset rgba(0, 0, 0, 0.03) 0 -1px 0;
	width: 270px;
}

header li {
	width: 89px;
	float: left;
	border-right: 1px solid #d2d2d2;
	height: 40px;
}

header ul a {
	line-height: 1;
	font-size: 11px;
	color: #999;
	display: block;
	text-align: center;
	padding-top: 6px;
	height: 40px;
}

header {
	width: 270px;
	float: left;
	position: fixed;
}

strong {
	color: #222;
	font-weight: 700;
}

header ul li + li {
	width: 88px;
	border-left: 1px solid #fff;
}

header ul li + li + li {
	border-right: none;
	width: 89px;
}

header ul a strong {
	font-size: 14px;
	display: block;
	color: #222;
}

#navigation {
	width: 270px;
	float: left;
	position: fixed;
	margin-top: 190px;
	min-height: 610px;
	top: 10px;
	bottom: 10px;
}
nav {
	font-size: 13px;
}
nav p {
	margin-bottom: -2px;
}
nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
nav li {
	margin-bottom: -3px;
}
nav > ul > li > ul {
	margin-left: 20px;
}
nav a.current {
	background: #C3D6E0;
	border-radius: 3px;
	padding: 1px 1px 1px 1px;
	color: #2979A1;
}
nav a.current:hover {
	color: #0A1D27;
}

section {
	position: relative;
	width: 580px;
	float: right;
	padding-bottom: 50px;
}
section .title,
section .subtitle {
	position: relative;
}
section .title a,
section .subtitle a {
	position: absolute;
}
section .title a {
	top: -50px;
}
section .subtitle a {
	top: -58px;
}
section.last {
	margin-bottom: 1500px;
}

small {
	font-size: 11px;
}

hr {
	border: 0;
	background: #e5e5e5;
	height: 1px;
	margin: 0 0 20px;
}

footer {
	width: 270px;
	float: left;
	position: absolute;
	bottom: 56px;
}
footer p {
	margin-bottom: 0px;
}

/*CUSTOM*/

.hidden {
	display: none;
}

.button {
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none; }
a,
a:hover {
	-webkit-transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out;
	-o-transition: color 0.2s ease-out;
	transition: color 0.2s ease-out; }

::-moz-selection {
	background: #39c;
	color: #fff;
	text-shadow: none; }

::selection {
	background: #39c;
	color: #fff;
	text-shadow: none; }

a:hover, a:active {
	outline: 0; }

.plunkr {
	width: 100%;
	height: 300px;
	border: 1px solid #5299CC;
}
.back {
	display: none;
}


/*QUERY*/

@media print, screen and (max-width: 960px) {

	div.wrapper {
		width: auto;
		margin: 0;
	}

	header, section, footer {
		float: none;
		position: static;
		width: auto;
	}

	header {
		padding-right: 320px;
	}

	section {
		clear: both;
		xborder: 1px solid #e5e5e5;
		border-width: 1px 0;
		padding: 20px 0;
		margin: 0 0 20px;
	}

	header a small {
		display: inline;
	}

	header ul {
		position: absolute;
		right: 58px;
		top: 52px;
	}

	#navigation {
		position: relative;
		width: 100%;
		position: static;
		min-height: 80px;
		margin: 0px;
		float: left;
	}
	nav {
		position: relative;
		height: 270px;
		float: left;
		width: 100%;
		margin-top: 80px;
	}

	nav > ul > li > ul {
		display: none;
	}
	nav li {
		width: 50%;
		font-size: 15px;
		margin-bottom: 0px;
		float: left;
		height: 30px;
	}
	nav > ul {
		width: 470px;
	}
	footer {
		position: absolute;
		text-align: right;
		top: 105px;
		right: 60px;
	}
	.back {
		position: relative;
		display: block;
		float:right;
		top: -10px;
		right: 4px;
	}
}

@media print, screen and (max-width: 720px) {

	body {
		word-wrap: break-word;
	}

	header {
		padding: 0;
	}

	header ul, header p.view {
		position: static;
	}

	pre, code {
		word-wrap: normal;
	}
	footer {
		position: absolute;
		text-align: left;
		top: 185px;
		left: 57px;
		height: 70px;
	}
    #navigation {
	    margin-top: 20px;
    }
	nav > ul {
		width: 430px;
	}
}

@media print, screen and (max-width: 480px) {

	body {
		padding: 0px 15px 15px 15px;
	}

	header ul {
		/*display: none;*/
	}
	nav {

	}
	nav > ul {
		width: 100%;
	}
	nav li {
		width: 79%;
		font-size: 15px;
		margin-bottom: 5px;
		float: left;
		height: 30px;
	}
	footer {
		position: absolute;
		text-align: left;
		top: 185px;
		left: 23px;
		height: 70px;
	}
	#navigation {
		margin-top: 0px;
		height: 650px;
	}
}

@media print {
	body {
		padding: 0.4in;
		font-size: 12pt;
		color: #444;
	}
}
