body,html {
    padding: 0; margin: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    background: #ffffff;
}
a.inpostlink:link, a.rules:active, a.inpostlink:visited, s.inpostlink, span.inpostlink{border-radius:0px;color:#0066ff;cursor:pointer;font-size:14px;text-decoration:none;border-bottom:1px solid;font-weight:bold} 
a.inpostlink:hover {cursor:pointer;font-size:14px;color:#006633;background-color:transparent;font-weight:bold}
em {font-style: normal}
td, tr, p, div {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 125%;
    color: #000000;
}
hr {
    color: #006699;
    height: 1px;
    width: 100%;
}
form {
    padding: 0; margin: 0;
}
a:link, a:visited {
    color: #0033cc;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    color: #ff0000;
    text-decoration: underline;
    font-weight: bold;
}
span.border {color: #0033cc;text-decoration: none;font-weight: bold;cursor:pointer}
ul {
    margin: 2px;
    padding-left: 10px;
    list-style: none;
}
li {
    line-height: 15px;
    padding-left: 15px;
    padding-top: 0;
    background: url(../images/strelka.gif) #ffffff no-repeat 0px 5px;
}
.back-button a {
    color            : #999999;
    font-size        : 15px;
    font-weight      : normal;
    padding-bottom   : 3px;
    margin-left      : 4px;
    margin-top       : 20px;
    float            : right;
    line-height      : 20px;
}

.button {
    font-size        : 15px;
    color            : #333333;
    border           : 1px solid #999999;
    margin           : 3px;
    background-color : #EDEDED;
    padding          : 1px !important;
    padding          : 1px;
    cursor           : pointer;
}

/* ---------- ЦВЕТНЫЕ ЗНАЧКИ --------------- */
.label, .badge {cursor: pointer;font-size: 15px; font-weight: bold; line-height: 14px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: baseline; background-color: #999999; }
.label { padding: 1px 4px 2px;}
.badge { padding: 1px 9px 2px; border-radius: 9px; }
a.label:hover, a.badge:hover { color: #ffffff; text-decoration: none; cursor: pointer; }
a.label, a.badge { color: #ffffff; text-decoration: none; cursor: pointer; }
.label-important, .badge-important { background-color: #b94a48; }
.label-important[href], .badge-important[href] { background-color: #953b39; }
.label-warning, .badge-warning { background-color: #fd0000; }
.label-warning[href], .badge-warning[href] { background-color: #fd0000}
.label-success, .badge-success { background-color: #468847}
.label-success[href], .badge-success[href] { background-color: #468847}
.label-info, .badge-info { background-color: #3a87ad}
.label-info[href], .badge-info[href] { background-color: #2d6987}
.label-inverse, .badge-inverse { background-color: #333333}
.label-inverse[href], .badge-inverse[href] { background-color: #1a1a1a}
.btn .label, .btn .badge { position: relative; top: -1px}
.btn-mini .label, .btn-mini .badge {  top: 0}
.pull-right { float: right}
.pull-left { float: left} 
/* ---------- ЦВЕТНЫЕ ЗНАЧКИ --------------- */


/* -------------------------------------------------------------------------- */

#body_bg{
    width: 1024px; 
    margin-left: auto;
    margin-right: auto;
	border: 0px solid #4C7AA8;  padding: 10px; background-color: white;   box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

td.bgline {
    padding: 0; margin: 0;
    background     : url(../images/s.gif) repeat-y;
    width          : 7px;
 }

.top-nav-table {
    border-width: 0;
    width: 100%;
}

.top-nav-table td.left-cell {
    padding: 0; margin: 0;
    vertical-align: middle;
}

.top-nav-table td.right-cell {
    padding: 0; margin: 0;
    vertical-align: bottom;
}

ul.top-menu  {
    font-size: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0px 0 1px;
}

.top-menu li {
    float: right;
    display: block;
    list-style: none;
    background-image: none;
    background-color: transparent;
    padding-left: 1px;
    padding-right: 1px;
    margin: 0;
    line-height: 38px;
    white-space: nowrap;
    border-left: 1px solid #ffffff;

}
.top-menu li a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 15px;
    color: #006699;
    text-decoration: none;
}

.top-menu li a:hover {
    font-size: 15px;
    color: #333333;
}

.top-menu li a.active_menu {
    text-decoration  : underline;
}


.header-table {
    border-width: 0;
    width: 100%;
    height: 80px;
    
}

.header-table td.left-header {
    padding: 0; margin: 0;
    padding-left: 5px;
    color: #006699;
}

.header-table td.right-header {
    padding: 0; margin: 0;
    font-size: 15px;
    color: #006699;
    text-decoration: none;
    text-align: right;
    padding-right: 5px;
    vertical-align: middle;
}

.pathway-table {
    border-width: 0;
    width: 100%;
}

.pathway-table td.left-cell {
    padding: 0; margin: 0;
    height: 28px !important;
    background: url(../images/shadow.gif) #ffffff repeat-x top;
    padding-left: 5px;
    text-align: left;
    line-height: 100%;
}

div.pathway {
    line-height: 100%;
}

div.pathway a,
div.pathway a:link,
div.pathway a:visited {
    font-size: 15px;
    font-weight: bold;
    color: #0033cc;
    text-decoration: none;
}
div.pathway a:hover {
    font-size: 15px;
    font-weight: bold;
    text-decoration: underline;
}
.main-table {
    border-width: 0;
    width: 100%;
}
td.left-col {
    padding: 0; margin: 0;
    vertical-align: top;
    padding-top: 5px;
    padding-left: 3px;
}
td.right-col {
    padding: 0; margin: 0;
    vertical-align: top;
    padding-top: 5px;
    padding-right: 3px;
}
div.left-row {
    padding: 0; margin: 0;
    width: 185px; /* 169px; */
    height: 100%;
}
div.right-row {
    padding: 0; margin: 0;
    height: 100%;
    width: 240px; /* 169px; */
}

td.center-col {
    padding: 0; margin: 0;
	padding-left: 5px;
    width: 100%;
    vertical-align: top;
}

.content-table {
    border-width: 0;
    width: 100%;
}

.content-table td {
    margin: 0;
    padding: 4px;
}

.content-table td.content-cell {
    height: 500px;
    text-align: left;
    vertical-align: top;
}

div.main-content {
    padding: 0; margin: 0;
    width: 100%;
    /* line-height: 130%; */
}

div.main-content p {
    /* line-height: 130%; */
}

.back-button {
}

.content-table td.undercontent-cell {
    text-align: left;
    vertical-align: top;
}


.footer-table {
    border-width: 0;
	text-align: center;
    border-top: 1px solid #cccccc;
    padding: 5px;
    width: 100%;
}

.footer-table td.center-cell div.center-cell{
    text-align: center;
    vertical-align: middle;
    height: 31px;
    border-top: 1px solid #cccccc;
    padding: 5px;

}

.footer-info {
    color: #000000;
    font-size: 15px;
    font-weight: normal;
    width: 570px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.footer-info a,
.footer-info a:link,
.footer-info a:visited {
    font-size: 13px;
}
.footer-info a:hover {
    font-size: 13px;
}

.copyright {
    font-size: 13px;
    font-weight: bold;
}



h1 {
    border-bottom: 1px solid #000000;
    font-size: 15px;
    font-weight: bold;
    line-height: 16px;
    /* text-transform: uppercase; */
    text-align: left;
    text-indent: 0;
    color: #000000;
    width: 99%;
    margin: 3px 0 20px 0;
    padding: 1px 1px 1px 1px;
}

#h1  {text-align: left; margin-top: 5px; margin-bottom: 0px; color: #eeeeee; font-size: 12px; padding-bottom:10px}

h2 {
    font-size: 15px;
}


table.moduletable {
    margin: 0 0 15px 0;
    width: 100%;
    padding-bottom: 2px;
}

table.moduletable th {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    color: #ffffff;
    padding: 2px 2px 2px 14px;
    text-indent: 0px;
    line-height: 15px;
	background-color: #006699;
    text-decoration: none;
    border: 1px solid #0099aa;
    }

table.moduletable td {
    padding: 0;
    font-size: 12px;
}


.date {
    font-size: 12px;
    color: #666666;
}

.author {
    font-size: 12px;
    color: #666666;
    padding-bottom: 7px;
}


/* ------- Law ------------------------------------ */

div.law-nodes-tree {
    margin-bottom: 15px;
}


div.law-nodes-tree div {
    font-size: 15px;
}

.indent0 {
    margin-left: 5px;
}
.indent1 {
    margin-left: 15px;
}
.indent2 {
    margin-left: 25px;
}
.indent3 {
    margin-left: 45px;
}
.indent4 {
    margin-left: 65px;
}
.indent5 {
    margin-left: 85px;
}
.indent6 {
    margin-left: 105px;
}

.z, .ch, .gl, .r, .pr, .pf, .ppf {
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: bold;
}

.pf, .ppf {
    font-weight: normal;
}

.z, .ch, .r, .pr {
    text-transform: uppercase;
}

div.st {
    line-height: 140%;
}

.st a span {
    font-weight: normal;
}

.ch h2 a:link,
.ch h2 a:visited {
  color: #0033cc;
  text-decoration: none; 
  font-weight: bold;
}
.no-st a:link,
.no-st a:visited {
  color: #000000;
  text-decoration: none; 
  font-weight: bold;
}
.no-st a:hover {
  color            : #c02750;
  text-decoration  : none;
  font-weight      : bold;
}

.law-node-preview {
    margin-top: -0.7em;
}

.law-node-desc {
    margin-top: -0.7em;
}

.st-block { /* вывод статьи */
    margin-bottom: 15px; 
}

.st-content {
}
.st-top-nav-menu a,
.st-top-nav-menu a:link,
.st-top-nav-menu a:visited {
    font-size: 12px;
    font-weight: bold;
    color: #707070;
    text-decoration: none;
}
.st-top-nav-menu a:hover {
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
}
.st-bottom-nav-menu {
    margin-top: 0px;
    text-align: center;
	color: #000000;
    font-size: 11px;
}
.st-bottom-nav-menu a,
.st-bottom-nav-menu a:link,
.st-bottom-nav-menu a:visited {
    font-size: 14px;
    font-weight: bold;
    color: #0000ff;
    text-decoration: none;
}
.st-bottom-nav-menu a:hover {
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
}
/* podborka */
.statya {
    margin-bottom: 2.5em;
}


/* Форма поиска статей законов */
.search-statyi {
    width: 230px; /* 185 - 7 -7 */
    border: 0px solid green;
    margin: 0;
    text-align: left;
}

.search-statyi fieldset {
    margin: 0 0 3px 0;
    width: auto;
    border: 0px solid red;
    padding: 0 0 0 0;
}

.search-statyi input.inputbox, .search-statyi select {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #666666;
	width: 230px;
    background-color: #ffffff;
    border: 1px solid #666666;
    margin: 0; padding: 1px 0 1px 0;
}

.search-statyi input.inputbox {
    width: 230px;
    margin-top: 4px;
    padding: 2px !important;
    padding: 1px;
}

.search-statyi div.input-st {
    margin-top: 1px;
}

.search-statyi select {
    width: 230px;
}

.comment {
    margin: 1px 0 0 0; padding: 0;
    color: #707070;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: left;
}

#addFsLink {
    margin-top: 13px;
    margin-bottom: 3px;
}
.search-statyi  input.button {
    margin: 7px 0 0 0;
}

.law-list {
    margin-bottom: 20px;
}

.law-row {
    border-bottom: 1px dotted #999999;
    padding-top: 5px;
    padding-bottom: 5px;
}


/* --- top phrase search --- */

.searchbox {
    margin: 13px 0 0 10px;
    width: 150px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #207b97;
    padding: 2px !important;
    padding: 1px;
    border: 1px solid #299ec2;
    background: none;
   }



.searchbutton {
    margin: 13px 0 0 1px;
    width: 22px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #207b97;
    padding: 1px;
    border: 1px solid #299ec2;
    background: none;  
    cursor: pointer;

   }

.phrase-search-module {
    width: 191px; /* 185 - 7 -7 */
        margin: 15px 0 0 0;
    padding: 0;
    text-align: left;
}

.phrase-search-module input {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
	width: 191px;
    font-size: 13px;
    color: #666666;
    border: 1px solid #666666;
}

.phrase-search-module input.inputbox {
    width: 137px;
    margin: 15px 0 0 0;
    padding: 2px !important;
    padding: 1px;
}

.phrase-search-module input.button {
    width: 22px;
    padding: 1px;
    margin: 0 0 0 5px;
}

.search-item-row {
}

.search-result a {
    font-size: 13px;
}

a.rank-ball5 {
    color: #207b97;
}

a.rank-ball4 {
    color: #5495a8;
}

a.rank-ball3 {
    color: #76a6b5;
}

a.rank-ball2 {
    color: #91b6c2;
}

a.rank-ball1 {
    color: #abbcc2;
}

.search_rank {
    font-size: 13px;
    color: #666666;
}


/* law-parser */
.law-parser {
}
.law-parser form textarea {
    width: 550px;
    height: 120px;
    margin-bottom: 15px;
    border: 1px solid #666666;
}
.law-parser form input.button {
    border: 1px solid #666666;
}

.law-parser-module {
    width: 171px; /* 185 - 7 -7 */
    margin: 0 0 10px 0;
    padding: 0 7px 0 7px !important;
    text-align: left;
}
.law-parser-module form textarea {
    width: 164px;
    height: 70px;
    overflow: hidden;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #666666;
    background-color: #ffffff;
    border: 1px solid #666666;
    margin: 5px 0 0 0;
    padding: 2px 0px 2px 2px !important;
    padding: 1px 0px 1px 1px;
}
.law-parser-module form input.button {
    width: 170px;
    margin: 7px 0 7px 0;
}


/* --- reklama --- */

.under-header-module {
    margin-top: 0px;
    margin-bottom: 10px;
    padding: 7px;

    border: 1px dotted #cccccc;

    padding-top: 5px;
    text-align: center;
}


.under-content-module {
    margin-top: 0px;
    padding: 7px;

    border: 1px dotted #cccccc;

    padding-top: 5px;
    text-align: center;
}

div.right-raw-module {
    margin: 0px 7px 15px 15px;
    padding: 0px;
    padding-top: 15px;
    border-top: 0px dotted #666666;
    text-align: left;
}

div.left-raw-module {
    margin: 0px 15px 15px 7px;
    padding: 0px;
    padding-top: 0px;
    border-top: 0px dotted #666666;
    text-align: left;
}


iframe {
    margin: 0;
    padding: 0;
}

.counters {
    margin-top: 15px;
}

.neighbors {
    text-align: center;
    margin: 10px auto 20px auto;
}

div.menutop {
float: right; background:#fff; border:1px solid #C9C9C9; border-radius:5px; box-shadow:0px 1px 3px rgba(255,255,255,1) inset, 0px 1px 2px rgba(0,0,0,0.2)
}
table.tree_menu {
}

a.menu_indent1, a.menu_indent1:link, a.menu_indent1:visited {
    display: block;
    padding: 6px 5px 4px 15px;
    background: url(../images/strelka_menu.gif) #ffffff no-repeat 5px 9px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px dotted #cccccc;
}


a.active_menu.menu_indent1 {
    background-image : url(../images/strelka_menu_active.gif) ;
}

a.menu_indent1:hover {
    font-size: 13px;
    font-weight: bold;
    color: #c02750;
}
a.menu_indent2, a.menu_indent2:link, a.menu_indent2:visited {
    display: block;
    padding: 4px 5px 2px 25px;
    font-weight: normal;
    font-size: 13px;
    border-bottom: 1px dotted #cccccc;
}
a.active_menu, a.menu_indent1.active_menu, a.menu_indent2.active_menu, a.menu_indent3.active_menu {
    color: #c02750;
}
a.menu_indent2:hover {
    font-size: 13px;
    font-weight: normal;
    color: #c02750;
}
a.menu_indent3, a.menu_indent3:link, a.menu_indent3:visited {
    padding: 1px 5px 1px 30px;
    border-bottom-style: none;
    font-weight: normal;
    font-size: 13px;
}
a.menu_indent2 span, a.menu_indent3 span {
    padding-right: 2px;
}
