/*******************************************************************************
 *                                                                             *
 *   Блог "Cherry-Notes" // Таблица стилей для экрана                          *
 *   ----------------------------------------------------------------------    *
 *   Copyright (C) 1998-2010 web-studio "Cherry-Design"                        *
 *   URL: http://www.cherry-design.spb.ru/                                     *
 *   E-mail: cherry-design@mail.ru                                             *
 *                                                                             *
 *******************************************************************************/

/* Общие настройки стиля
-------------------------------------------------------------------------------*/

body {
    width: 880px;
    margin: 0px auto;
    padding: 0px;
    font-family: "Arial", "Verdana", "Helvetica", sans-serif;
    font-size: 10pt;
    background: #ffffff url("../pic/background.gif") left top repeat-x;
}

/* Внешний контейнер
-------------------------------------------------------------------------------*/

#container {
    width: 880px;
    margin: 0px;
    padding: 0px;
    background: transparent url("../pic/container.gif") bottom left no-repeat;
}

/* Заголовок сайта
-------------------------------------------------------------------------------*/

#header {
    width: 880px;
    height: 370px;
    margin: 0px;
    padding: 0px;
    background: transparent url("../pic/header.gif") left top no-repeat;
}

#header h1, #header p {
    display: none;
}

/* Основное меню
-------------------------------------------------------------------------------*/

#main_menu {
    width: 700px;
    position: absolute;
    padding: 0px;
    margin: -370px 0px 0px 0px;
    font-family: "Verdana", "Tahoma", "Helvetica", sans-serif;
    font-size: 8pt;
    text-align: left;
    color: #ffffff;
}

#main_menu ul {
    padding: 0px;
    margin: 0px 0px 0px 51px;
    list-style-type: none;
}

#main_menu ul li {
    padding: 0px 6px;
    float: left;
}

#main_menu a {
    padding: 7px 5px 7px 5px;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

#main_menu a:hover {
    background-color: #9B4040;
}

/* Меню пользователя
-------------------------------------------------------------------------------*/

#user_menu {
    width: 180px;
    position: absolute;
    padding: 0px;
    margin: -363px 0px 0px 680px;
    font-family: "Verdana", "Tahoma", "Helvetica", sans-serif;
    font-size: 8pt;
    text-align: left;
    color: #ffffff;
}

#user_menu ul {
    padding: 0px;
    margin:  0px 0px 0px 28px;
    list-style-type: none;
}

#user_menu ul li {
    padding: 0px 6px;
    float: left;
}

#user_menu a {
    color: #BC8080;
    text-decoration: none;
}

#user_menu a:hover {
    text-decoration: underline;
}

/* Основное содержание
-------------------------------------------------------------------------------*/

#content {
    padding: 55px 60px 120px 60px;
    margin: -215px 0px -100px 0px;
    font-family: "Arial", "Tahoma", "Verdana", "Helvetica", sans-serif;
    font-size: 11pt;
    line-height: 14pt;
    background: transparent url("../pic/content.gif") left bottom repeat-y;
    color: #000000;
}

#content h1 {
    margin: 19px 0px 0px 0px;
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 20pt;
    font-weight: normal;
    line-height: 21pt;
    clear: both;
}

#content h2 {
    margin: 0px;
    padding: 20px 0px 0px 0px;
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 17pt;
    font-weight: normal;
    clear: both;
}

#content h3 {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 14pt;
    font-weight: normal;
}

#content h4 {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 10pt;
    font-weight: bold;
}

#content h5 {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 9pt;
    font-weight: bold;
}

#content h6 {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 8pt;
    font-weight: bold;
}

#content nohr {
    padding: 15px 0px 15px 0px;
    margin: 5px 0px 5px 0px;
    border-style: none;
    display: block;
    clear: both;
    background: transparent url("../pic/rule.gif") center center no-repeat;
}

#content hr {
    height: 30px;
    padding: 15px 0px 15px 0px;
    margin: 5px 0px 5px 0px;
    border-style: none;
    display: block;
    clear: both;
    background: transparent url("../pic/rule.gif") center center no-repeat;
}

#content ul, #content ol {
    margin-top: 16px;
    margin-bottom: 16px;
}

#content dl {
    padding: 0px;
    margin: 18px 0px -5px 0px;
}

#content dl dt {
    font-weight: bold;
    font-size: 90%;
}

#content dl dd {
    padding: 0px 0px 15px 0px;
}

#content p {
    margin: 14px 0px 12px 0px;
    padding: 0px;
}

#content pre {
    background-color: #f0f0f0;
    font-size: 10pt;
    line-height: 12pt;
    padding: 8px;
    margin: 18px 0px;
}

#content strong {
    font-size: 95%;
    color: #333333;
}

#content address {
    margin: 3px 0px 20px 0px;

/*
    margin: -16px 0px 20px 0px;
*/
    font-size: 9pt;
    font-style: normal;
    color: #a0a0a0;
}

#content .error {
    background-color: #8E0000;
    padding: 0px 5px;
    color: #ffffff;
}

/* Основное содержание (ссылки)
-------------------------------------------------------------------------------*/

#content a {
    color: #8E0000;
}

#content a.nopage {
    text-decoration: none;
    border-bottom: 1px dashed;
}

#content a:visited {
    color: #490000;
}

#content a:visited:hover {
    color: #8E0000;
}

/* Основное содержание (классы выравнивания)
-------------------------------------------------------------------------------*/

#content .float_left {
    float: left;
    clear: left;
    margin: 5px 15px 10px 0px;
}

#content .float_right {
    float: right;
    clear: right;
    margin: 5px 0px 5px 10px;
}

#content .left {
    margin-left: 0px;
    margin-right: auto;
}

#content .right {
    margin-left: auto;
    margin-right: 0px;
}

#content .center {
    margin-left: auto;
    margin-right: auto;
}

/* Основное содержание (таблицы)
-------------------------------------------------------------------------------*/

#content table {
    padding: 0px;
    margin: 0px;
    border-collapse: collapse;
}

#content table caption {
    padding: 5px 0px 10px 0px;
    margin: 0px;
    text-align: left;
    font-style: italic;
}

#content table tr.highlight {
    background-color: #e8e8e8;
}

#content table th {
    padding: 2px 5px;
    background-color: #600000;
    color: #ffffff;
    border: 1px #600000 solid;
}

#content table td {
    padding: 2px 5px;
    border: 1px #600000 solid;
}

/* Основное содержание (изображения)
-------------------------------------------------------------------------------*/

#content img {
    display: block;
}

#content .image_frame {
    display: block;
    margin: 0px;
    padding: 5px;
    border: 1px #666666 solid;
}

#content .image_frame_text {
    display: block;
    text-align: left;
    padding: 5px 0px 0px 0px;
}

#content .center img {
    margin: 12px auto;
}

#content .center .image_frame {
    margin: 12px auto;
}

#content .center .image_frame img {
    margin: 0px auto;
}

/* Основное содержание (формы)
-------------------------------------------------------------------------------*/

#content form  {
    margin: 0px;
    padding: 0px;
}

#content form dl {
    margin: 26px 0px 20px 140px;
    padding: 0px;
}

#content form dl dt {
    position: absolute;
    margin: 0px 0px 0px -140px;
    padding: 5px 0px;
    font-weight: normal;
}

#content form dl dd {
    margin: 2px 0px 4px 0px;
    padding: 2px 0px;
}

#content form ul {
    list-style-type: none;
    padding: 0px;
    margin: 15px 20px;
}

#content form textarea {
    margin: 7px 0px;
    width: 740px;
    padding: 2px 2px;
}

#content form p {
    margin: 26px 0px 20px 0px;
    padding: 0px;
}

#content form p.button {
    margin: 0px 0px 0px 140px;
    padding: 0px;
}

/* Основное содержание (панель инструментов редактирования)
------------------------------------------------------------------------------*/
#content form p.toolbar {
    display: block;
    height: 24px;
    margin-top: 22px;
    margin-bottom: -25px;
    padding: 0px;
    background: transparent url("../pic/toolbar.gif") top left no-repeat;
}

#content form p.toolbar a {
    display: block;
    width: 24px;
    height: 24px;
    float: left;
}

#content form p.toolbar a.separator {
    margin-right: 8px;
}

#content form p.toolbar a span {
    display: none;
}

/* Основное содержание (календарь блога)
------------------------------------------------------------------------------*/

#content ul.calendar {
    list-style-type: none;
    margin: 20px 0px 0px 0px;
    padding: 0px;
}

#content ul.calendar li {
    width: 190px;
    height: 195px;
    margin: 0px;
    padding: 0px;
    float: left;
}

#content ul.calendar li table {
    width: 154px;
    margin: 0px 0px 0px 20px;
}

#content ul.calendar li table caption {
    text-align: left;
    font-style: italic;
}

#content ul.calendar li table th,
#content ul.calendar li table td {
    width: 22px;
    margin: 0px;
    padding: 1px;
    text-align: center;
}

#content ul.calendar li table td.weekday {
    background-color: #e8e8e8;
}

#content ul.calendar li table th a,
#content ul.calendar li table th a:hover,
#content ul.calendar li table th a:visited {
    color: #ffffff;
}

/* Основное содержание (теги)
------------------------------------------------------------------------------*/

#content .tags {
    color: #a0a0a0;
}

#content .tags a {
    color: #a0a0a0;
}

/* Основное содержание (навигация)
------------------------------------------------------------------------------*/

#content .navigation {
    margin: 0px;
    padding: 15px 0px 0px 0px;
    clear: both;
}

/* Копирайты
-------------------------------------------------------------------------------*/

#copyright {
    width: 880px;
    height: 100px;
    margin: 0px;
    padding: 0px;
    clear: both;
    font-family: "Verdana", "Tahoma", "Helvetica", sans-serif;
    font-size: 8pt;
    color: #808080;
    background: transparent url("../pic/copyright.gif") 61px 3px no-repeat;
}

#copyright ul {
    margin: 0px;
    padding: 43px 0px 0px 65px;
    list-style-type: none;
    text-align: left;
}

#copyright a {
    color: #808080;
    text-decoration: none;
}

#copyright a:hover {
    text-decoration: underline;
}

