body {
  margin: 0;
  padding: 0;
  background: #e8ebed;
  font-family: Arial, Sans-Serif;
  font-size: 14px;
  color: black;
}
body.popup-shown {
  overflow: hidden;
}
form {
  margin: 0;
  padding: 0;
}
#id2Container {
  position: absolute;
  right: 25px;
  top: 27px;
  /*visibility: hidden;

  &.shown {
    visibility: visible;
  }*/
}
a {
  color: #2d78da;
}
.icon {
  display: inline-block;
  vertical-align: middle;
}
.icon-print {
  background: url(i/print.svg);
  width: 15px;
  height: 15px;
}
.page,
.body {
  max-width: 1042px;
  margin: 0 auto;
  min-height: 100vh;
  background: white;
  overflow: hidden;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.05);
}
.body {
  position: relative;
}
.body .unauth-message #id2Container {
  position: static;
  margin-top: 30px;
  display: inline-block;
}
.centered-message {
  margin: 100px 0;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.auth-message span {
  position: relative;
}
.auth-message span:before {
  content: '';
  position: absolute;
  left: -45px;
  top: -5px;
  width: 32px;
  height: 32px;
  background: url(i/ajax-loader-grey.gif);
}
h1 {
  font-size: 28px;
  margin: 15px 0;
}
h2 {
  font-size: 18px;
  margin: 20px 0 15px 0;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 15px;
}
.header {
  color: #3D3D3D;
  background-color: white;
  height: 83px;
  position: relative;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
}
.header .logo {
  position: absolute;
  width: 171px;
  height: 47px;
  top: 18px;
  left: 25px;
  background-image: url(i/logo.svg);
  background-repeat: no-repeat;
  border: 0;
}
.header .logo-img {
  position: absolute;
  width: 171px;
  height: 47px;
  top: 18px;
  left: 25px;
}
.header .sitename {
  position: absolute;
  left: 15px;
  top: 30px;
  font-size: 20px;
  font-weight: bold;
}
.header .sitename a {
  color: black;
  text-decoration: none;
}
.header .sitename a:hover {
  text-decoration: underline;
}
main {
  padding: 10px 15px;
}
.tree {
  margin: 15px 0 20px 0;
  padding: 0;
  list-style: none;
}
.tree li {
  position: relative;
  padding: 2px 0 0 20px;
  margin-bottom: 8px;
  /*.ctrl-empty {
      width: 8px;
      height: 8px;
      left: 1px;
      top: 5px;
    }*/
}
.tree li .ctrl,
.tree li .ctrl-empty {
  position: absolute;
  left: 0;
  top: 3px;
  height: 12px;
  width: 12px;
  cursor: pointer;
  border: 1px #ccc solid;
  border-radius: 2px;
  background: #f9f9f9;
}
.tree li .ctrl {
  background: #e9e9e9;
}
.tree li .ctrl:after {
  content: '+';
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  top: -1px;
  font-family: courier, monospace;
}
.tree li.expanded > ul {
  display: block;
}
.tree li.expanded > .ctrl:after {
  content: '-';
}
.tree ul {
  display: none;
  list-style: none;
  margin: 6px 0 8px 15px;
  padding: 0;
}
.breadcrumb {
  line-height: 25px;
  margin-bottom: 20px;
}
.job {
  margin-bottom: 20px;
  padding-left: 15px;
}
.job .job-info-block:not(:last-child) {
  margin-bottom: 20px;
}
.job .job-title {
  font-size: 16px;
  position: relative;
}
.job .job-title:before {
  content: '';
  position: absolute;
  left: -12px;
  top: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 5px;
  border-color: transparent transparent transparent #5f7b85;
  transition: transform .3s;
}
.job .job-title.expanded:before {
  transform: rotate(90deg);
}
.job .job-title:not(.expanded) span.t:hover:after {
  content: ' - >';
  border-bottom: 1px #147900 dashed;
  cursor: pointer;
  margin-left: 5px;
  font-style: italic;
  font-size: 13px;
}
.job .job-title .t {
  cursor: pointer;
  display: inline-block;
}
.job h4 {
  margin: 7px 0 5px 0;
}
.job .job-info {
  display: none;
  margin-left: 10px;
  padding: 10px 0;
}
.job .job-content .t {
  font-weight: bold;
  margin-bottom: 8px;
}
.job .job-content > div {
  margin-bottom: 5px;
  box-sizing: border-box;
}
.job .job-content .c-c {
  font-style: italic;
  margin: 15px 0 10px 0;
  font-size: 15px;
}
.job .job-content .c-r {
  border-bottom: 1px #ccc solid;
  padding-top: 2px;
  padding-bottom: 5px;
}
.job .job-content .c-r .c-t {
  display: inline-block;
  width: 69%;
  vertical-align: top;
  margin-right: 1.6%;
}
.job .job-content .c-r .c-v {
  display: inline-block;
  width: 29%;
  vertical-align: top;
}
.job .job-content .c-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px #ccc solid;
}
.job .job-content .c-table td {
  padding: 5px;
  border: 1px #ccc solid;
  vertical-align: top;
}
.job .job-content .c-table .td-v {
  width: 20px;
}
.job .job-content .c-table .td-c {
  font-style: italic;
  padding-top: 8px;
  padding-bottom: 6px;
}
.job .job-content .c-table .or {
  display: block;
  margin: 5px 0 0 20px;
  font-style: italic;
}
.note-block {
  margin-top: 23px;
}
.note-block p {
  margin: 15px 0;
}
.note-block table {
  width: 100%;
  border-collapse: collapse;
}
.note-block table td {
  border-bottom: 1px #ccc solid;
  padding-top: 5px;
  padding-bottom: 5px;
  width: auto !important;
  vertical-align: top;
}
.note-block table td p {
  margin: 0 0 10px 0;
}
.note-block table td p:last-child {
  margin-bottom: 0;
}
.note-block table.common {
  width: 100%;
}
.note-block table.common td:first-child {
  width: auto !important;
}
.dynamic {
  border-bottom: 1px #147900 dashed;
  cursor: pointer;
}
.norm-docs-list .doc:not(:last-child) {
  margin-bottom: 15px;
}
.norm-docs-list .doc-note {
  margin-top: 4px;
  font-size: 13px;
}
.norm-doc-reason .norm-doc-reason-exp {
  margin-top: 3px;
  font-style: italic;
  font-size: 13px;
}
.collapsing-block .collapsing-heading {
  display: inline-block;
  cursor: pointer;
  border-bottom: 1px dashed;
}
.collapsing-block .collapsing-body {
  display: none;
  overflow: hidden;
}
.section-note {
  margin-bottom: 20px;
}
.section-note h2 {
  margin-bottom: 0;
}
.popup {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility 0s linear  0s ;
}
body.popup-shown .popup {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s, visibility 0s linear .5s;
}
.popup .popup-inner {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80%;
  height: 60%;
  background: white;
  border-radius: 5px;
  overflow: hidden;
}
.popup .close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
.popup .popup-title {
  padding: 20px;
  height: 60px;
  background: white;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 30px;
}
.popup .popup-content {
  overflow: auto;
  height: calc(100% - 80px);
  border-top: 1px #ccc solid;
  padding: 0 20px;
}
.popup .popup-content:empty {
  border-top-color: transparent;
  background: url(i/ajax-loader-grey.gif) center no-repeat;
}
.popup .popup-content p {
  margin: 15px 0;
}
.popup .popup-content ol {
  margin: 0 0 0 20px;
  padding: 0;
}
.popup .popup-content ol li {
  margin: 15px 0;
}
.popup .popup-content table {
  /*width: 100%;*/
  border-collapse: collapse;
}
.popup .popup-content table td {
  border-bottom: 1px #ccc solid;
  padding: 5px;
  padding-left: 0;
  width: auto !important;
  vertical-align: top;
  /*&:first-child {
          width: 70% !important;
        }*/
}
.popup .popup-content table td p {
  margin: 0 0 10px 0;
}
.popup .popup-content table td p:last-child {
  margin-bottom: 0;
}
.popup .popup-content table.common {
  width: 100%;
}
.popup .popup-content table.common td:first-child {
  width: auto !important;
}
input[type=text] {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  color: #333;
  border: 1px solid #d9d9d9;
}
.search {
  margin: 25px 0;
}
.search .search-field {
  position: relative;
  margin-bottom: 3px;
}
.search input[type=text] {
  width: 100%;
  height: 38px;
  padding: 0 76px 0 13px;
  font-size: 16px;
  line-height: 38px;
  border-radius: 3px;
  border-color: #09412f;
  box-shadow: 0 1px 0 0 rgba(199, 199, 199, 0.5);
  box-sizing: border-box;
}
.search input[type=submit] {
  border: 0 none;
  border-left: solid 1px #d6d6eb;
  fill: #09412f;
  position: absolute;
  right: 1px;
  height: 36px;
  width: 38px;
  top: 1px;
  background: white url(i/search.svg) no-repeat center;
  background-size: 20px 20px;
  cursor: pointer;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
.search input[type=checkbox] {
  margin: 1px 3px 1px 0;
  vertical-align: middle;
}
.highlight {
  background: #fff0b0;
}
.search-results .search-job-sections-path {
  margin-bottom: 4px;
  font-size: 13px;
  color: darkgreen;
}
.search-results .search-job-sections-path span:not(:last-child):after {
  content: " / ";
}
div.paging {
  padding: 15px 0;
  overflow: hidden;
}
div.paging .status {
  float: right;
}
div.paging .paging-pages {
  margin-left: -3px;
}
div.paging .paging-pages a {
  display: inline-block;
  margin-right: 4px;
  padding: 0 3px;
  text-decoration: none;
}
div.paging .paging-pages a:hover {
  text-decoration: underline;
}
div.paging .paging-pages a.current,
div.paging .paging-pages a.disabled {
  border-bottom: 0 none;
  pointer-events: none;
  text-decoration: none;
}
div.paging .paging-pages a.current {
  font-weight: bold;
  color: black;
}
div.paging .paging-pages a.disabled {
  color: #c9c9c9;
}
.search-results-with-paging {
  padding: 15px 0;
  border: 1px #c9c9c9 solid;
  border-width: 1px 0;
}
.search-field-comment {
  margin: 6px 3px;
  color: #333;
  text-align: right;
}
.iconed-link {
  color: black;
  text-decoration: none;
  border: 1px #2d78da solid;
  display: inline-block;
  padding: 6px 9px;
  border-radius: 4px;
  background: #D8E6F8;
}
.iconed-link:hover {
  background: #DAD8F8;
}
.iconed-link .icon {
  margin-right: 8px;
}
.print-page {
  background: white;
}
.print-page a {
  color: black !important;
  text-decoration: none !important;
}
.print-page .header .logo-img {
  left: 10px;
}
.print-page .header .sitename {
  left: 250px;
}
.print-page .job {
  padding-left: 0;
}
.print-page .job .job-info-block:not(:last-child) {
  margin-bottom: 40px;
}
.print-page .doc-note table td:first-child {
  width: auto !important;
}
.print-page .norm-doc-info div {
  margin: 3px 0px;
}
table.bordered {
  border: 1px #666 solid !important;
  border-collapse: collapse;
}
table.bordered td {
  border: 1px #666 solid !important;
  padding: 5px !important;
}
