/* create: 2010.05.05 Toropov E.E. mail:ev.toropov@gmail.com */
/* opencs.ru */
html,body{width:100%;height:100%;margin:0;padding:0;}
body{background:#fff;font-family:arial;font-size:12px;color:#000066;}           
img,p,form,h1,h2,h3,h4{border:0;margin:0;padding:0;}
a{color:#2952a3;}
a:hover{color:#c20606;}

/* основные стили шаблона */
.main{min-width:980px;}

.bl_menu{width:100%;border-collapse:collapse;background:url(../images/bg_3.gif) left bottom repeat-x;}
.bl_menu td{padding:0;height:61px;vertical-align:top;}
.bl_menu .banner{width:10%;padding:3px 3px 1px 62px;background:url(../images/mt_0.gif) left bottom no-repeat;}
.bl_menu .menu{background:url(../images/line_2.gif) left bottom repeat-x;}
.bl_menu .menu_1{height:31px;padding:7px 0 0 0;background:url(../images/bg_top_1.gif) left bottom repeat-x;}
.bl_menu .menu_1 a{display:block;float:left;} 
.bl_menu .menu_2{min-width:530px;} 
.bl_menu .menu_2 a{display:block;float:left;}

.bl_head{background:url(../images/bg_23_r3.gif) left bottom repeat-x;}
.bl_head .bg{position:relative;height:140px;background:url(../images/bg_20_r3.gif) left top repeat-x;}
.bl_head .bg_limg1{position:absolute;top:0px;left:0px;width:307px;height:44px;background:url(../images/pik_3_r3.gif) left top no-repeat;}
.bl_head .bg_limg2{position:absolute;top:44px;left:0px;width:507px;height:96px;background:url(../images/pik_4_r3.gif) left top no-repeat;}
.bl_head .bg_limg3{position:absolute;top:0px;right:0px;width:253px;height:58px;background:url(../images/logo_top2_r3.gif) right top no-repeat;}
.bl_head .bg_limg4{position:absolute;top:0px;right:253px;width:220px;height:44px;background:url(../images/logo_top3_r3.gif) right top no-repeat;}

.bl_main{position:relative;margin-top:-68px;width:100%;border-collapse:collapse;}
.bl_main td{padding:0;vertical-align:top;}

.bl_left{background:#edf1fc;border-top:3px solid #fff;border-bottom:3px solid #fff;}
.bl_left1{width:3px;font-size:0;}
.bl_left2{width:3px;font-size:0;}
.bl_left .h1{height:30px;background:url(../images/line_h2.gif) right top repeat-x;border-bottom:4px solid #fff;}
.bl_left .h1 h1{height:23px;padding:7px 0 0 37px;background:url(../images/bullet_m4.gif) left top no-repeat;font-size:12px;font-weight:normal;color:#fff;}
.bl_left .bl_cont{margin:8px;}

.bl_padleft{height:68px;}
.bl_padleft1{width:3px;font-size:0;}
.bl_padleft2{width:3px;font-size:0;}
.bl_right{width:253px;background:#b8c9fd url(../images/v_line.gif) left top repeat-y;}
.bl_right .bg_top{position:relative;margin-top:-13px;width:253px;height:22px;background:url(../images/logo_top_r3.gif) right top no-repeat;}
.bl_right .ht2{height:26px;margin-left:3px;padding:4px 0 0 21px;background:url(../images/v_line_m.gif) right top repeat-x;}
.bl_right .ht2 p{height:26px;overflow:hidden;text-indent:-9999px;background:url(../images/h2_search.gif) left top no-repeat;}

.bl_right .h2{height:24px;margin-left:3px;padding:6px 0 0 20px;background:url(../images/line_h2.gif) right top repeat-x;}
.bl_right .h2 p{height:26px;overflow:hidden;text-indent:-9999px;}
.bl_right .h2 .uch{background:url(../images/h2_uch.gif) left top no-repeat;}
.bl_right .h2 .raz{background:url(../images/h2_raz.gif) left top no-repeat;}
.bl_right .h2 .adm{background:url(../images/h2_adm.gif) left top no-repeat;}
.bl_right .h2 .avt{background:url(../images/h2_avt.gif) left top no-repeat;}

.bl_right .search{padding:6px 0 6px 23px;}
.bl_right .search .inp1{margin:0;width:132px;}
.bl_right .search .inp2{margin:0;width:65px;}

.bl_right .login{padding:6px 0 5px 23px;}
.bl_right .login .inp1{margin:0;width:95px;}
.bl_right .login .inp2{margin:0;width:96px;}
.bl_right .login p{padding:2px 0 0px 0;}
.bl_right .login a{color:#2f4995;text-decoration:none;font-weight:bold;line-height:18px;}
.bl_right .login a:hover{color:#c00000;}

.bl_right .menu{padding:5px 5px 5px 5px;}
.bl_right .menu a{display:block;padding:0 0 1px 19px;background:url(../images/bullet_m.gif) left top no-repeat;}
.bl_right .menu a{font-family:verdana;font-size:12px;font-weight:bold;color:#2f4995;text-decoration:none;line-height:15px;}
.bl_right .menu a:hover,.bl_right .menu .act{color:#c00000;background:url(../images/bullet_m_sel.gif) left top no-repeat;}

.bg_foot1{font-size:0;height:3px;}
.bg_foot1 .r{font-size:0;height:3px;background:#b8c9fd url(../images/v_line.gif) left top repeat-y;}
.bg_foot2{background:#2c50c5 url(../images/bg_foot.gif) left top repeat-x;height:24px;}
.bg_foot2 .r{background:url(../images/bg_foot2.gif) left top no-repeat}

.bl_footer{position:relative;margin-left:188px;height:68px;background:url(../images/logo_bot2.gif) left top no-repeat;}
.bl_footer .guild{position:absolute;text-align:right;width:240px;line-height:12px;top:14px;color:#2c50c5;left:-84px;}
.bl_footer .guild span{color:#c20606;}
.bl_footer .develop{position:absolute;left:230px;top:14px;color:#2c50c5;line-height:12px;}
.bl_footer .develop a{color:#c20606;}
.bl_footer .develop a:hover{color:#6f0808;}

/* стили модулей */
.m_firms_frontpage p{font-style:italic;}
.m_firms_frontpage table{width:100%;margin:0;}
.m_firms_frontpage table td{width:25%;}
.m_firms_frontpage table div{margin:10px 0 0 0;}
.m_firms_frontpage table p{color:#c20606;font-size:14px;font-style:normal;}
.m_firms_frontpage table ul{margin:0;padding:0 0 12px 0;list-style-type:none;font-size:12px;}
.m_firms_frontpage table li{margin:0;padding:2px 0 2px 0;color:#a2a2a2;}
.m_firms_frontpage span{color:#c20606;}

.m_firms_alplink{font-size:14px;padding-bottom:7px;}
.m_firms_alplink span{padding-right:10px;color:#a2a2a2;}
.m_firms_alplink a{padding-right:10px;color:#388f5f;}
.m_firms_alplink a:hover,.m_firms_alplink .act{color:#c20606;}

.m_firms_personslist table{width:100%;border-top:1px dotted #d2daf1;margin-top:3px;}
.m_firms_personslist table td{padding:10px 0 10px 0;height:100px;border-bottom:1px dotted #d2daf1;}
.m_firms_personslist .name{font-size:16px;}
.m_firms_personslist .img{width:160px;padding-left:30px;}
.m_firms_personslist .img2{width:135px;padding-left:30px;}
.m_firms_personslist .img2 img{width:100px;}

.m_firms_blfirms {margin-top:10px;border:1px solid #dee5f7;}
.m_firms_blfirms p{padding:0 5px 0px 5px;line-height:20px;}
.m_firms_blfirms h3{font-size:12px;font-weight:bold;padding:5px 0 1px 5px;color:#c20606;}
.m_firms_blfirms th{padding:2px 4px 4px 4px;}
.m_firms_blfirms .line2 td{padding:4px;background:#dee5f7;}
.m_firms_blfirms .line1 td{padding:4px;background:#eff2fa;}

.m_firm_card{margin:0;padding:0;border-collapse:collapse;}
.m_firm_card td{padding:0;line-height:20px;}
.m_firm_card p{padding:0 5px 0px 5px;}
.m_firm_card img{margin-right:5px;border:1px solid #dee5f7;}

.m_firm_lli{display:block;float:right;line-height:20px;}

.m_news_list{padding:5px 0 5px 0;border-bottom:1px dotted #d2daf1;}
.m_news_list table{border-collapse:0;margin-left:18px;}
.m_news_list table td{padding:0;}
.m_news_list .date{color:#a2a2a2;font-size:14px;line-height:12px;padding-bottom:4px;}
.m_news_list h3{font-size:12px;font-weight:bold;margin:0;padding:0 0 2px 0;}
.m_news_list img{margin-right:10px;}

.m_admin_butt{border:1px dotted #d2daf1;padding:4px;text-align:right;font-weight:bold;}
.m_firm_pad{font-size:0;height:3px;}
.m_admin_list{width:100%;}
.m_admin_list th{background:#4064ce;padding:4px;line-height:10px;}
.m_admin_list th a{color:#fff;}
.m_admin_list td{vertical-align:middle;height:34px;padding:0 4px;}
.m_admin_list .line1 td{background:#dee5f7;}
.m_admin_list .line2 td{background:#eff2fa;}
.m_admin_small{font-size:10px;}

.m_admin_search{}
.m_admin_search td{vertical-align:middle;padding:1px 4px;white-space:nowrap;background:#dee5f7;text-align:right;}
.m_admin_search td input{text-align:center;}
.btnnn input{width:170px;}

.tbl_admin td{border:1px dotted #d2daf1;vertical-align:middle;padding:2px 4px;line-height:12px;}
.cs_color_error{color:red;}

.navigation{text-align:center;padding:10px 0 4px 0}
.red{color:red;}
.back{padding-top:10px;}
