html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    min-width: 1000px;
}

body {
    margin: 0;
    padding: 0;
}

* {
    font-size: 10pt;
    font-family: Arial, Helvetica, sans-serif;
    color: #444;
}

h1, h2, h3, h4, h5 {
    font-size: 14pt;
    margin: 0;
    padding: 0;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #06428c;
}

h2, h2 * {
    font-size: 12pt;
}

h3, h3 * {
    font-size: 11pt;
}

h4, h5, h4 *, h5 * {
    font-size: 10pt;
}

a {
    color: #597cd4;
}

a:hover {
    background: none;
}

a img {
    border: none;
}

h2 a {
    color: #06428c;
    text-decoration: none;
}

a:hover, h2 a:hover {
    color: #f52;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border: 0;
    margin: 0;
    padding: 0;
    width: auto;
}

table td, table th {
    margin: 0;
    padding: 0;
    vertical-align: top;
    text-align: left;
}

form, fieldset {
    margin: 0;
    padding: 0;
    border: 0px;
    width: auto;
}

div.roller, div.lroller {
    clear: both;
    height: 1px;
    line-height: 1px;
}

div.lroller {
    background: transparent url('../../images/roller_border.gif') repeat-x;
}

/* Основной лейаут */
#wrapper {
    display: block;
    overflow: auto;
    min-width: 1000px;
    min-height: 100%;
    margin: 0 auto;
}

#header {
    display: block;
    overflow: hidden;
    height: 161px;
    background: #517ff4 url('../../images/header_bg.gif') repeat-x;
    clear: both;
    border-bottom: 3px solid #f95;
}

#header #inner {
    display: block;
    overflow: hidden;
    height: 161px;
    background: transparent url('../../images/yaroslav.gif') no-repeat;
    background-position: top right;
}

#header #inner #logo {
    margin-top: 21px;
    margin-left: 21px;
}

#footer {
    display: block;
    overflow: visible;
    position: relative;
    width: 100%;
    min-width: 1000px;
    height: 83px;
    margin-top: -85px;
    clear: both;
    border-top: 2px solid #aaa;
    background-color: white;
}

#footer #copy {
    padding: 20px;
}

#footer #copy,
#footer #copy * {
    font-size: 9pt;
    color: #666;
    text-decoration: none;
}

/* Блок с контентом */
#content {
    display: block;
    overflow: auto;
    padding-bottom: 85px;
    background: transparent url('../../images/left_border.gif') repeat-y;
    background-position: 33%;
}

#content #left {
    display: block;
    overflow: auto;
    float: left;
    width: 33%;
}

#content #center {
    display: block;
    overflow: auto;
    float: left;
    width: 33%;
}

#content #right {
    display: block;
    overflow: auto;
    float: right;
    width: 33%;
}

#content .cin {
    padding: 10px 20px 20px 20px;
}

.news span {
    display: block;
    font-size: 8.5pt;
    margin-bottom: 2px;
    font-weight: bold;
}

.news a {
    color: black;
}

.members tr td {
    padding-bottom: 10px;
}

.members tr.last td {
    padding-bottom: 0px;
}

.members tr td a {
    color: black;
}

.members tr td.asnum {
    width: 75px;
}

.members tr td.asnum a {
    font-weight: bold;
    color: black;
    text-decoration: none;
    font-size: 9pt;
}

.members tr td.asnum a:hover {
    color: #f52;
}

.indexul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.indexul li {
    padding: 0 0 7px 15px;
    background: transparent url('../../images/bullet.gif') no-repeat;
    background-position: left 4px;
}

.indexul a {
    color: black;
}

/* Регулярная страница */
.regular #wrapper {
    overflow: hidden;
}

.regular #content {
    background-image: none;
}

.regular #content #left {
    width: 300px;
}

.regular #content #center {
    margin-left: 300px;
    min-width: 700px;
    width: auto;
    float: none;
}

.regular #content #center .remark{
    background-color: #ff9;
    padding: 10px 25px;
    border-left: 2px solid #f53;
}

.regular #content #center ol li,
.regular #content #center ul li {
    margin-bottom: 10px;
}

.regular #content #center ol li ol,
.regular #content #center ol li ul,
.regular #content #center ul li ul,
.regular #content #center ul li ol {
	margin-top: 10px;
}

.regular #content #center div.pages-links ol li.active a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.regular #content #center table {
    border: 0; 
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 14px;
}

.regular #content #center table {
    border-bottom: 1px solid #dcdee0;
    border-top: 1px solid #dcdee0;
}

.regular #content #center table thead th {
    text-align: left;
    background-color: transparent;
    color: black;
    font-size: 9pt;
    font-weight: bold;
    padding: 3px 13px;
    vertical-align: top;
}

.regular #content #center table tr td,
.regular #content #center table thead th {
    padding: 5px;
}

.regular #content #center table thead th .sort {
    font-size: 9pt;
    font-weight: 400;
    font-family: Tahoma, Verdana;
}

.regular #content #center table thead a {
    color: black;
    text-decoration: none;
    font-size: 9pt;
}

.regular #content #center table tr.odd td {
    background-color: #edeff0;   
}

.regular #content #center table.membinf {
    width: 450px;
}

/* Главное меню */
#menu {
    display: block;
    overflow: hidden;
    padding: 5px;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menu ul li a {
    display: block;
    float: left;
    background: transparent url('../../images/menu_delim.gif') no-repeat;
    background-position: right 7px;
    padding: 5px 20px;
    font-family: Tahoma, Arial, Helvetica;
    font-weight: bold;
}

#menu ul li.active a,
#menu ul li a:hover {
    background-color: #ddd;
    text-decoration: none;
    color: black;
}

#menu #search {
    display: block;
    overflow: visible;
    float: right;
    padding-top: 3px;
}

#search input {
    height: 15px;
    width: 150px;
    padding: 2px;
    margin: 0;
    border: 1px solid #666;
    background-color: #eee;
}

#search input.submit {
    margin: 0;
    padding: 0;
    width: 21px;
    height: 21px;
    cursor: pointer;
    background: white url('../../images/search_icon.gif') no-repeat;
    background-position: center;
    border: 0px;
    vertical-align: top;
}

/* Элементы форм */
form.std {
    margin-bottom: 15px;
    width: 500px;
}

form fieldset label {
    display: block;
    margin-bottom: 8px;
}

form fieldset input.text,
form fieldset textarea,
form.std input,
form.std textarea {
    width: 99%;
}

form fieldset label textarea,
form.std label textarea {
    height: 80px;
}

form input.button,
input.button {
    margin: 0;
    margin-top: 10px;
    padding: 0;
    padding: 0 20px;
    border: none;
    height: 25px;
    background-color: #aaa;
    color: black;
    font-weight: bold;
    font-size: 10pt;
    width: auto;
}

form.std div.select {
    display: block;
    margin: 0;
    margin-bottom: 10px;
}

form.std select,
form.std select option {
    padding-left: 2px;
    max-width: 320px;
}

form.std input.file {
    color: black;
    border: 1px;
    height: 20px;
    background-color: white;
}

form.std label {
    display: inline;
    cursor: pointer;
}

form.std input.checkbox, form.std input.radio {
    width: auto;
}

form.std span.error {
    display: block;
    font-size: 8.5pt;
    font-weight: normal;
    margin-top: 2px;
}

.regular #content #center form.std table {
    border: 0px;
}

div.inner-form {
    overflow: auto;
    border: none;
    padding: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    clear: both;
    width: auto;
}

form.std table tr td.label {
    width: 200px;
}

form.lg {
    background-color: #eee;
    padding: 15px 15px 0 15px;
    border: 1px solid #bbb;
    border-bottom: 2px solid #35f;
}

form.lg table tr td.label {
    width: 120px;
}

form.lg input {
    width: auto;
}

/* Сообщения */
span.error {
    display: block;
}

span.error, span.req, span.require {
    color: #FF4000;
}

span.req, span.require {
    margin-left: 2px;
}

/* Левое меню */
#left ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 8px;
    margin-bottom: 10px;
}

#left ul li {
    display: block;
    background: transparent url('../../images/bullet.gif') no-repeat;
    background-position: 0 4px;
    padding-left: 15px;
    margin-bottom: 5px;
}

#left ul.lmenu {
    padding: 15px 0 15px 8px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

#left ul.lmenu li.active,
#left ul.lmenu li.active a {
    font-weight: bold;
    text-decoration: none;
}

#left ul.lmenu li ul li a,
#left ul.lmenu li.active ul li a,
#left ul.lmenu li.active ul li.active ul li a {
    font-weight: normal;
}

#left ul.lmenu li ul li,
#left ul.lmenu li ul li ul li {
    font-weight: normal;
}

#left ul.lmenu li ul.active li {
    background: transparent url('../../images/bullet2.gif') no-repeat;
    background-position: 0 4px;
}

#left ul.lmenu li.active a,
#left ul.lmenu li ul.active li a {
    color: #333;
}

#left ul.lmenu li ul.active li.active a {
    font-weight: bold;
    text-decoration: none;
}

/* Хлебная крошка */
#header #path,
#header #path * {
    color: white;
    text-decoration: none;
}

#header #path {
	position: relative;
	left: 165px;
	top: -25px;
    padding-right: 100px;
}

#header #path a:hover {
    text-decoration: underline;
}

/* Списки */
.folders {
    display: block;
    overflow: auto;
    clear: both;
}

.folders .folder {
    width: 205px;
    float: left;
    padding: 0 10px 10px 0;
}

.folders .folder a {
    font-weight: bold;
}

.folders .folder .desc {
    padding-top: 5px;
    font-size: 8pt;
}

.folders .folder img {
    vertical-align: middle;
    width: 24px;
    height: 24px;
}

.std-item {
    display: block;
    overflow: auto;
    padding-bottom: 10px;
} 

.std-item a {
    font-weight: bold;
}

.std-item p {
    margin: 0;
    margin-top: 8px;
}

.std-item p.date {
    font-size: 8pt;
    font-weight: bold;
    margin-top: 5px;
    color: #888;
}

.std-item p.url,
.std-item p.url * {
    font-size: 8pt;
    font-weight: normal;
    color: #666;
}

/* Ссылка на RSS-ленты */
.rss-xml {
    display: block;
    overflow: auto;
    clear: both;
    padding-bottom: 10px;
}

.rss-xml a {
    line-height: 20px;
    background: url('../../images/rss_xml.gif') no-repeat;
    background-position: left 2px;
    padding: 2px 0 0 35px;
    font-size: 8pt;
    color: black;
}

/* Сортировка при поиске */
.list-order {
    padding-bottom: 10px;
}

.list-order a.active {
    font-weight: bold;
    color: black;
}

/* Постраничная разбивка */
div.paging {
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

div.paging div.meta {
    float: left;
    font-size: 8.5pt;
    margin: 0;
    padding: 0;
    margin-top: 4px;
    color: black;
}

div.paging div.pages {
    text-align: right;
}

div.paging a, div.paging a.current {
    font-size: 8.5pt;
    color: black;
    background-color: #f0f0f0;
    border: 1px solid #f0f0f0;
    margin-left: 4px;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    line-height: 20px;
}

div.paging a.current, div.paging a.current:hover {
    background-color: #777;
    border: 1px solid #777;
    color: white;
}

/* Блок сообщений */
div.msg-block {
    padding: 10px 20px 2px 20px;
    border: 1px solid #ddd;
    border-bottom: 3px solid #2676f0;
    margin-bottom: 15px;
}

div.msg-block h5, div.msg-block p {
    margin: 0;
    margin-bottom: 10px;
}

/* Исходный код или конфиги с HTML форматированием */
div.code {
    display: block;
    overflow: auto;
    height: 300px;
    padding: 15px;
    border: 1px solid #777;
    white-space: nowrap;
    color: black;
}

div.code, div.code * {
    font-family: Courier, monospace;
    font-size: 9pt;
}

/* Вывод LG */
div.lgres {
    display: block;
    padding: 10px;
    border: 1px solid #aaa;
    overflow: visible;
    white-space: pre;
    color: black;
}

div.lgres, div.lgres *, .lgcmd, .lgcmd * {
    font-family: Courier, monospace;
    font-size: 9pt;
}

.lgcmd {
	display: block;
	overflow: visible;
    font-weight: bold;
    padding-bottom: 8px;
}

.lgcmd .thin {
    font-weight: normal;
}

.lgmenu {
    list-style-type: none;
    display: block;
    overflow: auto;
    margin: 0;
    padding: 0;
}

.lgmenu li {
    display: block;
    overflow: auto;
    float: left;
    margin-right: 2px;
    padding: 4px 7px;
    border: 1px solid #bbb;
    border-bottom: 0px;
}

.regular #content #center .lgmenu li {
    margin-bottom: 0px;
}

.lgmenu li a {
    color: #5f5f5f;
    text-decoration: none;
}

.lgmenu li a:hover {
    color: black;
}

.lgmenu li.active a {
    color: black;
    font-weight: bold;
}