/* Global common settings for all the elements by default
======================================== */

body {
	color: #000;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	}
abbr {
	border-bottom: dotted 1px;
	cursor: help;
	}
	a abbr {
		cursor: pointer;
		}
code {
	font-family: Consolas, monospace;
	}
b,
strong {
	font-weight: bold;
	}
em,
i,
mark {
	font-style: italic;
	}
sub,
sup {
	font-size: .7em;
	}
sub {
	vertical-align: sub;
	}
sup {
	vertical-align: super;
	}
a,
	a:link {
		color: #039;
		text-decoration: underline;
		}
	a:visited {
		color: #666;
		}
	a:hover {
		text-decoration: none;
		}
	a:active {
		color: #c00;
		}



/* Global classes
======================================== */

.nobr {
	white-space: nowrap;
	}
.digits-group {
	margin-left: .25em;
	}



/* Main content styling rules
======================================== */

.content {
	line-height: 1.5;
	}
	.content h1,
	.content h2,
	.content h3,
	.content h4,
	.content h5,
	.content h6 {
		margin-top: 1.5em;
		margin-bottom: .5em;
		color: #c00;
		}
		.content h1:first-child,
		.content h2:first-child,
		.content h3:first-child,
		.content h4:first-child,
		.content h5:first-child,
		.content h6:first-child {
			margin-top: 0;
			}
	.content h1 {
		font-size: 1.75em;
		}
	.content h2 {
		font-size: 1.5em;
		}
	.content h3 {
		font-size: 1.25em;
		}
	.content h4 {
		font-size: 1em;
		}
	.content h5 {
		font-size: .8em;
		}
	.content h6 {
		font-size: .7em;
		}
	.content p {
		margin-bottom: 1em;
		}
	.content ul,
	.content ol {
		margin-left: 1.5em;
		}
	.content ul {
		list-style-type: square;
		}
	.content ol {
		list-style-type: decimal;
		}
		.content li,
		.content li {
			margin-bottom: 1em;
			}
			.content li > ul,
			.content li > ol {
				margin-top: 1em;
				}
	.content code {
		padding: 0 .25em;
		border-radius: .25em;
		background-color: #f0f0f0;
		}
	.content pre {
		margin-bottom: 1em;
		padding: .5em 1em;
		border-radius: .25em;
		background-color: #f0f0f0;
		white-space: normal;
		}
		.content pre code {
			display: block;
			padding: 0;
			background: none;
			white-space: pre-wrap;
			}
	.content table {
		margin-bottom: 1em;
		font-size: .8em;
		}
	.content table,
		.content th,
		.content td {
			border: solid 1px #ccc;
			}
		.content th,
		.content td {
			padding: .5em 1em;
			vertical-align: top;
			text-align: left;
			}
		.content th {
			background: #f0f0f0;
			font-weight: bold;
			}
			.content th code {
				background: #ccc;
				}
	.content figure {
		margin-bottom: 1em;
		}



/* Layout
======================================== */

/* Page wrapper
---------------------------------------- */
.wrapper {
	width: 85%;
	min-width: 650px;
	max-width: 1360px;
	margin-left: auto;
	margin-right: auto;
	}

/* Page header
---------------------------------------- */
.intro {
	padding: 2em 9% 1em;
	border-radius: 0 0 30px 30px;
	box-shadow: rgba(0, 0, 0, .25) 0 0 5px 5px;
	color: #fff;
	background-color: #000;
	background-image: linear-gradient(#666, #000);
	font-size: 2em;
	}
	.intro a,
		.intro a:link,
		.intro a:visited,
		.intro a:hover,
		.intro a:active {
			color: #fff;
			text-decoration: none;
			}
	.intro__title_error {
		color: #f00;
		}

/* Main content area
---------------------------------------- */
.main {
	padding: 1.5em 9% 1em;
	}

/* Page footer
---------------------------------------- */
.copyright {
	padding: 1em 9% 3em;
	border-top: solid 1px #ccc;
	background-image: radial-gradient(farthest-side at top center, #e6e6e6, #fff);
	font-size: .8em;
	}



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

/* Rules for narrow screens: 800 pixels and less
---------------------------------------- */
@media (max-width: 800px) {
	body {
		font-size: 12px;
		}
	.wrapper {
		width: 100%;
		min-width: 0;
		}
	.intro {
		border-radius: 0;
		}
	.intro, .main, .copyright {
		padding-left: 5%;
		padding-right: 5%;
		}
	.copyright {
		padding-bottom: 1em;
		}
	}

/* Rules for smartphone screens: 480 pixels and less
---------------------------------------- */
@media (max-width: 480px) {
	.intro {
		padding-top: 1em;
		box-shadow: rgba(0, 0, 0, .25) 0 0 2px 2px;
		}
	.main {
		padding-top: 1em;
		padding-bottom: .5em;
		}
	}

/* Rules for extra wide screens: 1200 pixels and more
---------------------------------------- */
@media (min-width: 1200px) {
	body {
		font-size: 20px;
		}
	}
