/* ==========================================================================
HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    font-family: sans-serif;
	font-weight: 100;
}

html,body {
	color: #666;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: 100;
	color: #000;
}

h1 {
	margin-left: -40px;
	margin-right: -40px;
	background-color: #191818;
	padding: 4px 40px;
	margin-top: 2em;
	color: #eee;
}

h1.top {
	margin-top: 0;
}

h2 {
	margin-left: -40px;
	margin-right: -40px;
	padding: 4px 40px;
	background-color: #eee;
}

h3 {
	margin-left: -40px;
	margin-right: -40px;
	padding: 4px 40px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

strong {
	color: #000;
	font-weight: normal;
}


/* ==========================================================================
Author's custom styles
========================================================================== */

#site-menu {
	width: 200px;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1000;
	background: #191818;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	font-size: 0.95em;
}

#site-menu a {
	color: #bbb;
	border: none;
	padding: 0.4em 0 0.4em 0.8em;
}

#site-menu .pure-menu,
#site-menu .pure-menu ul {
	border: none;
	background: transparent;
}

#site-menu .pure-menu ul,
#site-menu .pure-menu .menu-item-divided {
	border-top: 1px solid #333;
}

#site-menu .pure-menu li a:hover,
#site-menu .pure-menu li a:focus {
	background: #333;
	color: #fff;
}

#site-menu .pure-menu-selected {
	background: #64a53d;
}

#site-menu .pure-menu-selected a {
	color: #fff;
}

#site-menu .pure-menu-heading {
	font-size: 120%;
	color: #fff;
	margin: 0;
	font-weight: normal;
	padding: 0.6em 0.8em;
}

#site-menu .pure-menu ul.pure-menu-children {
	position: relative;
	left: 0;
	top: 0;
	text-indent: 1em;
	border-top: 0;
}

#site-menu .pure-menu ul.pure-menu-children .pure-menu-children {
	text-indent: 2em;
}

#site-menu .pure-menu-has-children > .pure-menu-link::after {
	content: "";
}

#site-content {
	margin-left: 240px;
	margin-right: 40px;
	font-size: 0.9em;
}

code {
	color: #fff;
	background-color: #191818;
	display: block;
	padding: 8px 16px;
	font-size: 12px;
}

code .comment {
	color: #78d35c;
}

.reference code {
	display: none;
}

#content {
	padding: 6px 5%;
}

.function {
	padding: 0;
	background-color: #eee;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0 0 1em 0;
}

.function p {
	padding: 8px 16px;
	margin: 0;
	font-size: 0.9em;
}

.function a.expand-code {
	margin: 8px 16px;
	font-weight: bold;
}

.function h5 {
	padding: 8px 16px 0 16px ;
	color: #888;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0;
}

.function table {
	margin: 8px 16px;
	font-size: 0.85em;
	background-color: #fff;
}

.function table td {
	padding: .5em 1em;
}

.function p.example {
	font-weight: bold;
	font-size: 11px;
}



/* ==========================================================================
Media Queries
========================================================================== */

/* ==========================================================================
Helper classes
========================================================================== */

.button-small {
            font-size: 85%;
        }

.small {
	font-size: 0.8em;
}

.xsmall {
	font-size: 0.6em;
}

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	* Don't show links for images, or javascript/internal links
	*/

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}