body, html {
	height: 100%;
	
	background: url(../img/bg.jpg);
}

#whole{
	background: url(../img/bg.jpg);
	position: relative;
/*	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -100px;*/
}
#header {
	padding: 0px;
	background: url(../img/bg_head.jpg) repeat-x;
	border: none;
	border-style: none;
	height: 388px;
	min-width: 902px;
}
#sub-header {
	padding: 0;
	width: 902px;
	height: 92px;
	margin: 0 auto;
	border: none;
	border-style: none;
	
}
#tabs-header{
	padding-bottom: 0px;
	width: 902px;
	height: 41px;
	/*padding-height: 92px;*/
	margin: 0 auto;

}
#tabs-header div.inner {
	background: url(../img/bg_tab.png) bottom;
	width: 763px;
	height: 41px;
/*	margin: 0 67px;*/
	float: left;
}
#tabs-header div.tab{
	height: 41px;
	background: url(../img/bg_tab_2.png);
	vertical-align: text-middle;
	text-align: center;
	line-height: 1.2em;
	float: left;
}
#tabs-header div.bg_tab {
/*	background: url(../img/bg_tab.png);*/
	width: 30px;
	height: 41px;
	float: left;
}
#header div.kollazh {
	padding: 0;
	width: 902px;
	margin: 0 auto;
	border: none;
	border-style: none;
}

#content {
	background: #fff url(../img/bg_body_left.jpg) repeat-y left top;
	width: 902px;
        margin: 0 auto 0 auto;
	padding: 0 0 ;
/*	background: #FFFFFF;*/
}
#content div.clear_item {
	clear: both;
}
#bottom {
	height: 69px;
	width: 902px;
	background: url(../img/bg_foot.jpg) ;
	line-height: 2em;
	text-align: center;
/*	z-index: -1;*/
}
#footer {
	position: relative;
	height: 60px;	
	
}
#footer div.logo {
	width: 50px;
	 margin: 25px auto 0;
}
#menu {
	width: 232px;
	padding: 0;
	margin: 0;
	border-right: 0;
	float:left;
}
#menu div.top {
	width: 145px;
	height: 13px;
	background: url(../img/bg_ramka_up.jpg) repeat-x;
	float: left;
}
#menu div.down {
	width: 145px;
	height: 13px;
	background: url(../img/bg_ramka_down.jpg) repeat-x;
	float: left;
}
#menu div.inner {
	background: url(../img/bg_ramka.jpg);
	width: 175px;
	margin-left: 22px;
}
#menu div.bottom {
	width: 175px;
	 margin-left: 22px;
}
#search {
/*        border-left: thick solid #6c8cbc;
	padding: 0 0 8px 30px;
	vertical-align: top;
	vertical-align: text-top;	*/
}
#item {
	width: 660px;
	font-color: #000000;
	float:left;
	padding-right: 10px;
	background: url(../img/bg_body_right.jpg) repeat-y right top;
	min-height: 100px;
}
#item_text {
	padding: 0;
	margin: 0;
}
#item_text div.break {
	height: 16px;
	width: 660px;
	clear:right;
	/*margin-bottom: 16px;*/
}
table.admin {
	table-layout: fixed;
	font-family: Verdana;
	font-size: 10px;
	font-color: #000000;
	border-collapse: collapse;
}
tr.admin {
	font-size: 10px; 
	text-decoration: bold; 
	color: blue;
	font-family: verdana;
}
#menu_admin * {
	font-size: 10px;
	margin: 5px 0;
	font-family: Verdana;
}

#menu_admin label{
	width:170px;
	float:left;
}
ul.menu {
	list-style:none; 
	padding: 0 0 8px 30px;
}

ul.submenu {
	padding: 0 0 0 10px; 
}
img.preview {
	margin: 0 0 5px 2px;
	float: right;
	
}
img.gal {
	padding: 8px;
	float: left;*/
}
.table_image ul
{
	clear: both;
	text-align: top;
}
.table_image ul li
{
	float:left;
	text-align: top;
	padding:5px;
	min-height: 150px;
	min-width: 135px;
}
.table_image div
{
	clear: both;
}

#first_news {
	width: 352px;
	float: left;
	margin: 0 0 0 20px;
	padding: 0 10px 0 0;
	border-right: 1px solid #47f546;
}
#first_right {
	width: 480px;
	float: left;
}
#time {
        width: 470px;
        padding: 0;
        margin: 0 0 20px 0;
        border-right: 0;
        float:left;
}
#time div.top {
        width: 440px;
        height: 13px;
        background: url(../img/bg_ramka_up.jpg) repeat-x;
        float: left;
}
#time div.down {
        width: 440px;
        height: 13px;
        background: url(../img/bg_ramka_down.jpg) repeat-x;
	float: left;
}
#time div.inner {
        background: url(../img/bg_ramka.jpg);
        width: 470px;
        margin-left: 22px;
}
#time div.bottom {
        width: 470px;
         margin-left: 22px;
}
#time div.shabat {
	margin-left: 10px;
}
#weekchapter {
	position: relative;
	padding-top: 15px;
	margin: 85px 0 15px 22px;
}
#first_gallery {
	margin: 15px 0 15px 22px;
	margin-left: 22px;
	text-align: top;
}


#subscribe * {
	font-size: 10px;
	margin: 5px 0;
	font-family: Verdana;
}
#subscribe label{
	width:100px;
	height:10px;
/*	float:left;*/
}
#first_spec_main {
	width: 440px;
	float:left;
	min-height: 200px;
	padding: 0 5px 0 0;
	margin-bottom: 20px;
}
#first_spec_right {
	width: 200px;
	border-left: thin solid #47f546;
	float:left;
	padding: 0 0 0 5px;
	
}
