h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
font-weight: normal;
font-family: Georgia, Verdana, sans-serif;
}

#menu-2 li a {
text-decoration: none;
}

#menu-2 li a.selected {
text-decoration: none;
background:#fff;
display:block;
padding:5px 10px;
border-radius:4px;
color:#000;
}

#layer {
position: relative;
margin:auto;
padding: auto;
}
a.hov:hover
{
color:#000;
text-decoration:underline;
}

ul.menu2
{
	padding: auto;
	text-align: center;
	height:50px;
	font-size: 18px;
}

.medium ul.menu2 { font-size: 20px; }
.large ul.menu2 { font-size: 26px; }

#content  ul 
{
	/*width: 60%;*/
	list-style: none outside none;
	margin-left: 20px;
	margin-bottom: 30px;
	font-size: 18px;
}

#content #menu-2 ul li {
  list-style-image:none;
  }

.medium #content  ul  { font-size: 20px; line-height: 28px;}
.large #content  ul  { font-size: 26px; line-height: 34px;} 



#content  table
{font-size: 18px;}
.medium #content  table  { font-size: 16px; line-height: 20px;}
.large #content  table  { font-size: 20px; line-height: 30px;} 

#content  ul li
{
	list-style: none outside ;
	margin-left: 5px;
	margin-bottom:5px;
	position:relative;
	/*list-style-image: url("images/line.png");*/
}
ul.menu2 li
{
	margin-top:20px;
	padding: 0 10px;
}
#header ul.menu3
{
	padding: auto;
	text-align: center;
	font-size: 18px;
}
#header ul.menu3 li
{
	float: left;
	padding: 0 10px;
}
#content
{
	padding: 20px 10px 30px 10px;
	min-height:570px;
}
#content p
{
	font-size: 18px;
	color:#000;
	display:block;
}
.medium #content p { font-size: 20px;  line-height: 24px;}
.large #content p { font-size: 26px;  line-height: 28px;}

#footer p, #footer address
{
	margin: 0 0 20px 0;
	font-size:18px;
	color:#000;
	font-style:normal;
}
.medium #footer p { font-size: 16px; }
.large #footer p { font-size: 16px; }

#footer p strong{color:#000;}


/*** news ***/

.news-date-time { width:100px; }

.news-list
{
	font-size: 16px;
	float: left;
	margin: 0 0 10px 0;
	color:#000;
	width: 100%;
}
/*** and news ***/


#content .propery
{
	margin: 0 0 30px 0;	
}

.medium .news-list { font-size: 18px; line-height: 20px; }
.large .news-list { font-size: 22px; line-height: 22px; }

.medium .news-date-time { font-size: 18px; line-height: 20px; }
.large .news-date-time { font-size: 22px; line-height: 22px; }

a.not
{
	text-decoration: none;
}
#footer
{
	padding: 30px 10px 0 10px;
	height:110px;
}
h1
{
	font-size: 26px;
	font-weight:bold;
	color:#000;
	margin-bottom: 10px;
}
.medium h1 { font-size: 30px; line-height: 40px; }
.large h1 { font-size: 34px; line-height: 44px; }

ul.resizer
{float:right;}
ul.resizer  li
{float:left;  padding: 0 5px 0 0;}

#content ul.nav 
{margin: 0px;}
#content ul.nav li
{
	float: left;
	list-style: none outside none;
	padding: 0 3px 0 0;
}
#content ul.nav li.second
{
	/*background: url("images/nav.png") left center no-repeat;*/
	padding: 0px;
}
#content .image 
{
	float: left;
	margin: 30px 0 20px 0;
	font-size: 16px;
} 
#content .image img
{
	float: left;	
	margin: 10px 20px 20px 0;
} 
#content .image .text
{
	font-size:14px;
	margin-top: 5px;
}
.medium #content  .image{ font-size: 20px; }
.large #content  .image { font-size: 26px;}


#content h2
{
	font-size: 22px;
	font-weight: bold;
	color:#000;
	width: 100%;
	margin: 0px 0 20px 0;
}
.medium #content h2{ font-size: 26px; line-height: 36px; }
.large #content h2 { font-size: 30px; line-height: 40px; }

#content h3
{
	font-size: 20px;
	color:#000;
	font-weight: bold;
	width: 100%;
	margin: 0px 0 20px 0;
}

.medium #content h3{ font-size: 24px; line-height: 34px; }
.large #content h3 { font-size: 28px; line-height: 38px; }

#content  ul.num li
{
	list-style: decimal outside none;
}
#content h4
{
	font-size: 20px;
	color:#000;
	font-weight: bold;
	width: 100%;
	margin: 0px 0 20px 0;
}
.medium #content h4{ font-size: 22px; line-height: 32px; }
.large #content h4 { font-size: 26px; line-height: 36px; }

#content .big
{
font-size: 44px;
 margin-top:-15px;
 }
 .medium #content .big{  margin-top:0px }
.large #content .big {  margin-top:0px }
 
#content h5
{
	font-size: 17px;
	color:#000;
	font-weight: bold;
	width: 100%;
	margin: 0px 0 20px 0;
}
.medium #content h5{ font-size: 21px; line-height: 31px; }
.large #content h5 { font-size: 25px; line-height: 35px; }

#content  .bottom
{
	margin-bottom: 30px;
}
#content  table.grey 
{
	border: 1px solid #000;
	margin-bottom: 30px;
	border-collapse: collapse;
	border-color:#000;
}
#content  table.grey td.body
{
	padding: 15px 20px 20px 20px;
	border: 1px solid #000;
	border-color:#000;
	border-collapse: collapse;
}
#content  table.grey td.head
{
	background: #C9C9C9;
	padding: 10px 20px;
	border: 1px solid #000;
	border-color:#000;
	border-collapse: collapse;
	font-weight: bold;
}
#content h6
{
	font-size: 16px;
	font-weight: bold;
	color:#000;
	width: 100%;
	margin: 0px 0 20px 0;
}
.medium #content h6{ font-size: 20px; line-height: 30px; }
.large #content h6 { font-size: 24px; line-height: 34px; }
	
ul.colors{float:right;}
ul.colors li
{
	float:left;
	width: 33px;
	padding-right: 5px;
}
.head_text
{
	float:left; 
	margin-top:5px;
	color:#000;
	font-weight:bold;
}
.head_text2
{
	float:left; 
	margin-top:5px;
	color:#000;
	font-weight:bold;
	text-align:right;
}
		
	
/*Замена цвета*/
	
body.color2
{
	background:#000;
}	
.color2 #content p,
.color2 #content h1,
.color2 #content h2,
.color2 #content h3,
.color2 #content h4,
.color2 #content h5,
.color2 #content h6,
.color2 .news,
.color2 #footer p,
.color2 #footer p strong,
.color2 #content ul,
.color2 ul.menu2 li a,
.color2 #header ul.menu li a,
.color2 .head_text2,
.color2 .head_text,
.color2 a,
.color2 #content .image,
.color2 #content table, .color2 label, body.color2,
.color2 .news-list
{
	color:#fff; 
}	

/* by Ilya S. 2017-09-14
.color2 .black-lables
{
   color:#000;*/
}

.color2 #menu-2 a
{
	color:#000;
}

.color2 #header #menu-bottom a
{
	color:#000;
}

.color2 #header #menu-bottom
{
	background:#fff;
}

.color2 #header ul.menu
{
	border-bottom: 1px solid #fff;
	border-top: 2px solid #fff;
}

/*.color2  #header ul.menu li a
{
	border: 1px solid #000;
	position:relative;
}*/
.color2 #header ul.menu li a:hover, .color2 #header ul.menu li a.selected, .color2 #menu-2
{
	text-decoration:none;
	color:#000;
	padding: 7px 10px;
	background: #fff;
	border-color:#fff;
}

.color2 #header table.main_tab
{
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}
.color2 #header table.main_tab td
{
	background: #000;
}
/*.color2 #header .logo
{
	float:left;
	margin: 40px 20px 0 20px;
	position:relative;
	background: url("images/logo2.png") no-repeat;
	height:66px;
	width: 458px;
}*/
.color2 #header .header-2 .title h1 {
    color: #fff;   
}
.color2 #header .header-2 .title h3 {
    color: #fff;    
}
.color2 #header .find form
{
	background: url("images/bg_form2.png") no-repeat scroll left center transparent;
}
.color2 #header .find form .input
{
    background:#000;
	color:#fff;
}	
.color2 #header .find form  .button
{
	background: url("images/loop2.png") no-repeat scroll 20% 3px transparent;
}
.color2 #content  table.grey 
{
	border: 1px solid #fff;
	border-collapse: collapse;
}
.color2 #content  table.grey td.body
{
	padding: 15px 20px 20px 20px;
	border: 1px solid #fff;
	border-collapse: collapse;
}
.color2 #content  table.grey td.head
{
	background: #000;
	border: 1px solid #fff;
	border-collapse: collapse;
}
.color2 #content ul.nav li {
    float: left;
    list-style: none outside none;
    padding: 0 3px 0 0;
}
.color2 #content ul.num li {
    list-style: decimal outside none;
}
.color2 #content ul li {
    /*list-style: none outside url("images/line2.png");*/
}

div.welcome
{
	margin: 0  0 20px 0;
}

.informer .weather
{
	width:200px;
}

.first-man p img
{
	margin-right: 10px;
}

#content .block_message .image, #content .block_message .image img
{
	margin-top: 0px;	
}

.banner_in {background:#CCCCCC;padding:30px;margin-top:10px;border-radius:4px;text-align:center;}
.banner_in a:hover{color:#393939}
.banner_in:hover{background:#DDDBDB}

.bottom{padding:0;margin:0}

.img_off img{
	display: none;
}

font {color:#000 !important;}

.color2 font {color:#fff !important;}

.color2 .override
{
  color: #000 !important;
}

.color2 .override font
{
  color: #000 !important;
}

.color2 #header ul.menu {background:#fff;}
.color2 #header ul.menu li a , .color2 #prof, .color2 #prof a{color:#000;}
.color2 #header ul.menu li a:hover, .color2 #header ul.menu li a.selected, .color2 #menu-2 li a.selected {color:#fff;background:#000;border-radius:4px;}

.color2 #menu-2 li a:hover
{
	text-decoration:underline;
}

.color2 .banner a {color:#000;}

#prof
{
	background:#DEDEDE;
	border-radius:5px;
	margin-top:10px;
}

#prof h3
{
	text-align:center;
	font-weight:bold;
	padding:10px;
}

#content{padding:20px;}

#title { padding-left:5px; }

/*.color2 .news-date-time {border-radius:4px;border:1px solid #fff;padding:5px;margin-top:10px;}*/