/* --------------------------------------------------------------------------
  Information template
  --------------------------------------------------------------------------- */

/*
	Main color: #64dbc1
	Gray background color: #fafafa
	Footer height: 165px
*/

/* --------------------------------------------------------------------------
  General
  --------------------------------------------------------------------------- */

html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 60px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #0e0e0e;
}

a {
	color: #666;
	text-decoration: none;
}

a:hover { color: #64dbc1; }

.text-right { text-align: right; }

/* Positioning logo on absolute top-left */
.absolute-top-left-logo {
	position: absolute;
	top: 0;
	left: 0;
}


/* --------------------------------------------------------------------------
  Header
  --------------------------------------------------------------------------- */

.header {
	position: relative;
	z-index: 20;
	padding: 170px 0 100px;
	background-color: #fafafa;
}

.header .container { width: 720px; }

.header-title {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 22px;
	font-weight: bold;
}

@media only screen and (max-width: 768px) {
	.header-title { font-size: 1.2em; }
}


/* --------------------------------------------------------------------------
  Subheader
  --------------------------------------------------------------------------- */

.subheader {
	position: fixed;
	top: 0;
	z-index: 10;
	width: 100%;
	height: 104px;
	padding: 40px 0;
	background-color: #fafafa;
}

.subheader-title {
	font-size: 22px;
	font-weight: 100;
}

@media only screen and (max-width: 768px) {
	.header-title { font-size: 1.5em; }
}

.header-subtitle {
	margin-top: 10px;
	margin-bottom: 0;
	line-height: 42px;
	font-size: 34px;
	font-weight: 100;
}

@media only screen and (max-width: 768px) {
	.header-subtitle { font-size: 1.2em; }
}


/* --------------------------------------------------------------------------
  Container
  --------------------------------------------------------------------------- */

.container {
	width: 1024px;
	max-width: 100%;
	margin: 0 auto;
}

@media only screen and (max-width: 1023px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}
}


/* --------------------------------------------------------------------------
  Wrapper
  --------------------------------------------------------------------------- */

.wrapper {
	position: relative;
	padding-bottom: 170px;
}


/* Sidebar
  --------------------------------------------------------------------------- */

.sidebar {
	position: relative;
	float: left;
	width: 15%;
	padding-top: 55px;
}

@media only screen and (max-width: 1023px) {
	.sidebar { display: none; }
}

.sidebar-scrolled .sidebar-menu {
	position: fixed;
	top: 155px;
}

.sidebar-menu-section {
	margin-bottom: 20px;
}

.sidebar-menu-title {
	padding-left: 5px;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-size: 16px;
	color: #d9d9d9;
}

.sidebar-menu-subtitle,
.sidebar-menu-element a {
	padding: 3px 5px;
}

.sidebar-menu-subtitle {
	margin-bottom: 3px;
	text-transform: uppercase;
}

.sidebar-menu-element a {
	line-height: 25px;
	font-size: 13px;
}

.sidebar-menu-element a.is-active,
.sidebar-menu-element a:hover {
	background: #64dbc1;
	color: #fff;
}


/* Content
--------------------------------------------------------------------------- */

.content {
	float: left;
	width: 85%;
	padding-right: 50px;
}

@media only screen and (max-width: 1023px) {
	.content { width: 100%; }
}

.block > p {
	margin-bottom: 15px;
	line-height: 1.5em;
}

.block-title {
	margin-top: 50px;
	margin-bottom: 10px;
	font-size: 2em;
	font-weight: 500;
}

.block-subtitle {
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 1.6em;
	font-weight: 500;
	color: #64dbc1;
}

.block-lead { font-size: 1.2em; }


/* Code block
--------------------------------------------------------------------------- */

.code {
	margin-top: 30px;
	padding: 10px 25px;
	background-color: #fafafa;
}

.code .syntaxhighlighter,
.code .syntaxhighlighter .line {
	background-color: #fafafa !important;
}

/* Note
--------------------------------------------------------------------------- */

.note {
	margin-top: 10px;
	padding: 20px;
	background-color: #fafafa;
}

.note-title {
	position: relative;
	margin-bottom: 10px;
	font-weight: 500;
	font-size: 16px;
}

.note-warning { color: #fcde00; }
.note-important { color: #e55454; }

.note-warning:before,
.note-important:before {
	position: absolute;
	left: -20px;
	top: 2px;
	width: 15px;
	height: 15px;
	content: "";
}

.note-warning:before { background-color: #fcde00; }
.note-important:before { background-color: #e55454; }


/* Note
--------------------------------------------------------------------------- */

.example {
	padding: 25px;
	border: 1px solid #fafafa;
}

.example-title {
	margin-bottom: 20px;
	color: #d9d9d9;
}

.example + .code { margin-top: 0; }


/* --------------------------------------------------------------------------
  Footer
  --------------------------------------------------------------------------- */

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 165px;
	background-color: #000;
	color: #9b9b9b;
	font-size: 14px;
}

.footer-container {
	position: relative;
	width: 1024px;
	max-width: 100%;
	padding: 105px 0 40px;
	margin: 0 auto;
}

@media only screen and (max-width: 1023px) {
	.footer-container {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.footer-container p { margin: 0; }

.footer-heart { color: #64dbc1; }

.footer-author {
	display: inline;
	margin-left: 20px;
	font-size: 12px;
}

.footer-logo {
	position: absolute;
	right: 0;
	bottom: 25px;
}

/* --------------------------------------------------------------------------
  Syntax Highlighter
  --------------------------------------------------------------------------- */

.syntaxhighlighter a,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea { line-height: 1.3em !important; }
