/* ============================================================
   Скин блога 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; }
