/************** структура шаблона *****************
- 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 !!! 
**************************************************/

body.main{
    background-image: none;
	height: 100%; 
	width: 100%;
	padding: 10px;
	text-align: left;
	background: none;
}
#main{
  font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	height: 100%;
	border: 0;
    width: 100%;
box-shadow: 0 0 25px 0 #000 !important;
}
/********************* ШАПКА *********************/

.head{
	
	text-align: center;
	font-weight: bold;
	border-left:1px solid #fff;
	empty-cells:show;
    /*border-bottom: 1px solid #fff;*/
 background-color: #2b7043;
    background-image: url(scin/pic/blackboard_1280.jpg);
    background-position: right top;
    background-repeat: no-repeat;
	

}
.hd{
 }
 #head-1{
 background-color: #2b7043;
    /*background-image: url(scin/pic/books.jpg);
    background-position: right top;
    background-repeat: no-repeat;*/
 width:230px;
 
 
 }
.td-middle{
 width:230px;
  background-color: #2b7043;
  
 }

#zagol{
    text-align: left;
    /*width: 100%;*/
	vertical-align: top;
  padding: 20px;
	
	/*height:400px;*/

}
#visually_style{
vertical-align: bottom;
height: 100px;
padding: 0 0 3 0;
left:0px; 
}
#name_div{
	vertical-align: middle;
	color: #fff;
	font-size: 24pt;
	font-weight: bold;
  padding: 20px;
}
#name_div p, #name_div td{/*нельзя указывать ширину*/
	color: #fff;
	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;
	/*width:240px;*/
	padding: 0 5px;
	background-color:#2b7043;
	

}
#content{
	vertical-align: top;
	width: 100%;
	height: 100%;
    text-align: left;
	/*background-color: rgba(235, 243, 220, 0.7);*/
  /*background-image: url(scin/pic/bg-content.png);
  background-position: bottom right;
  background-repeat: repeat;*/
  background-color:#f7f7f7;
  border-left:1px solid #fff;
  
}
#right{
	vertical-align: top;
    min-width: 150px; /*expression((document.body.offsetWidth  - 725)/2 + "px");*/
    text-align: left;
	padding: 0 15px;
	empty-cells:show;
	background-color:#2b7043;
	border-left:1px solid #fff;
	/*float:right;*/
}
#right-top{
height:100px;
background-image:url(scin/pic/lamp.png);
background-position: top right;
background-repeat: no-repeat;
empty-cells:show;
width:200px;
}
.btm{
    background-color: #404040;
	background-position: right bottom;
	background-repeat: repeat;
    /*background-image: url(scin/pic/footer.png);*/
    background-position: top left;
    background-repeat: repeat;
	border-top: 1px solid #f5f5f5;
	/*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:#2e968d;
	min-height:26px;*/
	
	
}
.gormenu{

  /*background-image: url(scin/pic/footer.png);*/
     background-repeat: repeat;
     background-position: bottom;
	 min-height: 30px;
	 border-left:1px solid #fff;
}


#menu_top{
	/*float:left;*/
	margin: 0;
	/*padding: 0 0 0 200;
    background-image: url(scin/pic/menu_gor.jpg);
    background-repeat: repeat-x;
    background-position: top;*/
	background-image: url(scin/pic/footer.png);
     background-repeat: repeat;
     background-position: top;
	 min-height: 10px;
	  border-bottom: 1px solid #f5f5f5;
	  empty-cells:show;
}
	/*border:solid;
	border-color:#fff;
	border-width: 1px;
}
#menu_top ul li{
border-width: 1px;
}*/
/*--------------------------------------------*/
#menu_middle{
	margin: 0;
	background-image: url(scin/pic/footer.png);
     background-repeat: repeat;
     background-position: top;
	 min-height: 10px;
	 border-bottom: 1px solid #f5f5f5;
	 border-top: 1px solid #f5f5f5;

}
/*--------------------------------------------*/
#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: #000;
	}
#menu_left a:hover{
 color: #fff;
}

#menu_left a:#left-current{
 	color: #fff;
}
#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:#cc3333;
	}

#text{
    color: #404040;
	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: #fff;
	padding: 8px;
	font-size: 10pt;
    padding-top: 30px;
	background-color: none;
	width:200px;
}
#anons_2{
	height: 100%;
	vertical-align: top;
	color: #fff;
	padding: 8px 0px;
	font-size: 10pt;
    padding-top: 30px;
	background-color:#2b7043;
	/*width: 200px;*/
	/*background-image:url(scin/pic/lamp.png);
	background-position:top right;
	background-repeat: no-repeat;*/
}
#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;
}

#l_search{
	/*background-image: url(scin/pic/search.png);
     background-repeat: no-repeat;
     background-position: left;*/
	text-align: left;
	padding: 0px 0 1px 10px;
	min-height:26px;
	vertical-align:bottom;
	cursor: text;
	/*width:220px;*/
}
#search{
/*background-color: #2e968d;*/
  /*background-image: url(scin/pic/footer.png);*/
     background-repeat: repeat;
     background-position: top;
	 padding: 0 5 0 10px;
	 min-height: 10px;
	 width:230px;
	 /*border-bottom: 1px solid #f5f5f5;
	 border-top: 1px solid #f5f5f5;*/
	 
}
.search_b{
    border: 0;
    /*background-image: url(scin/pic/menu_gor_select.jpg);
    background-position: center;
    background-repeat: repeat-x;*/
    background-color: transparent;
	color: #dddddd;
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 10pt;
    padding: 0 0 5 20px;
	font-weight: bold;
	text-align: center;
	margin: 4px 0 0 10px;
	font-size: 10pt;
background-image: url(scin/pic/search.png);
background-position: top left;
background-repeat: no-repeat;
text-shadow: 0px 1px 1px #000;
}
.search_b:hover{
	color:#fff;
}
.search_t{
   border: 1px solid #f5f5f5;
   background-color: #fff;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10pt;
    width: 110px;
}

#link{
	text-align: right;
	height: 1px;
	padding: 3px 15px 3px 0;
}
#link table {
	text-align: right;
	float: right;
}
#link a{
	color: #404040;
	font-size: 10pt;
	padding: 4px;
	text-decoration: none;
}
#link a:hover{
	color: #cc3333;
}
#link_back, #link_back2{}
#link_next, #link_next2{}
#print1, #print2{}
#top_link{}

#footer{

}
#footer_text{
	font-size: 10pt;
	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;
}


#menu_middle{
width:100%;
border-left:1px solid #fff;
}
#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;
}
#anons_2{
	padding:0;
}
#anons_2 .anons_text{
	padding:8px;
}
.search_b{
cursor:pointer;
}
#search{
	
vertical-align:middle;

margin: 0;
padding: 0;
/*background-image: url(scin/pic/footer.png);
     background-repeat: repeat;
     background-position: top;
	 min-height: 10px;
	 border-bottom: 1px solid #f5f5f5;
	 border-top: 1px solid #f5f5f5;*/
	 background-color: #2b7043;

}
#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;
}
