.hide-element {
    display: none;
}


.wf-loading-hide .cell, .wf-loading-hide .column, .wf-loading-hide .pathway, .wf-loading-hide .actual-info {
    visibility: hidden;
}

.header-wrap, .columns-wrap,
.wf-active .cell, .wf-active .column, .wf-active .pathway, .wf-active .actual-info,
.wf-inactive .cell, .wf-inactive .column, .wf-inactive .pathway, .wf-inactive .actual-info {
    visibility: visible;
}

.loading-indicator {
    display: none;
    width: 100%;
    height: auto;
    opacity: 0.3;
    position: fixed;
    top: 50%;
    font-size: 20px;
    text-align: center;
}

.wf-loading-hide .loading-indicator {
    display: block;
}

.wf-active .loading-indicator,
.wf-inactive .loading-indicator {
    display: none;
}


a {
    font-style: normal;
    text-decoration: none;
    color: #207b97;
}

a:hover {
    text-decoration: underline;
    color: #c02750;
}

p {
    margin: 1em 0;
}

.content-column ul {
    margin: 0;
    padding-left: 2em;
    list-style-type: circle;
}

.content-column ul li {
    margin-bottom: 0.83em;
    list-style-type: circle;
}

.content-column ol {
    margin: 0;
    padding-left: 2em;
    list-style-type: decimal;
}

.content-column ol li {
    margin-bottom: 0.83em;
    list-style-type: decimal;
}

.content-column .dogovor-content ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.content-column .dogovor-content ul li {
    margin-bottom: 0;
    list-style-type: none;
}

.content-column .dogovor-content ol {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.content-column .dogovor-content ol li {
    margin-bottom: 0;
    list-style-type: none;
}

mark, .mark {
    background-color: #ffffff;
    color: black;
    border-bottom: 1px dotted #000000;
    font-weight: 500;
}

b {
    font-weight: 500;
}

/* ------ begin crossbrowsing input/submit -------*/

form, fieldset {
    margin: 0;
    padding: 0;
}

input, select, button, textarea /*Content follows box model*/
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #ffffff;
    width: 100%;
    color: #666666;
    border: 1px solid #c0c0c0;
    border-radius: 0;
}

input[type="text"], input[type="search"], input[type="email"] {
    padding: 0 4px;
    line-height: 2em;
    -webkit-appearance: none;
}


input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-box-align: center;
    text-align: center;
    color: #222222;
    border: 1px solid #c0c0c0;
    background-color: #EDEDED;
    cursor: pointer;
    padding-left: 0;
    padding-right: 0;
    -webkit-appearance: none;
    white-space: pre;
}

select, input, button {
    height: 2.25em;
}

select {
    box-shadow: inset 0 0 2.5em 0 rgba(0,0,0,0.1);
}

input[type="radio"] {
    height: auto;
    width: auto;
}

button:focus {outline:0;}

/* ------ end crossbrowsing input/submit -------*/


body {
    margin: 0;
    padding: 0 10px;
    background: #e9eaeb;
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", Helvetica, sans-serif;
    font-size: 13px;
    /* line-height: 16px; */
    color: #222222;
    letter-spacing: 0.014em;
}

.wf-active body {
    font-family: Ubuntu, Arial, "Helvetica CY", "Nimbus Sans L", Helvetica, sans-serif;
    letter-spacing: 0;
}

/*
.top-line {
    height: 50px;
    background: #d6d6d6;
    margin: 0 -10px -25px -10px;
}
*/

.site-wrap {
    width: auto;
    /* min-width: 1000px; */
    max-width: 1200px;
    margin: 19px auto;
    padding: 0 30px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
    border-radius: 2px;
}

/*--- begin Default LAYOUT ----*/

.header-wrap {
    padding: 30px 0 10px 0;
    border-bottom: 5px solid #569bb0; /* 207b97c2; */
    overflow: hidden;
}

/* Columns-Wrap */

.columns-wrap {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.column-wrap {
    box-sizing: border-box;
    padding-bottom: 10000em;
    margin-bottom: -10000em;
}

.first-column-wrap {
    float: left;
    width: 19%;
    border-right: 1px solid #b6c9d0;  /* 0A4C624d */
}

.second-column-wrap {
    float: right;
    width: 19%;
    border-left: 1px solid #b6c9d0;  /* 0A4C624d */
}

.content-column-wrap {
    float: left;
    width: 62%;
}

.frontpage .content-column-wrap {
    float: left;
    width: 81%;
}


/* Columns */

.first-column {
    padding: 1em 0.5em 2em 0;
    overflow: hidden;
}

.second-column {
    padding: 1em 0 2em 10px;
}

.content-column {
    padding: 1em;
}

.footer-wrap {
    clear: both;
    border-top: 1px solid #b6c9d0;  /* 0A4C624d */
}

/*--- end default LAYOUT ----*/


.panel1 .cell1 {
    float: left;
}

.panel1 .cell2 {
    float: right;
}

.panel1 .cell3 {
    float: right;
}

/* Logo Block */

.site-logo {
    display: block;
    border: none;
    float: left;
    /* width: 500px; */
    vertical-align: middle;
}

.logoimg {
    float: left;
    padding-right: 10px;
    margin-top: -8px;
    height: 64px;
}

.logoimg img {
    border: none;
    max-width: 70px;
    width: 62px;
    height: 62px;
}

.sitename-siteslogan {
    float: left;
    padding-right: 10px;
}

.sitename {
    line-height: 37px;
    font-family: "Times New Roman", serif;
    font-size: 26px;
    letter-spacing: -0.03em;
    text-shadow: 1px 1px 3px #a6cad5;  /* 207b9766; */
    color: #207b97;
}

.wf-active .sitename {
    font-family: 'Oranienbaum', "Times New Roman", serif;
    font-size: 32px;
}

.siteslogan {
    line-height: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0.068em;
    color: #909090;
    border-top: 1px solid #af8c36;  /* af8c36d1; */
}

.wf-active .siteslogan {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    letter-spacing: 0.07em;
}


/* TOP Menu Block */

.module.gorizontal-menu {
    margin-bottom: 0;
    line-height: 40px;
    color: #444444;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    letter-spacing: 0.025em;
}

.wf-active .module.gorizontal-menu {
    font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 0;
}

.gorizontal-menu a {
    border-right: 1px solid #b6c9d0;  /* 0a4c624d; */
    padding: 0 0.75em 2px 0.35em;
    text-decoration: none;
}

.gorizontal-menu span {
    padding-bottom: 2px;
}

.gorizontal-menu li:first-child a {
    padding-left: 0;
}

.gorizontal-menu li:last-child a {
    border-right: none;
}

.gorizontal-menu a span {
    border-bottom: 2px solid #ffffff;
    color: #444444;
}

.gorizontal-menu a.active span {
    border-bottom: 2px solid #61a1b5;  /* 207b97b5; */
    color: #207b97;
}

.gorizontal-menu a:hover span {
    border-bottom: 2px solid #c02750;  /* 207b97b5; */
    color: #c02750;
}

.gorizontal-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gorizontal-menu li {
    display: inline-block;
    vertical-align: middle;
}

.gorizontal-menu .l1 {
    padding: 0;
}


/* TOP Menu Button */

.mobile-top-button-wrap {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 40px;
    padding: 1px 0;
    margin-left: 0.5em;
}

#mobile-top-button {
    display: inline-block;
    vertical-align: middle;
    border-bottom: 11px double #207b97;
    border-top: 4px solid #207b97;
    content:"";
    height: 3px;
    width:20px;
}


/* Pathway - Actual Date */

.panel2 {
    font-size: 12px;
    line-height: 35px;
    border-bottom: 1px solid #b6c9d0;
    overflow: hidden;
}

.pathway {
    float: left;
    white-space: nowrap;
    overflow: hidden;
}

.pathway a {
    display: inline-block;
    color: #707070;
    text-decoration: none;
}

.pathway .arrow {
    display: inline-block;
    margin: 0 0.25em 0.05em 0.25em;
    width: 0;
    height: 0;
    border-left: 4px solid #707070;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    vertical-align: middle;
}

.actual-info {
    float: right;
    padding-left: 20px;
    font-size: 11px;
    padding-right: 10px;
}

.actual-info .actual-title {
    display: inline-block;
    color: #444444;
}

.actual-info .actual-date {
    display: inline-block;
    color: #000000;
    font-weight: 700;
}


/* Module */

.module {
    margin-bottom: 2em;
}

/* end Module */


/* Left Menu */

.tree-menu ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    color: #c02750;
}

.tree-menu .l1 {
    list-style: none;
    margin-top: 0.38em;
    padding-left: 0;
    line-height: 25px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.wf-active .tree-menu .l1 {
    font-family: "Ubuntu Condensed", Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 0;
}

.tree-menu .l1:first-child {
    margin-top: 0;
}

.tree-menu .l1 a {
    color: #207b97;
}

.tree-menu .l2 {
    list-style: none;
    padding-left: 1.618em;
    line-height: 1.5em;
    font-size: 13px;
    white-space: nowrap
}

.doc-changes-area .tree-menu .l2 {
    padding-left: 0;
}

.tree-menu .l2:before {
    display: inline-block;
	background-color: #c02750;
	width: 5px;
	height: 5px;
	content: "";
    margin-top: 0.75em;
    margin-right: 0.6em;
}

.tree-menu .l2 a {
    display: inline-block;
    width: 95%;  /* чтобы справа отступ был */
    color: #222222;
    vertical-align: middle;
    white-space: normal;
}

.doc-changes-area .tree-menu .l2 a {
    color: #207b97;
}

.tree-menu .active a {
    color: #c02750;
}

.tree-menu a:hover {
    text-decoration: underline;
    color: #c02750;
}

.main-region {
    margin-bottom: 34px;
}

/* Headers */

h1 {
    margin: 0 0 1em 0;
    font-size: 18px;
    font-weight: normal;
    font-family: Arial, sans-serif;
    letter-spacing: -0.01em;
    line-height: 27px;
}

.wf-active h1 {
    font-family: "Ubuntu Condensed", Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 27px;
}

h1.base-h1, div.base-h1 {
    margin: 0 0 1em 0;
    padding: 0.25em 0.5em;
    color: #000000;
    background-color: #f2f7f9;  /* 207b970f */
    border: 1px solid #c8d8dd;  /* 0a4c622e */
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: #505050;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 20px;
}

.wf-active h1.base-h1, .wf-active div.base-h1 {
    font-family: "Ubuntu Condensed", Arial, sans-serif;
    font-size: 17px;
    /* letter-spacing: 0; */
}

h2, div.h2 {
    margin: 0 0 0.5em 0;
    padding: 0.3em 0.5em;
    color: #000000;
    background-color: #f2f7f9;  /* 207b970f */
    border: 1px solid #c8d8dd;  /* 0A4C622e */
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0.02em;
    line-height: 20px;
}

.wf-active h2, .wf-active div.h2 {
    font-family: "Ubuntu Condensed", Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 0;
}

.first-column div.h2, .second-column div.h2, .region-content div.h2 {
    border: none;
    background-color: #ffffff;
    padding: 0.25em 0;
    overflow: hidden;
}

.first-column div.h2:after, .second-column div.h2:after, .region-content div.h2:after {
    content: "";
    display: inline-block;
    margin-right: -100%;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
    height: 1px;
    background: #b6c9d0;
    border: solid #FFF;
    border-width: 0 0.4em;
}

.article-body h2 {
    border: none;
    background-color: #ffffff;
    padding: 0;
    font-size: 1.2352941176470589em;  /* 21/17 */
    line-height: 1.2em;
}

h3 {
    font-size: 1em;
    font-weight: 500;
}

/* end Headers */


/* Search Form */

.module-search {
    margin: 2em 0;
}

.frontpage .module-search {
    margin: 0 0 2em 0;
    background-color: #f2f7f9;  /* 207b970f */
    padding: 1.5em 1em 0 1em;
    border: 1px solid #c8d8dd;  /* 207b9729 */
}

.search-app-form {
    position: relative;
    padding-right: 7.5em;
}

.search-app-form input.inputbox {
    width: 100%;
    height: 2.5em;
    min-width: 100px;
    padding-left: 0.5em;
    font-size: 1em;
    line-height: 2.5em;
    color: #666666;
    border: 2px solid #7da9b7;  /* 699cacde */
    border-right: none;
    box-sizing: border-box;
}

.search-arrow {
	position: absolute;
    top: 0;
    right: 1em;
    width: 6.5em;
    height: 2.5em;
    text-align: center;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    background-color: #699cac;
    border: none;
    box-sizing: border-box;
}
.search-arrow:after, .search-arrow:before {
	left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.search-arrow:after {
    left: 100%;
    top: 50%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.search-arrow:before {
    border-left-color: #699cac;
    border-width: 1.25em;
    margin-top: -1.25em;
}

::-webkit-input-placeholder {color:rgba(132, 132, 132, 0.75);}
::-moz-placeholder          {color:rgba(132, 132, 132, 0.75);}/* Firefox 19+ */
:-moz-placeholder           {color:rgba(132, 132, 132, 0.75);}/* Firefox 18- */
:-ms-input-placeholder      {color:rgba(132, 132, 132, 0.75);}

.select-search-doc-type {
    margin: 0 0 0.7em 0;
}

.select-search-doc-law, .select-search-doc-suddoc {
    line-height: 1.5384615384615385em;
    font-size: 1.1538461538461537em;  /* 15/13 */
    display: inline-block;
    vertical-align: text-bottom;
    margin:0;
}

.select-search-doc-type input {
    vertical-align: text-bottom;
}

.module-search .select-search-doc-type {
    display: none;
}

.frontpage .module-search .select-search-doc-type {
    display: block;
}


/* end Search Form */


/* --- begin st navigator (podborka) --- */

.law-podborka-form div.h2 {
    margin-bottom: 0;
}

.st-navigator {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #666666;
}

.st-navigator fieldset {
    margin: 0 0 3px 0;
    border: none;
    padding: 0;
}

.zakon-select {
    margin-bottom: 5px;
}

.navigator-submit {
    margin-top: 7px;
}

.comment {
    margin: 1px 0 0 0;
    color: #707070;
    font-size: 11px;
}

/* --- end st navigator (podborka) --- */


/* --- begin search by phrase --- */

.phrase-search-module input[type="text"] {
    width: 85%;
    margin-bottom: 5px;
    border-right: none;
}

.phrase-search-module input[type="submit"] {
    width: 15%;
    margin-bottom: 5px;
    border: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
}

/* --- end search by phrase --- */


/* --- begin law-parser-module --- */

.law-parser-module  textarea {
    margin: 0 0 7px 0;
    height: 8em;
    overflow: auto;
    padding: 2px 0 2px 4px
}

/* --- end law-parser-module --- */



/* begin Content body */

.content-body {
    font-size: 17px;
    line-height: 24px;
}

.content-preview {
    margin: 1em 0;
    font-size: 13px;
}

/* end Content body */


/* begin LAWs */

/* law Statya */

.st-prevnext-menu {
    padding-bottom: 21px;
    background: url(../images/st-delimeter.png) 50% 100% no-repeat;
}

#under-law-region {
    margin-bottom: 34px;
}

.template-st #under-law-region {
    margin-top: -34px;
    margin-bottom: 34px;
}

.st-pathway {
    font-size: 15px;
}

.st-pathway a {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 1px;
    border-bottom: 1px dashed #207b97;
}

.st-pathway .arrow {
    display: inline-block;
    margin: 0 0.25em 0.1em 0.25em;
    width: 0;
    height: 0;
    border-left: 5px solid #c02750;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    vertical-align: middle;
}

/* st prev- next */

.st-prevnext-menu {
    margin-top: 14px;
    text-align: center;
    font-size: 15px;
    color: #808080;
}

.wf-active .st-prevnext-menu {
    font-family: "Ubuntu Condensed", Arial, sans-serif;
    font-size: 18px;
}

.st-prev-arrow {
    display: inline-block;
    margin: 0 0.25em 0.1em 0.25em;
    width: 0;
    height: 0;
    border-right: 5px solid #808080;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    vertical-align: middle;
}

.st-next-arrow {
    display: inline-block;
    margin: 0 0.25em 0.1em 0.25em;
    width: 0;
    height: 0;
    border-left: 5px solid #808080;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    vertical-align: middle;
}

.st-section h1 {
    margin: 1.3em 0 0.3em 0;
}

.relsuddoc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.relsuddoc ul li {
    margin: 1em 0;
    font-size: 15px;
    line-height: 18px;
    list-style: none;
}

.relsuddoc ul li a {
    display: inline-block;
    font-size: 17px;
    line-height: 21px;
    font-weight: normal;
    margin-bottom: 0.25em;
}


/* ------- begin Law Tree -------- */

.law-tree {
    font-size: 15px;
    line-height: 1.2em;
}

.law-tree {
    margin-bottom: 1em;
}

ul.law-tree {
    list-style: none;
    margin: 0 0 1.6em 0;
    padding: 0;
}

ul.law-tree li {
    margin: 0 auto;
    list-style: none;
}

.l0 {
    padding-left: 0; /* 15/584 */
}
.l1 {
    padding-left: 4%; /* 40/584 */
}
.l2 {
    padding-left: 8%; /* 65/584 */
}
.l3 {
    padding-left: 12%; /* 90/584 */
}
.l4 {
    padding-left: 16%; /* 115/584 */
}
.l5 {
    padding-left: 20%; /* 140/584 */
}
.l6 {
    padding-left: 24%; /* 165/584 */
}

ul.law-tree .z, ul.law-tree .ch, ul.law-tree .gl, ul.law-tree .r, ul.law-tree .pr, ul.law-tree .pf, ul.law-tree .ppf, ul.law-tree .pril {
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 500;
}

ul.law-tree .gl.nost {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.pril b {
    text-transform: uppercase;
}

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

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

.st {
    line-height: 140%;
}

.st a {
    font-weight: normal;
}

.nost a:link,
.nost a:visited {
  color: #000000;
  text-decoration: underline;
  font-weight: 500;
}

.gl.leaf a:link,
.gl.leaf a:visited {
  color: #207b97;
  text-decoration: none;
  font-weight: normal;
}

.gl.leaf a:hover {
    color: #c02750;
    text-decoration: underline;
}

.nost a:hover {
  color: #c02750;
  text-decoration: none;
  font-weight: 500;
}

.law-item-preview p {
    font-weight: normal;
    text-transform: none;
}

.law-desc p {
    margin-top: 0;
}

/* law-list */

.law-list li {
    margin: 1em 0;
    font-size: 15px;
    line-height: 1.2em;
}

.law-list li a {
    display: inline-block;
    font-size: 1.1333333333333333em;  /* 17/15 */
    line-height: 1.2352941176470589em;  /* 21/17 */
    font-weight: normal;
    margin-bottom: 0.25em;
}

.law-list span {
    display: block;
}

/* law content align */

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

img.formula {
    vertical-align: bottom;
}

.align-el-header {
    font-weight: 500;
}

/* end LAWs */


/* LawDir, LawDiff */

.first-column .module.lawdir ul {
    padding-left: 0;
    list-style-type: none;
}

.first-column .module.lawdir li {
    list-style: none;
    margin-bottom: 0.83em;
    padding-left: 4px;
    line-height: 1.2307692307692308em;  /* 16/13 */
}

.lawdir-arrow {
    display: inline-block;
    margin: 0 0.0em 0.05em 0.35em;
    width: 0;
    height: 0;
    border-left: 5px solid #c02750;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    /* vertical-align: middle; */
}

.frontpage-region .region-content .h2 a {
    color: #000000;
}

.lawdir-arrow:hover {
    border-left: 5px solid #207b97;
}

.doc-changes-area .module.module {
    margin-bottom: 0.25em;
}

.doc-changes-area {
    margin-bottom: 2em;
}

.doc-changes-area div.h2 {
    margin: 0 0 0.35em 0;
}

.module.lawdiff-context-top-module {
    margin: 1em 0;
    padding: 0.382em 0 0.382em 0.85em;
    border-left: 3px solid #d1d1d1;
}

.module.lawdiff-context-bottom-module {
    margin: 1em 0;
    padding: 0.382em 0 0.382em 0.85em;
    border-left: 3px solid #d1d1d1;
}

.lawdiff-context-bottom-block,
.lawdiff-top-bottom-block {
    color: #808080;
    font-size: 16px;
    line-height: 1.5em;
}

.wf-active .lawdiff-context-bottom-block,
.wf-active .lawdiff-context-top-block {
    font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
    font-size: 19px;
}

.lawdiff-context-bottom-block a,
.lawdiff-context-top-block a {
    display: block;
}

/* end LawDir, LawDiff */


/* Subscription */

.subscription-form-module {
    padding: 5px 10px 15px 10px;
    background-color: #f2f7f9;
    border: 1px solid #c8d8dd;
}

.second-column .subscription-form-module div.h2 {
    padding-bottom: 0;
    background-color: #f2f7f9;
}

.subscription-form-desc {
    color: #707070;
    margin-bottom: 15px;
}

.subscription-form-module .button {
    background-color: #71a7b8;
    border: 0px solid #c0c0c0;
    color: #fff;
    font-weight: bold;
}

/* end Subscription */


/* Article */

/* end Article */


/* begin Footer */

.footer {
    text-align: center;
    padding: 0.7em;
    color: #707070;
}

.footer-info {
    font-size: 11px;
    margin-bottom: 0.4em;
}

.footer-info a {
    text-decoration: underline;
    color: #707070;
}

.copyright {
    font-size: 11px;
    font-weight: 500;
}

/* end Footer */


/* Front Page */

.frontpage-region h2,
.frontpage-region .h2 {
    text-transform: uppercase;
}

.frontpage-region .region-content .h2 {
    padding-left: 0.5em;
    text-transform: none;
}

.frontpage-region.full .module.lawdir li span {
    display: inline;
}

.frontpage-region li {
    font-size: 15px;
}
/*
.frontpage-region li a {
    color: #222222;
    font-weight: 500;
}
*/

.frontpage-region.cols-2 .module {
    display: inline-block; vertical-align: top;
    width: 50%;
    padding-left: 1em;
    box-sizing: border-box;
}

.frontpage-region.cols-2 .module:nth-child(odd) {
    padding-left: 0;
}

.frontpage-region.cols-2::after {
    content: "";
    display: table;
    clear: both;
}

/* end Front Page */


/* Article-List */

.desc_container {
    padding: 0 0 1em 0;
}

.desc_container .name_in_list {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0 0 0 0;
}

.wf-active .desc_container .name_in_list {
    font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.desc_container p {
    margin: 0 0 0 0;
    color: #808080;
}

/* end Article-List */


/* Pagination */

.pagination {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.wf-active .pagination {
    font-family: "Ubuntu Condensed", Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.pagination .pagination-active {
    border-bottom: 1px dashed #c02750;
}

/* end Pagination */


/* More buttons */

#add-relsuddoc-list2 {
    width: 115px;
    font-size: 14px;
    /* font-weight: 500; */
    line-height: 1.5em;
    background-color: #EDEDED;
    border: 1px solid #999999;
    cursor: pointer;
}

#lawcomment-spoiler-button {
    width: auto;
    font-size: 14px;
    /* font-weight: 500; */
    line-height: 1.5em;
    background-color: #EDEDED;
    border: 1px solid #999999;
    cursor: pointer;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

#lawcomment-spoiler {
    display: none;
}

.lawcomment-source {
    margin-top: 1em;
    padding-left: 1.6em;
    border-left: 4px solid #e4e4e4;
    font-size: 0.8em;
    color: #888888;
}

/* end More buttons */


/* Mobile Main Menu */

.mobile-main-menu {
    display: none;
}

.mobile-main-menu .gorizontal-menu {
    text-align: center;
}

.mobile-main-menu .menu_left {
    max-width: 230px;
    margin: 0 auto 1em auto;
}

.mobile-main-menu .tree-menu .l2 {
    line-height: 2em;
}

/* end Mobile Main Menu */


/* Search */

.search-result-info {
    margin: 1.6em 0;
}

.search-item-row {
    margin-bottom: 1.6em;
}

.search-item-title {
    margin-bottom: 0.25em;
    font-size: 15px;
    line-height: 1.2em;
    font-weight: normal;
}

.search-item-desc {
    font-size: 1em;
    line-height: 1.2em;
}

.search-item-title a mark {
    color: #c02750;
}

#law_parser_form {
    height: 15em;
    margin-bottom: 0.6em;
}

.law-parser {
    margin-bottom: 1.6em;
}

/* end Search */


blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 3px solid #999999;
    color: #808080;
}


/* Right Settings Block (Font-size, scroll-to-top) */

.font-select {
    display: none;
    width: 40px;
    position: fixed;
    top: 31px;
    right: 30px;
}

.font_button {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 5px;
    color: #222222;
    background-color: #cccccc;
    border-radius: 3px;
    cursor: pointer;
}

.font-large_button {
    font-size: 26px;
}

.font-medium_button {
    font-size: 21px;
}

.font-small_button {
    font-size: 17px;
}

.font_button:hover {
    background-color: #dab1bc;
}

.font_button.active {
    text-decoration: underline;
    background-color: #dab1bc;
}


.scroll2top_button {
    display: none;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom: 31px;
    right: 30px;
    cursor: pointer;
    background: url('../images/to-top-button.png') no-repeat;
    border-radius: 3px;
}

.font-large .content-column h1.law-h1 {
    font-size: 20px;
    line-height: 30px;
}

.wf-active .font-large .content-column h1.law-h1 {
    font-size: 25px;
    line-height: 30px;
}

.font-medium .content-column h1.law-h1 {
    font-size: 18px;
    line-height: 27px;
}

.wf-active .font-medium .content-column h1.law-h1 {
    font-size: 22px;
    line-height: 27px;
}

.font-small .content-column h1.law-h1 {
    font-size: 16px;
    line-height: 23px;
}

.wf-active .font-small .content-column h1.law-h1 {
    font-size: 19px;
    line-height: 23px;
}


.font-large .content-column .content-body {
    font-size: 19px;
    line-height: 26px;
}

.font-medium .content-column .content-body {
    font-size: 17px;
    line-height: 24px;
}

.font-small .content-column .content-body {
    font-size: 15px;
    line-height: 21px;
}

.font-large .content-column .content-preview {
    font-size: 15px;
}

.font-medium .content-column .content-preview {
    font-size: 13px;
}

.font-small .content-column .content-preview {
    font-size: 13px;
}

.font-large .content-column .st-pathway {
    font-size: 17px;
}

.font-medium .content-column .st-pathway {
    font-size: 15px;
}

.font-small .content-column .st-pathway {
    font-size: 13px;
}



.font-large .content-column .st-prevnext-menu {
    font-size: 17px;
}

.font-medium .content-column .st-prevnext-menu {
    font-size: 15px;
}

.font-small .content-column .st-prevnext-menu {
    font-size: 13px;
}

.wf-active  .font-large .content-column .st-prevnext-menu {
    font-size: 20px;
}

.wf-active  .font-medium .content-column .st-prevnext-menu {
    font-size: 18px;
}

.wf-active  .font-small .content-column .st-prevnext-menu {
    font-size: 16px;
}


.font-large .content-column .law-tree {
    font-size: 17px;
}

.font-medium .content-column .law-tree {
    font-size: 15px;
}

.font-small .content-column .law-tree {
    font-size: 13px;
}

.font-large .content-column .law-list li {
    font-size: 17px;
}

.font-medium .content-column .law-list li {
    font-size: 15px;
}

.font-small .content-column .law-list li {
    font-size: 13px;
}

.font-large .frontpage-region li {
    font-size: 17px;
}

.font-medium .frontpage-region li {
    font-size: 15px;
}

.font-small .frontpage-region li {
    font-size: 13px;
}

/* end Right Settings Block */

/* tables */

.st-body table,
.rellawcomment-content table {
    width: 100%;
    border-collapse: collapse;
}

.st-body th, .st-body td,
.rellawcomment-content th, .rellawcomment-content td {
    padding: 3px;
    border: 1px solid #cccccc;
}

.st-body, .rellawcomment-content {
    overflow-x: auto;
}

/* end tables */


/* page-links tabs */

.page-links-module {
    font-size: 13px;
}

#under-content-region .page-links-module {
    display: none;
    font-size: 15px;
}

.page-links__tab {
    display: none;
}

.second-column .page-links-module div.h2 {
    margin: 0;
}

.content-column .page-links-module li {
    margin-bottom: 00;
}

.page-links ul {
    margin: 7px 0 0 0;
    padding: 2px 0 7px 0;
    list-style: none;
}

.page-links__tab {
    margin-top: 0.5em;
}

.page-links__tabs:before {
    display: inline-block;
    content: "";
    width: 18px;
    height: 18px;
    background: url("../images/social/social-all-icons.png?2") -149px -2px #207b97;
    vertical-align: middle;
}

.page-links__tab-name {
    display: inline-block;
    margin-right: 0.5em;
    padding: 1px 0;
    color: #207b97;
    border-bottom: 1px dashed #207b97;
    cursor: pointer;
    vertical-align: middle;
}

.page-links__tab-name:last-child {
    margin-right: 0;
}

.page-links__tab.active {
    display: block;
}

.page-links__tab-name.active {
    color: #c02750;
    border-bottom: 1px dashed #c02750;
}

.page-links__link-content {
    padding: 3px 4px;
    border: 1px solid #b6c9d0;
    background-color: #f9fbfc;
}

.page-links__link-help {
    padding: 2px 5px;
    font-size: 12px;
    color: #707070;
}

#under-content-region .page-links__link-help {
    padding: 4px 5px;
    font-size: 15px;
}

.page-links__copy-to-clipboard {
    border-bottom: 1px dashed #808080;
    cursor: pointer;
}

/* end page-links */


/* Social-icons */

.social-icons {
    text-align: left;
    line-height: 0;
    font-size: 0;
}

/*
.social-icons:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;

}
*/

#under-content-region .social-icons-module {
    display: none;
}

.social-icons__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    cursor: pointer;
    /* background: url("../images/social/social-all-icons.png?2") #999999; */
    background-color: #999999;
    background-image: url("../images/social/social-all-icons.png?2");
    background-position: 0 0;
    background-repeat: no-repeat;
    margin-right: 7px;
    font-size: 13px;
}

.social-icons__icon:last-child {
    margin-right: 0;
}

.social-icons__vk {
    background-position: 0 0;
}

.social-icons__twitter {
    background-position: -24px 0;
}

.social-icons__facebook {
    background-position: -48px 0;
}

.social-icons__google-plus {
    background-position: -72px 0;
}

.social-icons__linkedin {
    background-position: -96px 0;
}

.social-icons__odnoklassniki {
    background-position: -120px 0;
}

#under-content-region .social-icons {
    text-align: center;
    border: none;
}

/* end Social-icons */



/* Download links */

.download-links__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #cd6d87;
    background-image: url("../images/social/social-all-icons.png?2");
    background-position: 0 0;
    background-repeat: no-repeat;
    /* border: 1px solid #ca93a2; */
    margin-right: 7px;
    font-size: 13px;
    vertical-align: middle;
}

.download-links__pdf-icon {
    background-position: -168px 0;
}

.download-links__link {
    display: inline-block;
    height: 24px;
    vertical-align: middle;
    margin-right: 1.0em;
}

.download-links__link:last-child {
    margin-right: 0;
}

.download-links__link span {
    display: inline-block;
    color: #207b97;
    padding: 1px 0;
    vertical-align: middle;
}

.download-links__link span {
    border-bottom: 1px dashed #207b97;
}

#under-content-region .download-links-module {
    display: none;
}

/* end Download links */


/* ADAPTIVE */

@media only all and (max-width: 1440px) {
    .site-wrap {
        margin-left: 0;
    }

    .font-select, .scroll2top_button {
        right: 5px;
    }
}

@media only all and (max-width: 1340px) {
    .font-select, .scroll2top_button {
        display: none;
    }
}

@media only all and (max-width: 1150px) {
    .first-column-wrap {
        width: 25%;
        /* max-width: 230px; */
    }

    .content-column-wrap,
    .frontpage .content-column-wrap {
        width: 75%;
    }

    .second-column-wrap {
        display: none;
    }

    #under-content-region .page-links-module {
        display: block;
    }

    #under-content-region .social-icons-module {
        display: block;
    }

    #under-content-region .download-links-module {
        display: block;
    }

    .content-column {
        padding-right: 0;
    }

    .search-arrow:before {
        display: none;
    }

    .search-app-form {
        padding-right: 5em;
    }

    .search-arrow {
        right: 0;
        width: 6.5em;
    }

    body {
        padding: 0;
    }

    .site-wrap {
        margin: 0 auto;
        padding: 0 15px;
        border-radius: 0;
    }

    .frontpage-region.cols-2 .module {
        display: block;
        width: 100%;
        padding-left: 0;
    }

    .menu_top ul li:last-child {
        display: none;
    }
}

@media only all and (max-width: 960px) {
    .first-column-wrap {
        width: 30%;
        /* max-width: 230px; */
    }

    .content-column-wrap,
    .frontpage .content-column-wrap {
        width: 70%;
    }

    .panel1 .cell2,
    .actual-info {
        display: none;
    }

    .content-body {
        font-size: 15px;
        line-height: 21px;
    }

    .st-pathway {
        font-size: 1em;
    }
}

@media only all and (max-width: 719px) {
    .first-column-wrap {
        display: none;
    }

    .content-column-wrap,
    .frontpage .content-column-wrap {
        width: 100%;
    }

    .site-wrap {
        padding: 0 7px;
    }

    .content-column {
        padding: 1em 0;
    }

    .mobile-main-menu ul {
        margin-top: 0.5em;
        padding: 0.5em 0.75em;
        background-color: #f2f7f9;
        border: 1px solid #b6c9d0;
    }

    .header-wrap {
        padding: 20px 0 5px 0;
    }

    .panel1 .siteslogan,
    .actual-info {
        display: none;
    }

    .sitename {
        line-height: 22px;
        font-size: 20px;
    }

    .wf-active .sitename {
        line-height: 26px;
        font-size: 24px;
    }

    .logoimg img {
        width: 36px;
        height: 36px;
    }

    .logoimg {
        margin-top: -6px;
        height: auto;
    }

    .mobile-top-button-wrap {
        line-height: 1em;
    }

    h1 {
        font-size: 18px;
        line-height: 27px;
    }

    .wf-active h1 {
        font-size: 22px;
    }

    h1.base-h1, div.base-h1 {
        font-size: 13px;
        line-height: 20px;
    }

    .wf-active h1.base-h1, .wf-active div.base-h1 {
        font-size: 16px;
    }

    .search-arrow {
        width: 5em;
    }
}

@media only all and (max-width: 300px) {
    .header-wrap {
        padding: 10px 0 5px 0;
    }

    .logoimg {
        display: none;
    }

    .sitename {
        line-height: 22px;
        font-size: 18px;
        text-shadow: none;
    }

    .wf-active .sitename {
        font-size: 22px;
    }

    h1 {
        font-size: 15px;
        line-height: 20px;
    }

    .wf-active h1 {
        font-size: 18px;
    }

    h1.base-h1, div.base-h1 {
        font-size: 11px;
        line-height: 16px;
    }

    .wf-active h1.base-h1, .wf-active div.base-h1 {
        font-size: 13px;
    }

    .st-body, .tree-section .law-desc {
        font-size: 13px;
        line-height: 16px;
    }
}

/* end Adaptive */


#under-header-region .ads .module-body {
    max-height:125px;
    overflow: hidden;
}