/*Diamer
Author: Dmitri Anisimov
*/


/*  Разметка страницы  */

body {
background: #660000;
color: #222; 
font-family: Verdana, Arial, Tahoma, Helvetica, Sans-Serif; 
font-style: normal;
padding: 0px;
margin: 0px;
font-size: 9pt;
line-height: 170%;
}
hr {
	color: #888;
	height : 1px;
}

/*  Врезка  */
#wrap {
	background: #fff;
	width: 750px;
	margin: 5px auto auto auto;
	padding: 0px;
	min-height: 1%;
}

/*  Поле (верхнее, нижнее  */
#top {
background: #fff;
padding: 0px;
height: 20px;
}

/*  Основное содержимое  */
#content{
	display:inline;
	background: transparent;
	padding: 0 5px;
	margin: 0px 40px 50px 0px;
	width: 500px;
	text-align: justify;
	float: right;
}

/*  Основное содержимое  */
#content_mp{
	display:inline;
	background: transparent;
	padding: 0 5px;
	margin: 0px 15px 50px 0px;
	width: 525px;
	text-align: justify;
	float: right;
}

/*  Заголовок страницы  */
#header {
	margin: 0px 20px 0px 20px;
	height: 117px;
	background : url(../images/headerbg.jpg) no-repeat;
}

/*  Строка навигации (верхняя)  */
#topnav {
	height: 25px;
	background: #660000;
	margin: 0px 20px 20px 20px;
	padding: 2px 20px;
	color: #fff;
	text-align: right;
	font-size : 90%;
	clear: both;
}

/*  Боковая панель навигации  */
#sidebar {
	display: inline;
	width: 145px;
	background: transparent;
	padding: 0px;
	margin: 0px 0px 50px 40px;
	float: left;
	font-size : 90%;
}

/*  Правая панель навигации  */
#rightsidebar {
	display: inline;
	width: 145px;
	background: transparent;
	padding: 0px;
	margin: 0px 40px 50px 0px;
	float: right;
	font-size : 90%;
}

/*  Подвал страницы  */
#foot {
height: 50px;
background: #660000;
margin: 0px 20px 0px 20px;
padding: 20px 0px;
color: #fff;
text-align: center;
font-size : 90%;
clear: both;
}

/*  Параметры текста  */


h1 {
	font-size : 125%;
} 
h2 {
	font-size : 110%;
}
h3 {
	font-size : 100%;
}
h1, h2, h3 {
	color: #660000;
	margin: 15px 0px 10px;
	padding: 0px;
	clear: both;
	font-weight: bold;
	text-align : left;
}

#sidebar h2 {
	font-size : 105%;
	font-weight : normal;
	margin : 15px auto 5px;
}
#rightsidebar h2 {
	font-size : 105%;
	font-weight : normal;
	margin : 15px auto 2px;
}

/*classes*/

.center {
text-align: center;
}
.right {
float: right;
}
.left {
float: left;
}
.none {
display: none;
}
.righttxt {
text-align: right;
}
.lefttxt {
text-align: left;
}
.credits {
clear: both;
}
.comments {
	font-size : 90%;
	text-align : left;
}
.mainpage {
	margin : 0px 0px 8px 20px;
}
.newgroup {
	margin-top : 5px;
}


/*  Иллюстрации  */

img {
	border-style: none;
	margin: 10px 0px 10px 0px;
}
.header{
	float : right;
	margin : 10px 5px 0px 0px;
}
.intextleft{
	float : left;
	margin : 5px 30px 10px 0px;
}
.intextright{
	float : right;
	margin : 5px 0px 10px 30px;
}
.label{
	float : right;
	margin : 0px 0px 10px 40px;
}
.border {
border: 1pt solid #660000;
}

/*  Ссылки  */

a:link, a:visited {
	color : #888;
	text-decoration : underline;
}
a:hover, a:active {
	color : Red;
	text-decoration : underline;
}

#topnav a:link {
	color : #fff;
	text-decoration : underline;
}
#topnav a:visited {
	color : #fff;
	text-decoration : underline;
}
#topnav a:hover {
	color : #ffaaaa;
	text-decoration : underline;
}

#sidebar a:link {
	text-decoration : none;
}
#sidebar a:visited {
	text-decoration : none;
}

#foot a:link {
	color : #fff;
	text-decoration : underline;
}
#foot a:visited {
	color : #fff;
	text-decoration : underline;
}
#foot a:hover {
	color : #ffaaaa;
	text-decoration : underline;
}

/*  Списки  */

ul {
	list-style-type: square;
	list-style-position: outside;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 0px 20px;
}
ol {
	list-style-position: outside;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 20px;
}
ol li{
	margin: 0px 0px 10px 0px;
}
#sidebar ul {
	list-style-type : none;
	list-style-position : outside;
	text-align : left;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 2px;
}
#rightsidebar ul {
	list-style-type : none;
	list-style-position : outside;
	text-align : left;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 4px;
}
.spacer {
	margin : -6px;
}

/*  Формы  */

input , textarea, select, option {
font-family: Verdana, Arial, Tahoma, Helvetica, Sans-Serif; 
font-size: 100%;
padding: 0px 0px;
background: #fff;
color: #111; 
border: 1px solid #dddfdb;
margin: 2px;
}

/*  Таблицы  */

table {
	border: 1pt solid #660000;
	font-family: Verdana, Arial, Tahoma, Helvetica, Sans-Serif;
	font-size: 100%;
	text-align : center;
	width : 100%;
	margin: 2px auto 20px;
}
td{
	border: 1pt solid #660000;
}


