.settings {
  counter-reset: section;
}

.settings__links-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border: 1px solid #dee2e6;
  border-bottom-width: 2px;
  border-radius: .25rem;
  overflow: hidden;
}

.settings__links-group:not(:last-of-type) {
  margin-bottom: 1rem;
}

.settings__link {
  position: relative;
  display: flex;
  padding: .75rem 1.25rem;
  background-color: #fff;
  color: #495057;
  transition: all 0.1s linear;
}

.settings__link .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #fff;*/
  background-color: #fff;
}

.settings__link:not(.settings__link_active):hover {
  text-decoration: none;
  background-color: #e9ecef;
  color: #495057;
}

.settings__link:not(.settings__link_active):hover .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #e9ecef;*/
  background-color: #e9ecef;
}

.settings__link:not(.settings__link_active):active {
  background-color: #d6dde4;
}

.settings__link:not(.settings__link_active):active .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #d6dde4;*/
  background-color: #d6dde4;
}

.settings__link:not(:last-of-type) {
  border-bottom: 1px solid #dee2e6;
}

.settings__link_active {
  background-color: #0687B1;
  border-color: #0687B1;
  color: #fff;
}

.settings__link_active .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #0687B1;*/
  background-color: #0687B1;
}

.settings__link_active:hover {
  text-decoration: none;
  color: #fff;
  background-color: #057397;
}

.settings__link_active:hover .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #057397;*/
  background-color: #057397;
}

.settings__link_active:active {
  background-color: #045E7C;
}

.settings__link_active:active .settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px #045E7C;*/
  background-color: #045E7C;
}

.settings__link-text {
  flex-grow: 1;
  position: relative;
  display: block;
}

.settings__loading-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  display: block;
  padding-left: 3px;
  transition: background-color 0.1s linear;
}

.settings__loading-spinner_shadow {
  /*box-shadow: inset -30px 0px 5px -5px transparent;*/
}

.settings__fab {
  display: none;
  background-color: #045772;
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 1000;
  border-radius: 50%;
  bottom: 44px;
  right: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.settings__fab span {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #FFF;
  display: block;
  border-radius: 1em;
  left: 26px;
  top: 12px;
  transition: all .125s ease, transform 0s ease .125s, top .125s ease .125s, left .125s ease 0s, width .125s ease 0s;
}

.settings__fab span:nth-child(2) {
  top: 26px;
}

.settings__fab span:nth-child(3) {
  top: 40px;
}

.settings__fab_active span:nth-child(1), .settings__fab_active span:nth-child(3) {
  top: 26px;
  transition: all .125s ease, width .125s ease .125s, left .125s ease .125s, transform 0s ease .125s;
}

.settings__fab_active span:nth-child(1) {
  width: 40px;
  left: 10px;
  transform: rotate(45deg);
}

.settings__fab_active span:nth-child(3) {
  width: 40px;
  left: 10px;
  transform: rotate(135deg);
}

@media (max-width: 767px) {
  .settings__links {
    display: none;
    background-color: #fff;
    z-index: 999;
    overflow-y: auto;
    position: fixed;
    right: 0;
    bottom: -50px;
    opacity: 0;
    width: 100vw;
    height: calc(100% - 44px);
    transition: bottom 0.25s ease, opacity 0.25s ease;
  }
}

@media (max-width: 767px) {
  .settings__links_open {
    bottom: 0;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .settings__links_visible {
    display: block;
  }
}

@media (max-width: 767px) {
  .settings__links-group {
    border-radius: 0;
    border-left-width: 0;
    border-right-width: 0;
  }
}

@media (max-width: 767px) {
  .settings__fab {
    display: block;
  }
}

.settings__link-counter {
  font-style: normal;
  font-weight: 600;
}

.settings__link-counter::before {
  width: 23px;
  padding: 0 10px 0 0;
  color: #495057;
  counter-increment: section;
  content: counter(section)".";
}

.settings__link_active .settings__link-counter::before {
  color: white;
}

.settings__title {
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding: 1rem;
  margin-bottom: 2px;
  font-weight: 100;
}

.placeholder__header {
  height: 1.5rem;
}

.placeholder__text {
  height: 14px;
  background-color: #EDEDED;
  border-radius: 9px;
  margin-top: 10px;
}

.placeholder__text_short {
  width: 50%;
}

.placeholder__text_medium {
  width: 60%;
}

.placeholder__text_long {
  width: 70%;
}

.placeholder__form {
  height: 60px;
  background-color: #EDEDED;
  border-radius: 9px;
  margin-top: 10px;
  width: 60%;
  max-width: 600px;
  margin: 10px auto;
}

.border-block {
  background-color: #fff;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  border-bottom-width: 2px;
}

.border-block__header {
  background-color: #E9F0F5;
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  font-weight: 100;
  text-align: right;
}

.border-block__body {
  padding: 1rem;
}

.border-block__footer {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #dee2e6;
}

.deps {
  margin-left: 0;
}

.dep {
  padding: 5px;
}

.dep__number {
  font-size: 30px;
  float: left;
  font-weight: 100;
}

.dep__titles {
  float: left;
  margin: 10px 0 0 15px;
}

.dep__title {
  display: block;
  padding: 0 3px;
}

.dep__title.dep__no-title {
  margin-left: -10px;
}

.dep__title.active {
  background-color: #0687B1;
  color: white;
  border-radius: 5px;
}

