body { background-color: #FFFFFF; margin:0; font-family:Arial,Tahoma,Verdana; font-size: 12px; }
 h1 { font-family:Arial,Tahoma,Verdana; font-size:24px; color:#595757; margin:0px; font-weight:bold; margin-bottom: 15px;}
 h2 { font-family:Arial,Tahoma,Verdana; font-size:20px; color:#595757; margin:0px; font-weight:bold;}
 h3 { font-family:Arial,Tahoma,Verdana; font-size:16px; color:#595757; margin:0px; font-weight:bold;}
 h4 { font-family:Arial,Tahoma,Verdana; font-size:16px; color:#212992; margin:0px; font-weight:bold;}
 td, th { font-family: Arial, Tahoma, Verdana; font-size: 16px; color: #000000; }
 a, a:visited, a:hover { color: #215E93; }
 a.secmenu, a.secmenu:visited { font-size:12px; color:#215E93; text-decoration:none; }
 a.secmenu:hover { font-size: 12px; color: #215E93; text-decoration: underline; }
 a.secmenu-act, a.secmenu-act:visited { font-size:12px; color:#215E93; text-decoration:none; font-weight:bold; }
 a.secmenu-act:hover { font-size:12px; color:#215E93; text-decoration:underline; font-weight:bold; }
 a.thirdmenu, a.thirdmenu:visited { font-family:Tahoma,Verdana,Arial; font-size:12px; color:#424242; text-decoration:none; }
 a.thirdmenu:hover { font-size: 12px; color: #424242; text-decoration: underline; }
 a.thirdmenu-act, a.thirdmenu-act:visited { font-size:12px; color:#FB9600; text-decoration:none; font-weight:bold; }
 a.thirdmenu-act:hover { font-size:12px; color:#FB9600; text-decoration:underline; font-weight:bold; }
 .pricetable { font-size: 12px; }
 .copyrights { font-size: 10px; color: #737373; }
 .copyrights-bold { font-size: 10px; font-weight:bold; color: #737373; }
 .phones { font-size:18px; color:#A0A0A0; }
 .baks { color:#737373; }
 .price { color:#FB9600; font-size:18px; }
 .small { border-bottom:1px solid #eeeeee; font-size:14px;}
 .small2 { border:none; font-size:14px;}
 a.noa { color: #000000; text-decoration:none;}
 a.noa:hover { color: #215E93; text-decoration:underline;}

/* Оформление верхней части */
#top {display: block; height: 30px; background: url(/images/bestbed/bblogo2.gif) bottom right no-repeat white; margin-right: 10px; padding-top: 10px;}
#top img{height: 30px; width: 145 px; padding:0; border: 0; margin-left: 10px}
body{width: 98%; margin: 0px auto 0 auto; padding: 0; }
/* Меню */
#menutop { margin: 5px 0 0 0; background: url(".opt_case($current_sub[Collazh], $current_sub[Collazh], "/images/bestbed/collage_default.jpg").") repeat-x white; height: 60px;}
#menu{margin-top: 5px; background: url(/images/bestbed/main_menu_bg.gif) #aaabc5 repeat-x bottom; float: right; position: relative; width: 100%;}
#menu ul{margin: 0; padding: 0 0 0 5px; margin-right: 2px; float: left; background: url(/images/bestbed/main_menu_prefix.gif) bottom left no-repeat;}
#menu ul li{padding:0; display: block; float: left; text-align: center;}
#menu ul li a{
	padding: 7px 10px 11px 10px;
	display: block;
}
#menu a, #menu a:visited {font-size:12px; color:#ffffff; text-decoration:none; font-weight:bold;}
#menu a:hover { font-size:12px; color:#ffffff; text-decoration: underline; font-weight:bold;}
#menuright{background: url(/images/bestbed/main_menu_suffix.gif) bottom right no-repeat; float: left; width: 100%;}
#menu li.active{background: white url(/images/bestbed/main_menu_act_suffix.gif) no-repeat top right; padding-bottom: 0; padding-right: 1px;}
#menu li.active a, #menu li.active a:hover, #menu li.active a:visited {padding-top: 0; color: #FB9600;  background: white url(/images/bestbed/main_menu_act_prefix.gif) no-repeat top left; margin-right: 5px; padding-top: 7px; padding-left: 16px;}
/* /Меню */
#content { margin: 0; padding-left: 0px; padding-top: 2px; padding-bottom: 100px; vertical-align: top;}
#left{width: 24%; margin-top: 2px; padding-left: 10px; padding-right: 20px; vertical-align: top;  background: url(http://bestbed.ru/images/bestbed/vertical_divider.gif) right repeat-y;}
#left h2{margin-top: 10px;}
#left ul.menu{padding-left: 5px; list-style: url(/images/bestbed/sec_menu_bul_unact.gif) disc; margin-left: 0;}
#left ul.menu1{padding-left: 7px; list-style: url(/images/bestbed/third_menu_bul_unact.gif) disc; margin-left: 0;}
#left ul.menu .act{list-style: url(/images/bestbed/sec_menu_bul_act.gif) disc;}
#left ul.menu1 .act{list-style: url(/images/bestbed/third_menu_bul_act.gif) disc;}
#left ul.menu li{padding-left: 3px; margin: 3px;}
#left ul.menu1 li{margin: 2px;}
#phones{font-size:18px; color:#A0A0A0; text-align: right; padding-right: 35px; margin-top: 50px; padding-bottom: 100px;}
#phones small{font-size:14px}
#footer{bottom: 0; margin:0; padding:0; margin-right: 5px; font-size: 10px; color: #737373; background: url(http://www.bestbed.ru//images/bestbed/gray_block_left.gif) #ECECEC top left no-repeat; clear: both}
#footer div{ padding: 4px 6px 4px 6px; margin: 0; background: url(/images/bestbed/gray_block_right.gif) top right no-repeat;}
#footer img{float: right; margin-top: 4px}
#content li {margin-left: 12px; list-style-position: inside;}
#content table img{margin:0}
#topmenu{margin:0; padding:0; background: white; float: right; padding-bottom: 15px; width: 100%;}
html{width: 100%; height: 100%; margin:0; padding:0;}
body {
  width: 98%;
  height: 100%;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  position: relative;
  border: 1px solid white;
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
#all{ width: 100%; clear: both}

table.new{border-collapse: collapse}
table.new td{padding: 12px; width: 25%; vertical-align: top;}
a.img{background-color: #e9e9e9; display: block; width: 119px;}
table.new img{border:0; margin: 7px;}
table.new p{margin:10px 0 0 0;}

table.data{border:0; width: 100%; border-collapse: collapse}
table.data td{border: 0; padding: 6px; vertical-align: top;}
table.data table.data{ border-right: 1px solid Scrollbar; border-bottom: 1px solid Scrollbar; width: 100%;  font-size: 80%}
table.data table.data td{border-left: 1px solid Scrollbar; border-top: 1px solid Scrollbar;font-size:10px;}
table.data table{width: 100%;}
table.data table td{padding: 3px;}
tr.thead{background: #e3e5ea; font-weight: bold}
".($sub==435?"
#forumblock table{
	margin: 1em 0px;
	width: 100%;
	}
#forumblock table td{
	padding: 5px 7px;
	}
#forumblock .sender img{
	margin: 5px;
	}
#forumblock tr.Cat_title1 td, #content #forumblock tr.cat_title1 td, #forumblock td.cat_title1{
	color: #333;
	font-weight: bold;
	font-size: 11px;
	background-color: #dcdbd6;
	}
.cat_title2 td{
	border-bottom: 1px solid #EEEEEE;
	}
.bg_source_message {
	background-color: #F7F9FA; 
	}
#forum_i_message{overflow-y: auto}
.boldlink1{
	font-weight:bold;
	font-size:10px;
	}
.topic_reply td, .topic_first td{
	border-top: #eee solid 1px;
	}
.forum_bbutton{
	width:90px;
	font-size:x-small;
	}
.forum_scrollDiv {
	width: 95%;
	overflow:auto;
	_margin-right:-50000px;
	border: 1px solid #CCCCCC;
	background-color:#FFFFFF;
	padding:10px;
	white-space : nowrap;
	font-family: 'Courier New';
	}
.topmargin{mergin-top: 1em}
.full{width: 100%}
.bold{font-weight: bold}
.toleft{text-align: left !important}
.toright{text-align: right !important}
.tocenter{text-align: center !important}
.smaller{font-size: 95%}
.nowrap{white-space: nowrap}
.rfloat{float: right}
":"")."

/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:url(/images/colorbox/overlay.png) repeat 0 0;}
#colorbox{}
    #cboxTopLeft{width:21px; height:21px; background:url(/images/colorbox/controls.png) no-repeat -100px 0;}
    #cboxTopRight{width:21px; height:21px; background:url(/images/colorbox/controls.png) no-repeat -129px 0;}
    #cboxBottomLeft{width:21px; height:21px; background:url(/images/colorbox/controls.png) no-repeat -100px -29px;}
    #cboxBottomRight{width:21px; height:21px; background:url(/images/colorbox/controls.png) no-repeat -129px -29px;}
    #cboxMiddleLeft{width:21px; background:url(/images/colorbox/controls.png) left top repeat-y;}
    #cboxMiddleRight{width:21px; background:url(/images/colorbox/controls.png) right top repeat-y;}
    #cboxTopCenter{height:21px; background:url(/images/colorbox/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{height:21px; background:url(/images/colorbox/border.png) 0 -29px repeat-x;}
    #cboxContent{background:#fff; overflow:hidden;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{margin-bottom:28px;}
        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(/images/colorbox/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; bottom:0; left:27px; background:url(/images/colorbox/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-50px -25px;}
        #cboxLoadingOverlay{background:url(/images/colorbox/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(/images/colorbox/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; bottom:0; right:0; background:url(/images/colorbox/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-25px -25px;}

/*
  The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

/*
  The following provides PNG transparency support for IE6
*/
.cboxIE6 #cboxTopLeft{background:url(/images/colorbox/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(/images/colorbox/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(/images/colorbox/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(/images/colorbox/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(/images/colorbox/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(/images/colorbox/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(/images/colorbox/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(/images/colorbox/ie6/borderMiddleRight.png);}

.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('\"')[1], this.style.background = \"none\", this.style.filter = \"progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\" + this.src + \", sizingMethod='scale')\");
}