/* Сброс */
* {margin: 0px; padding: 0px;}
img {border: 0px;}

/* Основные стили */
html,body {background: #fffcfc; height: 100%; min-width: 950px; font: 14px/18px 'Trebuchet MS',serif; color: #1e424e;}
#all {height: 100%; height: auto !important; min-height: 100%;}
#pp {height: 56px;}
#container {overflow: hidden;}

p {margin: 15px 0px; display: block;}
a {font: 14px 'Trebuchet MS',serif; color: #3a7686; text-decoration: underline;}
a:hover {text-decoration: none; color: #19333a;}
ul {list-style: none;}
li {padding-left: 9px; background: url('/img/marker.png') no-repeat 0px 6px;}

h1 {font: normal 30px/18px 'Trebuchet MS',serif; color: #1e424e;}
h1 span {font-size: 18px; color: #7397a3; padding-top: -20px;}
h2 {font: normal 18px 'Trebuchet MS',serif; color: #183036;}
h3 {font: bold 16px 'Trebuchet MS',serif; color: #183036;}
h4 {font: bold 14px 'Trebuchet MS',serif; color: #183036;}

/* Верхняя полоса */
#top {border-top: 6px solid #7397a3; height: 35px; background: url('/img/top_bg.png') repeat-x bottom #f8f7f8; overflow: hidden;}
#user_menu {float: left; font: 12px 'Trebuchet MS',serif; color: #1e424e; padding: 7px 0px 0px 40px;}
#user_menu a {border-bottom: 1px solid #7397a3; font: 14px 'Trebuchet MS',serif; color: #7397a3; text-decoration: none;}
#user_menu a:hover {color: #567580; border-bottom: 1px dashed #567580; text-decoration: none;}
#search {float: right; margin-right: 35px; width: 405px;}
#search_left {height: 35px; background: url('/img/search_left.jpg') no-repeat left top #7397a3; float: left; padding-right: 9px;}
#search_left input {margin: 3px 0px 0px 11px; background: url('/img/search_bg.png') no-repeat; width: 284px; border: 0px; padding: 3px; font: 12px 'Trebuchet MS',serif; color: #7397a3;}
#search_right {float: right; height: 35px; background: url('/img/search_right.jpg') no-repeat right top #7397a3;}
#search_right input {margin: 3px 11px 0px 0px; background: url('/img/search_go.png') no-repeat; width: 84px; border: 0px; padding: 3px; font: 12px 'Trebuchet MS',serif; color: #1e424e; text-decoration: none;}
#search_right input:hover {text-decoration: underline;}

/* Шапка */
#header {background: #fcfcfc;}
#logo {float: left; padding: 34px 0px 0px 40px; width: 272px; height: 77px;}
#logo h1 {line-height: 24px !important;}
#logo a, #logo a:hover {text-decoration: none !important; border: 0px !important;}
#banner {margin-left: 312px; padding: 28px 0px 28px;}

/* Горизонтальное меню */
#hmenu {height: 50px; background: #f7f6f8; border-top: 1px solid #ddd8cf; border-bottom: 1px solid #d0dbdf; padding-top: 21px;}
#rss {margin-left: 40px; float: left;}
#rss a {display: block; width: 228px; height: 20px; text-align: center; background: url('/img/rss_bg.png') no-repeat #f6b036; padding-top: 4px; font: 12px 'Trebuchet MS',serif; color: #fcfcfc; text-decoration: none;}
#rss a:hover {text-decoration: underline; color: #fff;}

#pages {margin-left: 312px;}
#pages ul {overflow: hidden;}
#pages li {float: left; background: url('/img/page_left.jpg') no-repeat left #7397a3; height: 24px; margin-right: 42px; padding: 0px;}
#pages a {display: block; height: 21px; padding: 0px 15px; background: url('/img/page_right.jpg') no-repeat right; font: 14px 'Trebuchet MS',serif; color: #fcfcfc; text-decoration: none; padding-top: 3px;}
#pages a:hover {text-decoration: underline; color: #fff;}

#container {margin-top: 21px;}

/* Левый блок */
#sidebar {margin-left: 40px; float: left;}

.block {margin-bottom: 21px; width: 228px; font: 14px 'Trebuchet MS',serif; color: #7d8587;}
.block h2 {font: 18px 'Trebuchet MS',serif; color: #817b7a; padding-bottom: 9px;}
.block li {line-height: 21px;}

.catName, .catNameActive {padding-left: 9px; background: url('/img/marker.png') no-repeat 0px 6px;}

/* Контент */
#content {margin: 0px 35px 0px 312px;}

.post {padding-bottom: 42px; border-bottom: 1px dotted #9f9a99;}
.post h1 a {font: normal 30px 'Trebuchet MS',serif; color: #1e424e;}
.post h2 a {font: normal 18px 'Trebuchet MS',serif; color: #183036;}
.post h3 a {font: bold 16px 'Trebuchet MS',serif; color: #183036;}
.post h4 a {font: bold 14px 'Trebuchet MS',serif; color: #183036;}
.post h1 a:hover {text-decoration: none; color: #19333a;}
.post h2 a:hover {text-decoration: none; color: #19333a;}
.post h3 a:hover {text-decoration: none; color: #19333a;}
.post h4 a:hover {text-decoration: none; color: #19333a;}


.post_info {color: #9f9a99;}
.post_info a {color: #9f9a99; text-decoration: underline;}
.post_info a:hover {text-decoration: none; color: #504d4c;}
.message {padding-top: 15px;}

.comm_num {font: 18px 'Trebuchet MS',serif; color: #96a0a4; margin: 25px 0px 10px;}

/* Комментарии */

.comment_top {overflow: hidden;}
.comment_top_left {float: left; padding: 4px 0px 4px 10px;}
.comment_top_right {float: right; padding: 4px 10px 4px 0px; text-align: right;}
.comment_bottom {padding: 10px; margin-bottom: 15px;}

.cBlock1, cBlock2 {}

.cBlock1 .comment_top {background: #e4e8ea;}
.cBlock1 .comment_bottom {background: #edf1f3;}

.cBlock2 .comment_top {background: #eae9ea;}
.cBlock2 .comment_bottom {background: #f3f2f3;}

/* Подвал */
#footer {height: 40px; margin-top: -46px; overflow: hidden; border-bottom: 6px solid #7397a3;}
#stat {margin-left: 40px; float: left; font: 12px 'Trebuchet MS',serif; color: #1e424e;}
#stat a {font: 12px 'Trebuchet MS',serif; color: #1e424e; text-decoration: underline;}
#stat a:hover {color: #111b1f; text-decoration: none;}
#site_info {margin-left: 312px; font: 12px 'Trebuchet MS',serif; color: #1e424e; padding-top: 8px;}
#site_info a {font: 12px 'Trebuchet MS',serif; color: #1e424e; text-decoration: underline;}
#site_info a:hover {color: #111b1f; text-decoration: none;}

/* Popup */
.popup {background: #faf9fa; margin: 5px;}
.popup_title {background: #7397a3; text-align: center; padding: 5px; color: #fff;}
.popup_content {background: #f7f6f8; padding: 5px; border: 1px solid #7397a3;}