/*

Darcula color scheme from the JetBrains family of IDEs

*/
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #2b2b2b;
}

.hljs {
  color: #bababa;
}

.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2;
}

.hljs-bullet,
.hljs-quote,
.hljs-link,
.hljs-number,
.hljs-regexp,
.hljs-literal {
  color: #6896ba;
}

.hljs-code,
.hljs-selector-class {
  color: #a6e22e;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-attribute,
.hljs-name,
.hljs-variable {
  color: #cb7832;
}

.hljs-params {
  color: #b9b9b9;
}

.hljs-string {
  color: #6a8759;
}

.hljs-subst,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-symbol,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
  color: #e0c46c;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
  color: #7f7f7f;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-UltraLight.eot");
  src: local("HelveticaNeueCyr-UltraLight"), url("../fonts/HelveticaNeueCyr-UltraLight.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-UltraLight.woff") format("woff"), url("../fonts/HelveticaNeueCyr-UltraLight.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-UltraLightItalic.eot");
  src: local("HelveticaNeueCyr-UltraLightItalic"), url("../fonts/HelveticaNeueCyr-UltraLightItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-UltraLightItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-UltraLightItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Thin.eot");
  src: local("HelveticaNeueCyr-Thin"), url("../fonts/HelveticaNeueCyr-Thin.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Thin.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Thin.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-ThinItalic.eot");
  src: local("HelveticaNeueCyr-ThinItalic"), url("../fonts/HelveticaNeueCyr-ThinItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-ThinItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-ThinItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Light.eot");
  src: local("HelveticaNeueCyr-Light"), url("../fonts/HelveticaNeueCyr-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Light.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-LightItalic.eot");
  src: local("HelveticaNeueCyr-LightItalic"), url("../fonts/HelveticaNeueCyr-LightItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-LightItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Roman.eot");
  src: local("HelveticaNeueCyr-Roman"), url("../fonts/HelveticaNeueCyr-Roman.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Roman.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Italic.eot");
  src: local("HelveticaNeueCyr-Italic"), url("../fonts/HelveticaNeueCyr-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Italic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Medium.eot");
  src: local("HelveticaNeueCyr-Medium"), url("../fonts/HelveticaNeueCyr-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Medium.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-MediumItalic.eot");
  src: local("HelveticaNeueCyr-MediumItalic"), url("../fonts/HelveticaNeueCyr-MediumItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-MediumItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Bold.eot");
  src: local("HelveticaNeueCyr-Bold"), url("../fonts/HelveticaNeueCyr-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Bold.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-BoldItalic.eot");
  src: local("HelveticaNeueCyr-BoldItalic"), url("../fonts/HelveticaNeueCyr-BoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-BoldItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-BoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Heavy.eot");
  src: local("HelveticaNeueCyr-Heavy"), url("../fonts/HelveticaNeueCyr-Heavy.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Heavy.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Heavy.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-HeavyItalic.eot");
  src: local("HelveticaNeueCyr-HeavyItalic"), url("../fonts/HelveticaNeueCyr-HeavyItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-HeavyItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-HeavyItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-Black.eot");
  src: local("HelveticaNeueCyr-Black"), url("../fonts/HelveticaNeueCyr-Black.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Black.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Black.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueCyr';
  src: url("../fonts/HelveticaNeueCyr-BlackItalic.eot");
  src: local("HelveticaNeueCyr-BlackItalic"), url("../fonts/HelveticaNeueCyr-BlackItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-BlackItalic.woff") format("woff"), url("../fonts/HelveticaNeueCyr-BlackItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}

*, ::after, ::before {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

.markup-example {
  padding: 20px 0;
}

.markup-example:not(:first-child) {
  border-top: 1px solid;
}

.markup-example > div:not(:first-child) {
  margin-top: 20px;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: .9375rem;
  padding-right: .9375rem;
}


h1, .h1, h2, .h2, h3, .h3, p {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

h1, .h1 {
  font-size: 18px !important;
  font-weight: 400;
  color: #222222;
}

h2, .h2 {
  font-size: 15px !important;
  font-weight: 400;
  color: #cc420c;
}

h3, .h3 {
  font-size: 15px !important;
  font-weight: 600;
  color: #222222;
}

p {
  font-size: 13px;
}

.caption, caption {
  font-style: italic;
}

caption {
  padding: 10px 0;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.error {
  color: #ff0000;
}

.caption, caption {
  color: #777777;
}

.ui-input {
  min-width: 250px;
  height: 21px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
  border: solid 1px #bfbfbf;
  padding: 0 5px;
}

.ui-select {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
}

.ui-select.selectivity-input {
  width: auto;
  cursor: pointer;
}

.ui-select + .selectivity-dropdown {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
  max-width: 250px;
  box-shadow: 0 1px 3px 0 #c8c8c8;
  border: solid 1px #999999;
  border-radius: 0;
}

.ui-select + .selectivity-dropdown .selectivity-result-item {
  padding: 2px 5px;
  border-radius: 0;
}

.ui-select .selectivity-single-select {
  position: relative;
  min-width: 250px;
  min-height: 21px;
  border: solid 1px #bfbfbf;
  border-radius: 0;
  background-color: transparent;
  background-image: url(../img/arrow_top.png);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 100% center;
  padding: 0 3px;
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.ui-select .selectivity-single-select .selectivity-single-result-container {
  top: 2px;
}

.ui-select .selectivity-single-select-input {
  height: 19px;
  padding: 0;
  border: 0;
}

.ui-select-custom {
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.ui-select-custom.selectivity-input {
  width: 142px;
  cursor: pointer;
}

.ui-select-custom + .selectivity-dropdown {
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  max-width: 142px;
  box-shadow: 0 1px 3px 0 #c8c8c8;
  border: solid 1px #999999;
  border-radius: 0;
}

.ui-select-custom + .selectivity-dropdown .selectivity-result-item {
  padding: 2px 15px;
  border-radius: 0;
}

.ui-select-custom .selectivity-single-select {
  position: relative;
  min-width: 142px;
  height: 30px;
  border-radius: 3px;
  border: solid 1px #cccccc;
  padding: 5px 0;
  background-image: url(../img/arrow_top.png), linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: no-repeat;
  background-size: 20px, auto;
  background-position: 95% center;
  line-height: 1;
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.ui-select-custom .selectivity-single-select .selectivity-single-result-container {
  top: 8px;
  left: 10px;
  right: 20px;
}

.option {
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  display: block;
  margin-bottom: 10px;
}

.check {
  position: relative;
  padding-left: 20px;
}

.check__input {
  position: absolute;
  left: -999px;
  opacity: 0;
}

.check__box {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  overflow: hidden;
  border-radius: 2px;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  box-shadow: 0 0 0 0.1em #b2b2b2;
}

.check__input:checked + .check__box {
  background-color: #3b99fc;
  box-shadow: 0 0 0 0.1em #2c90fc;
  background-image: url(../img/check.svg);
  background-size: 7px;
  background-position: center;
}

.check__input:focus + .check__box {
  box-shadow: 0 0 0 0.1em #2c90fc,
 0 0 0 0.2em #7ED321;
}

.check__input:disabled + .check__box {
  box-shadow: 0 0 0 0.1em #d8d8d8;
}

.check__input:checked:disabled + .check__box {
  background-color: #d8d8d8;
}

.radio {
  position: relative;
  padding-left: 20px;
}

.radio__input {
  position: absolute;
  left: -999px;
  opacity: 0;
}

.radio__box {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  overflow: hidden;
  border-radius: 50%;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  box-shadow: 0 0 0 0.1em #b2b2b2;
}

.radio__input:checked + .radio__box {
  background-color: #3b99fc;
  background-image: url(../img/radio.svg);
  background-size: 4px;
  background-position: center;
  box-shadow: 0 0 0 0.1em #2c90fc;
}

.radio__input:focus + .radio__box {
  box-shadow: 0 0 0 0.1em #2c90fc,
 0 0 0 0.2em #7ED321;
}

.radio__input:disabled + .radio__box {
  box-shadow: 0 0 0 0.1em #d8d8d8;
}

.radio__input:checked:disabled + .radio__box {
  background-color: #d8d8d8;
}

.button {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
  cursor: pointer;
  color: #222222;
  padding: 7px 11px;
  border-radius: 3px;
  border: 1px solid #cccccc;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  line-height: 1;
}

.button:hover {
  opacity: .8;
}

.button:focus {
  outline: 0;
  background-image: linear-gradient(to bottom, #e6e6e6, #ffffff);
}

.button--success {
  color: #ffffff;
  border: 1px solid #a1b900;
  background-image: linear-gradient(to bottom, #cee356, #a1b900);
}

.button--success:focus {
  background-image: linear-gradient(to bottom, #a1b900, #cee356);
}

.buttons .button:not(:first-child) {
  margin-left: 24px;
}


.button_link {
  background: none!important;
  border: none;
  padding: 0!important;
  font-size: 14px !important;
  /*optional
  font-family: arial, sans-serif;*/
  /*input has OS specific font-family*/
  color: #186999;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5px;
}


.tabs {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
  line-height: 1;
}

.tabs__buttons {
  display: flex;
  cursor: pointer;
  padding: 0;
  margin: 0 0 20px;
}

.tabs__button {
  list-style-type: none;
  padding: 7px 10px 7px 11px;
  font-size: 13px;
  color: #222222;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
}

.tabs__button:first-child {
  border-left: 1px solid #cccccc;
  border-radius: 3px 0 0 3px;
}

.tabs__button:last-child {
  border-radius: 0 3px 3px 0;
}

.tabs__button:hover {
  opacity: .8;
}

.tabs__button.b-active {
  box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.72);
  background-image: linear-gradient(to bottom, #e6e6e6, #d6d6d6);
}

.tabs__item {
  display: none;
}

.tabs__item.b-active {
  display: block;
}

.tabs-border {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 13px;
  line-height: 1;
}

.tabs-border__buttons {
  display: flex;
  padding: 0;
  margin: 0 0 20px;
}

.tabs-border__button {
  cursor: pointer;
  list-style-type: none;
  padding: 5px 10px;
  font-size: 13px;
  color: #1e6a97;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid #186999;
  border-left: 1px solid transparent;
  margin-right: -1px;
}

.tabs-border__button.b-active {
  border-top: 1px solid #186999;
  border-right: 1px solid #186999;
  border-bottom: 1px solid transparent;
  border-left: 1px solid #186999;
  font-weight: 700;
  color: #222222;
}

.tabs-border__button:hover {
  opacity: .8;
}

.tabs-border__item {
  display: none;
}

.tabs-border__item.b-active {
  display: block;
}

.popup {
  position: relative;
  z-index: 999;
}

.popup.b-hide {
  display: none;
}

.popup .buttons button:not(:first-child),
.popup .buttons .button:not(:first-child) {
  margin-left: 7px;
}

.popup__overlay, .popup__body {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup__overlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.521);
}

.popup__body {
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  background-color: #ffffff;
  border: none;
  margin: 0;
  padding: 15px 40px 15px 15px;
  border-radius: 5px;
  box-shadow: 0 0 35px 0 #333333;
  width: 100%;
  max-width: 493px;
  min-height: 166px;
  display: flex;
  flex-direction: column;
}

.popup__body h1, .popup__body .h1 {
  font-weight: 600;
}

.popup__close {
  border: none;
  background-color: transparent;
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 50%;
}

.popup__close, .popup__close:focus {
  background-image: url(../img/close.svg);
}

.popup__title {
  font-size: 20px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 4px;
}

.popup__content {
  line-height: 1.5;
  margin-bottom: auto;
}

.ui-table {
  font-family: Tahoma;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background-color: transparent;
}

.ui-table th,
.ui-table td {
  padding: 10px;
  line-height: 1.5;
}

.ui-table thead th {
  font-size: 13px;
  text-align: left;
  color: #186999;
  font-weight: 400;
  border-top: none;
  border-bottom: 2px solid #186999;
}

.ui-table tbody td {
  font-size: 12px;
  color: #222222;
}

.ui-table tbody td a,
.ui-table tbody td span {
  color: #186999;
  text-decoration: none;
  border-bottom: 1px solid #186999;
}

.ui-table tbody td a:hover {
  opacity: 0.8;
}

.ui-table tbody tr:not(:first-child) td {
  border-top: 1px solid #dddddd;
  border-bottom: none;
}

.ui-table tfoot td {
  font-size: 13px;
  color: #222222;
  font-weight: 700;
  border-top: 1px solid #186999;
  border-bottom: none;
}

.ui-table__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 180px;
  font-weight: 400;
}

.ui-table__buttons {
  font-size: 0;
}

.ui-table__buttons a:not(:first-child) {
  margin-left: 4px;
}

.ui-table__link {
  display: inline-block;
}

.ui-table__button {
  font-family: Tahoma;
  width: 13px;
  height: 13px;
  border-radius: 2px;
  color: #02679d;
  border: solid 1px #02679d;
  background-color: transparent;
  font-size: 8px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.ui-table__button:hover {
  opacity: .8;
}

.ui-table__button[disabled] {
  color: #cccccc;
  border-color: #cccccc;
}

.ui-table__button[disabled]:hover {
  opacity: 1;
}

@media (min-width: 544px) {
  .container {
    max-width: 576px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 940px;
  }
  .container {
    max-width: 940px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1100px;
  }
}
