* { margin: 0; padding: 0; border: 0; }


html { height: 100%; width: 100%; } 
body { position: relative; width: 100%; height: 100%; background-color: #fbecc8; font: normal 15px Times New Roman; line-height: 17px; color: #5e331a; }

hr {border: none;  color: #5e331a;  background-color: #5e331a;  height: 1px; }
select {border: none;  color: #5e331a;  background-color: #fbecc8a; }
option {border: none;  background-color: #fbecc8; }
a { text-decoration: underline; color: #5e331a; }
a:hover { text-decoration: none; }
a img { border: 0; }

/*Основной слой страницы*/
#page { position: relative; min-height: 100%; min-width: 1000px; }


#container_main { margin: 0 15px; }
#main { position: relative; overflow: hidden; width: 100%; padding-bottom: 90px; }


/*Абсолютно позиционированный логтип*/		
		#logo { position: absolute; left: 45px; top: 5px; width: 242px; height: 186px; z-index: 1; background: url(/images/books.png) left top no-repeat; //z-index: 200; }
			#logo a { width: 160px; height: 120px; margin: 33px 41px; }

/*Шапка сайта*/
		#header { position: relative; height: 205px; margin: 0 15px; background-image: url(../images/page_bg.jpg); background-repeat: no-repeat; background-position: center top; }
		
			#firm_name { position: absolute; top: 40px; right: 0; width: 660px; height: 64px; background-image: url(../images/name.gif); background-repeat: no-repeat; }
#firm_name a { display: block; text-decoration: none; height: 100%; }
#phone { position: absolute; right: 0; top: 7px; width: 271px; height: 15px; background-image: url(../images/phone.gif); background-repeat: no-repeat; }
			#phone_line { position: relative; top: 145px; width: 100%; height: 28px; border-top: #5e331a 1px solid; border-bottom: #5e331a 1px solid; }
				#phone_line a { float: left; width: 20px; height: 20px; margin: 4px 0; z-index: 200; }
					#phone_line a.home { background: url(/images/home.gif); }
						#phone_line a.home:hover { background: url(/images/home_h.gif); }
					#phone_line a.mail { background: url(/images/mail.gif); }
						#phone_line a.mail:hover { background: url(/images/mail_h.gif); }
					#phone_line a.map { background: url(/images/map.gif); }
						#phone_line a.map:hover { background: url(/images/map_h.gif); }
				#phone_line div.separator { float: left; width: 5px; height: 20px; margin: 4px 0; background: url(/images/separator.gif); }
/*Хлебная крошка*/
			#bread_crumbs { position: relative; top: 145px; width: 100%; height: 30px; line-height: 30px; }

/*Центральная часть с контентом*/
.valign_top td { vertical-align: top; }
        #content { position: relative; margin: 0 0 0 20px; }

/*Левое блок с меню и новостями*/
			#left { width: 210px; border-top: #5e331a 6px solid; border-bottom: #5e331a 6px solid; }
				#left ul.hide { display: none; list-style: none; }
				#left a { display: block; border-bottom: #5e331a 1px solid; height: 22px; padding: 0 10px; margin: 2px 0; background: #5e331a; font-weight: bold; line-height: 22px; color: #FFF; text-decoration: none; width: 210px; }
					#left a:hover { background: #7d5036; }
					
				#left a.level2 { width: 200px; border-bottom: #5e331a 1px solid; display: block; padding: 2px 0 2px 15px; background: url(/images/level2.gif) no-repeat; background-position: 7px -2px; margin: 2px 0; height: auto; font: normal 16px Time New Roman; background-color: #fbecc8; color: #5e331a; text-decoration: none; }
					
					#left a.level2:hover { background-color: #e2cdab; background-image: url(/images/level2.gif); background-repeat: no-repeat; background-position: 7px -2px; }

/*Правый блок с контактами, банерами и доп. блоками*/
			#right { width: 200px; margin: 0 0 0 20px; padding: 40px 0 0 0; background: url(/images/news.gif) top left no-repeat; }
				#right p { }
					#right p.date { margin-top: 20px; background: none; color: #ab8e70; }
					#right p a.arrow { width: 14px; height: 12px; background: url(/images/news_arrow.jpg) right center no-repeat; }
				#news_archive { margin-top: 15px; padding-top: 5px; border-top: #5e331a 1px solid; }
					#news_archive a { float: right; padding-left: 12px; background: url(/images/news_archive.gif) left center no-repeat; line-height: 12px; text-align: right; }

/*Центральная часть с контентом*/
			#text { position: relative; border-top: #5e331a 6px solid; }
				#banner { position: relative; height: 160px; margin-bottom: 20px; border-bottom: #5e331a 1px solid; background: #f9faf5 url(/images/banner.jpg) right no-repeat; }
				#name_banner { position: absolute; width: 240px; height: 120px; top: 40px; left: 20px; background-image: url(../images/name_banner.png); background-repeat: no-repeat; }
			#text_in { float: left;  width: 730px; padding-top: 10px; border-top: #5e331a 1px solid; }
				#text h1, #text_in h1 { margin: 0.7em 0 1em 0; font: bold 22px Times News Roman; }
				#text h2, #text_in h2 { margin: 0.7em 0 1em 0; font: bold 18px Times News Roman; }
				#text h3, #text_in h3 { margin: 0.7em 0 1em 0; font: bold 15px Times News Roman; }
				#text p, #text_in p { margin: 0.5em 0; }
				#text ul, #text_in ul { margin: 5px 0 5px 10px; }
				input, textarea { border: #5e331a 1px solid; background: #fbecc8; }
				#text .info_link, #text_in .info_link { display: block; padding-left: 20px; background: url(/images/info_link.gif) left top no-repeat; }
				#text .news_name, #text_in .news_name { font-weight: bold; }
				#text .news_name a, #text_in .news_name a { font-weight: bold; text-decoration: none; }
				#text .news_date, #text_in .news_date { margin-top: 20px; background: none; color: #ab8e70; }
				
				.news_name { padding: 10px 0 10px 0; border-bottom: 1px solid #5e331a; }

				div.shema { float: left;width: 362px; height: 382px; }
					div.shema p { width: 362px; height: 17px; text-align: center; font-weight: bold; }
					div.shema img { width: 360px; height: 365px; border: #5e331a 1px solid; }


/*Футер на странице с контактами и банерами*/
#footer { position: relative; min-width: 1000px; height: 71px; margin: -71px 0 0 0; }
#foot_cont { position: relative; margin: 0 15px; border-top: #5e331a 1px solid; height: 70px; background-image: url(../images/footer.jpg); background-repeat: no-repeat; background-position: 15px 22px }
		#footer p.osg { float: right; margin-top: 17px; padding: 0 15px 0 60px; background: url(/images/osg.gif) left center no-repeat; }
