* {
 margin: 0;
 padding: 0;
}

html {
 width: 100%;
 height: 100%;
}

body {
 font-family: Verdana, Tahoma, Arial;
 color: #666;
 background: #fff;
}

a {
 color: #666;
 text-decoration: none;
}

a:hover {
 color: #ffa128;
 text-decoration: none;
 border-bottom: 1px solid #ffa128;
}

a:hover.no-border {
 border: none;
}

img {
 border: none;
}

div.divider {
 width: 100%;
 height: 8px;
}

div.line {
 width: 200px;
 height: 1px;
 margin-left: 5px;
 background-color: #ddd;
}

#wrapper {
 width: 100%;
 height: 100%;
}

/****************************************************************************
* Заголовок
****************************************************************************/
#header {
 width: 100%;
 height: 85px;
 background: url(/img/header-bg.gif) repeat-x top;
}

#logo {
 margin: 0 auto;
 width: 900px;
 padding-top: 25px;
}

#cite {
 position: absolute;
 width: 400px;
 top: 5px;
 right: 5px;
 text-align: right;
 font-size: 9px;
}

/****************************************************************************
* Подвал
****************************************************************************/
#footer {
 margin: 0 auto;
 width: 900px;
 margin-top: 5px;
 height: 40px;
 padding-top: 10px;
 background: url(/img/footer-bg.gif) repeat-x top;
}

#copyright {
 border: 0px;
 border-top: 2px solid #d8d8d8;
 width: 250px;
 margin: 0 auto;
 background: #f8f8f8;
 text-align: center;
 font-size: 0.7em;
 font-weight: bold;
 padding: 2px;
}

/****************************************************************************
* Основная часть страницы
****************************************************************************/
#main {
 width: 880px;
 margin: 0 auto;
 margin-top: 5px;
 padding: 0px 10px 1px 10px;
 background: url(/img/main-bg.gif) repeat-y top;
}

/****************************************************************************
* Меню
****************************************************************************/
#menu {
 width: 100%;
}

#menu-title {
 width: 100%;
 height: 32px;
 margin: 0px 0px 10px 0px;
 padding-top: 12px;
 background: url(/img/menu-bg.gif) repeat-x top;
}

#menu-title .cell {
 width: 146px;
 height: 34px;
 background: url(/img/menu-btn.gif) no-repeat bottom;
 font-size: 0.8em;
 font-weight: bold;
 text-align: center;
 position: relative;
 float: left;
}

/****************************************************************************
* Боковая панель
****************************************************************************/
#sidebar {
 position: relative;
 top: 0px;
 left: 0px;
 float: left;
 width: 260px;
 font-size: 0.8em;
}

/****************************************************************************
* Боковая панель -> Блок без заголовка
****************************************************************************/
#sidebar .block {
 border: none;
 border-top: 2px solid #d8d8d8;
 border-right: 1px solid #d8d8d8;
 margin-bottom: 10px;
}

/****************************************************************************
* Боковая панель -> Блок с заголовком
****************************************************************************/
#sidebar .block-title {
 padding: 3px 0px 3px 0px;
 background-color: #f8f8f8;
 text-align: center;
 font-weight: bold;
}

/****************************************************************************
* Боковая панель -> Разное
****************************************************************************/
#sidebar h1 {

}

#sidebar h2 {

}

#sidebar h3 {

}

#sidebar p {
 padding: 3px 3px 0px 0px;
}

#sidebar ul {
 list-style: none;
}

#sidebar li {
 padding: 2px 0px 2px 0px;
}

#sidebar li.sel a {
 color: #111;
}

/****************************************************************************
* Основное содержание
****************************************************************************/
#content {
 position: relative;
 top: 0px;
 left: 0px;
 float: right;
 width: 612px;
 font-size: 0.8em;
}

/****************************************************************************
* Основное содержание -> Блок без заголовка
****************************************************************************/
#content .block {
 border: 0px;
 border-top: 2px solid #ffa128;
 border-left: 1px solid #ffa128;
 margin-bottom: 8px;
}

/****************************************************************************
* Основное содержание -> Блок с заголовком
****************************************************************************/
#content .block-title {
 padding: 3px 0px 3px 10px;
 background: #ffeed8;
 text-align: left;
 font-weight: bold;
}

/****************************************************************************
* Основное содержание -> Разное
****************************************************************************/
#content h1 {
 font-size: 1.2em;
}

#content h2 {
 font-size: 1.0em;
 margin: 10px 2px 0px 5px;
 border-bottom: 1px dotted;
 color: #ffa128;
}

#content h3 {
 font-size: 1.0em;
 font-weight: bold;
 font-style: italic;
 margin: 8px 0px 2px 5px;
}

#content h4 {
 font-size: 1.0em;
 margin: 10px 2px 0px 5px;
 border-bottom: 1px dotted;
}

#content p {
 padding: 5px 0px 0px 5px;
 text-align: justify;
}

#content ul {
 list-style: square;
 margin-left: 25px;
}

#content ol {
 margin: 5px 0px 5px 40px;
}

#content li {
 padding-top: 3px;
 padding-bottom: 3px;
}

#content table {

}

#content th {
 background-color: #ffa128;
 color: #fff;
 font-weight: bold;
 padding: 3px 2px 3px 2px;
}

#content tr {

}

#content td {
 padding: 2px;
}

#content td.divider {
 height: 1px;
 padding: 0px;
 margin: 0px;
 background-color: #ffa128;
}

#content td.divider-grey {
 height: 1px;
 padding: 0px;
 margin: 0px;
 background-color: #eee;
}

#content blockquote {
 margin: 5px 0px 5px 15px;
 padding-left: 3px;
 border-left: 3px solid #eee;
}

#content blockquote.code {
 margin: 5px;
 border-left : 3px solid #eee;
 padding: 5px;
 font-size: 0.9em;
 font-family: "Sans-Serif", Arial;
 white-space: pre;
}

#content img.icon {
 margin: 2px;
 padding: 0px;
 background-color: #ffa128;
}

#content .pagenav a {
 padding: 0.2em 0.5em 0.2em 0.5em;
 margin: 2px;
 border: 1px solid #ddd;
}

#content .pagenav a.sel {
 border: 1px solid #ffa128;
 background-color: #eee;
}

#content .pagenav a:hover {
 border-color: #ffa128;
}


/****************************************************************************
* Разное
****************************************************************************/
.clear {
 clear: both;
}

.center {
 text-align: center;
}

.left {
 text-align: left;
}

.right {
 text-align: right;
}

.indent {
 margin-left: 10px;
}

.txt-small {
 font-size: 0.8em;
}

.txt-strong {
 font-weight: bold;
}

.orange {
 color: #ffa128;
}

.dark {
 color: #666;
 border-bottom: 1px dotted;
}

.tag {
 display: inline;
 margin-bottom: -4px;
 margin-right: 2px;
}

#santa {
 position: absolute;
 margin-top: -15px;
 margin-left: 810px;
 width: 120px;
 height: 160px;
 background: url(/img/santa.png);
 background-repeat: no-repeat;
}

fieldset {
 margin: 3px 5px 3px 5px;
 border: none;
}