.other_sublevels .sublevel_group, .main_sublevels .third_level, .main_sublevels > div > ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.scheme_block {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  font-family: "bold";
}
.scheme_block .post_block {
  color: #292929;
}
.scheme_block .name_block {
  color: #f1621e;
}
.scheme_block a.name_block {
  display: inline-block;
  vertical-align: top;
}
.scheme_block a.name_block:hover {
  color: rgba(241, 98, 30, 0.7);
}

.scheme_cell {
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  z-index: 2;
}

.scheme_head {
  width: 75%;
  display: flex;
  justify-content: center;
  padding-bottom: 25px;
}
.scheme_head .scheme_cell {
  padding-left: 35px;
  padding-right: 35px;
}
.scheme_head .scheme_cell:after {
  display: block;
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 25px;
  background: #e5e5e5;
}
.scheme_head .post_block {
  font-size: 140%;
  line-height: 19px;
  margin-bottom: 10px;
}
.scheme_head .name_block {
  font-size: 120%;
  line-height: 16px;
}

.main_sublevels {
  flex: 0 0 82.5%;
  max-width: 82.5%;
  display: flex;
  position: relative;
  padding-top: 30px;
  margin-bottom: 150px;
}
.main_sublevels:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 12.5%;
  height: 1px;
  background: #e5e5e5;
}
.main_sublevels:after {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: -15px;
  left: 37.5%;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: #e5e5e5;
}
.main_sublevels .name_block {
  margin-top: 8px;
}
.main_sublevels > div > ul > li {
  padding: 0 13px;
  position: relative;
}
.main_sublevels > div > ul > li > .scheme_cell {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 120%;
  line-height: 16px;
  margin: 0 11px 32px;
}
.main_sublevels > div > ul > li > .scheme_cell:before {
  display: block;
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  width: 1px;
  height: 30px;
  background: #e5e5e5;
}
.main_sublevels .third_level {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
}
.main_sublevels .third_level:before {
  display: block;
  content: "";
  position: absolute;
  top: -60px;
  left: -13px;
  width: 24px;
  border-style: solid;
  border-width: 1px 0 0 1px;
  border-color: #e5e5e5;
  bottom: 33px;
}
.main_sublevels .third_level > li {
  padding: 7px 0;
  position: relative;
  z-index: 1;
}
.main_sublevels .third_level > li:first-child {
  padding-top: 0;
}
.main_sublevels .third_level > li:last-child {
  padding-bottom: 0;
}
.main_sublevels .third_level > li:last-child .scheme_cell:before {
  top: auto;
  bottom: 33px;
}
.main_sublevels .third_level .scheme_cell {
  padding-left: 6px;
  padding-right: 6px;
  font-size: 110%;
  line-height: 15px;
}
.main_sublevels .third_level .scheme_cell:before {
  display: block;
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 13px;
  height: 1px;
  background: #e5e5e5;
}
.main_sublevels .additional_block {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 75px;
  width: 100%;
  padding: 0 13px;
}
.main_sublevels .additional_block .scheme_cell {
  padding-left: 6px;
  padding-right: 6px;
  font-size: 110%;
  line-height: 15px;
}
.main_sublevels .additional_block .scheme_cell:before {
  display: block;
  content: "";
  position: absolute;
  bottom: 50%;
  top: -109px;
  left: -14px;
  width: 14px;
  border-style: solid;
  border-width: 0 0 1px 1px;
  border-color: #e5e5e5;
}

.register_sublevels {
  flex: 0 0 75%;
  max-width: 75%;
  display: flex;
  flex-direction: column;
  padding-bottom: 45px;
  position: relative;
}
.register_sublevels > ul {
  width: 100%;
  display: flex;
  flex: 1;
}
.register_sublevels > ul > li {
  max-width: 33.33%;
  flex: 0 0 33.33%;
  display: flex;
  flex-direction: column;
}

.secretary_level {
  flex: 0 0 25%;
  max-width: 25%;
  padding-bottom: 45px;
  position: relative;
}

.other_sublevels {
  flex: 0 17.5%;
  max-width: 17.5%;
  font-size: 110%;
  line-height: 15px;
}
.other_sublevels .sublevel_group {
  margin-top: 90px;
}
.other_sublevels .sublevel_group:first-child {
  margin-top: -34px;
}
.other_sublevels .sublevel_group:first-child li:first-child .scheme_cell:before {
  top: 33px;
}
.other_sublevels .sublevel_group li {
  padding-left: 13px;
  margin-top: 15px;
}
.other_sublevels .sublevel_group li:first-child {
  margin: 0;
}
.other_sublevels .sublevel_group .scheme_cell {
  padding-left: 6px;
  padding-right: 6px;
}
.other_sublevels .sublevel_group .scheme_cell:before {
  top: 50%;
  left: -14px;
  width: 14px;
  display: block;
  content: "";
  position: absolute;
  height: 1px;
  background: #e5e5e5;
}
.other_sublevels .sublevel_group .post_block {
  margin-bottom: 8px;
}

.register_hint {
  padding: 0 6px;
  font-size: 120%;
  line-height: 15px;
  color: #292929;
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
}
.register_hint:before {
  display: block;
  content: "";
  height: 25px;
  margin-bottom: 5px;
  border: 1px solid #e5e5e5;
  border-top: none;
}
.register_hint:after {
  display: block;
  content: "";
  position: absolute;
  width: 1px;
  height: 10px;
  margin-top: 5px;
  top: 100%;
  left: 50%;
  background: #e5e5e5;
}

@media (max-width: 1439px) {
  .side_navbar {
    -ms-flex: 0 0 16.66%;
    flex: 0 0 16.66%;
    max-width: 16.66%;
  }

  .page_container {
    -ms-flex: 0 0 83.33%;
    flex: 0 0 83.33%;
    max-width: 83.33%;
  }

  .main_sublevels > div > ul > li > .scheme_cell {
    margin-left: 5px;
    margin-right: 5px;
  }
  .main_sublevels .third_level:before {
    width: 18px;
  }
}
@media (max-width: 1199px) {
  .scheme_cell {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main_sublevels > div > ul > li > .scheme_cell {
    height: 94px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .other_sublevels .sublevel_group {
    margin-top: 60px;
  }
}
@media (max-width: 991px) {
  .side_navbar {
    display: none;
  }

  .page_container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .main_sublevels .third_level .post_block,
.other_sublevels .post_block,
.main_sublevels .additional_block .post_block {
    font-size: 90.9%;
  }
}
@media (max-width: 767px) {
  .scheme_block {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 40px;
  }
  .scheme_block:before {
    display: block;
    content: "";
    position: absolute;
    left: 15px;
    top: 67px;
    bottom: 33px;
    width: 1px;
    background: #e5e5e5;
  }

  .scheme_cell {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
  }

  .scheme_head {
    width: 100%;
    justify-content: flex-start;
  }
  .scheme_head .scheme_cell:after {
    display: none;
  }

  .main_sublevels {
    flex: none;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-top: 0;
    margin-bottom: 0;
  }
  .main_sublevels:before, .main_sublevels:after {
    display: none;
  }
  .main_sublevels > div > ul > li {
    padding-left: 15px;
    padding-right: 15px;
  }
  .main_sublevels > div > ul > li > .scheme_cell {
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
  }
  .main_sublevels > div > ul > li > .scheme_cell:before {
    position: absolute;
    left: -15px;
    top: 50%;
    width: 15px;
    height: 1px;
  }
  .main_sublevels .third_level {
    order: 2;
    width: auto;
    align-items: flex-start;
  }
  .main_sublevels .third_level li {
    margin-left: 45px;
  }
  .main_sublevels .third_level:before {
    top: -15px;
    left: 30px;
    width: 1px;
    border: none;
    bottom: 33px;
    background: #e5e5e5;
  }
  .main_sublevels .third_level .scheme_cell {
    width: 220px;
    font-size: 120%;
  }
  .main_sublevels .third_level .scheme_cell:before {
    left: -15px;
    width: 15px;
  }
  .main_sublevels .additional_block {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 0;
    padding: 0 0 0 45px;
    order: 1;
    margin-bottom: 30px;
    width: auto;
  }
  .main_sublevels .additional_block .scheme_cell {
    width: 220px;
  }
  .main_sublevels .additional_block .scheme_cell:before {
    bottom: -15px;
    top: -15px;
    left: -15px;
    width: 1px;
    border: none;
    background: #e5e5e5;
  }
  .main_sublevels .additional_block .scheme_cell:after {
    display: block;
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    width: 15px;
    height: 1px;
    background: #e5e5e5;
  }

  .register_sublevels {
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
  }
  .register_sublevels:after {
    display: block;
    content: "";
    position: absolute;
    right: -5px;
    width: 38px;
    top: 150px;
    bottom: 20px;
    border: 1px solid #e5e5e5;
    border-left: none;
  }
  .register_sublevels > ul {
    display: block;
  }
  .register_sublevels > ul > li {
    max-width: 100%;
    flex: none;
    display: flex;
    align-items: flex-start;
    margin-top: 45px;
  }
  .register_sublevels > ul > li:first-child {
    margin: 0;
  }

  .main_sublevels .third_level .post_block,
.other_sublevels .post_block,
.main_sublevels .additional_block .post_block {
    font-size: 100%;
  }

  .register_hint {
    padding: 0 6px;
    font-size: 120%;
    line-height: 15px;
    color: #292929;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 50%;
    margin-right: -25px;
    transform: rotate(-90deg) translate3d(50%, 0, 0);
    -moz-transform: rotate(-90deg) translate3d(50%, 0, 0);
    -ms-transform: rotate(-90deg) translate3d(50%, 0, 0);
    -webkit-transform: rotate(-90deg) translate3d(50%, 0, 0);
    -o-transform: rotate(-90deg) translate3d(50%, 0, 0);
    transform-origin: right bottom;
    -webkit-transfrom-origin: right bottom;
  }
  .register_hint:before, .register_hint:after {
    display: none;
  }

  .secretary_level {
    flex: none;
    max-width: 100%;
    padding-bottom: 0;
  }
  .secretary_level > ul > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .other_sublevels {
    flex: none;
    max-width: 100%;
    font-size: 120%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
  }
  .other_sublevels .sublevel_group {
    margin-top: 45px !important;
  }
  .other_sublevels .sublevel_group:last-child li:last-child .scheme_cell:before {
    top: auto;
    bottom: 33px;
  }
  .other_sublevels .sublevel_group:first-child li:first-child .scheme_cell:before {
    top: 50%;
  }
  .other_sublevels .scheme_cell {
    width: 220px;
  }
}
@media (max-width:359px) {
  .scheme_block {
    margin-right: -20px;
  }
  .scheme_block:before {
    left: 8px;
  }

  .main_sublevels > div > ul > li {
    padding-left: 8px;
    padding-right: 8px;
  }
  .main_sublevels > div > ul > li > .scheme_cell {
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 8px;
    margin-right: 8px;
  }
  .main_sublevels > div > ul > li > .scheme_cell:before {
    left: -8px;
    width: 8px;
  }
  .main_sublevels .additional_block {
    padding-left: 24px;
  }
  .main_sublevels .additional_block .scheme_cell:before {
    left: -8px;
  }
  .main_sublevels .additional_block .scheme_cell:after {
    left: -8px;
    width: 8px;
  }
  .main_sublevels .third_level:before {
    left: 16px;
  }
  .main_sublevels .third_level li {
    margin-left: 24px;
  }
  .main_sublevels .third_level .scheme_cell:before {
    left: -8px;
    width: 8px;
  }

  .other_sublevels {
    padding-left: 8px;
  }
  .other_sublevels .sublevel_group li {
    padding-left: 8px;
  }
  .other_sublevels .sublevel_group .scheme_cell:before {
    left: -8px;
    width: 8px;
  }
}
.scheme_block a.name_block {
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

/*# sourceMappingURL=scheme.css.map */
