/************** структура шаблона *****************
- body - в файле  scin/teg.css
		body.main - окна новостей и прочего
	*main | class=main id=main - основное поле построения шаблона
		* class=head - шапка сайта, содержит заголовок сайта, может содержать верхнее и среднее меню
			 *id=zagol	- заголовок сайта
					 + id=name_div

		* id=left - лкевая колонка
		* id=content - ячейка, содержащая контент страницы
		* id=right - правая колонка
						 
		* id=menu_top - верхнее меню 
		* id=menu_middle - среднее меню
		* id=menu_left - левое меню 
			- id=left_top - надстройка над левым меню
		* id="menu_right" - правое меню
			- id=right_top - надстройка над правым меню
		* id=menu_bottom - нижнее меню

		* id=text   - поле садержания страницы
		 	 + class=pagename_div - заголовок страницы, если не прописано в шаблоне, генерится внутри #text, но можно указать место в самом шаблоне
			 + id="pagename" - используется если заголовок страницы вынесен из поля #text
			 + id=text_div - текст универсальной страницы
		
		* id=anons_1,  id=anons_2 - поля анонсов
		* id=l_search - поле поиска, если не прописано в шаблоне, генерится в левом меню, но можно указать место в самом шаблоне
			 + class=search_b - кнопка поиска
			 + class=search_t - текстовое поле поиска
		* id=link - поле быстрой навигации
			 + id=link_back,  id=link_back2 - кнопки назад
			 + id=link_next, id=link_next2 - кнопки вперед
			 + id=print1, id=print2 - кнопки Печать
			 + id=top_link - кнопка вверх
		 * id=footer - футер
		 	 + id=footer_text - текст футера
		 * id=our - копирайт
****************************************************
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
**************************************************
!!! все фоны должны находиться в папке pic !!! 
**************************************************/
:root{
--topheader:#7fb640;
}
body.main{
    background-image: none;
	height: 100%; 
	width: 100%;
	padding: 10px;
	text-align: left;
	background: none;
}
#main{
	background-color: none;
  font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	height: 100%;
	border: 1px solid #fff;
    width: 1024px;
box-shadow: 0 0 15px 0 #000 !important;
}
/********************* ШАПКА *********************/

.head{
	background: none;
	text-align: center;
	font-weight: bold;

}
.hd{
	/*background-image:url(scin/pic/notepad.png);
	background-position: 70px top;
	background-repeat: no-repeat;*/
	background-color: #f9ebc4;
}
.head-td{
	background-image: url(scin/pic/skrepka-1.png);
	background-position:bottom left;
	background-repeat: no-repeat;
	height:69px;
}
#zagol{
    /*min-height: 200px;*/
	text-align: left;
    /*width: 100%;*/
	vertical-align: middle;
	color: #508902;
	padding:20px;
	background-color: #f9ebc4;
}
#site-title{
	margin:0;
	padding-left:10px;
	padding-top:10px;
text-align: center;
}
@media screen and (max-width:768px){
#site-title{/*класс ячейки, в которой распологается заголовок страницы и верхнее горизонтальное меню*/
	display: none;
}
}

#visually_style{
vertical-align: bottom;
height: 100px;
padding: 0 0 3 0;
left:0px; 
}
#name_div{
	vertical-align: bottom;
	font-size: 24pt;
	font-weight: bold;
	padding:20px;
	
}

#name_div p, #name_div td{/*нельзя указывать ширину*/
	color: #404040;
	font-size: 24pt;
	margin: 3px;
	font-weight: bold;
}
#visually_style{
float:right;
height: 50px;
padding: 10 0 3 0; 
}
#visually_style a{
text-decoration: none;
}
/*************** КОЛОНКИ ****************/
#left{
	vertical-align: top;
    text-align: left;
	/*min-width:240px;*/
	padding: 0 5px;
	background-color: #b3a78c;

}
#content{
	vertical-align: top;
	width: 100%;
	height: 100%;
    text-align: left;
	background-color: rgb(255, 255, 255);
  /*background-image: url(scin/pic/bg-content.png);*/
  background-position: bottom right;
  background-repeat: repeat;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  
}
#right{
	vertical-align: top;
    /*expression((document.body.offsetWidth  - 725)/2 + "px");*/
    text-align: left;
	padding: 0 15px;
	float:right;
}
.btm{
    background-color: #483d3c;
	background-position: right bottom;
	background-repeat: repeat-x;
    /*background-image: url(scin/pic/footer.jpg);*/
    background-position: top left;
    background-repeat: repeat-x;
	border-top: 1px solid #fff;
	/*position: fixed;
	width: 100%;
	bottom:0;*/

}


/********************* МЕНЮШКИ *********************/

/* Заполняются в ЭТОМ файле если должны отображаться 
как декоративные элементы независимо от присутсвия 
данного вида на странице и типа данного меню */
 .before_top{
	/* background-image: url(scin/pic/footer-t.png);*/
    background-repeat: repeat-x;
    background-position: bottom;
	background-color:#336699;
	min-height:26px;
	
	
}
.gormenu{
  background-color: #483d3c;
  /*background-image: url(scin/pic/footer-t.gif);*/
     background-repeat: repeat-x;
     background-position: bottom;
	 min-height: 30px;
	 border-bottom: 1px solid #fff;
	 border-top: 1px solid #fff;
	 
}


#menu_top{
	margin: 0;
	 min-height: 10px;
	  border-bottom: 1px solid #fff;
	  empty-cells:show;
    background-color: #483d3c;
}
/*--------------------------------------------*/
#menu_middle{
	margin: 0;
	/*background-image: url(scin/pic/footer.gif);*/
     background-repeat: repeat-x;
     background-position: top;
	 height: 10px;
	 border-bottom: 1px solid #fff;
	 border-top: 1px solid #fff;

}
/*--------------------------------------------*/
#menu_left{
  width: 200px;
  vertical-align: Top;
  margin: 0;
  
}
#left-notswap-menu{
  	width: 200px;
	vertical-align: Top;
  margin: 0;
}
#left-swap-menu {
	width: 200px;
	vertical-align: Top;
  margin: 0;
}
#menu_left *{
    margin: 0;
    /*padding: 3px 0 3px 0;*/
	list-style:none;
	color: #404040;
	}
#menu_left a:hover{
 color: #669900;
}

#menu_left a:#left-current{
 	color: #669900;
}
#menu_left_top{}
.menu_line_vert{}
.menu_line_vert2{}
/*--------------------------------------------*/
#menu_right{
    width: 200px;
	vertical-align: Top;
    margin: 0;
}
#menu_right *{
    margin: 0;
    padding: 0;
}
#menu_right_top{}
.menu_right_vert{}
.menu_right_vert2{}
/*--------------------------------------------*/
#menu_bottom{
}

/********************* КОНТЕНТ *********************/
#pagename{
  background-image: none;
  background-position: bottom left;
  background-repeat: no-repeat;
  padding: 5px 5px 0 70px
}
.pagename_div, .pagename_div p,.pagename_div td{
	font-size: 20pt;
	margin: 2px;
	padding: 10px 0 3px 0;
	color: #404040;
	}
.pagename_div H1{
	color:#483d3c;
	}

#text{
    color: #000;
	height: 100%;
	padding: 0 10px 0 20px;
	vertical-align: top;
	width: 100%;
}
#text *{
}
#text_div{
	height: 100%;
}
/********************* ДОП. ЭЛЕМЕНТЫ *********************/
#anons_1{
	height: 100%;
	vertical-align: top;
	color: #404040;
	padding: 8px;
	font-size: 10pt;
    padding-top: 30px;
	width:200px;
}
#anons_2{
	height: 100%;
	vertical-align: top;
	color: #404040;
	padding: 8px 0px;
	font-size: 10pt;
    padding-top: 30px;
}
#anons_2 .anons_text{
	padding:0px;
}
#anons_2 .anons_text p, #anons_2 .anons_text td,#anons_2 H1, #anons_2 H2, #anons_2 H3, #anons_2 H4, #anons_2 H5, #anons_2 H6{
	padding:5px;
}
#anons_1 *{
	font-size: 10pt;
}
#anons_2 *{
	font-size: 10pt;
}

#link{
	text-align: right;
	height: 1px;
	padding: 3px 15px 3px 0;
}
#link table {
	text-align: right;
	float: right;
}
#link a{
	color: #483d3c;
	font-size: 10pt;
	padding: 4px;
	text-decoration: none;
}
#link a:hover{
	color: #8c8371;
}
#link_back, #link_back2{}
#link_next, #link_next2{}
#print1, #print2{}
#top_link{}

#footer{

}
#footer_text{
	font-size: 9pt;
	margin: 10px;
	padding: 0 10px 0 20px;
	color: #fff;
}

#our{
	color: #fff;
	font-size: 7pt;
	text-align: right;
	height: 10px;
	padding: 0 20px 6px 0;
}
#our *{
	color: #fff;
}
/*___________________________________________*/
/*new style for #left*/

#left, #right{
padding:0;
margin:0;
min-width:0px;
width:auto;
}
#right{
	padding:0px 15px;
}
#menu_middle{
width:100%;
}
#menu_left{
min-width:0px;
}
#left-swap-menu, #left-notswap-menu, #menu_left, #menu_right, #right-swap-menu, #right-notswap-menu, #anons_1, #anons_2{
width:auto;
}
/*#anons_1{
text-align:center;
margin:0;
padding:0;
padding-top:30px;
}
#anons_1 .anons_text{
	width: 95%;
	

}
#anons_1 .anons_text p, #anons_1 .anons_text td{
	padding:8px;
	margin:0;
}
#anons_1 img, #anons_1 iframe, #anons_1 form, #anons_1 object, #anons_1 H1, #anons_1 H2, #anons_1 H3, #anons_1 H4, #anons_1 H5, #anons_1 H6{
	margin:8px;
}*/
#anons_1{
	padding:0;
}
#anons_1 .anons_text{
	padding:8px;
}
.search_b{
cursor:pointer;
}
#search{
	
vertical-align:middle;

margin: 0;
padding: 0;

}
#search form{
	width: 250px;
}
#left-menu ul, #left-notswap-menu ul, #left-swap-menu ul{
min-width:220px;
}
#left-menu ul ul, #left-notswap-menu ul ul, #left-swap-menu ul ul{
min-width:1px;
}
#right-menu ul, #right-notswap-menu ul, #right-swap-menu ul{
min-width:220px;
}
#right-menu ul ul, #right-notswap-menu ul ul, #right-swap-menu ul ul{
min-width:1px;
}
#middle-menu-structure{
	float:right!important;
}
#middle-menu-structure ul{
	float:left!important;
}
#menu_middle{
	padding-left:110px!important;
	padding-right:0px!important;
}
#middle-menu-structure ul ul{
	float:right!important;
	left:auto!important;
	right:-1px!important;
}
#middle-menu-structure ul ul ul{
	float:right!important;
	left:auto!important;
	right:99%!important;
}
#top-menu-structure{
	float:right!important;
}
#top-menu-structure ul{
	float:right!important;
	min-width:100px!important;
}
#top-menu-structure ul li a{
	padding: 5px 10px 5px 10px;
}
#menu_top{
	padding-left:280px!important;
	padding-right:0px!important;
}
#top-menu-structure ul ul{
	float:right!important;
	left:auto!important;
	right:-1px!important;
}
#top-menu-structure ul ul ul{
	float:right!important;
	left:auto!important;
	right:99%!important;
}
#menu-top-td{
	width:auto!important;
}
