#TopKeywords {
	font-size: 100%;
	background-color: #131e24;
	border: 1px solid black;
	border-top: 5px solid #bcd735;
	text-align: center;
	color: #6c6b6b;}
#mainmenu {
	border: 0px;
	text-align: left;
	vertical-align: middle;
	background-color: #131e24b6b58c;
	background-color: #313131;
	
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	height: 20px;
}
#mainmenu A
{
    COLOR: #A3A3A3;
	text-shadow: 2px 2px 1px #000;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    font-weight: bolder;padding: 3px 10px 0 10px;
    text-decoration: none;
	}
#mainmenu A:hover
{
	COLOR: silver;
	text-shadow: 2px 2px 1px #000;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none
}

body {background-color: #ffffcd;
 
}
/*color: #79B30B;background: #fff;
*/
div#header h1 
{
margin:0;padding:15px 0 0 10px;font-size: 220%;
color: black;
text-shadow: 1px 1px 1px #000;
}
a#headlink{
height:80px;line-height:80px;margin:0;padding-left:10px;font-size: 220%;
color: black;
text-shadow: 1px 1px 1px #000;
}

div#header a{position:absolute;right:10px;top:48px;font-size: 100%;}

* {
	margin: 0;
	padding: 0;
}
a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a.expand {
}
a.expand:hover {
}
/* End of of styles for the demonstration */


img {
	border: none;
}

input {vertical-align: middle}
#wrapper {
	width: 100%;
	min-width: 1000px;
    position: absolute; /* Абсолютное позиционирование */
    left: 0; /* Положение от левого края окна */
    top: 0px; /* Положение от верхнего края */


}


/* Header
-----------------------------------------------------------------------------*/
#header {
	background: url(http://www.nppiris.vrn.ru/img_design/header_.png) #b6b58c;
	height: 50px;
}

A:link {
        COLOR: #635d45; TEXT-DECORATION: underline;
}
A:visited {
        COLOR: #635d45; TEXT-DECORATION: underline;
}
A:hover {
        COLOR: black; TEXT-DECORATION: underline;
}
A:active {
        COLOR: black; TEXT-DECORATION: underline;
}
h1,h2,h3,h4 {
	padding : 5px;
	font-size:120%;
}
p {margin: 10px 18px;}
ul,li,ol {margin: 3px 25px;}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	background: #ffffce;
}
#container {

}
#container:after {
}
#content {
}

.center {
        TEXT-ALIGN: center;
}

.p2{margin-left:auto;margin-right:auto;}


td {padding:0px;}

/* Sidebar Left
-----------------------------------------------------------------------------*/
.sl {
	font-size:120%;
	padding-left:15px;
	background: url(http://www.nppiris.vrn.ru/design/bg.jpg) #ffffce no-repeat 0px 0px;
}


/* Sidebar Right
-----------------------------------------------------------------------------*/
.sr {
	font-size:100%;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	background: #131e24;
	border-top: 2px solid #e64117;
    margin:0 auto;
    vertical-align: middle;
	width: 100%;
	min-width: 1000px;

}

.middle{margin:0 auto;
}


/*new middle contest*/
div.bg{
	z-index: 1; /* Порядок слоев */
    width: 100%; /* Ширина слоя с фоном */
    height: 100%; /* Высота слоя с фоном */
    position: absolute; /* Абсолютное позиционирование */
    left: 0; /* Положение от левого края окна */
    top: 0; /* Положение от верхнего края */

}
div.table{
	height:0;
}
div.tr{
	height:0;
}
/* не для IE */
div.table[class] {height:auto; display: table;}
div.tr[class] { height:auto; display: table-row;}
div.td[class] {float:none; display: table-cell;}

div.td{
	height: 100%; 
	float: left;
}
#main{
	width:100%;
}
#first{
	height:100%;
	position:relative;
	z-index:1;
	width:800px;
}
#second{
	width:100%;
	margin:0 -30% 0 -800px; 
	padding:0 30% 0 800px;
}
/* не для IE */
#second[id]{
	width:auto;
	margin:0;
	padding:0;
}
#third{
	width:255px;
	padding: 5px;
}


