/* ============================================================
   Скин блога bloje.ru - мобильная версия
   Та же тема "I feel dirty": тёмный фон, белая колонка,
   гранжевые плашки шапки и подвала. Колонка резиновая,
   фиксированных 760px нет; отступы меньше.
   ============================================================ */

* {
    margin: 0;
    padding: 0;
}

body {
    background: #2c2c2c;
    color: #000;
    font-size: 13px;
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: none;
}

img { border: 0; }

a { color: #9b0e0e; }

.cnt { background-color: #fff; }

/* Шапка: та же плашка, обрезанная по ширине экрана */

.site-header {
    background: #294a59 url(images/headerbg.gif) no-repeat top left;
    padding: 26px 12px 22px 12px;
    text-align: center;
    border: 0;
}

.site-title {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: normal;
    letter-spacing: -1px;
    text-decoration: none;
    display: block;
}

.site-header img { margin-top: 10px; }

/* Места под коды: {BANNER_TOP} сразу под шапкой,
   {BANNER_BOTTOM} над подвалом. Пустыми ничего не занимают. */

.banner-top,
.banner-bottom {
    padding: 0 12px;
    text-align: center;
    overflow: hidden;
}

.banner-top:not(:empty) { padding: 12px; }
.banner-bottom:not(:empty) { padding: 12px; }

.banner-top img,
.banner-bottom img { max-width: 100%; height: auto; }

.site-content { padding: 15px 12px 5px 12px; }

.post-preview,
.post-body { margin-bottom: 24px; }

.post-title {
    color: #294A59;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: -1px;
    margin: 0 0 4px 0;
}

.post-title a { color: #294A59; text-decoration: none; }

.post-meta {
    color: #294A59;
    font-size: 11px;
    display: block;
    margin: 0 0 10px 0;
}

.post-excerpt,
.post-body p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 12px;
}

.post-more { font-size: 15px; margin: 0 0 12px 0; }

.post-body blockquote {
    background-color: #e4ecee;
    border-left: 4px solid #b1c6d0;
    color: #294a59;
    padding: 8px 10px;
    margin-bottom: 12px;
}

.post-body ul {
    list-style-type: none;
    font-size: 15px;
    margin-bottom: 12px;
}

.post-body ul li {
    background: url(images/bullet02.gif) no-repeat 0px 6px;
    margin-bottom: 5px;
    padding-left: 17px;
}

.post-body ol { font-size: 15px; margin-bottom: 12px; padding-left: 24px; }

.post-body img { max-width: 100%; height: auto; }

.post-body h2 { font-size: 20px; color: #294A59; font-weight: normal; margin-bottom: 8px; }
.post-body h3 { font-size: 17px; color: #294A59; font-weight: normal; margin-bottom: 8px; }

.pagination { font-size: 15px; margin: 0 0 12px 0; overflow: hidden; }

input, textarea, select {
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    border: 1px solid #aaa;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

textarea { width: 100%; height: 120px; }

/* Подвал: плашка footerbg3.gif на своём цвете */

.site-footer {
    background: #294a59 url(images/footerbg3.gif) no-repeat top left;
    padding: 22px 12px 26px 12px;
    color: #fff;
    font-size: 11px;
    text-align: left;
}

.site-footer a { color: #fff; }

/* ===== BB-коды в записи: цитата, код, картинки, опросы ===== */

.post-body .bb-quote-head { display: block; font-size: 13px; margin-bottom: 4px; }
.post-body div.bb-code { margin: 0 0 12px 0; padding: 8px; border: 1px solid #b1c6d0; background-color: #f4f7f8; }
.post-body pre.bb-pre { white-space: pre-wrap; word-wrap: break-word; font-family: "Courier New", Courier, monospace; font-size: 13px; }
.post-body a.bb-image img { border: 1px solid #b1c6d0; padding: 2px; background-color: #fff; }
.post-body table.bb-poll { width: 100% !important; margin: 0 0 12px 0; }
.post-body table.bb-poll td { font-size: 15px; }
.post-body p.bb-poll-foot { margin: 8px 0 0 0; font-size: 14px; }
.post-body i.bb-missing { color: #888; }
.bb-original img { max-width: 100%; height: auto; border: 1px solid #b1c6d0; }

/* ===== Сайдбар: под записями, в одну колонку ===== */

.sidebar {
    padding: 0 12px 16px 12px;
}

.widget { margin-bottom: 20px; }

.widget-title {
    color: #294A59;
    font-size: 17px;
    font-weight: normal;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #d8d8d8;
}

.widget-body { font-size: 14px; line-height: 20px; }
.widget-subscribe .widget-body { text-align: center; }

.cat-list { list-style-type: none; }
.cat-list li { margin-bottom: 8px; }
.cat-list a { text-decoration: none; }
.cat-count { color: #888; }

.cat-heading {
    color: #294A59;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 16px 0;
}

/* Контраст: счётчик записей был #888 на белом (3.5:1) - делаем темнее */
.cat-count { color: #666; }

/* ===== Заголовки БЕЗ ссылки. На странице записи .post-title - это <h1>,
   на странице раздела .cat-heading - тоже <h1>. Раньше цвет задавался
   только для .post-title a, поэтому заголовок наследовал общее правило
   темы для h1/h2 (в некоторых темах - белое) и пропадал на светлом фоне.
   Перечисляем и сам элемент, и :link/:visited/:hover - у правил вида
   "h1 a:visited" специфичность выше, чем у одиночного ".post-title a". */
.post-title,
.post-title a,
.post-title a:link,
.post-title a:visited,
.post-title a:hover,
.cat-heading,
.post-body h2,
.post-body h3 { color: #294A59; }
.post-title a:hover { text-decoration: underline; }

/* ===== Строка пользователя и комментарии ===== */
.userbar { padding: 8px 10px; margin: 0 0 12px 0; background: #f4f7f8; border: 1px solid #dfe7eb; border-radius: 6px; font-size: 14px; line-height: 1.7; }
.userbar .userbar-who { display: block; }
.userbar a { display: inline-block; margin: 2px 12px 0 0; font-weight: bold; text-decoration: none; }
.comments { margin: 22px 0 16px 0; padding-top: 12px; border-top: 1px solid #b1c6d0; }
.comments-title { font-size: 20px; margin: 0 0 10px 0; }
.comment { margin: 0 0 10px 0; padding: 8px 10px; border: 1px solid #dfe7eb; border-radius: 6px; background: #f9fbfc; }
.comment-pending { border-style: dashed; background: #fffbe8; }
.comment-hidden { opacity: 0.6; }
.comment-meta { font-size: 12px; color: #666; margin: 0 0 4px 0; }
.comment-text { font-size: 15px; line-height: 1.5; }
.comment-form-title { font-size: 17px; margin: 14px 0 4px 0; }
.comment-form-who { font-size: 13px; color: #666; }
.comment-form textarea { width: 100%; height: 120px; box-sizing: border-box; }
.form-captcha img { vertical-align: middle; }
.form-captcha input[type="text"] { width: 80px !important; display: inline-block; }
small.form-rules { display: block; margin-top: 6px; font-size: 12px; color: #666; }

.userbar, .comment, .comment-form { color: #222; }
.comment-form { padding: 10px; border: 1px solid #dfe7eb; border-radius: 6px; background: #f4f7f8; }
.comment-form textarea { color: #222; background: #fff; }
.comment-form a, .comment a, .userbar a { color: #1a5276; }
