/* COMMON STYLE
--------------------------------------------------------- */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
}

body {
    SCROLLBAR-FACE-COLOR: #5F8DC6; 	
    SCROLLBAR-HIGHLIGHT-COLOR: #e0e0e0;  
    SCROLLBAR-SHADOW-COLOR: #e0e0e0; 	
    SCROLLBAR-ARROW-COLOR: white; 	
    SCROLLBAR-BASE-COLOR: white; 	
    scrollbar-3d-light-color: blue; 
    scrollbar-dark-shadow-color: black;
	color: #1E4769;
	background: #FFFFFF;
	font-family:  Arial, Helvetica, sans-serif;
	font-size: 10pt;
	line-height: 100%;
}

div#wrapper {
    min-width:1020px;
	vertical-align: text-top;
}

table {
  border: 0; 
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}

td {
	font-family:  Arial, Helvetica, sans-serif;
	font-size: 10pt;
	margin: 0;
	padding: 0;
}

/* Normal link */
a {
	color: #000000;
	text-decoration: none;
}

a:hover, a:active, a:focus {
    color: #007858;
	text-decoration:underline; }

/* Heading */
h1 {
	font-size: 180%;
}

h2 {
	font-size: 150%;
}

h3 {
	font-size: 125%;
}

h4 {
	font-size: 100%;
	text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6, p, pre, 
blockquote, ul, ol, dl, address,
.componentheading,.contentheading,
.contentpagetitle,.sectiontableheader,.newsfeedheading{
  margin: 1em 0;
  padding: 0;
}

td, div {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

i, dd, blockquote {
  margin-left: 1em;
}
fieldset {
  border: none;
}

/* td STYLE
--------------------------------------------------------- */
#main {
  margin: 0px;
  width: 100%;
  height: 100% ;
}

div#copyright p {
   font-size: 60%; 
}


div#copyright  {
   position: absolute; 
   margin: 0px;
   top: 0;
   left: 10px;
   white-space: nowrap;
   
} 

#cpl  {
   position: relative; 
   margin-bottom: 40px;
   height:1px;
} 

div#bot_l {
    position: relative; 
	margin: 0px;
	top: 0px;
	left: 0px;
	width: 226px;
}

div#head_title_w {
   white-space: nowrap;
   vertical-align: top;
   padding: 0;
   margin: 0;
}

div#h_l {
   white-space: nowrap;
   width: 13px;
}

div#h_r {
   white-space: nowrap;
   width: 152px;
}

div#head_up {
  padding: 0px ;
  width: auto;
  margin-top: -4px;
  margin-bottom: -1px;
  position: relative;
  text-align: left;
  vertical-align: top;
  color: #FFFFFF;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-size: 26pt;
  font-weight: bold;

}





#pane_inner {
   white-space: nowrap;
   vertical-align: top;
   padding: 0;
   margin: 0;
}


 
#menu-outer div {
   margin: 0 auto;
   padding-top: 10px;
   white-space: nowrap;
}
 
/* menu links */

#mainlevel {
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  height: 32px;
  float: left;
  width: auto;
}

#mainlevel  li {
	float: left;
	/*background: url(../images/stanki_line_30.gif)  left no-repeat;*/
	margin: 0;
	padding: 0;
}


ul#mainlevel   {
  margin: 0;
  padding: 0;
  margin-top: 5px;
  list-style:none;
}

a.mainlevel:link, a.mainlevel:visited {
  font-family:  Arial, Helvetica, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  height: 10px;
  float:left;
  display:block;
  padding: 0 20px 0 15px ;
  text-decoration: none;
}

a.mainlevel:hover {

}

#mainlevel_left {
  margin-left: auto;
  margin-right: auto;
  height: 32px;
  float: left;
  width: 200px;
}

ul#mainlevel_left  li {
	float: left;
	background: url(../images/stanki_line_30.gif)  bottom no-repeat;
	margin: 0;
	padding: 0;
    width:220px;
}


ul#mainlevel_left   {
  margin: 0;
  padding: 0;
  list-style:none;
  width:200px;
}

a.mainlevel_left:link, a.mainlevel_left:visited {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  height: auto;
  float:left;
  display:block;
  padding: 5px 5px ;
  text-decoration: none;
  width:190px;
  text-align: right;
}

a.mainlevel_left:hover {
  text-decoration:underline;  
}


ul#mainlevel_left1  li {
	float: left;
	background: url(../images/stanki_line_30.gif)  bottom no-repeat;
	margin: 0;
	padding: 0;
    width:206px;
	background-color: #ffff00;
}


ul#mainlevel_left1   {
  margin: 0;
  padding: 0;
  list-style:none;
  width:200px;
  
}

a.mainlevel_left1:link, a.mainlevel_left:visited {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  height: auto;
  float:left;
  display:block;
  padding: 5px 0px 5px 0px;
  text-decoration: none;
  width:190px;
  text-align: right;
 
}

a.mainlevel_left1:hover {
  text-decoration:underline;  
}

/* content styles */
#pane {
	padding: 0px 30px ;
	margin:0;
	background: url(../images/s3.jpg) no-repeat right bottom;
	width: 100%;   
	height: 100%;   
	vertical-align: top;
}

.componentheading {
	font-size: 100%;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #007858; 
}

.contentdescription {
	padding-bottom: 30px;
}

h2.contentheading {
	
}

table.blog .contentheading {
	font-size: 100%;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color:#007858;
}

.contentheading {
	font-size: 100%;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #007858;
	
}

a.contentpagetitle,
a.contentpagetitle:hover,
a.contentpagetitle:active,
a.contentpagetitle:focus {
	text-decoration: none !important;
}


table.contentpaneopen td, table.contentpane td {
   text-align:justify; 
   padding-right: 30px;  
}

table.contentpaneopen, table.contentpane, table.blog {
	width: 100%;  
}


/* Форматирование ссылки "Подробнее..." для содержимого */
a.readon:link,a.readon:visited {
  font-weight: bold;
} 

a.readon:hover {
  font-weight: bold;
}

a.back_button {
  font-weight: bold;
}
a.back_button:hover
{
  font-weight: bold;
}
.contentdescription {} /* Форматирование текста "ОПИСАНИЕ" у разделов и категорий (Новости/Ссылки/Последние новости...) */
table.contenttoc {} /* Форматирование таблицы оглавления для многостраничного содержимого */
table.contenttoc td {} /* то же самое, форматирование текста таблицы оглавления */
table.contenttoc th {} /* то же самое, форматирование заголовка таблицы оглавления */
table.contenttoc td.toclink {} /* то же самое, форматирование названий страниц содержимого*/
a.toclink:link {} /* то же самое, форматирование ссылок на страницы содержимого*/
a.toclink:visited {} 
a.toclink:hover {} 


/* ОТОБРАЖЕНИЕ ТАБЛИЦ С ДАННЫМИ (Автор, Дата, Название и Просмотры) */
.sectiontableheader {} /* Форматирование отображения заголовка таблицы.
Например: заголовок таблицы - это "Дата", "Название", "Автор" и "Просмотры" */
/* Форматирование чередующихся строк таблиц */
.sectiontableentry1 {} 
.sectiontableentry2 {}


/* ФОРМАТИРОВАНИЕ МОДУЛЕЙ */
/* Примечание: параметр модуля (стиль модуля) - параметр функции 
вывода модуля в шаблоне - mosLoadModules ( 'позиция', параметр); */
.module {
  padding: 0;
  margin:0;} /* Форматирование модулей, выводимых с параметром -3 */
  
table.moduletable {
   padding: 0;
   margin:0;
} /* Форматирование модулей, выводимых с параметром 0 или 1*/

table.moduletable td {
   padding: 0;
   margin:0
  } /* Форматирование текста модуля table.moduletable */
div.moduletable {
    padding: 0;
	margin:0;
 } /* Форматирование модулей, выводимых с параметром -2 */
div.moduletable_left {
    padding:0;
	margin:0;
	width: 200px;
	/*background: url(../images/stanki_line_30.gif)  bottom  no-repeat;*/
 } /* Форматирование модулей, выводимых с параметром -2 */
div.moduletable h3 {
    padding:0;
	margin:0;
  } /* Форматирование заголовка модуля div.moduletable */

/* Страница поиска */
table.searchintro {} /* Форматирование текста "Поиск по словам: test возвращено 4 результата" */ 

/* горизонтальная разделительная линия в вашем шаблоне */
hr { 
  border: none; /* Убираем границу для браузера Firefox */
  color: #1E4769; /* Цвет линии для браузера Internet Explorer */
  background-color: #1E4769; /* Цвет линии для браузера Firefox и Opera */
  height: 1px; /* Толщина линии */
  width: 100% /* Ширина линии */} 
  
hr.separator {}

/* НАСТРОЙКИ ФОРМ (FORMS) */ 

form {
	margin: 0;
	padding: 0;
}

form label {
	cursor: pointer;
}

input, select, textarea, .inputbox {
	padding: 1px 5px;
	font-family: Calibri, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 100%;
}

.button {
	padding: 3px 5px;
	border: 1px solid #DA251D;
	background: #f8c300;
	color: #DA251D;
	font-size: 85%;
	text-transform: uppercase;
}

.button:hover, .button:focus {
	border: 1px solid #DA251D;
	background: #f8c300;
	color: #DA251D;
}

* html .button {
	padding: 0px 0 !important; /*IE 6*/
}

*+html .button {
	padding: 0px 0 !important; /*IE 7*/
}

.inputbox {
	border: 1px solid #DA251D;
	background: #FFFFFF;
	height: 21px;
	color: #DA251D;
}

.inputbox:hover, .inputbox:focus {
	background: #FFFFCC;
}
#searchForm .button {
   background: url(../images/search_button.png) no-repeat top #f8c300;
   color: #f8c300;
   width: 20px;
   height: 21px;
}

 /*форматирование <div>, в котором вложены элементы поиска: inputbox, кнопка поиска...*/

div.search .button {
   background: url(../images/search_button.png) no-repeat top #f8c300;
   color: #f8c300;
   width: 21px;
   height: 21px;
   
}
div.search input {
  float:left;
}

.button_prod {
	padding: 3px 5px;
	border: 1px solid #DA251D;
	background: #f8c300;
	color: #DA251D;
	font-size: 185%;
	text-transform: uppercase;
}

.button_prod:hover, .button_prod:focus {
	border: 1px solid #DA251D;
	background: #f8c300;
	color: #DA251D;
}

.li20 {
   padding-left: 20px;
}

.ul30 {
   padding-left: 20px;
}

.story_table {
border-collapse:collapse;  
border: 1px solid #DA251D; 
width: 95%
}
.story_img {
border-collapse:collapse;  
border: 1px solid #DA251D; 
}

 
 
  
