html, body, h1, h2, h3, h4, h5, h6, form, ul, ol, li, p, table, td, th, img { margin: 0; padding: 0; border: 0; }
img { vertical-align: top; }
textarea { overflow: auto; }
table { border-collapse: collapse; }

/* general */
.g-clear { font-size: 0; clear: both; }
.g-hidden { display: none; }


/* jQuery SimpleModal */
#simplemodal-overlay { background-color: #000; }


/* top panel */
.b-toppanel { height: 31px; width: 100%; position: relative; font: 11px/14px Arial, Helvetica, sans-serif; z-index: 10000; }
.b-toppanel .dotted-a { text-decoration: none; border-bottom: 1px dotted #000; outline: none; }
.b-toppanel .i-about { background-image: url(../images/toppanel/ico_png/about.png); }
.b-toppanel .i-addfirm { background-image: url(../images/toppanel/ico_png/addfirm.png); }
.b-toppanel .i-afisha { background-image: url(../images/toppanel/ico_png/afisha.png); }
.b-toppanel .i-allvrn { background-image: url(../images/toppanel/ico_png/allvrn.png); }
.b-toppanel .i-auto { background-image: url(../images/toppanel/ico_png/auto.png); }
.b-toppanel .i-business { background-image: url(../images/toppanel/ico_png/business.png); }
.b-toppanel .i-discount { background-image: url(../images/toppanel/ico_png/discount.png); }
.b-toppanel .i-ego { background-image: url(../images/toppanel/ico_png/ego.png); }
.b-toppanel .i-forum { background-image: url(../images/toppanel/ico_png/forum.png); }
.b-toppanel .i-foto { background-image: url(../images/toppanel/ico_png/foto.png); }
.b-toppanel .i-gid { background-image: url(../images/toppanel/ico_png/gid.png); }
.b-toppanel .i-kidgid { background-image: url(../images/toppanel/ico_png/kidgid.png); }
.b-toppanel .i-konkurs { background-image: url(../images/toppanel/ico_png/konkurs.png); }
.b-toppanel .i-news { background-image: url(../images/toppanel/ico_png/news.png); }
.b-toppanel .i-rubr { background-image: url(../images/toppanel/ico_png/rubr.png); }
.b-toppanel .i-scards { background-image: url(../images/toppanel/ico_png/scards.png); }
.b-toppanel .i-shopgid { background-image: url(../images/toppanel/ico_png/shopgid.png); }
.b-toppanel .i-tour { background-image: url(../images/toppanel/ico_png/tour.png); }
.b-toppanel .i-tv { background-image: url(../images/toppanel/ico_png/tv.png); }
.b-toppanel .i-work { background-image: url(../images/toppanel/ico_png/work.png); }
.b-toppanel .i-znakom { background-image: url(../images/toppanel/ico_png/znakom.png); }
.b-toppanel .menu { list-style: none; position: absolute; left: 37px; top: 5px; }
.b-toppanel .menu LI { float: left; padding-left: 21px; }
.b-toppanel .menu A { padding: 1px 0 0 22px; height: 15px; float: left; background-repeat: no-repeat; background-position: 0 0; }
.b-toppanel .menu .more { padding: 1px 0 2px 27px; }
.b-toppanel .menu .more A { height: auto; float: none; padding: 0; background-position: 100% 7px; background-repeat: no-repeat; text-decoration: none; outline: none; }
.b-toppanel .menu .more A I { font-style: normal; border-bottom: 1px dotted #000; margin-right: 10px; }
.b-toppanel .menu .more A:hover { background-position: 100% -40px; }
.b-toppanel .menu .more .active,
.b-toppanel .menu .more .active:hover { background-position: 100% -90px; }
.b-toppanel .more-popup { display: none; position: absolute; top: 20px; width: 168px; }
.b-toppanel .more-popup .t { height: 14px; background: url(../images/toppanel/other_t.png) no-repeat 0 0; }
.b-toppanel .more-popup .b { height: 14px; background: url(../images/toppanel/other_b.png) no-repeat 0 0; }
.b-toppanel .more-popup .body { list-style: none; background: url(../images/toppanel/other_bg.png) repeat-y 0 0; }
.b-toppanel .more-popup .body LI { padding: 0 20px 8px; height: 16px;  }
.b-toppanel .more-popup .body A { float: left; height: 15px; padding: 1px 0 0 19px; background-repeat: no-repeat; background-position: 0 0; color: #2d69a1; }
.b-toppanel .more-popup .body A:hover { color: #3db7ea; }
.b-toppanel .login-menu { position: absolute; right: 29px; top: 6px; list-style: none; }
.b-toppanel .login-menu LI { float: left; padding: 0 0 2px 9px; background-position: 4px 7px; background-repeat: no-repeat; }
.b-toppanel .login-menu LI:first-child { background-image: none; }
* .b-toppanel .login-menu LI { background-position: expression(this.previousSibling==null ? '0 -100px' : '4px 7px'); }
.b-toppanel .user-menu { position: absolute; right: 89px; top: 3px; list-style: none; }
.b-toppanel .user-menu LI { float: left; padding: 3px 0 2px 9px; background-position: 4px 10px; background-repeat: no-repeat; }
.b-toppanel .user-menu .avatar {  no-repeat 0 0; padding: 0; width: 25px; height: 20px; }
.b-toppanel .user-menu .nick { background: none; padding-left: 6px; }

.b-toppanel-dark { background: url(../images/toppanel/dark_bg.png) repeat 0 0; color: #fff; }
.b-toppanel-dark A { color: #3db7ea; }
.b-toppanel-dark A:hover { color: #98defb; }
.b-toppanel-dark .dotted-a { border-color: #3db7ea; }
.b-toppanel-dark .dotted-a:hover { border-color: #98defb; }
.b-toppanel-dark .dotted-a-active,
.b-toppanel-dark .dotted-a-active:hover { border-color: #fff; color: #fff; }
.b-toppanel-dark .text-a { color: #fff; }
.b-toppanel-dark .text-a:hover { color: #e0f3fb; }
.b-toppanel-dark .menu .more A { background-image: url(../images/toppanel/dark_more_pic.gif); }
.b-toppanel-dark .menu .more A I { border-color: #3db7ea; }
.b-toppanel-dark .menu .more A:hover I { border-color: #98defb; }
.b-toppanel-dark .menu .more .active,
.b-toppanel-dark .menu .more .active:hover { color: #fff; }
.b-toppanel-dark .menu .more .active I,
.b-toppanel-dark .menu .more .active:hover I { border-color: #fff; }
.b-toppanel-dark .login-menu LI { background-image: url(../images/toppanel/dark_lmenu_sep.gif); }
.b-toppanel-dark .user-menu LI { background-image: url(../images/toppanel/dark_lmenu_sep.gif); }

.b-toppanel-light { background: #fff; color: #000; }
.b-toppanel-light A { color: #2d69a1; }
.b-toppanel-light A:hover { color: #3db7ea; }
.b-toppanel-light .dotted-a { border-color: #2d69a1; }
.b-toppanel-light .dotted-a:hover { border-color: #3db7ea; }
.b-toppanel-light .dotted-a-active,
.b-toppanel-light .dotted-a-active:hover { border-color: #000; color: #000; }
.b-toppanel-light .text-a { color: #000; }
.b-toppanel-light .text-a:hover { color: #004b6a; }
.b-toppanel-light .menu .more A { background-image: url(../images/toppanel/light_more_pic.gif); }
.b-toppanel-light .menu .more A I { border-color: #2d69a1; }
.b-toppanel-light .menu .more A:hover I { border-color: #3db7ea; }
.b-toppanel-light .menu .more .active,
.b-toppanel-light .menu .more .active:hover { color: #000; }
.b-toppanel-light .menu .more .active I,
.b-toppanel-light .menu .more .active:hover I { border-color: #000; }
.b-toppanel-light .login-menu LI { background-image: url(../images/toppanel/light_lmenu_sep.gif); }
.b-toppanel-light .user-menu LI { background-image: url(../images/toppanel/light_lmenu_sep.gif); }


/* auth popup */
.b-authpopup { display: none; position: absolute; width: 284px; color: #000; font: 11px/14px Arial, Helvetica, sans-serif; }
.b-authpopup A { color: #0379aa; }
.b-authpopup A:hover { color: #2fa4d4; }
.b-authpopup .close { position: absolute; left: 264px; top: 3px; width: 15px; height: 15px; background: url(../images/authpopup/close.png) no-repeat 0 0; outline: none; }
.b-authpopup .t { height: 15px; background: url(../images/authpopup/bg_t.png) no-repeat 0 0; }
.b-authpopup .b { height: 15px; background: url(../images/authpopup/bg_b.png) no-repeat 0 0; }
.b-authpopup .body { background: url(../images/authpopup/bg_body.png) repeat-y 0 0; padding: 0 23px 7px 25px; }
.b-authpopup .body .title { padding-top: 3px; font-size: 13px; line-height: 17px; font-style: italic; }
.b-authpopup .body TABLE { width: 100%; }
.b-authpopup .body .lbl { width: 52px; padding-top: 14px; }
.b-authpopup .body .el { padding-top: 14px; }
.b-authpopup .body .el INPUT { width: 97%; }
.b-authpopup .body .footer { padding-top: 10px; }
.b-authpopup .body .remember-el { width: 22px; }
.b-authpopup .body .remind { text-align: right; }
.b-authpopup .body .submit { padding-top: 12px; }
