@charset "UTF-8";

*{
	line-height: 1.5;
	font-style: normal;
}

body{
	margin: 0;
	padding: 0;
	background: #650;
	color: #000;
	border-right: 32px solid #587;
	border-bottom: 32px solid #587;
}

a:link{
	color: #66F;
	text-shadow: 0 1px 1px #00C;
}

a:visited{
	color: #969;
}

div#header{
	padding: 0;
	z-index: 2;
	position: relative;
	top: 0;
	left: 0;
	height: 80px;
	line-height: 0;
	width: 100%;
	overflow: hidden;
	background: #587;
}
div#header object, div#header img {
	position: absolute;
	border: 2px solid #888;
	background-color: #FFF;
}
#logo{
	top: 8px;
	left: 8px;
}

#ad{
	top: 8px;
	left: 80px;
}

div#header img{
	top: -2px;
	left: -2px;
}

hr{
	display: none;
}

div#chapter {
	background: -webkit-gradient(linear, left top, right top, from(#ADE), color-stop(0.9, #650), to(#650));
	background: -moz-linear-gradient(left, #ADE, #650 90%);
	background: -o-linear-gradient(left, #ADE, #650 90%);
	margin: 0;
}

div#footer{
	padding: 0 32px 0 0;
	margin: 0;
	background: #650;
	background-image: url(footer.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	text-shadow: 0 1px 1px #FFF;
}

div#footer p, div#footer address {
	background: -webkit-gradient(linear, left top, right top, from(#ADE), color-stop(0.9, #650), to(#650));
	background: -moz-linear-gradient(left, #ADE, #650 90%);
	background: -o-linear-gradient(left, #ADE, #650 90%);
	padding: 1em;
	margin: 0;
}
div#footer p#breadcrumbs {
	margin-bottom: -1em;
}

h1{
	margin: 0;
	text-align: center;
	letter-spacing: 0.1em;
	font-size: 245%;
	font-family: Verdana, Arial, sans-serif;
	z-index: 1;
	padding: 32px 0 16px;
	color: #BDB;
	line-height: 1;
	text-shadow: 0px .08em 0px #B9A;
	background-image: url(ru.png);
	background-repeat: no-repeat;
	background-position: right top;
}

.section{
	background-color: #221;
	color: #987;
	margin: 32px 32px 0 0;
	padding: 0 0 1px 16px;
	background-image: url(section.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.section p ,
.section ul ,
.section ol ,
.section dl{
	margin-right: 16px;
}

h2{
	margin: 0;
	padding: 16px 32px 16px 0;
	line-height: 1;
	font-size: 140%;
	font-family: Verdana, Arial, sans-serif;
	color: #96C;
	background-image: url(ru.png);
	background-repeat: no-repeat;
	background-position: right -32px;
}
h2:first-letter{
	color: #F60;
	font-size: 120%;
}

h3{
	font-size: 120%;
	font-family: Verdana, Arial, sans-serif;
	color: #A68;
	padding: 0 16px 0 0;
}

ul , ol{
	font-size: 96.12%;
}
ul ul , ul ol , ol ul , ol ol{
	font-size: 100%;
}

blockquote{
	background-color: #332;
	padding: 1px 1em;
	border: 1px dashed #987;
	margin: 1em 3em;
	-moz-border-radius: 10px;
}

pre{
	font-size: 96.12%;
}

form {
	margin: 0 0 1em;
}

#linebbs{
	font-size: 96.12%;
}
/*
#linebbs dt{
	float: left;
	clear: left;
	width: 18em;
}

#linebbs dd{
	padding: 0;
	margin: 0;
}
*/
#linebbs dt {
	width: 18em;
}

#linebbs dd {
	padding: 0;
	margin: -1.5em 0 0 18em;
}

label{
	font-family: "MS Gothic", monospace;
}
input.text , textarea {
	border: 1px solid #987;
	padding: 2px;
	font-size: 96.12%;
	background-color: #221;
	color: #987;
	line-height: 1;
}
input.button {
	border: 1px solid #987;
	background-color: #543;
	color: #987;
	font-size: 96.12%;
	line-height: 1;
	padding: 2px;
}
form p {
	margin: 0;
}

table{
	border: none;
	border-collapse: collapse;
	margin: 0 16px 2em 0;
}

th, td{
	padding: 1px 3px;
	border: 1px solid #987;
}

th{
	background-color: #332;
}

td{
	font-size: 96.12%;
}

em{
	font-weight: bold;
	color: #F60;
}

@media screen and (min-width: 1200px) {
div#headline {
	position: fixed;
	border-radius: 0 32px 32px 0;
	width: 20em;
}

div#headline, div#headline h2 {
	background-image: none;
}

div.section + div.section {
margin-left: 23em;
	border-radius: 32px 0 0 32px;
}
}
