/*common template css*/

*{padding:0;margin:0;}
.inded {display:none; }
#logo{background: #cc3333 url("../images/logo_bg.jpg") no-repeat;}
#top_book{background:url("../images/book_bg0.gif") repeat-x top right;background-color:black;}
#content {background:url("../images/content_bg.gif") no-repeat top left; background-color:#ffcc99; padding: 25px 15px 0px 25px; font: normal 12px Arial;}
#content a	{color: black;}

.spage td	{font: normal 12px Arial;}

.text_a td	{font: normal 12px Arial; text-align: center;}
.text_a ul, ol {margin: 0 0 0 10px;}
.mphoto img{padding: 10px; margin: 10px;}

#center_b {background-color:#ffcc99; vertical-align: top;}
#center_b #center_bcont {backg round: green; margin: 15px 20px 0px 25px;}
#center_b .pusher_a	{height: 45px;}
#center_b .pusher_a	{height: expression("35px");}
#center_b #left_link {float: left;}
#center_b #right_link {float: right;}
#center_b #copyright {backg round: white;}

#right	{background-color:#ffe0c2;}
#m_block	{margin: 25px 19px 20px 25px; font-size: 12px; font-family: Arial; color: #666666;}
#m_block a	{color: black;}
#m_block h2	{font: normal 18px MS Sans Serif; padding-bottom: 20px;}
#m_block img	{margin-bottom: 10px; border: 1px solid black; margin-top: 5px;}
#m_block p	{margin-bottom: 15px; font: normal 12px Arial; color: #666666;}

#left_b	{background-color:#cc3333; vertical-align: bottom;}
#left_b #contact {margin: 0px 0px 25px 20px;}
#left_b #contact p {margin: 2px;}
#left_b #le {float: left; backg round: green; width: 60px;}
#left_b #ri {float: left; backg round: red;}

#top_book_bg{padding:26 0; background:url("../images/book_bg.gif") no-repeat bottom left; text-align:center;}
#top_book_bg table{margin:auto;}
#to_shop{margin:30 0 10 5;}

#right_b{background: #ffe0c2 url("../images/right_bg.gif") no-repeat top right; text-align: right; vertical-align: bottom;}
#right_b #top {margin: 20px 15px;}
#right_b #top img	{margin-left: 20px;}
	/*right_bottom_forum*/
#right_b_f{background: url("../images/right_bg_f.gif") no-repeat; text-align: right; vertical-align: bottom;}
#right_b_f #top {margin: 20px 15px;}
#right_b_f #top img	{margin-left: 20px;}

/*mattress_logo_p css*/
#mattress_logo_p .log	{float: left; width: 180px;}
#mattress_logo_p 	{}

/*news page css*/
#news_p	{}
.news_item	{margin:0px 0px 30px 0px; backg round: silver;}
.news_item h2 	{margin-bottom: 15px;}

/*global css*/
.pic img	{border: 1px solid #636363;}

a {text-align: underline;}
a:hover	{text-decoration: none;}

.text_a	{font: normal 12px Tahoma;color: #000000;}
.text_a a {color: #000000;}

.text_b	{font: normal 10px Arial;color: #000000;}
.text_b a	{color: #000000;}

.text_c	{font: normal 10px Arial;color: #666666;}
.text_c a	{color: #666666;}

.text_d {font: bold 10px Arial;color: #ffcc99;}

.text_e	{font: bold 10px Arial;color: #FFFFFF;}
.text_e a	{color: #FFFFFF;}

.text_f	{font: bold 12px Tahoma; color: #000000;}
.text_f a	{color: #000000;}

.text_g	{font: normal 10px Tahoma; color: #000000;}
.text_g a	{color: #000000;}

.text_h	{font: bold 12px Arial; color: #cc3333;}
.text_h a	{color: #cc3333;}

h1	{font: normal 18px Arial; padding-bottom: 20px; backg round: green;}
h1 a	{color: black;}
h2, h2 a	{font:bold 14px Arial; color:black;}
h2 a:hover	{text-decoration:none;}
h3 {font-size:  17px;	color: #cc3333;}

.pusher_a	{clear: both;}
.pusher_b	{clear: both; height: 1px;}
.pusher_c	{clear: both; height: 30px;}
.pusher_d	{clear: both; height: 25px;}
.pusher_e	{clear: both; height: 35px;}

/* publication_p css */
#publication_p h2	{margin-bottom: 10px;}
#publication_p img	{margin: 0px 10px 10px 0px;}
#publication_p p	{margin-bottom: 10px; font: normal 12px Tahoma;color: #000000;}
#publication_p p a	{color: #000000;}
#publication_p .left	{float: left; width: 50%;}
#publication_p .left img	{margin-right: 5px;}
#publication_p .right	{float: right; width: 50%; text-align: right;}
#publication_p .right img	{margin-left: 5px;}

/*publication_list_p css*/
#publication_list_p h2	{margin-bottom: 10px;}
#publication_list_p .pic img	{border-right: 7px solid #636363; margin: 0px 11px 11px 0px;}

/*menu css*/
#menu	{background: #cc3333 url("../images/menu_bg.gif") no-repeat top right; vertical-align: top;}
#menu_cont	{margin: 25px 3px 25px 50px;} /*нормальный отступ слева от меню - 50px; справа - 25px*/
#menu ul 	{list-style: none;}
#menu ul li	{background: URL("../images/menu_star.gif") no-repeat 0px 2px; margin-top: 5px;  backg round-color: red;}
#menu a	{font: bold 12px Arial; color: white; margin-left: 22px; text-decoration: none;}
#menu ul #current	{background-image: URL("../images/menu_star_c.gif");}
#menu .hid	{backg round: #FF0F59; display: none;}
#menu .sublink	{background-color: #FAF04F; display: block; margin-left: 34px; background: URL("../images/submenu.gif") no-repeat 0px 5px;}
#menu .sublink a	{font: normal 11px Arial; backg round-color: #0AAF7F; color: #ffcc99; margin-left: 10px; display: block;}
#menu a:hover	{text-decoration: underline;}
.subBlock .subBlock	{margin-left: 15px;}
.subBlock	{background: URL("../images/vline.gif") repeat-y 34px 0px;} /*эту строчку по окончании работ стереть ко всем чертям*/