html {
	height: 100%;
}

body {	
	height: 100%;
	font-family: verdana, helvetica, sans-serif;
	font-size: 13px;
	padding: 0px;
	background-color: #ffffff;
	color: #222222;
	margin: 0px;
	line-height: 22px;
}

/* Common  layout for 100% height */
#mainLayout {
	min-height: 100%;
	margin-bottom: -50px;
}

* html #mainLayout {	/*  IE 5.*, IE 6 hack */
	height:100%;
}

#header {
	background-color: #0022aa;
	color: #fff;
/* 	padding: 30px 40px 30px 40px; */
	padding: 20px 40px 20px 40px;
	line-height: normal;
}

#header h1 {
	font-size: 30px;
	padding: 0px;
	margin: 0px;
}

#header h2 {
	font-size: 14px;
	padding: 0px;
	margin: 0px;
}

#menu {
	padding: 5px 30px 0px 30px;
	margin-bottom: 30px;
	color: #222222;
	background-color: #f5f5f5;
	border-bottom: solid 1px #DADADA; /*это место влиет на глюк меню в опере*/
	line-height: normal;
}

#menu div {
	clear: both;
}

#menu ul {
	display: block;
	position: relative;
	top: 1px;
	list-style: none;
	padding: 0px;
	margin: 0px;
	
}
	
#menu ul li {
	position: relative;
	float: left;
	border: solid 1px #dadada;
	border-bottom: 0px;
	margin-right: 5px;
}

#menu ul li a {
	display: block;
	padding: 5px 10px 8px 10px;
	text-decoration: none;
	background-color: inherit;
	color: #333333;
}

#menu ul li a:hover {
	background-color: #0022AA;
	color: #fff;
}

#menu ul li.active, #menu ul li.active a, #menu ul li.active a:hover {
	background-color: #ffffff;
	color: #333333;
}

#content {
	padding-right: 2%;
	padding-left: 2%;
	vertical-align: bottom;
	
}

#clearer {
	clear: both;
	height: 50px;
	
}

#footer {
	position: relative;
	margin-top: 5px;
	padding-top: 5px;
	border-top: solid 1px #DADADA;
	clear: both; 
	height: 30px;
}

#copyright {
	padding: 6px 200px 0 200px;
	text-align: center;
}

#counters {
	position: absolute;
	right: 0;
	top: 7px;
	width: 200px;
	text-align: center;
}

/* Common definitions */

p {
	text-align: justify;
	/*line-height: 22px; перенесен из P в BODY, добавлено line-height: normal; в #header и #menu*/
	
	
}

a {
	background-color: inherit;
}

a:hover {
	text-decoration: none;
}

a:active {
	color: #0000EE;
}

a:link {
	color: #0000EE;
}

a:visited {
	color: #551A8B;
}

ul {
	list-style: disc;
	/* margin-bottom: 15px; */
}

h3 {
	font-size: 20px;
	/* margin-bottom: 30px; */
}

h4 {
	font-size: 13px;
	/* margin-bottom: 5px; */
}

.red_highlight {color: #ff0000; font-weight: bold;}

#links_list ul {list-style-type: none;}

.clearit { clear: both;	height: 1px;}
