* { padding: 0; margin: 0; }
/* MIN-WIDTH HACK */

/*
* html .min-width { border-left: 960px solid #fff; float: left; overflow: visible; }
* html .minwidth { margin-left: -960px; position: relative; }
* html .min-width, .minwidth { height: 0%; }
.min-width { overflow: hidden; }
*/

body { margin: 0; padding: 0; min-width: 1000px; font: 12px/14px Tahoma;}
ul li { list-style: none; }
a { font: 12px Tahoma; color: black; text-decoration: none; }
a:hover, a.a { color: #86143F; }
h2 { color: #86143F; font: bold 13px Tahoma; margin-bottom: 1em; text-transform: uppercase; }
h1 {line-height: 20px; font-size:18px;}


#smenu a.a, #fmenu a.a { font-weight: bold; }

/* HEADER */
#header { height: 179px; background: white; background: url(i/hbg.gif) left top repeat-x; }
#logo { width: 100%; height: 179px; position: absolute; top: 0; left: 0; background: url(i/header.jpg) left top no-repeat; }
#logo a { display: block; width: 170px; height: 100px; position: relative; left: 17px; top: 20px; text-indent: -9000px; }

#qlinks { width: 163px; height: 179px; background: url(i/bear.jpg) right top no-repeat; float: right; position: relative; z-index: 1; }
#qlinks li a { text-indent: -9000px; display: block; width: 13px; height: 13px; }
#q-home { position: absolute; width: 13px; height: 13px; background: url(i/q-home.gif); bottom: 5px; right: 30px; }
#q-map { position: absolute; width: 13px; height: 13px; background: url(i/q-map.gif); bottom: 5px; right: 10px; }

#header h2 { position: relative; z-index: 2; width: 400px; text-align: right; font: bold 13px Tahoma; color: #4F4E4E; left: 325px; top: 75px; }
#header h2 em { display: block; text-transform: uppercase; font: normal bold 13px Tahoma; text-align: left; margin-bottom: 3px; }

/* BODY */
#body { position: relative; float: left; width: 100%; background: url(i/body_bg.jpg) right bottom no-repeat; }
#body .column { position: relative; float: left; }

/* LEFT SIDEBAR */
#l-sidebar { width: 206px; margin-left: -100%; padding-bottom: 1em; }
#smenu { position: absolute; left: 210px; top: 5px; width: 500px; }
#smenu li { display: inline; padding: 0 15px 0 0; }
#smenu li a { font-size: 13px; }

.menu { margin-bottom: 1em; overflow: hidden; position: relative; width: 100%; }
.menu li { position: relative; }
.menu .line { position: absolute; top: 2px; left: 8px; height: 400px; width: 6px; background: url(i/mb.png); z-index: 1; }
.menu.t .line { background: url(i/mt.png); }
.menu h3 { background: url(i/mmbgt.gif) left top no-repeat; padding: 15px 0 0 22px; text-transform: uppercase; font-size: 13px; }
.menu.t h3 { background: url(i/mmtbgt.gif) left top no-repeat; }
.menu .ma a { font-size: 12px; }
.menu .ma { background: url(i/mmbg.gif) left bottom repeat-y; }
.menu .ma ul { background: url(i/mmbgb.gif) left bottom no-repeat; padding-bottom: 15px; }
.menu .ma ul li { background: 16px 2px no-repeat; padding: 0 10px 0 33px; margin: 7px 0; }
.menu .ma ul li ul { background: url(i/mmbg.gif) left bottom repeat-y; padding-bottom: 0; margin-left: -33px; }
.menu .ma ul li ul li { background: url(i/mmbg.gif) left bottom repeat-y; padding-left: 48px;  }
.menu .ex { display: inline; }
.menu .ex ul { padding-bottom: 10px; }
.menu .ex a { font-size: 12px; vertical-align: -1px; }
.menu .ex ul { background: #E0E0E0; margin: 0 11px 0 4px; }
.menu .ex ul li { padding: 0 0 4px 30px; background: url(i/exmb.gif) 18px 50% no-repeat; }

/* MAIN CONTENT */
#content { width: 100%; background: green; background: url(i/content_bg.gif) left top repeat-x; padding-bottom: 2.8em; }
#cont { margin: 40px 220px 0 210px; border: 6px solid #EEE; background: white; padding: 1em; overflow: auto; width: expression(document.body.clientWidth < 1024? "510px": "auto" ); }
#cont p { margin: 0 0 1em 0; font: 12px/20px Tahoma; text-indent: 1em; }
#cont .clear { clear: both; }

#news li { float: left; width: 100%; margin-bottom: 1em; }
#news h3 { color: #86143F; font: bold 11px Tahoma; margin-bottom: 1em; }
#news a.more { display: block; text-align: right; font-size: 12px; }

#phs li { width: 220px; height: 180px; float: left; font-size: 11px; padding-left: 10px; overflow: auto; }
#phs strong { display: block; padding: 3px 0; }
#phs p { font: 11px/16px Tahoma; text-indent: 0; }
#phs img { display: block; padding: 7px; background: url(i/img_bg_1.gif) no-repeat; height: 115px; width: 177px; border: none; }
#phs a { display: block; width: 214px; background: url(/i/z.gif) 195px 113px no-repeat; }

.navi { clear: both; padding-left: 10px; }
.navi a, .navi span { font-size: 12px; padding: 0 5px; border-right: 1px solid black; text-decoration: none; }
.navi span { color: #86143F; }
.navi a.l { border: none; }

/* RIGHT SIDEBAR */
#r-sidebar { width: 210px; margin-left: -210px; background: url(i/rs_bg.gif) left top repeat-x; padding: 35px 0 175px 0;  }
#preview {  }
#preview img { padding: 7px; background: url(i/img_bg_1.gif); height: 115px; width: 177px; }


/* FOOTER */
#footer { clear: both; height: 60px; background: #E4E4E4 url(i/footer_bg.jpg) right bottom no-repeat; border-top: 12px solid #86143F; position: relative; }
#footer address { position: absolute; font: normal 10px Tahoma; padding: 3px 5px; left: 0; top: 0; }

#fmenu { position: relative; margin-left: 210px; padding-top: 12px; height: 48px; top: -12px; background: url(i/ftp.jpg) right top no-repeat; }
#fmenu li { display: inline; margin-right: 10px;  }

/* Форма связи */
#mailform { margin-top: 1em; }
#mailform fieldset { border: none; }
#mailform legend { text-transform: uppercase; color: #7E7E7E; font-weight: bold; margin-bottom: 1em; }
#mailform label { display: block; width: 180px; float: left; text-align: right; padding-right: 10px; color: #7E7E7E; }
#mailform input, #mailform textarea { width: 250px; margin-bottom: 5px; border: 1px solid #878585; }
#mailform input { height: 20px; }
#mailform textarea { float: left; height: 81px; }
#mailform input.b { width: 85px; position: relative; left: 5px; background: url(i/sb.gif) no-repeat; color: white; height: 25px; border: none; padding-bottom: 5px; margin-top: 60px; }

#menu li { margin: 4px 1.5em; }
#menu li a { font-size: 12px;  }

/* Таблица страниц */
.tab { width: 99%; font-size: 8pt; border: 1px solid black; margin-bottom: 20px; }
.tab caption { font: bold 150% Arial; }
.tab input { margin: 1px; }
.tab th { border: 1px solid black; padding: 2px 3px; background: #7f1d43; color: white; }
.tab td { border: 1px solid #999; padding: 1px 3px; text-align: left; }
.tab td.c { text-align: center; }
.tab th input { float: right; height: 15px; margin: 0; font-size: 12px; }

#scr {
scrollbar-face-color: #cccccc;
scrollbar-track-color: #ffffff;
scrollbar-darkshadow-color: orange;
scrollbar-shadow-color: green;
scrollbar-highlight-color: lime;
scrollbar-base-color: maroon;
scrollbar-3dlight-color: navy;
scrollbar-arrow-color: white;
}
