html, body {
  height: 100%;
}

body {
  background-color: #f2f2f2;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}

.url {
  text-decoration: underline;
  color: #307ac5;
}

.wrapper {
  max-width: 1400px;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.wrapper_window {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wrapper_window_content {
  min-width: 300px;
  max-width: 500px;
  background-color: #fff;
  padding: 20px;
  margin: 10px;
}

.header,
.content {
  padding: 15px;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: #404040;
  color: #b3b3b3;
}

.header_menu_list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.header_menu_list li {
  display: inline-block;
}
.header_menu_list li:not(:last-child) {
  margin-right: 10px;
}

.header a:hover {
  color: #fff;
}

.content {
  color: #333;
}

.content_nav {
  list-style-type: none;
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
  font-size: 13px;
  color: #b3b3b3;
}
.content_nav li {
  display: inline-block;
}
/*.content_nav li:not(:last-child) {
  margin-right: 10px;
}*/
.content_nav li:not(:last-child):after {
  content: '>';
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  width: 13px;
  height: 15px;
  font-weight: 700;
}

.text_header {
  margin-bottom: 1em;
  color: #494949;
  font-size: 1.5em;
  font-weight: 600;
}
.text_header .btn {
  float: right;
}
.text_header .btn:not(:first-child) {
  margin-right: 10px;
}
.btn {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 400;
  background-color: #2c86d1;
  color: #fff;
  border-radius: 3px;
  padding: 7px 10px;
  border: none;
}
.btn:hover {
  background-color: #2779bc;
}
.btn--warning {
  color: #fff;
    background-color: #df4b30;
    border-color: #df4b30;
}
.btn--warning:hover {
  background-color: #bd3f29;
    border-color: #ae3a26;
}

.block {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.tbl {
  width: 100%;
  border: none;
  border-collapse: collapse;
  margin: 10px 0;
  padding: 0;
  margin-bottom: 1em;
}

.tbl .tbl_head {
  background-color: #e6e6e6;
  color: #737373;
  font-size: 0.9em;
}
.tbl td {
  padding: 7px 4px;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.tbl_icons {
  text-align: right;
}

.tbl_desc tr td {
  vertical-align: top;
  border: 1px solid #d9d9d9;
}
.tbl_desc tr td:first-child {
  font-weight: 600;
  width: 150px;
}
.tbl_desc_content {
  background-color: #f2f2f2;
}

.tbl_subrow td {
  background-color: #f2f2f2;
  padding: 6px 4px;
  font-size: 0.9em;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #e6e6e6;
  border: 1px solid #d9d9d9;
}
.icon_delete {
  background-color: #df4b30;
    border-color: #df4b30;
}
.tbl_icons--small .icon {
  width: 25px;
  height: 25px;
  padding: 3px;
}

.link {
  display: inline-block;
  vertical-align: middle;
  margin-top: 3px;
  color: #737373;
  border-bottom: 1px dashed #737373;
  cursor: pointer;
}

.form {
  /*max-width: 500px;*/
}
.form-item {
  margin: 10px 0;
}
.form--inline {
  display: inline;
}
.form_label {
  width: 100%;
  margin: 10px 0;
}
.form_labels {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}
.form_labels .form_label:not(:last-child) {
  margin-right: 15px;
}

.form_title {
  font-weight: 600;
}

.form_field {
  display: block;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #a6a6a6;
  border-radius: 3px;
}

.form_field:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.form_text {
  min-height: 50px;
  resize: vertical;
}
.form_short {
  width: 150px;
}
.form_radio {
  margin-top: 7px;
}
.form_radio label {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 0;
}

.form-field-input {
  width: 100%;
}


.message {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #e1f1e1;
  border-left: 2px solid #a7d5a7;
  color: #2f732f;
}
.message_error {
  border-left: 2px solid rgba(231, 75, 75, 0.925);
  background-color: #fcecec;
  color: initial;
}
.message_error b {
  font-weight: 600;
  color: #ca2525;
}

.pager {}
.pager_item {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 0.9em;
  text-align: center;
  background-color: #f2f2f2;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
}
.pager_item.active {
  background-color: #fff;
}

.help {
  margin-top: 20px;
  padding: 10px;
  font-size: 0.9em;
  opacity: 0.8;
  border: 1px solid #d9d9d9;
  background-color: #f2f2f2;
}

.icon_logo {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
}

.counter {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  background-color: #df4b30;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  font-size: 0.8em;
  font-weight: 600;
  margin-top: -8px;
  margin-left: -3px;
}

.status {
  display: inline-block;
  vertical-align: middle;
  padding: 3px;
  border-radius: 2px;
}
.status--new {
  color: #fff;
  background-color: #df4b30;
}

.js-add-level {
  margin-bottom: 15px;
  border-bottom: 1px solid #404040;
}
.js-add-level .add-block-delete {
  display: none;
}
.add-block .add-block-delete {
  display: block;
}

.form_label--block {
  box-sizing: border-box;
  padding: 10px;
  background-color: #f2f2f2;
  border-radius: 3px;
  border-bottom: none;
  position: relative;
}
.form_label--block .form_title {
  margin-bottom: 10px;
}
.form_label_inner {
  display: flex;
  align-items: center;
}
.form_label_inner span {
  margin-right: 5px;
}
.form_label_inner .form_field {
  width: 70px;
}
.form_label--block.add-block .add-block-delete {
  position: absolute;
  right: 10px;
  top: 5px;
  display: inline-block;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}