* {margin:0;padding:0;}
::selection {background:#365a00; color:white;}
::-moz-selection {background:#365a00; color:white;}
.MyClass::selection {background:#365a00; color:white;}
.MyClass::-moz-selection {background:#365a00; color:white;}

html,body{margin:0;padding:0;overflow-x:hidden;}
img    {border: none;}
p      {padding: 2px;}
a      {color:#365a00;}
a:hover{color:#FF9000;}

.clear {clear:both;}
.bfl   {float:left;}
.bfr   {float:right;}
.bplr  {padding:0 5px;}
.bptd  {padding:5px 0;}
.wi75  {width:75%;}

body{ font: 76% Tahoma,Arial,sans-serif;color:#3A3A3A;background:#E5E5E5;}

h1, h2, h3, h4 { margin: 3px;padding: 1px;font-family:Georgia;font-weight: bold;border-bottom:1px solid #F2F2F2;}
h1 { font-size: 20px;}
h2 { font-size: 18px;}
h3 { font-size: 14px;}
h4 { font-size: 12px;}

h1 a, h2 a, h3 a, h4 a {color:#37404C;text-decoration:none;}

/* код для разметки */
#header-top-bg {width: 100%;height: 250px;background-color: #181B14;position:absolute;top:0;left:0;z-index:-1;}
#wrapper {min-width:1000px;margin:20px 40px 0;}
#header { height: 250px; }

#middle { border-right:270px solid #FFF;height:1%;background:#FFF;}
#middle:after {clear:both;content:'.';display:block;height:0;visibility:hidden;}

#container {float:left;margin-right:-100%;overflow:hidden;width:100%;}
#content { background: #FFF;}

#content .bg {background:transparent url(../images/bg-content.png) repeat-x 0 0;padding:0 20px 0 10px;}
.sr { background:#FFF;float:right;margin-right:-270px;position:relative;width:270px;}
#footer { background: #528702 url(../images/bg-footer.png) 0 0 repeat-x;border-top:2px solid #528702;clear: both;height: 50px;float:left;margin:0;width: 100%;}
/* -------------------------------- код заголовка ------------------------  */
#header_box {background: url(../images/bg-header.png) 0 0 repeat-x;height:250px;z-index:10;}
#header_box_l {background: transparent url(../images/bg-header-l.png) left top no-repeat;position:inherit;height:250px;width:100%;}
#header_box_r {background: transparent url(../images/bg-header-r.png) right 41px no-repeat;position:inherit;height:250px;width:100%;}

#header_box_up_menu {background: transparent url(../images/bg-header-up-menu.png) right 0px no-repeat;clear:both;float:right;height:41px;width:504px;}
#header_box_up_menu ul {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0 0 0 9px;}
#header_box_up_menu li {display:inline;}
#header_box_up_menu a {background:transparent url(../images/menu-up-btn.png) no-repeat scroll right top;float:left;width:165px;height:38px;padding:0px;color:#FFF;text-decoration:none;overflow:hidden;}
#header_box_up_menu a:hover {background-position: 0 -38px;color:#181B14;text-decoration:none;}
#header_box_up_menu a span {display:block;padding:12px 0 10px 0;text-align:center;font-size:11px;}
#header_box_logo {background: transparent url(../images/logo.png) left top no-repeat;height:125px;width:210px;float:left;margin:20px;}
/* -------------------------------- Блок пользователя --------------------  */
#user_tool {background:#181B14 url(../images/bg-header-user.png) repeat-x scroll left top;border:1px solid #FFF;color:#FF9000;height:20px;left:107px;position:absolute;top:230px;width:auto;line-height:20px;padding:0 5px;}
#user_tool a {color:#FFF;font-weight:bold;text-decoration:none;}
#user_tool a:hover {color:#FF9000;text-decoration:none;}
/* -------------------------------- Блок пользователя --------------------  */
#header_popup {background:transparent url(../images/header-popup.png) left 0px no-repeat;left:0;height:126px;left:290px;position:absolute;top:85px;width:276px;padding: 0px 5px 5px 30px;}
#header_popup h2 {font-size:15px;font-weight:bold;color:#599700;margin:3px 0;padding:2px 0;}
#header_popup p {font-size:9px;color:#599700;margin-right:39px;}
/* -------------------------------- Динамическое меню --------------------  */
#navi-bar {background:#FFF;height:31px;padding:20px;}
#navi-bar .left  {background: url(../images/bg-navi-left.png) left 0px no-repeat;height:31px;width:100%;}
#navi-bar .right {background: url(../images/bg-navi-right.png) right 0px no-repeat;height:31px;width:100%;}
#navi-bar .bar   {background: transparent url(../images/bg-navi.png) left 0px repeat-x;height:31px;margin:0 49px;}
#navi-bar ul {min-height:31px;padding-top:3px;}
#navi-bar li {float:left;display:block;position: relative;list-style-type:none; }
#navi-bar ul li ul {background-color: #181B14;border:#FFF 1px solid;position:absolute;display:none;top:23px;z-index:5;width:160px;}
#navi-bar ul li:hover ul {display:block;}
#navi-bar ul li ul li { display:block;float:none;margin:0;padding:4px;text-align:left;list-style-image:none;list-style-position:outside;list-style-type:none;}
#navi-bar ul li ul li a {padding:1px 4px;}
#navi-bar a {font-size:11px;font-weight:bold;padding: 5px 10px;color:#FFF;text-decoration:none;display: block;}
#navi-bar a:hover {color:#FF9000;text-decoration:none;}
#navi-bar .iefix {}
/* -------------------------------- стили юзерского блока ----------------  */
#user_block {-moz-border-radius : 5px;
background:#ADE61B url(../images/bg-header-r.png) no-repeat 0 0;
border:2px solid #181B14;
color:#FFFFFF;
display:block;
font-family:Helvetica,Arial,sans-serif;
left:50%;
margin-left:-200px;
padding:10px;
position:fixed;
top:25%;
width:400px;
z-index:7000;}
#user_block .header {-moz-border-radius : 2px;background-color:#555;color:#FFF;font-size:13px;font-weight:bold;height:20px;margin-bottom: 2px;padding: 2px 5px;}
#user_block .content {padding:10px 15px;}
#user_block a {color:#CCFFCC;text-decoration:none;font-weight:bold;}
#user_block a:hover {color:#181B14;text-decoration:none;}
#user_block .photo {background:#FCF7F3 url(../images/wallpaper.jpg) repeat 0 0;border:1px solid #A14715;margin-right:10px;padding:20px;}
/* -------------------------------- стили правого столбца ----------------  */
.right_bg { margin:17px 0 0 20px;}
.right_bg .head {background: url(../images/bg-right-h.png) 0px 0px repeat-x;color:#37404C;display:block;font:14px/18px Georgia;font-weight: bold;font-style:italic;margin-bottom:10px;padding:6px 0 4px 4px;text-align:center;height:35px}
.right_bg .body { background: #EBEBEB;clear:both;margin-bottom:10px;padding-bottom:10px;}
#tag_content p {padding:10px;}
#tag_content .tagMain {padding:10px;}
/* -------------------------------- стили правого столбца ----------------  */
#speed-bar {display:block;padding:15px 0;}
#dle-speedbar {}
#dle-speedbar,
#dle-speedbar a {font-size:15px;font-weight:bold;padding:4px;text-decoration:none;}
#dle-info {display:block;clear: both;}
#dle-content {display:block;clear: both;}
#dle-content ul { padding: 11px 5px 11px 40px; }
#dle-content .rating ul { padding:0;}
.banners a img { opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=40); }
.banners a:hover img { opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100); }
/* ========================================================== серые уголки */

div.news-block {background:#FAFAFA;border:1px solid #E1E1E1;height:1%;margin-bottom:15px;}
div.news-head {background:#F2F2F2;height:1%;line-height:18px;overflow:hidden;padding:5px 20px;margin:5px;}
div.news-body {padding:5px 10px;}
div.news-body img {}
div.news-info {position: relative;margin:10px;border:1px solid #E5E5E5;padding:10px;clear:both;display:block;}

.f_input     {color:#555;font-size:12px;font-family:tahoma;background:#FFF;width:200px;border: 1px solid #CCC;padding:3px;}
input, select{color:#555;font-size:12px;font-family:verdana;background:#FFF;border: 1px solid #CCC;padding:3px;}
.f_textarea  {color:#555;font-size:12px;font-family:tahoma;background:#FFF;width:459px;border: 1px solid #CCC;height:160px;padding:3px;}
.f_submit    {color:#FF9000;font-size:12px;font-family:tahoma;background:#181B14 url(../images/bg-header-user.png) repeat-x scroll left top;border:1px solid #FFF;cursor: pointer;padding:3px 10px;text-align:center;}

/*  navigation   */
.navigation {color: #fff;border: 0px;padding: 2px 4px;}
.navigation a:link,.navigation a:visited,.navigation a:hover,.navigation a:active {text-decoration: none;color: #181B14;background: #558B02;border: 1px solid #365a00;padding: 2px 4px;font-size: 10px}
.navigation a:hover {background: #FF9000;color: #FAFAFA;}
.navigation span {text-decoration: none;background: #FAFAFA;padding: 2px 4px;border: 1px solid #365a00;color: #181B14;font-size: 10px;}
/* -------------------------------- стили правого столбца ----------------  */
#footer .copyright {color:#181B14;font-size: 10px;position:relative;left:40px;top:10px;}
#footer .counter {background:#FAFAFA;float:right;margin:7px 40px 0 0;height:31px;border:1px solid #E1E1E1;}
#hintbox{ -x-system-font:none;background:#D5F555;border:2px solid #365A00;font-family:Verdana;font-size:11px;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;line-height:18px;padding:5px 7px;position:absolute;top:0;visibility:hidden;width:150px;z-index:100;}

.vcard {background:#F3F3F3;border:1px solid #545454;margin:10px;padding:10px;width:300px;}
.vcard .org {font-size:18px;line-height:30px;color:#FF6600;}
.vcard .url {display:block;}
.vcard .email {display:block;}


/* Clearfix */
* html > body .clearfix {width: 100%;display: block;}
* html .clearfix {height: 1%;}
.clearfix:after {clear: both;display: block;content: ".";height: 0;visibility: hidden;}
