*{margin:0px; padding:0px;}
img{border:0px;}
html, body{text-align:center; background:#000; margin:0px; padding:0px; font:12px Tahoma;}
p{margin:5px 34px 13px 34px ;}
a{text-decoration:none;color:#612414;}
a:hover{text-decoration:underline;color:#612414;}
div#body{position:relative; overflow:hidden;}
div#conteiner{text-align:left;width:916px;margin:0 auto; position:relative;}

/* шапка */
div#header{width:100%; height:248px; position:relative;}
div#header img#header{position:absolute; left:-150px; top:0px;}
div#header img#left{position:absolute; top:248px; left:-150px;}
div#header img#right{position:absolute; top:248px; right:-149px;}
div#border1{position:absolute; top:500px; left:-35px; margin-bottom: -150em;padding-bottom: 150em; width:1px; background:#686355;}
div#border2{position:absolute; top:500px; right:-33px; margin-bottom: -150em;padding-bottom: 150em; width:1px; background:#686355;}

/* Конфигурация основных блоков*/
#cell_1{float:left;width:151px;background:url(/img/portal2/leftbg.jpg) repeat-y top; background-position:0px 106px; margin-bottom: -150em; padding-bottom: 150em; margin-top:0px; padding-top:0px;}
#cell_2{float:left;width:610px;background:url(/img/portal2/main.jpg) repeat-y top left; position:relative; }
#cell_3{float:left;width:155px;background:url(/img/portal2/right_bg.jpg) repeat-y;margin-bottom: -150em;padding-bottom: 150em;}

/* Меню в левом блоке */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
ul#nav {margin-top:-12px;}}
div#left_block {background:url(/img/portal2/left_bg.jpg) repeat-y top;}
div#left_block li {list-style:none}

ul#nav li#m1{height:28px;}
ul#nav li#m2{height:25px;}
ul#nav li#m3{height:26px;}

a#m1{width:151px; height:28px; background:url(/img/portal2/01.jpg) no-repeat bottom left; display:block;}
a#m2{width:151px; height:25px; background:url(/img/portal2/02.jpg) no-repeat bottom left; display:block;}
a#m3{width:151px; height:26px; background:url(/img/portal2/03.jpg) no-repeat bottom left; display:block;}
a#m4{width:151px; height:27px; background:url(/img/portal2/04.jpg) no-repeat bottom left; display:block;}
a#m1:hover, a#m2:hover, a#m3:hover, a#m4:hover{background-position:top;} 
a#m2:hover {background-position:0px -1px;}

div#head{width:140px; height:27px; padding:1px 0px 0px 9px; background:url(/img/portal2/head.jpg) no-repeat top left; background-position:8px 0px;}

ul.nav1 {height:135px;}
ul.nav2 {height:63px;}
ul.nav3 {height:44px;}
ul.nav4 {height:45px;}
ul.nav5 {height:74px;}
ul.nav6 {height:44px;}
ul.nav7 {height:77px;}

ul#nav2 {padding-top:2px; list-style:none}
ul#nav2 a{font:11px Tahoma; color:#cbb093;}
ul#nav2 li{padding:4px 0px 0px 37px; width:100px}

ul#nav3 {padding:2px 0px 5px 0px; list-style:none;}
ul#nav3 a{font:11px Tahoma; color:#cbb093;}
ul#nav3 li{padding:4px 0px 0px 37px; width:100px; background:url(/img/portal2/marker.jpg) no-repeat; background-position:20px 8px;}

/* Форма авторизации */
div#form{width:610px; height:86px; background:url(/img/portal2/form.jpg) no-repeat; position:relative;}
div#form input{ border:0px;}
div#form input#us{text-align:center; padding:0px 2px 0px 2px; width:128px; height:21px; position:absolute; top:3px; left:175px; font-weight:bold; background:url(/img/portal2/user.jpg) no-repeat top left;}
div#form input#ps{text-align:center; padding:2px 2px 0px 2px; width:127px; height:21px; position:absolute; top:3px; left:313px; font-weight:bold; background:url(/img/portal2/ps.jpg) no-repeat top left;}
div#form input#open{width:42px; height:20px; position:absolute; top:2px; left:467px; font-weight:bold; background:url(/img/portal2/open.gif) no-repeat top left;}
div#form input#open:hover{background:url(/img/portal2/open.gif) no-repeat bottom left;}
div#form #reg{position:absolute; left:69px; top:2px; width:79px; height:17px; display:block; background:url(/img/portal2/reg.jpg) no-repeat top left; border:0px;} 
div#form #reg:hover{background-position:bottom; height:17px;}
div#form #pas{position:absolute; left:64px; top:23px;width:91px; height:13px; display:block; background:url(/img/portal2/pas.jpg) no-repeat top left;border:0px;} 
div#form #pas:hover{background-position:bottom;}

div#form2{width:610px; height:80px; padding-top:6px; background:url(/img/portal2/form2.jpg) no-repeat; position:relative; font:12px Arial; text-align:center}
               
/* Правый блок */
div#right_bg{width:155px; height:784px; background:url(/img/portal2/r_bg.jpg) no-repeat top left; background-position: 0px 0px}
div#right_bg ul{padding:40px 0px 0px 48px;height:200px;}
div#right_bg li{list-style:none; padding-bottom:15px;}
div#right_bg li.r1{padding-bottom:17px;}
div#right_bg li.r2{padding-bottom:13px;}
div#right_bg ul li a{color:#000; font:12px Tahoma;}
div#right_bg img{margin-left:20px; margin-top:23px;}

/* Заголовок */
div#page{width:610px; min-height:700px; background:url(/img/portal2/mtop.jpg) no-repeat top left; text-align: justify}
div#headline {width:100%; height:39px; padding-top:12px; text-align:center}
div#headline img{ padding-left:4px;}

/* Контент */
div#page h2{padding-left:34px; color:#503c28; font:12px Tahoma; font-weight:bold}
div#pagebreak{position:relative;}
div#date {position:absolute; top:7px; left:30px; font:10px Tahoma; color:#82603c; font-weight:bold;}
div#pagebreak ul{width:540px; border-top:1px solid #aa8460}
div#pagebreak li{height:18px; padding-top:2px; list-style:none; float:right; background:url(/img/portal2/cp.jpg) repeat-x;}
div#pagebreak li.right{width:3px; height:20px;background:url(/img/portal2/rp.jpg) no-repeat;}
div#pagebreak li.left{width:3px; height:20px;background:url(/img/portal2/lp.jpg) no-repeat;}
div#pagebreak li.right2{width:2px; height:20px;background:url(/img/portal2/rp.jpg) no-repeat;}
div#pagebreak li a{color:#f5e9d4; font:11px Tahoma; font-weight:bold; padding:0px 13px 0px 10px;}
div.pagebreak{padding:0px 23px 0px 23px; height:66px; background:url(/img/portal2/break.jpg) no-repeat bottom left; margin-left:14px; }
div.pagebreak2{width:610; padding:0px 23px 0px 23px; height:50px;background:url(/img/portal2/break2.jpg) no-repeat top left;   }
div#page img{margin:2px 5px 5px 2px;}


/* Постраничная навигация*/
div#align_center{position:relative;width:100%; height:15px;background:url(/img/portal2/content.jpg) repeat-y top left; margin-bottom: -100em;padding-bottom: 100em;}
div#align_center:after{display:block;clear:both; }
div#align_center_to_left{position:relative;right:50%;float:right;}
div#align_center_to_right{position:relative;z-index:1;right:-50%;}
div#align_center li{float:left; list-style:none; font:14px "Times New Roman"; color:#6f4e2b; padding-left:5px;}
div#align_center li a{color:#7d0000; font-weight:bold;}
div#align_center li.not_click{color:#000; font:12px Arial; font-weight:bold; padding-top:3px;}
div#align_center li.click{color:#000; font:12px Arial; font-weight:bold; padding-top:3px}

/* Футер */
div#footer{width:917px; height:154px; position:relative;  clear:both}
div#footer_bg{position:absolute; width:917px; height:154px; background:url(/img/portal2/footer.jpg) no-repeat top #fff}
div#footer img#fly1{position:absolute; top:-440px; left:-150px;}
div#footer img#fly2{position:absolute; top:-270px; left:-24px;}
div#footer img#fly3{position:absolute; top:-480px; right:-147px; right:-148px;}
div#footer img#le_bo{position:absolute; top:-15px; left:0px;}

div#unfooter {position:absolute; bottom:-1400px; left:-50px; width:1000px; height:1400px; background:#000;}

.clearfloat{clear:both} 

A.lnk2 {  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #737062; font-weight: none; text-decoration: none;}
a.lnk2:link { color: #737062; font-weight: none; text-decoration: none;}
A.lnk2:visited { color: #737062; font-weight: none; text-decoration: none;}
A.lnk2:hover, A.lnk2:active {  color: #737062; font-weight: none; text-decoration: none;}