/* 
======================
   Настройка стилей  bywalino 
======================
*/


/* 
======================================
Настройки отображения основного шрифта
======================================
*/


html
{
  height: 100%;
  padding:0; 
  margin:0;
}


/*Отображения в "голом" теле*/
BODY
{
	 FONT-SIZE: 1em; 
	 FONT-FAMILY: Times New Roman;
    color: #485526;
	
	 margin:0;
	 padding:0;

	 height:100%;
	 min-height:100%;
}   



h1
{
	font: normal normal normal 1.5em "Times New Roman", Times, serif;
	color: #da251d;
	text-indent: 20px;
	
}

h2
{
	font: normal normal normal 1.3em "Times New Roman", Times, serif;
	color: #da251d;
}

h3
{
	font: normal normal normal 1.1em "Times New Roman", Times, serif;
	color: #da251d;
}


.just
{
	text-align: justify;
}


/* 
======================================
Ссылки
======================================
*/

A:link, A:visited{
   color: #8C632E;
	text-decoration: none;
}

A:hover, A:active{
	text-decoration: underline;
   color: #D04133;
}

a.menu:link, a.menu:visited
{
	color: #5C3213;
}
a.menu:hover
{
	color: #BB261E;
	text-decoration: none;
}

a.aShow:link, a.aShow:visited 
{
		border-bottom: 1px dashed #8C632E;
}
a.aShow:hover, a.aShow:active  
{
		border-bottom: 1px dashed #D04133;
		text-decoration: none;
}

/* 
======================================
Каркас страницы
======================================
*/

/*Главный контейнер*/
#main
{
	MIN-HEIGHT: 100%; 
	padding: 20px;
    background: #E4C789;
    
	
}
* html #main {height: 100%;} /*Только для IE */
html>body #main{height:auto;} /*for mozilla as IE treats height as min-height anyway*/


/*Минимальная ширина страницы*/
.minwidth {
	_WIDTH: expression(document.body.clientWidth < "1000" ? "1000px" : "100%");
	min-width: 1000px;
}

/*Минимальная высота страницы*/
.minheight {
    height: auto !important;
	 min-height: 300px;
	 _height: 300px; /*only for IE*/
}

/* Шапка */
#header {
	padding: 0;
	height: 250px;
	position: relative;
	overflow: hidden;
}


/* ОСНОВА КОЛОНОЧНОЙ ВЕРСТКИ. Центральная колонка с отступами по краям*/
.outer {
	margin-left: 200px; 
	margin-right: 205px;

}

/* ОСНОВА КОЛОНОЧНОЙ ВЕРСТКИ. Центральная колонка с отступом слева*/
.outer2 {
	margin-left: 200px; 
	margin-right: 0px;	
}

/* Центральная и левая колонка */
.wrap-cl {
	FLOAT: left;
	WIDTH: 100%; 
	MARGIN-RIGHT: -1px;
}

/*ЛЕВАЯ*/
.left {
	FLOAT: left; 
	MARGIN-LEFT: -200px; 
	WIDTH: 200px; 
	MARGIN-RIGHT: 1px; 
	position: relative;
	
}

/*ЦЕНТРАЛЬНАЯ*/
.center {
	FLOAT: right; 
	MARGIN-LEFT: -1px; 
	WIDTH: 100%;
}
.incenter {
	MARGIN-TOP: 0px;
	margin-left: 20px;
	margin-right: 20px;
}




/*ПРАВАЯ*/
.right {
	FLOAT: right; 
	MARGIN-LEFT: 1px; 
	WIDTH: 209px; 
	MARGIN-RIGHT: -209px; 
	position: relative;
}

.right_not {
	FLOAT: right; 
	MARGIN-LEFT: 1px; 
	WIDTH: 1px; 
	MARGIN-RIGHT: -1px; 
}




.clear {
	clear: both;
}


/* Подвал */
#footer {
	CLEAR: both; 
	HEIGHT: 50px;
}




/* 
=======================================
Хаки  для IE
*/
@cc lt IE 8 begin;
.outer, .outer2,  .wrapper, .minwidth {
	_height: 0;
	zoom: 1;
}
/* rimuove complicazione per Gecko 1.7- */
.left {
	margin-right: 0;
}
@cc end;

@cc lt IE 7 begin;
.minwidth {
	border-left: 1px solid #FFF;
}
.wrapper {
	margin-left: -1px;
	position: relative;
}
@cc end;



/* 
======================================
Дизайн страницы
======================================
*/

.top_bg
{
	background: #BC9A64 url(images/bg1.gif) repeat-x;
}

#header #logo
{
 background: url(images/logo.gif) no-repeat;
 width: 180px;
 height: 71px;
 position: absolute;
 top: 10px;
 left: 0px;
 z-index: 10;
 cursor: pointer;
}
#header #bg
{
 background: url(images/bg_pasha.jpg) no-repeat;
 width: 700px;
 height: 210px;
 position: absolute;
 top: 0px;
 left: 50%;
 margin-left: -350px;
 z-index: 1;
}

#header #top_right
{
	width: 220px;
	position: absolute;
	top: 10px;
	right: 10px;
	text-align: right;
	color: #754300;
	 z-index: 10;
}


/*   TOP MENU BAR */
#topmenu
{
	background: #E4C789 url(images/menu_bg.gif) repeat-x;
	height: 23px;
	position: relative;	
	top: 210px;
	left: 0px;
}
#topmenu_left
{
	background: url(images/menu_bgl.gif) no-repeat;
	height: 23px;
	width: 51px; 
	position: relative;	
	top: 0px;
	left: 0px;
}
#topmenu_right
{
	background: url(images/menu_bgr.gif) no-repeat;
	height: 23px;
	width: 51px; 
	position: absolute;	
	top: 0px;
	right: 0px;
}

#left > p
{
	margin: 0;
	padding: 0;
}
#center > p
{
	margin: 0;
	padding: 0;
}
#right > p
{
	margin: 0;
	padding: 0;
}

/*====================
Поиск
=================*/
.search .searchstr
{
	FONT-SIZE: 0.7em;
}

.search  #search_button
{
	display: inline-block;
	background: url(images/search_icon.gif) no-repeat;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	cursor: pointer;
}

/* Подсветка блока поиска */
.search_style_page
{
 background: #E4C789;
 border: 1px solid white;
}
.search_stylepng
{
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 5px;
}
.search_stylepng_page
{
 background: url(images/icon16_search_page.gif) no-repeat top;
}
.search_style_foto
{
 background: #ecdfcf;
 border: 1px solid white;
}
.search_stylepng_foto
{
 background: url(images/icon16_search_foto.gif) no-repeat top;
}
.search_style_news
{
 background: #F5E7C1;
 border: 1px solid white;
}
.search_stylepng_news
{
 background: url(images/icon16_search_news.gif) no-repeat top;
}
.search_style_article
{
 background: #C8F2C8;
 border: 1px solid white;
}
.search_stylepng_article
{
 background: url(images/icon16_search_article.gif) no-repeat top;
}

/*=======================
Меню верхнее
===========*/
#mainmenu
{
	height: 23px;
	position: absolute;	
	top: 0px;
	left: 55px;
	width: 100%;
}
#mainmenu div.menu_item
{
		position: relative;
		float: left;
      margin: 0;
      padding: 0;	
}
#mainmenu span
{
		display: inline-block;
		background: url(images/menu.gif) no-repeat 0 0;
		width: 19px;
		height: 19px;
		position: absolute;
		top: 2px;
		right: 0px;
}
#mainmenu div.menu_item a
{
	font-weight: bold;	

	margin-right: 22px;
	margin-left: 3px;
   
}
#mainmenu div.menu_item a:link, #mainmenu div.menu_item a:visited
{
	color: #5C3213;
}
#mainmenu div.menu_item a:hover
{
	color: #BB261E;
	text-decoration: none;
}

/*=======================
Меню левое
===========*/
ul#leftmenu
{
  margin:0;
  padding: 0;
  list-style:none;    
}
ul#leftmenu li
{
  list-style:none;    
  font-weight: bold;
  padding-top: 3px;
  padding-bottom: 5px;
  COLOR: #8b4513; 	
}
ul#leftmenu li a
{
    display: block;
	 height: auto;
	 _height: 15px;    
    background: url(images/bullet.gif) no-repeat;
	 padding-left: 20px;
  	 BORDER-BOTTOM: 1px solid #ecdfcf;  
	 padding-bottom: 3px;     
	 
}
ul#leftmenu li a:link, ul#leftmenu li a:visited
{
   COLOR: #8b4513; 
}
ul#leftmenu li a.current:link, ul#leftmenu li a.current:visited
{
   COLOR: #da251d; 
}

ul#leftmenu li a:hover
{
    COLOR: #da251d;
	 TEXT-DECORATION: none;
}

ul#leftmenu  ul.submenu 
{
    margin: 0px;
    padding: 0px;
    padding-left: 20px;
	 padding-top: 5px;	
	 margin-bottom: 5px;
	 background-color: #FCF7EF;
	 
}
ul#leftmenu  ul.submenu li
{
	 padding-bottom: 3px;	

}
ul#leftmenu  ul.submenu  li a
{
   display: block;
	height: auto;
	 _height: 10px;    
   background: url(images/subbullet.gif) no-repeat;
   padding-top: 0px;
	padding-left: 15px;	 
   font-weight: normal;
   BORDER-BOTTOM: 0px solid #ecdfcf; 
		
}
ul#leftmenu  ul.submenu  li a:link, ul#leftmenu  ul.submenu  li a:visited
{
	 color: #441c00;
}
ul#leftmenu  ul.submenu  li a:hover
{
	 COLOR: #da251d;
	 TEXT-DECORATION: none;
}
ul#leftmenu  ul.submenu li ul.submenu li
{
   font-size: 0.9em;
}




/*=================
Хлебные крошки
=========*/

.breadcrumb li a:link, .breadcrumb li a:visited {
	text-decoration: none;
}
.breadcrumb li a:hover, .breadcrumb li a:active {
 	color: #da251d;
	text-decoration: underline;
}




/*==================================
Шрифты
================================*/


.bright
{
	color: #D04133;
}
.dark
{
	color: #8C632E;
}
.grey
{
	color: #858585;
}

.small, .small p
{
	font-size: 0.9em;
}

.big
{
	font-size: 15px;
}
.medium
{
	font-size: 1.1em;
}

.bold
{
	font-weight: bold;
}



/*==================================
Иконки
================================*/
.profile_icon
{
	background: url(images/icon16_profile.gif) no-repeat;
	height: 16px;
	padding-left: 18px;
}
.logout_icon
{
	background: url(images/icon16_logout.gif) no-repeat;
	height: 16px;
	padding-left: 18px;
}
.login_icon
{
	background: url(images/icon16_login.gif) no-repeat;
	height: 16px;
	padding-left: 24px;
}
.register_icon
{
	background: url(images/icon16_register.gif) no-repeat;
	height: 16px;
	padding-left: 18px;
}
.password_icon
{
	background: url(images/icon16_password.gif) no-repeat;
	height: 16px;
	padding-left: 18px;
}








/*=======================
Меню каталога новостей
===========*/

ul#cat_news
{
  margin:0;
  padding: 0;
  list-style:none;    
}
ul#cat_news li
{
  list-style:none;    
  font-weight: bold;
  padding-bottom: 5px;
  padding-top: 3px;
  COLOR: #8b4513;     
    
}
ul#cat_news li a
{
    display: block;
	 height: auto;
    _height: 15px;
    background: url(images/bullet.gif) no-repeat;
    padding-left: 20px;
    BORDER-BOTTOM: 1px solid #ecdfcf; 
	 padding-bottom: 3px; 
    
}
ul#cat_news li a:link, ul#cat_news li a:visited
{
   COLOR: #8b4513; 
}
ul#cat_news li a.current:link, ul#cat_news li a.current:visited
{
   COLOR: #da251d; 
}

ul#cat_news li a:hover
{
    COLOR: #da251d;
    TEXT-DECORATION: none;
}

ul#cat_news   ul.subcat 
{
    margin: 0px;
    padding: 0px;
    padding-left: 20px;
    padding-top: 5px;  
	 background-color: #FCF7EF;  
     
}
ul#cat_news   ul.subcat li
{
     padding-bottom: 3px;    

}

ul#cat_news   ul.subcat  li a
{
    display: block;
	 height: auto;
    _height: 10px;
    padding-top: 0px;
    background: url(images/subbullet.gif) no-repeat;
    padding-left: 15px;     
    BORDER-BOTTOM: 0px solid #ecdfcf; 
     
}
ul#cat_news  ul.subcat li ul.subcat li
{
   font-size: 0.9em;
}



/*=======================
Меню каталога статей
===========*/
ul#cat_articles
{
  margin:0;
  padding: 0;
  list-style:none;    
}
ul#cat_articles li
{
  list-style:none;    
  font-weight: bold;
  padding-bottom: 5px;
  padding-top: 3px;
  COLOR: #8b4513;     
    
}
ul#cat_articles li a
{
    display: block;
    height: auto;
    _height: 15px;
    background: url(images/bullet.gif) no-repeat;
    padding-left: 20px;
    BORDER-BOTTOM: 1px solid #ecdfcf; 
	 padding-bottom: 3px;
    
}
ul#cat_articles li a:link, ul#cat_articles li a:visited
{
   COLOR: #8b4513; 
}
ul#cat_articles li a.current:link, ul#cat_articles li a.current:visited
{
   COLOR: #da251d; 
}

ul#cat_articles li a:hover
{
    COLOR: #da251d;
    TEXT-DECORATION: none;
}

ul#cat_articles  ul.subcat 
{
    margin: 0px;
    padding: 0px;
    padding-left: 20px;
    padding-top: 5px; 
	 background-color: #FCF7EF;   
     
}
ul#cat_articles ul.subcat li
{
     padding-bottom: 3px;    
}

ul#cat_articles  ul.subcat  li a
{
    display: block;
    height: auto;
    _height: 10px;
    padding-top: 0px;
    background: url(images/subbullet.gif) no-repeat;
    padding-left: 15px;   
	 font-weight: normal;  
    BORDER-BOTTOM: 0px solid #ecdfcf; 
     
}
ul#cat_articles ul.subcat  li a:link, ul#cat_articles ul.subcat  li a:visited
{
	 color: #441c00;
}
ul#cat_articles ul.subcat  li a:hover
{
	 COLOR: #da251d;
	 TEXT-DECORATION: none;
}
ul#cat_articles ul.subcat li ul.subcat li
{
   font-size: 0.9em;
}



/*Разное*/

.underline
{
  border-bottom: 1px solid #EEE;
  margin-bottom: 5px;
}


/*==================
Карта сайта
========*/
/*Общее*/
.sitemap 
{
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1.1em;
}
/*начиная с уровня 0*/
.sitemap .level_0
{
}
/*начиная с уровня 1*/
.sitemap .level_1
{
	font-weight: normal;
	font-size: 1.0em;
	line-height: 1.1em;

}
/*начиная с уровня 2*/
.sitemap .level_2
{
	font-weight: normal;
	font-size: 0.9em;
	line-height: 1em;


}
