html,body{margin:0;padding:0; height:100%;}
body{
	font: 10pt tahoma,arial,sans-serif; color:#262826;
	background:url(/tmpl/brown/img/ref_page_bg.gif) left top repeat;
	word-wrap: break-word;
}
p{margin:0 5px 5px}
a:link,a:visited,a:active{color: #0c3260;text-decoration:underline;}
a:hover{color:#0c90e4;}
a, img {outline:none;}
img{border:none;}
.aslink{color:#038cae;text-decoration:underline;cursor:pointer;}
.aslink:hover{color:#038cae;text-decoration:none;cursor:pointer;}

div#container{
	min-width:960px;
	max-width:1200px;
	_width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 960 ? '960px' : (document.documentElement.clientWidth || document.body.clientWidth) > 1200 ? '1200px' : 'auto');
	margin:0 auto;
}

div#content p{line-height:1.4}
div#footer p{margin:0;padding:5px 10px}

div#counters{padding:3px;border:dotted 1px #ffffff;float:left;}
div#sign{color:#ffffff;padding:1px;float:right;text-align:right;}

div#wrapper{float:right;width:100%;margin-left:-304px}
div#header{height:307px; background:url(../img/ref_logo_bg.gif) left top no-repeat;}
div#subheader{padding-left:30px;padding-right:17px; padding-top:12px;}
.headtab{height:307px; width:100%;}
.logoarea{width:274px; vertical-align:top; }
.online{text-align:left;color:#000000;clear:both;font-size:10px;height:222px;}
.contact{
	background:url(../img/ref_phone_bg.gif) left top no-repeat;
	height:73px;
	width:258px;
	padding:1px;
	text-align:left;
	bottom:0px;
}

div#content{margin-left:304px}
div#subcontent{padding-top:10px; padding-right:17px;text-align:left;}

div#content a:link, div#content a:visited, div#content a:active{color: #9a0502;text-decoration:underline;}
div#content a:hover{color:#9a0502; text-decoration:none;}

div#navigation{float:left;width:304px;}
div#subnavigation{padding:0px;padding-top:10px;width:304px;}
.block{
	background:url(../img/ref_block_bg.gif) left top repeat-y;
	width:304px;
}
.block_t{
	background:url(../img/ref_block_title.gif) left top no-repeat;
	width:304px;
}
.block_b{
	background:url(../img/ref_block_bottom.gif) left bottom no-repeat;
	padding-bottom:20px;
	padding-top:5px;
	width:304px;
}
.block_inner{
	padding-right:28px;
	padding-left:40px;
}
.block_b_red{
	background:url(../img/ref_staple_red.gif) left 15% no-repeat;
}
.block_b_red1{
	background:url(../img/ref_staple_red.gif) left 85% no-repeat;
}
.block_b_yellow{
	background:url(../img/ref_staple_yellow.gif) left 15% no-repeat;
}
.block_b_yellow1{
	background:url(../img/ref_staple_yellow.gif) left 85% no-repeat;
}
.block_b_green{
	background:url(../img/ref_staple_green.gif) left 15% no-repeat;
}
.block_b_green_c{
	background:url(../img/ref_staple_green.gif) left 50% no-repeat;
}
.block_b_green1{
	background:url(../img/ref_staple_green.gif) left 85% no-repeat;
}


div#extra{float:left;clear:left;width:304px}
div#subextra{padding:10px;}

div#footer{clear:both;width:100%; color:#262826;}
div#subfooter{padding:10px;}

ul.top{
	display:inline;
}
ul.top li{
	display:inline; 
	list-style:none;
}
ul.top a:link, ul.top a:active, ul.top a:visited{
	display:block;
	float:left;
	color:#262826;
	font-weight:normal;
	font-size:18px;
	width:23%;
	text-decoration:none;
	text-align:left;
}
ul.bot a:hover{text-decoration:underline;}

ul.bot{
	display:inline;
}
ul.bot li{
	display:inline; 
	list-style:none;
}
ul.bot a:link, ul.bot a:active, ul.bot a:visited{
	display:block;
	float:left;
	color:#9a0502;
	font-weight:normal;
	font-size:12px;
	width:23%;
	text-decoration:underline;
	text-align:left;
}
ul.bot a:hover{text-decoration:none;}

.SFormArea{
	margin:0px;
	padding:0px;
	background:url(../img/ref_topsearch_bg.gif) left top no-repeat;
	width:194px;
	height:93px;
}
.SFormArea form{
	margin:0px; 
	padding:0px;
	width:139px;
	padding-top:39px;
	padding-left:14px;
}
#s_keyword, #query{
	border:solid 1px #8b8d92;
	width:135px;
	height:16px;
	margin-bottom:2px;
	font-size:10px;
}

div#webim{
	margin-top:10px;
	vertical-align:middle;
}
div#webim span{
	vertical-align:middle;
	font-size:24px;
	color:#e20703;
}
div#webim img{
	vertical-align:middle;
}

.tbtab{width:100%; height:186px;}
.tbleft{width:7px; background:url(../img/ref_topblock_left.gif) left top no-repeat;}
.tbcenter{background:url(../img/ref_topblock_bg.gif) left top repeat-x;
	padding-left:18px;
	padding-right:18px;
}
.tbright{width:8px; background:url(../img/ref_topblock_right.gif) left top no-repeat;}
.tbspace{width:10px;}

div#NewsHead{background:url(../img/ref_topblock_news.gif) left top repeat-x; height:43px; color:#3a89ed; font-size:16px; padding-left:5px; clear:both; margin:0px; line-height:19px;}
div#NewsHead1{background:url(../img/ref_topblock_globe.gif) right top no-repeat; height:43px;}

div#LastWorkHead{height:43px; color:#9a0502; font-size:16px; padding-left:5px; clear:both; margin:0px; line-height:19px;}
div#LastWorkHead1{background:url(../img/ref_topblock_portfel.gif) right top no-repeat; height:43px;}

div#BlockNews, div#BlockLastWork{
	overflow-y:scroll;
	width:100%;
}
div#BlockNews {
	height:106px;
}
div#BlockLastWork{
	height:106px;
}
.fullread{background:url(../img/ref_topblock_line.gif) left top repeat-x; height:14px; text-align:right;vertical-align:middle;  margin:0px;}
.fullread span{padding:5px; background:#FFFFFF; vertical-align:middle;}
div#BlockNews small, div#BlockLastWork small{font-weight:bold; padding:1px; background:#e9e5c5;}

dt{margin:0px;padding:0px;}

div#navin{
	background:url(../img/ref_navin_bg.gif) left top repeat-x;
	height:20px; 
	border:none; 
	vertical-align:middle; 
	overflow:hidden;
	margin-bottom:10px;
}
div#navin_l{
	background:url(../img/ref_navin_left.gif) left top no-repeat;
	height:20px; 
	border:none; 
	vertical-align:middle; 
	overflow:hidden;
}
div#navin_r{
	background:url(../img/ref_navin_right.gif) right top no-repeat;
	height:20px; 
	border:none; 
	vertical-align:middle; 
	overflow:hidden;
	padding-left:20px;
}


.orderbg{
	background:url(../img/ref_navin_bg.gif) left top repeat;
	border:none; 
}

div#navin h1{color:#262826;margin:0px;padding:0px;font-size:18px;font-weight:normal;line-height:18px; }

.round_green{background: #66CCCC;}
.round_yellow{background: #ffffff;}
.simple_yellow{background: #ffffc9;}

h1{color:#1e79e9;}
div#header h1{color:#1a8686;text-align:center;padding:5px;font-size:14px;}

h2{color:#1e79e9;text-align:left;padding:5px;font-size:20px;font-weight:normal;margin:0px;}
h2.red{color:#ae3735;text-align:left;padding:5px;font-size:20px;font-weight:normal;margin:0px;}
h3{color:#1e79e9;text-align:left;padding:2px;margin:0px;font-size:16px;font-weight:bold;}
h2 a:link, h2 a:visited, h2 a:active, h2 a:hover{color: #1e79e9;text-decoration:underline;font-size:16px;}

ul.menu{
	padding-top:0px;
	margin-top:0px;
	padding-bottom:0px;
	margin-bottom:0px;
}
ul.menu li{
	line-height:16px;
	padding-bottom:3px;
	word-wrap: break-word;
	list-style-image:url(../img/ref_arrow.gif);
	list-style-position:outside;
}


#pricetab td{border:solid 1px #c5d9e0;padding:2px;}

span.small{font-size:10px;color:red;}

.sf{padding-left:20px;}
.sf_sub{border:solid 1px #010101;background:#a2a2a2;color:#ffffff;}
.sf_inp{border:solid 1px #010101;}

.catalog{border-top:solid 1px #e4e0c0;}
.catalog th{padding:3px;border-bottom:solid 1px #e4e0c0; border-collapse:collapse; text-align:left;}
.catalog td{padding:3px;border-bottom:solid 1px #e4e0c0; background:#FFFFFF;}

.forder{
	display:inline;
	width:5px;
	float:left;
	margin-right:4px;
}
.forder1{
	display:inline;
	float:left;
}
/* стили для форматирования номеров разбивки на страницы */
.navigation{}
.navigation a:link,.navigation a:visited,.navigation a:active{border:solid 1px #e4e0c0;color:#ffffff;padding-left:2px;padding-right:2px;background:#ffffff;text-decoration:none;}
.navigation a:hover{color:#1a8686;background:#ffffff;}
.navigation .current{font-weight:bold;border:solid 1px #e4e0c0;color:#000000;padding-left:2px;padding-right:2px;}

.oplata-links{
	display:inline;
	margin:0px;
	padding:0px;
}
.oplata-links li{
	display:inline;
	list-style:none;
}

.redinfo{color:#ae3735;text-align:left;padding:5px;font-size:14px;font-weight:normal;margin:0px; border:dashed 1px #ae3735;}

.leftAd{padding-left:30px;padding-right:20px; margin-bottom:10px;}

.dogovor{
	font-size:10px;
	padding:3px;
	padding-bottom:10px;
}

.sresol{
	background:#FFFFFF;
}
.sresli{
	border-bottom: solid 1px #e4e0c0;
	padding-bottom:5px;
	padding-top:5px;
}
div.b-yandexbox * { font-size: 12px !important; margin: 0 !important; } 
div.b-yandexbox a img { border: 0 !important; } 
div.b-yandexbox input, div.b-yandexbox label { vertical-align: middle; } 
div.b-yandexbox table { font-size: 12px; width: 100%; border-collapse: collapse; border: 0; background: #ffffff; } 
div.b-yandexbox table td { padding: 7px 0 6px 0; white-space: nowrap; vertical-align: middle; } 
div.b-yandexbox .b-yandexbox-image { padding: 6px 6px 0 6px; } 
div.b-yandexbox .b-yandexbox-search { width: 100%; padding: 0 6px; } 
div.b-yandexbox .b-yandexbox-search table { margin: 0; padding: 0; background: none; } 
div.b-yandexbox .b-yandexbox-search .b-yandexbox-txt { width: 100%; padding-right: 6px; } 
div.b-yandexbox .b-yandexbox-text { position: relative; width: 100%; } 
div.b-yandexbox .b-yandexbox-text input { float: left; width: 100%; padding-right: 0; border: 1px solid #7f9db9; } 
div.b-yandexbox select {border: 1px solid #7f9db9; } 
div.b-yandexbox .b-yandexbox-search .b-yandexbox-submit { padding: 0; } 
div.b-yandexbox .b-hint-input { position: absolute; z-index: 100; left: 0; display: none; width: 30px; height: 11px; margin: 0.16em 0.2em !important; cursor: text; line-height: 0; background: url(/tmpl/brown/img/ysearch_small.png) no-repeat; } 
div.b-yandexbox .button-search { width: 19px; height: 15px; outline: none; cursor: pointer; border: none; background: url(/tmpl/brown/img/search.png) no-repeat; }


