body, html { font:normal 14px Helvetica,sans-serif,Verdana;  color:#000;  padding:0px; margin: 0px; height:100%; background-color: #ffffff;}
body{margin: 0 7px;}
td {vertical-align:top;font:normal 14px Helvetica,sans-serif,Verdana;}
th {text-align:left; padding: 3px 10px 3px 0px; font:bold 14px Helvetica,sans-serif,Verdana; background-color: #F4E8D8; color: #0457AE;}
p{margin:6px 0px 0px 0px;}
a{color:#0457ae; }
a:hover{text-decoration:none;}
a img{border:0;}

h2{ color: #0457ae; }
h3{font-size:14px; color:#0457ae; font-weight:bold; margin:10px 0px 6px 0px; padding:0px;}

#main{ min-width:970px;   margin-bottom:-145px; min-height: 100%; width: expression((body.clientWidth <= 1000) ? "1000px" : "");}
* html #main {height: 100%;}
#main im {border:0;}
#footer{height:170px; clear:both; background:#eedfcb; min-width:970;  width: expression((body.clientWidth <= 1000) ? "1000px" : "");}
#footer .blue_top{height:11px; background:#0457ae url(/images/design/tl_blue.gif) top left no-repeat;}
#footer .blue_top div{height:11px; background: url(/images/design/tr_blue.gif) top right no-repeat;}
#footer_place{height:150px; clear:both;}
#footer .counters {text-align:right;float:left;  width:140px; height:112px; padding:0px 15px 0px 20px; margin:10px 0px 0px 10px; background:url(/images/design/d_ver.gif) top right repeat-y;}
#footer .counters p{margin:0;}
#footer .counters a{color:#000000; text-decoration:none;}
#footer .counters img{border:0;}
#footer .footer_info{color:#000000;height:112px; margin:10px 0px 0px 10px; }
#footer .bottom_nav{height:30px; margin:0px 0px 0px 180px; padding:0; list-style:none;}
#footer .bottom_nav li{float:left; border-right:1px solid #797979; padding:0px 7px 0px 7px;}
#footer .bottom_nav li.last{border:0px;}
#footer .footer_info a{color:#797979;}
#footer .copyright{padding:10px 0px 0px 185px;}

#header{background:#f4e8d8;}
#header .user{padding:5px 0px 0px 20px;}
#header .user a{font-weight:bold; margin-right:5px;}
#header .lay{min-height: 14px; background:#e7d5bd; border-bottom:1px solid #c6b7a2;}
#top_nav{margin:0px 170px 0px 210px; height:60px; }
#top_nav ul{margin:0px; padding:0px 0px 0px 0px; font-size:14px; float:left; width:24%; background:url(/images/design/top_nav_col_bg.gif) top left no-repeat; list-style:none;}
#top_nav ul li{margin:0; padding:5px 0px 0px 0px; line-height:14px; } 
#top_nav ul li a{text-decoration:none; color:#000; display:block; padding:2px 0px 2px 15px;margin:0px 0px 0px 5px;} 
#top_nav ul li a:hover{display:block;  background:#e7d5bd; padding:2px 0px 2px 15px; margin:0px 0px 0px 5px;} 

.ug #header{height:93px;background:#f4e8d8;}
.ug #top_nav{margin:0px 170px 0px 210px; height:80px; }

#logo{width:210px; float:left; padding-top:15px; text-align:center;}
#logo_ug {width:210px; float:left; text-align:center;}
#logo_chr {width:210px; float:left; padding-top:10px; text-align:center;}
#logo_tumba{width:210px; float:left; padding-top:15px; text-align:center;}

#login_block{height:90px; float:right; width:182px;background:url(/images/design/top_nav_col_bg.gif) top left no-repeat; padding: 0 10px;}
#login_block .head{margin:1px 20px 1px 25px;line-height:17px; padding:0px 0px 2px 0px;  background:url(/images/design/d_hor.gif) bottom left repeat-x;}
#login_block .head a.login {font-size:14px; font-weight:bold; font-family:Helvetica,sans-serif,Verdana; color:#0457ae;}
#login_block .head a.signup {height:19px; color:#797979; margin-left:7px;}

#subheader{height:77px;}
#search_block{float:left;height:77px; width:192px; background:#f4e8d8 url(/images/design/d_hor.gif) top right repeat-x;}
#search_block form{margin:0; height:77px; background: url(/images/design/lb_white.gif) bottom left no-repeat;}
#search_block .field {padding:14px 0px 0px 6px; float:left;}
#search_block .field input{color:#919191;font-size:11px; padding:0; width:160px; height:16px; border:1px solid #d4d4d4; }
#search_block .but{padding:17px 0px 0px 0px;}
#search_block .but input{width:10px; height:11px; margin-left:6px; vertical-align:middle;}
#search_block .link_to_advanced_search {color:#797979; margin-top:4px; text-align:right; width:165px; }
#search_block .link_to_advanced_search a{color:#797979;}

#nav{height:40px; }
#nav ul{margin:0; padding:12px 0px 0px 0px; list-style:none;text-align:center;}
#nav ul li{margin:0px ; padding:0px 10px 0px 10px;display:inline; border-right:1px solid #0457ae;}
#nav ul li.last{border-right:0;}
#nav ul li a{color:#0457ae; font-size:14px; text-decoration:none;}
#nav ul li a:hover{color:#0457ae; font-size:14px; text-decoration:underline;}

/* Рекламные места */
#top_banners{margin-left:192px;height:72px; border-top:1px solid #c4b49f; background:#e7d5bd url(/images/design/br_white.gif) bottom right no-repeat;}
#top_banners_shadow{background:url(/images/design/top_banners_shadow.jpg) top left; height:71px; width:21px;float:left;  border-right:4px solid #c6b7a2;}
#top_banners .banner {height:60px; padding:11px 0px 0px 11px; width:128px; border-right:4px solid #c6b7a2;float:left; }
#top_banners .banner_wide {height:60px; padding:6px; width:468px; border-right:4px solid #c6b7a2;float:left; }
#top_banners .banner_text {color:#0457ae;height:60px; padding:11px 0px 0px 11px; width:190px; float:left; }
#top_banners .banner_text a{color:#0457ae; font-weight:bold;}

.bn_place {text-align: center;}
#wrapper .bn_place .code {margin: 3px 0px;}

/* Главная таблица */
#wrapper {width: 100%;}
.left_column {width: 250px; padding-right: 10px;}
.right_column {width: 250px; padding-left: 10px;}

/* Хлебные крошки */
.breadcrumbs {text-align: right; padding-bottom: 5px;}
.breadcrumbs .label {display: inline; font-weight: bold; margin-right: 3px;}
.breadcrumbs .value {display: inline;}

/* Баннеры */
.banners_right{padding:15px 0px 15px 0px;width:262px; }
.banners_right .banner{padding:7px 0px 6px 0px; color:#b0b0b0; line-height:19px;}
.banners_right .banner a{color:#b0b0b0; font-weight:bold;}

.center_banner{margin:10px 0px 10px 0px; clear:both;}

/* Панели */
.panel { margin-bottom: 15px; }
.panel .title {padding:0 0 0 25px; font-size:16px; font-weight:bold; line-height:16px; font-family:Helvetica,sans-serif,Verdana; color:#0457ae; background: url(/images/design/arrow.gif) no-repeat; background-color: #f4e8d8; }
.panel .title a{text-decoration:none;}
.panel .title a:hover{text-decoration:underline;}
.panel h1.title{font-weight:bold;font-size:18px; line-height:16px; background-image: url(/images/design/arrow.gif) no-repeat;font-family:Helvetica,sans-serif,Verdana; color:#0457ae; margin:0; }

.metadata{padding:2px 0px 0px 0px; margin:10px 0px 10px 0px;background:url(/images/design/d_hor2.gif) top left repeat-x;}
.metadata  div{display:inline; line-height:20px;}
.metadata .value{color:#797979; margin:0px 10px 0px 5px;}

.metadata .rating .values{margin:0px 5px 0px 5px; font-size:18px;}
.metadata .rating .values a{text-decoration:none;font-size:18px;}


/* Общие настройки объектов */
.shorty .name {text-align:left;}

.shorties .shorty { margin-bottom:10px;}

.article .name {text-align:left;}
.article.preview .picture{float:left; margin:10px 10px 5px 0px; width:122px;}

.articles .article {margin-bottom:10px;}

.picture {padding:1px 0px 1px 0px; text-align:center; border:2px solid #dee2e6;}

/* Блок подписки */
.subscribe{clear:both;margin:20px 0px 10px 0px; height:15px; padding:5px 0px 0px 0px; background:url(/images/design/d_hor2.gif) top left repeat-x; text-align:right;}
.subscribe a{color:#797979; margin-left: 15px;}

/* Правая колонка */
.rightsection{float:right; width:262px; }
.rightsection .banner{padding:15px 0px 5px 0px;}

/* Пустые списки */
.empty_set{text-align:center;font-size:16px; padding:10px; margin:10px; border:1px solid #EEE; background: #fdfdfd;}

/* Общее для актуального и раздела  */
.panel.hot .shorties, 
  .panel.section .shorties {width:250px; float:left; clear: left;}
.panel.hot .shorties .shorty .name,
  .panel.section .shorties .shorty .name{display:block; color:#0457ae; font-weight:bold; margin:10px 0px 6px 0px; padding:0px;}

.panel.hot .articles,
  .panel.section .articles{margin-left:255px;}
.panel.hot .articles .article
  .panel.section .articles .article{min-height:250px;}

/* Самое актуальное */
.panel.hot .articles .article .name{text-align:left;display:block;margin:0; text-decoration:none; font-weight:bold; padding:10px 0px 10px 0px; font-size:20px; color:#0457ae;}
.panel.hot .articles .article .excerpt{ min-height:105px;}
.panel.hot .articles .article .picture {margin-right:10px;float:left; width:122px;}

.panel.hot .panel.galleries {margin-right:0;}
.panel.hot .panel.galleries .gallery{text-align:center;}
.panel.hot .panel.galleries .gallery .picture{margin:10px auto;width:240px; height:auto;}

/* Самое комментируемое */
.most_commentable {margin-bottom: 10px;}
.most_commentable .commentable{margin:10px 0px 5px 0px;background:url(/images/design/icon-comments.gif) 3px 4px no-repeat; line-height:17px;}
.most_commentable .commentable .count{ padding-top:1px;float:left; margin-left:20px;}
.most_commentable .commentable a{margin-left:39px;display: block;}

/* Вторичные статьи */
.articles.second .article .name {display:block; font-weight:bold; text-decoration:none;font-size:14px; color:#0457ae; margin:10px 0px 6px 0px; padding:0px;}
.articles.second .excerpt{min-height:160px;}
.articles.second .article .picture{width:122px;}

.left_column .articles .article .picture {width:92px !important;}
    
/* Разделы */
.section{clear:both;}

.section .articles .article .name{display:block; font-weight:bold; padding:10px 0px; font-size:17px; color:#0457ae;}
.section .articles .article .excerpt{min-height:105px; }

.section .articles.top {margin-right:0px;}
.section .articles.top .text{min-height:160px; }
.section .articles.second {padding-top: 0px; margin-right: 0px;}
.section .articles.second .article {min-height: 90px; margin-bottom: 0px;}
.section .articles.second .name{ font-size: 15px; margin: 0px 0px 0px 105px; padding: 0px;}
.section .articles.second .picture {width: 92px; margin-top: -20px;}
.section .articles.second .metadata {margin: 20px 0px 0px 105px; }
.section .articles.second .excerpt {min-height: 0px;}

.section .shorties {border: 1px solid #FFF; width:auto; margin-right: 0px;}
.section .shorties .shorty .name {display:block; font-size:14px; color:#0457ae; font-weight:bold; margin:10px 0px 6px 0px; padding:0px;}

.section .rightsection {padding-top: 20px;}

/* Список галерей */
.panel.galleries .gallery,
  .search_results .gallery { clear:none;text-align:left; margin:10px 0px 0px 0px;}
.panel.galleries .gallery .name,
  .search_results .gallery .name{font-weight:bold;display:block; color:#7ab2c4;margin:10px 0px 10px 0px; padding:0px; font-size:14px;}
.panel.galleries .gallery .thumbs,
  .search_results .gallery .thumbs{height:70px; margin:10px 0px 10px 0px; }
.panel.galleries .gallery .thumbs .picture,
  .search_results .gallery .thumbs .picture{float:left; padding:0;margin:0px 10px 0px 10px;}
.panel.galleries .gallery .thumbs  img,
  .search_results .gallery .thumbs img{ margin:0; vertical-align:middle;}

/* Страница просмотра новости */
.panel.shorty p{padding:6px 0px 0px 0px; }
.panel.shorty .user {text-align:right;height:140px; margin-right:10px; float:right;}
.panel.shorty .user img{border:0;}
.panel.shorty .user .avatar{text-align:center;margin:3px 0px 0px 0px; border:1px solid #EEE; float: right;}
.panel.shorty .user .name {font-weight:bold;}
.panel.shorty .user .created_at .label{display:inline;}
.panel.shorty .user .created_at .value{display:inline;padding-left:10px;color:#797979;}
.panel.shorty .metadata{clear:both;padding:3px 0px 0px 0px; margin:10px 0px 10px 0px;background:url(/images/design/d_hor2.gif) top left repeat-x;}


/* Страница просмотра галереи */
.panel.gallery {clear:both; text-align:center;}
.panel.gallery .title {text-align:left;}

/* Страница просмотра статьи */
.panel.article{padding:0px 0px 15px 0px; }
.panel.article p{padding:6px 0px 0px 0px; }
.panel.article .text{padding:15px 0px 0px 0px; margin-bottom:20px; min-height:160px;}
.panel.article .user {text-align:right;height:140px; margin-right:10px; float:right;}
.panel.article .user img{border:0;}
.panel.article .user .avatar{text-align:center;margin:3px 0px 0px 0px; border:1px solid #EEE; float: right;}
.panel.article .user .name {font-weight:bold;}
.panel.article .user .created_at .label{display:inline;}
.panel.article .user .created_at .value{display:inline;padding-left:10px;color:#797979;}
.panel.article .article_banners{float:left; width:310px;}
.panel.article .article_banners .banner{margin:5px; margin-left:0;color:#b0b0b0}
.panel.article .article_banners .banner a{color:#b0b0b0; font-weight:bold;}

.panel.article .metadata{clear:both;padding:3px 0px 0px 0px; margin:10px 0px 10px 0px;background:url(/images/design/d_hor2.gif) top left repeat-x;}

.panel.article .rightsection {clear: right;}

/* Панель комментариев */
.panel.comments{padding:15px 0px;}
.panel.comments .title{float:left; }
.panel.comments .title .blue_top {display:none;}
.panel.comments .title .txt {font:bold 17px Verdana, Arial; color:#0457ae; background-color: white;  padding: 10px 0px;}
.panel.comments .menu{float:left; font-weight:bold;  color:#0457ae; padding:6px 0px 0px 20px;}
.panel.comments .menu a{text-decoration:none;}
.panel.comments  h2{font:bold 14px arial; color:#437889;}
.panel.comments .content{  padding:15px 0px 0px 0px;clear:both;}

.panel.comments #new_comment {clear:both; background:url(/images/design/d_hor.gif) top left repeat-x; margin:20px 0px 0px 0px;padding:10px 0px 0px 0px; }
.panel.comments #new_comment .input input{padding:0; font-size:14px; line-height:14px; color:#797979;height:16px; width:124px; border:1px solid #a9a9a9;}
.panel.comments #new_comment .input textarea{width:100%; height:110px;color:#797979;border:1px solid #a9a9a9;}
.panel.comments #new_comment .input{font-size:14px;color:#797979; padding:3px 0px 3px 0px;}
.panel.comments #new_comment .label{font-size:14px;color:#797979; }
.panel.comments #new_comment .submit{text-align:right; padding:3px 0px 0px 0px;}
.panel.comments #new_comment .required{color:#F00;}
.panel.comments .reply_form form{padding:10px; border:1px solid #BBB;}
.panel.comments .reply_form .input input{padding:0; font-size:14px; line-height:14px; color:#797979;height:16px; width:124px; border:1px solid #a9a9a9;}
.panel.comments .reply_form .input textarea{width:667px; height:110px;color:#797979;border:1px solid #a9a9a9;}
.panel.comments .reply_form .input{font-size:14px;color:#797979; padding:3px 0px 3px 0px;}
.panel.comments .reply_form .label{font-size:14px;color:#797979; }
.panel.comments .reply_form .submit{text-align:right; padding:3px 0px 0px 0px;}
.panel.comments .reply_form .required{color:#F00;}

/* Список комментариев */
.comments .comment{margin-top:10px;}
.comments .comment .user{font-weight:bold;float:left; height:40px;line-height:40px}
.comments .comment .user .avatar{text-align:center; float:left;margin:0px;width:40px; height:40px;}
.comments .comment .user .avatar .picture {border-width: 1px;}
.comments .comment .user img{border:0px;}
.comments .comment .user .name { line-height:40px; font-weight:bold;padding:0px 0px 0px 5px;}
.comments .comment .user .name a{font-weight:bold; text-decoration:none;}
.comments .comment .text{clear:both;margin:0px 0px 5px 0px; padding:5px 0px 0px 0px; min-height: 15px;}
.comments .comment .metadata{background:url(/images/design/d_hor.gif) bottom left repeat-x;clear:both; height:18px;padding:5px 0px 0px 0px;}
.comments .comment .reply{padding-left:3px;font-size:11px;}
.comments .comment .permalink{line-height:30px}
.comments .comment .created_at{line-height:30px; font-size:11px;padding:0px 10px 0px 10px; color:#797979; height:30px;float:left;}
.level1{padding-left:15px; background: url(/images/design/comment_level.gif) no-repeat 2px 2px;}
.level2{padding-left:30px; background: url(/images/design/comment_level.gif) no-repeat 17px 2px;}
.level3{padding-left:45px; background: url(/images/design/comment_level.gif) no-repeat 32px 2px;}
.level4{padding-left:60px; background: url(/images/design/comment_level.gif) no-repeat 47px 2px;}
.level5{padding-left:75px; background: url(/images/design/comment_level.gif) no-repeat 62px 2px;}
.level6{padding-left:90px; background: url(/images/design/comment_level.gif) no-repeat 87px 2px;}
.level7{padding-left:105px; background: url(/images/design/comment_level.gif) no-repeat 92px 2px;}
.level8{padding-left:120px; background: url(/images/design/comment_level.gif) no-repeat 107px 2px;}
.level9{padding-left:135px; background: url(/images/design/comment_level.gif) no-repeat 122px 2px;}
.level10{padding-left:150px; background: url(/images/design/comment_level.gif) no-repeat 137px 2px;}
.level11{padding-left:165px; background: url(/images/design/comment_level.gif) no-repeat 152px 2px;}

.panel.shorties {width:auto;}

.panel.shorties .shorty,
  .search_results .shorty { margin-bottom:20px;}
.panel.shorties .shorty p,
  .search_results .shorty p {margin:1px 0px 0px 0px; }
.panel.shorties .shorty .name,
  .search_results .shorty .name {text-align:left;display:block; font-size:14px; color:#0457ae; font-weight:bold; margin:10px 0px 6px 0px; padding:0px;}

.panel.articles {width:auto;}
.panel.articles .article,
  .search_results .article {margin-bottom:10px;}
.panel.articles .article p,
  .search_results .article p {margin:1px 0px 0px 0px; }
.panel.articles .article .name,
  .search_results .article .name {text-align:left;display:block; font-size:14px; color:#0457ae; font-weight:bold; margin:10px 0px 6px 0px; padding:0px;}
.panel.articles .article .picture,
  .search_results .article .picture {float:left; width:122px; margin-top: 5px;}
.panel.articles .article .picture img,
  .search_results .article .picture img {border:0px; margin:0px;}
.panel.articles .article .excerpt,
  .search_results .article .excerpt {min-height:105px;}

.panel.tag_cloud .size2{font-size:14px;}
.panel.tag_cloud .size3{font-size:15px;}
.panel.tag_cloud .size4{font-size:16px;}
.panel.tag_cloud .size5{font-size:17px;}
.panel.tag_cloud .size6{font-size:18px;}
.panel.tag_cloud .size7{font-size:19px;}
.panel.tag_cloud .size8{font-size:20px;}
.panel.tag_cloud .size9{font-size:21px;}
.panel.tag_cloud .size10{font-size:22px;}
.panel.tag_cloud .content{text-align:justify;}

.calendar{margin-bottom: 10px; font-size:14px; border:1px solid #dee2e6; line-height:18px; width:240px; text-align:center;}
.calendar .active {text-decoration: underline;}

.pagination {margin:0px auto;height:20px;font-size:14px; margin:10px 0px 10px 0px;}
.pagination a { float:left; text-align:center; line-height:14px; height:16px; padding:3px 6px 2px 6px; text-decoration:none;vertical-align:middle;}
.pagination a:hover { float:left; background:#EEE; vertical-align:middle;}
.pagination .disabled { color:#797979;float:left;line-height:14px; height:16px; padding:3px 6px 2px 6px;vertical-align:middle;}
.pagination .current { background:#eedfcb;font-weight:bold; float:left;line-height:14px; height:16px; padding:3px 6px 2px 6px;vertical-align:middle;}
.pagination .gap {float:left; line-height:14px; color: #797979; padding: 3px 6px 2px 6px;}

/* Блок похожих материалов */
.related {padding-top:15px;}
.related .title{clear: both; }
.related .title .blue_top {display:none;}
.related .title .txt {font:bold 17px Helvetica,sans-serif,Verdana; color:#0457ae; background-color: white; padding: 10px 0px;}

  .related .article {min-height: 75px; height: 75px;}
  .related .article .name{font-size: 14px; display:block; font-weight:bold; text-decoration:none; color:#0457ae; margin:10px 0px 6px 105px; padding:0px;}
  .related .article .picture {width: 92px; margin-top: -20px;}
  .related .article .metadata {margin: 20px 0px 0px 105px;}
    
  .related .gallery .name{font-weight:bold;display:block; color:#7ab2c4;margin:10px 0px 10px 0px; padding:0px; font-size:14px;}
  .related .gallery .thumbs {height:65px; margin:10px 0px 10px 0px; }
  .related .gallery .thumbs .picture{float:left; padding:0;margin-right:10px;}
  .related .gallery .thumbs  img{ margin:0; vertical-align:middle;}
  
  .related .shorty .name { font-size: 14px; display:block; font-weight:bold; text-decoration:none; color:#0457ae; margin:10px 0px 6px 105px; padding:0px;}
  .related .shorty .metadata {margin: 20px 0px 0px 105px;}

/* Вложенные страницы */
.page .children {margin: 15px;}
.page .children li {margin:12px 0px; background: url(/images/design/icon-section.gif) no-repeat; padding-left: 24px;}

/* Анекдоты */
.page .anecdot {margin: 10px; padding: 15px 5px; border-bottom: 1px solid #dadada;}

/* Ссылки на RSS-ленты*/
a.feed {line-height: 17px; padding: 5px 0px 5px 19px; background: url(/images/icons/feed.gif) no-repeat left;}

/* Авторская колонка */
.authors .article {clear: both}
.authors .article .user {float:left; margin: 0px;}
.authors .article .user .picture {width: 80px !important; margin-right: 5px;}

/* Виджеты */
#subheader .widgets {float:left; width: 265px;}
#subheader .widgets .label {color: #0457AE; text-align: left; font-weight:bold; font-size: 14px; float:left; width: 90px;}
#subheader .widgets .value {float:left;line-height: 16px; width: 165px; }
#subheader .weather_widget, #subheader .currency_widget {padding: 5px; clear:both;}

/* Обсуждения */
.discussion .comment {background:transparent url(/images/design/icon-comments.gif) no-repeat scroll 3px 4px; margin-bottom:10px; padding-left:20px; }

/* Forms*/

form span.required {font-size: 80%; color: red; margin-left: 2px; vertical-align: text-top; }
form div.field {margin: 4px 0 8px 0;}

  label {font-weight: bold; color: #0457AE;padding-bottom: 3px;}
  label em { display:block;float:left;color:red; font-weight:normal; }
  label span.required { color:red; }

  .fieldWithErrors {display:inline;}
  .fieldWithErrors select{border: 1px solid red;}
  .fieldWithErrors input{border: 1px solid  red;}
  .fieldWithErrors textarea{border: 1px solid red;}

  form .error {color: red;}

  form .option {padding: 0 0 5px 5px;}
  form .option_input, form .option_label {display: inline;}

  form .comment {font-size: 80%;}

textarea {width: 99%;}