﻿html,body,div,img,h1 {
    margin:0;
    padding:0;
}

body {
    background:#fff9df url(../img/background.png) repeat-x;
    font-family:"Arial",sans-serif;
    min-width:980px;
}

img {
    border:0;
    vertical-align:middle;
}

div.clear {
    clear:both;
    height:0;
}

.hidden {
    display:none !important;
}

span.hint {
    color: #777;
}

dt {
    font-size:130%;
    margin-top:10px
}
dd {
    margin-top:10px
}

p {
    margin:8px 0;
}
    p.small {
        font-size:80%;
    }
    p.big,p.large {
        font-size:120%;
    }
    p.right {
        text-align:right;
    }
    p.center {
        text-align:center;
    }

a {
    color:#903;
}
    a:visited {
        color:#906d6A;
    }
    a:hover {
        color:#e3312d;
    }
    
h1 {
    color:#903;
    font-weight: normal;
    font-family: Georgia;
    font-size:1.5em;
}
h2 {
    color:#000;
    font-size:130%;
    font-weight:normal;
    margin:10px 0px;
}
h3 {
    font-size:110%;
    font-weight:normal;
    margin:5px 0;
}
h4 {
    color:#6faee3
}

span.hide {
    display:none;
}
input.default-submit {
    font-size:1em;
}

table {
    font-size: 0.8em;
}
    table tbody th {
        text-align:left;
        vertical-align:top;
}

.pagination span {
    font-size:80%;
    color:#777;
}
    .pagination a, .pagination b {
        padding:0 5px;
        margin:0
    }
    .pagination a:hover {
        background:#F0F0F0;
        border:1px solid #999;
        padding:0 4px;
    }
    
div#banner {
    position:relative;
    left:30%;
    width:468px;
    top:-15px
}
div#header {
    height:135px;
    background:transparent url(../img/logo.png) no-repeat 10px top;
    padding-left:165px;
}
img#heading {
    margin-top:10px;
    border:0;
}
p#sub-heading {
    color:#51080e;
    font:normal 150% serif;
    border:0;
    margin:0;
    padding:0;
    text-align:center;
}
div#language {
    float:right;
    margin:0px 40px -20px 0;
    position:relative;
    top:60px;
    font-size:110%;
}
h2#tree-heading {
    margin:15px 0 -10px;
    text-align:center;
}
span#contact-email {
    float:right;
    padding-right:10px
}
p.login-message {
    font-family:verdana;
    font-size:90%;
    color:#D00
}

ul.tree a,a.h {
    text-decoration:none;
}
a.dynamic {
    text-decoration:none;
    border-bottom:1px dashed
}
p.comments {
    text-align:right;
}
input.big {
    height:25px;
    font-size:120%;
    font-family:"Georgia",serif;
}
input.big-submit {
    width:120px;
    height:30px;
    font-size:120%;
    font-family:"Georgia",serif;
}

input#activation_email {
    width:300px
}
input#recover-email {
    width:300px
}

legend {
    background:#fff
}
.required_star {
    color:#E11;
    font-size:120%
}
.new-tax-code-icon {
    background-color:#bf4b4e;
    font-family:Arial,sans-serif;
    color:#fff9df;
    display:inline-block;
    font-size:80%;
    height:21px;
    line-height:21px;
    outline:0 none;
    white-space:nowrap;
    padding:0 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius: 5px;
}

ul#main_menu {
    position:absolute;
    top:90px;
    left:240px;
    height:21px;
    display:inline;
    font-family:Arial,sans-serif;
    font-size:80%;
    list-style:none;
    background:#fff9df;
    padding:0 6px;
    margin:0
}
    ul#main_menu li {
        float:left;
        line-height:21px;
        height:21px;
        margin:0 4px;
        padding:0;
    }
    ul#main_menu li.item {
        background:#bf4b4e url(../img/main_menu/left.png) no-repeat
    }
    ul#main_menu li.item a {
        color:#fff9df;
        text-decoration:none;
        padding:0;
    }
    ul#main_menu li.item span {
        cursor:pointer;
        color:#fff9df;
        text-decoration:none;
        height:21px;
        padding:0px 7px;
        background:url(../img/main_menu/right.png) no-repeat right top;
        display:block;
    }
    ul#main_menu li.item:hover {
        background-color:#d23135
    }
    ul#main_menu li.current {
        background:#fff9df;
    }
    ul#main_menu li.current a {
        color:#fff9df;
        text-decoration:none;
    }
    ul#main_menu li.current span {
        color:#000;
        font-weight:bold;
        text-decoration:none;
        padding: 0 7px;
    }

/* Боковые блоки */
div.side {
    margin:0 0 15px;
    padding:0;
}


    div.side label {
        font-size:0.8em;
        display:block;
        margin: 12px 0 -4px;
    }
    
    div#advanced-search span {
      font-size: 0.8em;
    }
    
    div#advanced-search p {
      margin: 2px;
      padding: 0;
    }
    
    div#advanced-search input {
      margin: 0;
      padding: 0;
    }
    
    div.with-border {
        border:1px solid #c7c7c7;
        padding:0 9px;
        background:#f9f9f9;
        
    }
    div#left div.side {
        width:220px;
    }
    div#right div.side {
        width:170px;
    }
    div.rubrics {
        overflow:hidden;
        padding: 9px
    }

/* Формы */
fieldset label {
    font-weight:normal;
    display:inline;
    padding:0;
    color:#000;
}
    fieldset {
        clear:left;
        border:1px solid #ccc;
        padding:5px;
        margin:1em 0;
    }
    form fieldset dl {
        margin:0;
        padding:0;
        float:left;
        width:100%;
    }
    form fieldset dt {
        padding:0;
        margin:4px 8px 8px 0;
        width:35%;
        float:left;
        clear:left;
        text-align:right;
        line-height:80%
    }
    form fieldset dd {
        margin:0;
        padding:5px 0;
        width:60%;
        float:left;
        *float:none;
    }
    form fieldset .note {
        color:#888;
        font-size:80%;
    }
    form fieldset legend {
        color:#999;
        font-family:arial;
        font-size:80%;
    }
    form fieldset dt {
        margin-left:-0.25em;
    }
    form fieldset div.stripe {
        margin:0 -5px
    }
    form fieldset div.indexation-period {
        padding:5px 0
    }
    form fieldset div.indexation-period dt {
        margin:0 8px 3px 0
    }
    form fieldset div.indexation-period dd {
        padding: 5px 0
    }

/* Поиск */
b.sr {
    color:black;
    background-color:#ffc;
}
.question-search-wrapper {
    padding:10px 0 20px
}
a#search-example-link {
    text-decoration:none;
    border-bottom:1px dashed #903
}

/* Задавание вопросов */
#ask-button {
    margin-bottom:25px
}
    input#ask-submit {
        width:220px;
        height:50px;
        font-size:120%;
        font-family:"Georgia",serif;
    }
    table.ask td.ask-left {
        width:25%;
        text-align:right
    }
    table.ask input {
        width:98%
    }
    table.ask tr {
        vertical-align: middle
    }

/* Регистрация и профиль */
    input.full, textarea.full {
        width:100%
    }
    input.left-field {
        width:214px
    }
    input.right-field {
        width:164px
    }
    .user-form table {
        font-weight:bold;
        color:#555;
    }
    .user-form table input[type=text] {
        width:288px
    }
    .user-form table tr {
        height:35px;
        background:#F9F9F9
    }
    .user-form table tr.odd {
        background:#F4F4F4
    }
    .user-form table textarea {
        width:90%;
    }
    .user-form th {
        width: 30%;
    }
    .user-form td {
        width: 70%;
    }
    
/* Сообщения */
div.message-green,div.message-red {
    clear:both;
    font-family:verdana;
    font-size:90%;
    padding:5px 10px 5px 42px;
    margin:5px 0 15px;
}
    div.message-green p,div.message-red p {
        margin:0
    }
    div.message-green {
        background:url(../img/ok.png) no-repeat 10px center;
        border:1px solid #0C0;
    }
    div.message-red {
        background:url(../img/oops.png) no-repeat 10px center;
        border: 1px solid #D00;
    }

/* Материал */
div.material-single-wrapper {
    padding:0 20px 20px;
}
    div.material-wrapper {
        padding:15px;
        margin-bottom:30px;
        border:1px solid #c7c7c7;
    }
    p.material-date {
        text-align:right;
        margin:5px 0 15px 7px;
    }
    div.material-quotation,div.material-hidden-quotation {
        margin-left:20px;
        padding-left:20px;
        border-left:1px solid #888
    }
    div.material-hidden-quotation {
        display:none
    }
    p.material-author {
        margin:10px 0;
        font-style:italic;
    }
    p.material-author a {
        font-style:normal
    }
    p.material-keywords {
        text-align:right;
        margin:0
    }
    a.material-keyword,span.material-keyword {
        padding:0 5px;
    }
    a.form-heading {
        color:#000000;
    }
    a.form-heading:visited {
        color:#906d6A;
    }
    a.form-heading:hover {
        color:#e3312d;
    }
    img.form-filetype {
        width:50px;
        height:50px;
        float:left
    }
    div.form-in-rubrics {
        margin-left: 60px
    }

/* Дерево рубрик */
ul.tree {
    margin:0;
    padding:0;
}
    ul.tree li {
        list-style:none;
        margin:0;
        padding:0 0 0 17px;
        line-height:14px;
    }
    ul.tree li a {
        display:inline;
        clear:left;
    }
    ul.tree li a:hover {
        background:#F0F0F0
    }
    ul.tree ul {
        margin:0;
        padding:0;
    }
    ul.tree li.root {
        margin-left:-16px;
    }
    ul.tree a.root,ul.tree span.root {
        font-weight:bold;
        line-height:22px;
        margin-bottom:4px;
    }
    ul.tree a.current {
        font-weight:bold;
        cursor:default;
        color:#000;
    }
    ul.tree li {
        margin-left:8px;
    }
    ul.tree .folder-open {
        background:url(../img/tree/collapsable.gif) 0 -2px no-repeat #fff;
    }
    ul.tree .folder-open-last {
        background:url(../img/tree/collapsable-last.gif) 0 -2px no-repeat #fff;
    }
    ul.tree .folder-close {
        background:url(../img/tree/expandable.gif) 0 -2px no-repeat #fff;
    }
    ul.tree .folder-close-last {
        background:url(../img/tree/expandable-last.gif) 0 -2px no-repeat #fff;
    }
    ul.tree .doc {
        background:url(../img/tree/leaf.gif) 0 -1px no-repeat #fff;
    }
    ul.tree .doc-last {
        background:url(../img/tree/leaf-last.gif) 0 -1px no-repeat #fff;
    }
    ul.tree .ajax {
        background:url(../img/tree/spinner.gif) no-repeat 0 0 #ffffff;
        height:16px;
        display:none;
    }
    ul.tree .ajax li {
        display:none;
        margin:0;
        padding:0;
    }
    ul.tree .trigger {
        display:inline;
        margin-left:-32px;
        width:28px;
        height:14px;
        cursor:pointer;
        float:left;
    }
    * ul.tree .trigger {
        float:none;
    }
    ul.tree .text {
        cursor:pointer;
    }
    ul.tree .active {
        cursor:pointer;
        background-color:#F7BE77;
        padding: 0px 2px;
    }

/* Красивые кнопки */
.button,.button-big,.button-medium {
    margin:0 auto;
    background:transparent no-repeat 0px 0px;
    color:#fff;
    text-align:center;
    font-size:100%;
    font-family:verdana;
    cursor:pointer;
    border:0;
}
    .button {
        width:105px;
        height:33px;
        background-image:url(../img/sprites.png);
        line-height:33px;
    }
    .button:hover,.button-hover {
        background-position:-105px 0px;
    }
    .button-big {
        width:220px;
        height:40px;
        background-image:url(../img/sprites.png);
        background-position:0px -33px;
        line-height:40px;
    }
    .button-big:hover,.button-big-hover {
        background-position:0px -73px;
    }
    .button-medium {
        font-size:90%;
        width:159px;
        height:40px;
        background-image:url(../img/sprites.png);
        background-position:0px -113px;
        line-height:40px;
    }
    .button-medium:hover,.button-medium-hover {
        background-position: 0px -153px;
    }

div#menu {
    font-size:0.8em;
    height:41px;
    margin:0 34px 0 16px;
    background:#fff9df url(../img/menu.png) repeat-x 0 40px
}
    div#menu a {
        border:0px solid red;
        padding:5px;
        text-align:center;
        height:31px;
        width:130px;
        background:url(../img/menu.png) no-repeat;
        overflow:hidden;
    }
    div#menu a div {
        display:table-cell;
        vertical-align:middle;
        height:31px;
        width:130px;
    }
    div#menu a {
        text-decoration:none;
        float:left;
    }
    div#menu a.item {
        position:relative;
        cursor:pointer;
        background-position:0 -1px;
        z-index:1;
    }
    div#menu a.item:hover {
        background-position:0 -42px
    }
    div#menu a.current {
        position:relative;
        left:8px;
        z-index:2;
        background-position:0 -83px;
        padding:5px 10px 5px 5px;
        margin-left:-8px;
        width:130px;
    }
    div#menu span {
        text-align:center;
        width:130px;
        border:0px solid red;
    }
    div#menu span.middled {
        top:expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0":(parentNode.offsetHeight - this.offsetHeight)/2+"px");
        position: relative;
    }

/* Автокомплит */
    .ac_results {
        padding:0px;
        border:1px solid black;
        background-color:white;
        overflow:hidden;
        z-index:99999;
    }
    .ac_results ul {
        width:100%;
        list-style-position:outside;
        list-style:none;
        padding:0;
        margin:0;
        text-align:left;
    }
    .ac_results li {
        margin:0px;
        padding:2px 5px;
        cursor:default;
        display:block;
        font:menu;
        font-size:12px;
        line-height:16px;
        overflow:hidden;
    }
    .ac_results li span {
        float:right;
        font-size:80%;
        color:#009500;
    }
    .ac_odd {
        background-color:#eee;
    }
    .ac_over {
        background-color:#0A246A;
        color: white;
    }

/* Общая структура и закругленные уголки */

div#body {
    background:#fff;
    margin:0 10px 10px;
    clear:both;
}
div#wrapper {
    float:left;
    width:100%;
}
div#content {
    margin:0px 230px 0 265px;
}
div#left {
    float:left;
    width:240px;
    margin-left:-100%;
    padding:0 20px 0 5px;
}
div#right {
    float:left;
    width:185px;
    margin-left:-195px;
    padding:0;
}
div#footer {
    clear:both;
    width:100%;
    background:#fff9df;
    color:#903;
    font-size:120%;
    text-align:center;
    padding:20px 0 5px;
    margin:0;
}

#corners {
    width:100%;
    background:#fff url(../img/corners/left.png) repeat-y left top;
}
    .corners-top {
        width:100%;
        height:25px;
        background:url(../img/corners/star.png) no-repeat 0 -32px;
    }
    .corners-top span {
        display:block;
        float:right;
        height:25px;
        width:32px;
        background:url(../img/corners/star.png) no-repeat right -32px;
    }
    .corners-content {
        position:relative;
        background:url(../img/corners/right.png) repeat-y right top;
        overflow:hidden;
        zoom:1;
        padding:0 15px;
    }
    .corners-bottom {
        width:100%;
        height:32px;
        background:url(../img/corners/star.png) left top;
    }
    .corners-bottom span {
        display:block;
        float:right;
        height:32px;
        width:32px;
        background: url(../img/corners/star.png) no-repeat right top;
    }

/* Новости */
.news {
    margin:20px 175px 30px 40px;
}
    .news-date {
        color:#777;
        font-size:120%;
        right: 310px;
        position:absolute;
    }
    .news h3 {
        min-height:20px;
        margin-left:-40px;
        padding:6px 0 6px 40px;
        background:transparent none no-repeat left top scroll;
    }
    .news h3.sunny {
        background-image:url(../img/news/moods/sunny.png)
    }
    .news h3.cloudy {
        background-image:url(../img/news/moods/cloudy.png)
    }
    .news h3.rainy {
        background-image:url(../img/news/moods/rainy.png)
    }
    .news .quotation {
        margin:10px 20px;
        padding-left:20px;
        border-left:1px solid #888
    }
    .news .content {
        margin: 10px 0;
    }
    .news .comments {
        margin:10px 20px;
    }
    .news .comment {
        display:none;
    }
    .news-archive-years-links .current,.news-archive-monthes-links .current {
        color:#000;
        font-weight:bold;
        text-decoration:none;
        cursor: default;
    }
    .news .annotation {
        overflow: hidden;
    }
    .news .more {
        float:right;
        margin: 0;
    }

.jqifade {
    position:absolute;
    background-color:#333333;
}
    div.jqi {
        width:350px;
        font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
        position:absolute;
        background-color:#ffffff;
        font-size:11px;
        text-align:left;
        border:solid 3px #e2e8e6;
        -moz-border-radius:10px;
        -webkit-border-radius:10px;
        padding:7px;
    }
    div.jqi .jqicontainer {
        font-weight:bold;
    }
    div.jqi .jqiclose {
        position:absolute;
        top:0;
        right:0;
        width:18px;
        cursor:default;
        text-align:center;
        padding:2px 0 4px 0;
        color:#727876;
        font-weight:bold;
        background-color:#e2e8e6;
        -moz-border-radius-bottomLeft:5px;
        -webkit-border-bottom-left-radius:5px;
        border-left:solid 1px #e2e8e6;
        border-bottom:solid 1px #e2e8e6;
    }
    div.jqi .jqimessage {
        padding:10px;
        line-height:20px;
        color:#444444;
    }
    div.jqi .jqibuttons {
        text-align:right;
        padding:5px 0 5px 0;
        border:solid 1px #e2e8e6;
        background-color:#f2f8f6;
    }
    div.jqi button {
        padding:3px 10px;
        margin:0 10px;
        background-color:#2F6073;
        border:solid 1px #f4f4f4;
        color:#ffffff;
        font-weight:bold;
        font-size:12px;
    }
    div.jqi button:hover {
        background-color:#728A8C;
    }
    div.jqi button.jqidefaultbutton {
        background-color:#BF5E26;
    }
    .jqiwarning .jqi .jqibuttons {
        background-color: #BF5E26;
    }

/* Постраничная навигация */
.navpages {
    font-family:arial;
    padding:10px 0;
    text-align:center;
}
    .navpages .prev {
        margin-right:15px;
    }
    .navpages a,.navpages span {
        padding:3px 5px;
    }
    .navpages a:hover {
        background:#903;
        color:white;
        text-decoration:none;
    }
    .navpages span.current {
        font-weight:bold;
        color:#FFF9DF;
        padding:3px 5px;
        background:#903;
    }
    .navpages .numeric {
        padding-top: 10px;
    }

/* Главная страница. Предложение зарегистрироваться в закругленными уголками */
.main-register-div {
	width: 423px;
	margin: 0 auto;
}

.main-register {
	background:transparent no-repeat 0px 0px;
    background-image:url(../img/register-button.png);
    border:0;
    width: 423px;
    height: 132px;
    font-size: 120%;
    cursor: pointer;
}

span.red {
    color: rgb( 192, 80, 70 );
    font-weight: bold;
}

