@charset "utf-8";

/* RESET */
/* v2.0 | 20110126
  http://meyerweb.com/eric/tools/css/reset/ 
  License: none (public domain)
*/
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MAIN */
body {
	font-family: Arial, sans-serif;
	font-size: 1em;
	line-height: 1.4;
	color: #303030;
	background-color: #e0e0e0;
	background-image: url("../images/background.png");
}
#wrapper {
	width: 920px;
	margin: 20px auto;
	background-color: #fafafa;
	border: 1px solid #d0d0d0;
	border-radius: 5px;
}
a {
	color: #0077ee;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	color: #0055ee;
}
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}

/* HEADER */
#header {
	text-align: center;
	padding: 35px 0 15px;
	background-color: #f5f5f5;
	border-radius: 5px 5px 0 0;
}
#header h1 {
	font-size: 38px;
	font-weight: normal;
}
#header h2 {
	font-size: 25px;
	font-weight: normal;
	margin-top: 5px;
}
#header .info {
	margin-top: 15px;
	font-size: 14px;
	display: inline-block;
	zoom: 1;
	*display: inline;
}
#header .info-left {
	text-align: right;
	padding-right: 5px;
	float: left;
}
#header .info-right {
	text-align: left;
	float: left;
}
#header .info li:not(:first-child) {
	margin-top: 2px;
}
	
/* NAV */
#nav {
	padding: 25px;
	border-top: 1px solid #dadada;
	clear: both;
}
#nav h1 {
	font-size: 22px;
	font-weight: normal;
}
#nav .chapters {
	color: #0077ee;
	line-height: 1.8;
	margin-top: 5px;
}
#nav .subchapters {
	margin-left: 40px;
	font-size: 16px;
}
#nav .numbers {
	font-size: 15px;
}
	
/* CONTENT */
#content {
	font-size: 14px;
	border-top: 1px solid #dadada;
	line-height: 1.7;
}

/* Sections */
#content > div {
	border-top: 1px solid #dadada;
}
#content > div:first-child {
	border-top: none;
}
#content > div {
	padding: 25px;
}

/* Headers */
#content h1 {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 12px;
	position: relative;
}
#content h2 {
	font-size: 19px;
	font-weight: normal;
	margin: 22px 0 12px;
}
#content h3 {
	font-size: 18px;
	font-weight: normal;
	margin: 12px 0 12px;
}

/* Lists */
#content ul {
	margin-left: 40px;
	margin-top: 12px;
	list-style: inside;
}
#content ul ul {
	margin-top: 0;
}
#content ul.spaced > li {
	margin-top: 12px;
}
#content ul.simple {
	list-style: none;
	margin-left: 0;
}
#content ul.simple ul {
	list-style: none;
}
#content ul.large {
	font-size: 15px;
}

/* Paragraphs */
#content p {
	margin-top: 12px;
}
#content p.info {
	background-color: #f0f0f0;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 13px;
}
#content p.separated {
	margin-top: 24px;
}
#content p.delimited {
	margin-top: 20px;
}
#content p.connected {
	margin-top: 3px;
	margin-bottom: 12px;
}

/* Code */
pre {
	margin-top: 12px;
	padding: 7px;
	background-color: #f2f2f2;
	border-left: 3px solid #b0b0b0;
	line-height: 20px;
}
pre.connected {
	margin-top: 5px;
}
code {
	color: #0055aa;
}
code.box {
	background-color: #f2f2f2;
	padding: 5px;
}
code.block {
	
}
code .comment {
	color: #007700;
}

/* Tables */
table {
	width: 100%;
	margin-top: 12px;
}
thead tr {
	text-align: left;
	font-weight: bold;
	background-color: #e0e0e0;
	border-bottom: 1px solid #c0c0c0;
}
th {
	padding: 10px 15px;
}
tbody tr {
	background-color: #f5f5f5;
	border-bottom: 1px solid #e0e0e0;
}
tbody tr:nth-child(even) {
	background-color: #f2f2f2;
}
td {
	padding: 7px 12px;
}
.indent td:first-child {
	padding-left: 47px;
	background: url("../images/arrow.png") no-repeat 30px 16px;
	background-color: #f5f5f5;
}
#content table p {
	margin-top: 8px;
}
#content table p:first-child {
	margin-top: 0;
}

/* Setings table */
#settings-table th:nth-child(1){
	width: 100px;
}
#settings-table th:nth-child(2) {
	width: 100px;
}

/* Classes */
.next-link {
	background: url("../images/arrow.png") no-repeat right;
	padding-right: 13px;
}
.file {
	background-color: #f0f0f0;
	padding: 5px 8px;
	font-weight: bold;
	border-radius: 3px;
}
.file-link {
	font-weight: bold;
}
.top {
	font-size: 18px;
	position: absolute;
	right: 0;
}

/* Other */
#content div.connected {
	margin-top: 3px;
	margin-bottom: 12px;
}
#content div.connected p {
	margin-top: 0;
	margin-bottom: 3px;
}
#content div.connected p:last-child {
	margin-bottom: 0;
}

/* FOOTER */
#footer {
	font-size: 14px;
	padding: 5px;
	text-align: center;
	background-color: #f5f5f5;
	border-top: 1px solid #dadada;
	height: 30px;
	line-height: 30px;
	border-radius: 0 0 5px 5px;
}