html, body {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

html {
	height: 100%;
	margin-bottom: 1px;
    font-size:100.01%;
}


body {
font-family: Verdana, Arial, sans-serif;
text-align:left;
color:#000500;
font-size:10px;  
line-height: 1.3em; 
background:#fff url(../images/bg3.jpg) top right no-repeat;
}


p {  margin: 5px 0px;text-align:left;}

h1, h2, h3, h4, h5, h6, .contentheading {
    font-family: Tahoma, Arial, sans-serif;
    color:#000500;
    line-height: 110%;
    font-weight: normal;
	padding-bottom: 5px;
	margin: 5px 0;
}

h1,.contentheading { font-size: 18px;font-weight: normal;}
h2 {font-size: 14px;color:#9f1e10;font-weight: bold;}
h3 {font-size: 18px;font-weight: bold;}
h4 {font-size: 150%;}
h5 {font-size: 130%;}
h6 {font-size: 90%;}

a {text-decoration: underline;color:#1f86c3;}
a:hover {text-decoration: none;color:#1f86c3;}

a img {border:none;}
img {border:0;}
ul {list-style: square;}



/*Весь шаблон.
-----------------------------------------------------------------------*/
#all {margin:0 auto;}


/*Блок WRAP. Верхняя часть шаблона
-----------------------------------------------------------------------*/
#wrap{
padding:20px 0 0 0;
background: url(../images/bg2.jpg) bottom left repeat-x;
overflow:hidden;
height:100% !Important;
height:1%;
} 

#wrapin {
padding:0 0 50px 0;
background: url(../images/bg.jpg) bottom left no-repeat;
overflow:hidden;
height:100% !Important;
height:1%;
}


#wrap_left {
float:left;
width:315px;
}

.logo {
margin:30px 0 30px 60px;
}

#left {
padding:0 20px 0 40px;
}

#left .moduletable {
padding:0 0 30px 0;
}

#wrap_right {
float:right;
width:100%;
margin-left:-315px;
}

#wrap_rightin {
margin-left:315px;
padding:0 0 0 30px;
}

#wrap_rightin .moduletable, #wrap_right .moduletable {
padding:0 0 30px 0;
}

#top_block {
padding:0 10px 20px 0;
overflow:hidden;
height:100% !Important;
height:1%;
}

#top_block_left {
float:left;
width:86%;
}

#top_block_right {
float:right;
width:14%;
text-align:right;
}

.small_button {
margin-left:2px;
}

#topblock{
margin: 0px 30px 0px 0px;
padding: 0px 0px 0px 0px;
overflow:hidden;
height:100% !Important;
height:1%;
}

#user1,#user2 {
float:left;
overflow:hidden;
}


#pway {
background: url(../images/modul_bg.png) bottom left no-repeat;
font-size:11px;
width:100%;
padding:0px 0 15px 0;
margin:0 0 15px 0;
}

#pway a{
text-decoration: none;
}
#pwin{padding:0;}

#central_block {
overflow:hidden;
height:100% !Important;
height:1%;
}

#content {
float:left;
width:100%;
margin-left:-250px;
}

#contentin {
margin-left:250px;
padding:0 30px 0 0;
}

#content_N {
width:100%;
}

#contentin_N {
padding:0 30px 0 0;
}

#right_block {
float:right;
width:250px;
}

#right_blockin {
background: #ebebef;
padding:0 25px;
}

.rbg {
width:100%;
height:25px;
background: url(../images/rbg.png) top left no-repeat;
}

.rbg2 {
width:100%;
height:25px;
background: url(../images/rbg2.png) bottom left no-repeat;
}

#bottomblock{
margin: 0px 30px 0px 0px;
overflow:hidden;
height:100% !Important;
height:1%;
}

#user3,#user4 {
float:left;
overflow:hidden;
text-align:left;
}


#bottomblock .moduletable {
margin:0;
padding:0 20px 0 0;
}

#bottomblock .moduletable h3{
color:#990f00;
padding:15px 10px;
background: url(../images/modul_bg.png) bottom left no-repeat;
}


/*Блок WRAP2. Нижняя часть шаблона
-----------------------------------------------------------------------*/

#wrap2 {
padding:25px 0;
overflow:hidden;
height:100% !Important;
height:1%;
background: #e3e2df url(../images/bg_wrap2.jpg) top left repeat-x;
color:#797771;
}

#wrap2_right {
float:right;
width:100%;
margin-left:-315px;
}

#wrap2_rightin {
margin-left:315px;
padding:0 30px;
}

#wrap2_left {
float:left;
width:315px;
}

.tel {
padding:10px 0 0 10px; 
}

#wrap2 p {
padding:0 20px;
margin:10px 0;
border-left:3px solid #990f00;
}

#footer {
overflow:hidden;
height:100% !Important;
height:1%;
}

#footl {
float:left;
width:75%;
}

#footr {
float:left;
width:29%;
}


/*Joomla стили.
-----------------------------------------------------------------------*/

.contentpaneopen{width: 100%;text-align: left;}

.article_seperator {height:0px;}



/* Модуль с префиксом _style1 
------------------------------------------------------------------------*/

.moduletable_style1 {
padding-right:20px;
}

.moduletable_style1 h3{
color:#990f00;
padding:15px 10px;
background: url(../images/modul_bg.png) bottom left no-repeat;
}

.moduletable_style1 p{
padding:5px 0 0 0;
}

.moduletable_style1 img {
float:left;
}

.style1 {
float:left;
padding-bottom:10px;
width:100%;
}

/* Модуль с префиксом  _style2 
------------------------------------------------------------------------*/

.moduletable_style2 {
padding:0 0 30px 0;
}

.moduletable_style2 h3{
margin:0 0 10px 0;
padding:5px 0;
letter-spacing: 2px;
font-weight: normal;
font-size:14px;
border-bottom:1px dotted #666;
}

/* Верхнее меню с префиксом _top 
------------------------------------------------------------------------*/
ul#mainlevel_top {padding:0; margin: 0;}
ul#mainlevel_top li  {display: inline;list-style-type: none;}
ul#mainlevel_top li a {padding: 0 10px 0 0;margin: 0 10px 0 0;border-right: 1px solid #dadada;font-size:11px;}

/* Верхнее меню с префиксом _foot 
------------------------------------------------------------------------*/
ul#mainlevel_foot {padding:0 0 10px 0; margin: 0;}
ul#mainlevel_foot li  {display: inline;list-style-type: none;}
ul#mainlevel_foot li a {padding: 0 5px 0 0;margin: 0 5px 0 0;border-right: 1px solid #1f86c3;font-size:11px;}


/*Меню с префиксом _left
-----------------------------------------------------------------------*/
.moduletable_left {
padding:0 0 30px 0;
margin:0 30px 0 0;
}

.moduletable_left td {
text-align:right;

}

a.mainlevel_left {
line-height: 22px;
display:block;
text-transform:uppercase;
text-decoration:none;
font-size:12px;
padding:0px 0px 0px 0px;
margin:0 10px 0 0;
border-bottom:1px dotted #1b71bd;
}
a:hover.mainlevel_left, a:hover.sublevel_left {text-decoration:underline;}

a#active_menu_left {}

.moduletable_left div {padding:4px 0 4px 0;}

a.sublevel_left {
display:block;
padding:0px 10px 0px 0px;
background:url(../images/arrow.gif) right center no-repeat;
text-decoration:none;
font-size:11px;
}

/*Меню с префиксом _left2
-----------------------------------------------------------------------*/
.module_left2 {padding:0 0 30px 0;margin:0 0 20px 15px;}
ul#mainlevel_left2 {list-style-image: url(../images/dot.gif);padding:0 20px 0 20px;margin:0;font-size: 12px;}
ul#mainlevel_left2 li {padding:2px 0}
ul#mainlevel_left2 li a{padding:0 0 0 0px;}
ul#mainlevel_left2 li a:link, ul#mainlevel_left li a:visited {}
ul#mainlevel_left2 li a:hover, a#active_menu_left2 {}
a#active_menu_left2 {text-decoration:none;}





/* Модуль с префиксом  _news
------------------------------------------------------------------------*/
.moduletable_news {
padding:0 0 30px 0;
}

.moduletable_news h3{
color:#990f00;
padding:15px 10px;
background: url(../images/modul_bg.png) bottom left no-repeat;
}

#rln_news {

}

#rln_news ul{
list-style-type: none;
padding:0;
margin:0;
}

#rln_news ul li{
padding:10px 0 0 0;
margin:0;
}

.rln_date_news {
color:#818181;
padding:0 0 0 20px;
margin:5px 0;
background: url(../images/news.gif) center left no-repeat;
}




/* Модуль с префиксом  _search 
------------------------------------------------------------------------*/

.moduletable_search {
padding:0 0 30px 0;
}





.red {
margin-left:10px;
padding:0 10px 0 15px;
border-left:3px solid #990f00;
}

table.list tr.alter td {
padding-right: 5px; border-top: #fff 1px solid; padding-left: 5px; padding-bottom: 3px; padding-top: 3px; border-bottom: #fff 1px solid; background-color: #f2f2f2
}
table.list tr td {
padding-right: 5px; border-top: #d0d0d0 1px solid; padding-left: 5px; font-size: 12px; padding-bottom: 5px; padding-top: 5px; border-bottom: #d0d0d0 1px solid
}
table.list div.cell-1 {
float: left
}
table.list div.cell-2 {
float: right
}
table.list.left {
text-align: left! important
}
table.list.right {
text-align: right! important
}
table.list span {
font-weight: bold
}