.docs-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  max-width: 1680px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.docs-title .cmsl_razdsite {
  margin-bottom: 5px;
}

.docs-title h1 {
  font-size: 42px;
}

.docs-content-block {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.docs-cats {
  display: flex;
  margin-bottom: 36px;
  max-width: 1680px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.docs-cats-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 65px;
  margin-bottom: 7px;
  font-size: 16px;
  font-family: "HelveticaNeueCyr";
  color: rgb(0, 0, 0);
  font-weight: 300;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.docs-cats-item a {
  color: #000;
  text-decoration: none;
}

.docs-cats-item a span {
  position: relative;
  display: flex;
  padding-top: 7px;
}

.docs-cats-item a span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.2s;
}

.docs-cats-item a span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.2s;
}

.docs-cats-item.active span::before {
  width: 100%;
}

.docs-cats-item a:hover span::before {
  width: 100%;
}

.docs-block {
  padding-top: 50px;
  padding-bottom: 140px;
  background: #f5f5f5;
}

.docs-inner {
  max-width: 1680px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.docs-items {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.docs-item {
  display: flex;
  flex-direction: column;
  width: 25%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 80px;
}

.docs-item-inner {
  display: flex;
  flex-direction: column;
  color: #000;
  text-decoration: none;
  background: #fff;
  height: 100%;
  padding: 0 0 44px 0;
}

.docs-item-inner:hover {
  text-decoration: none;
  color: #000;
}

.docs-item__photo {
  position: relative;
  padding-top: 142.455%;
}

.docs-item__photo_inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #f5f5f5;
}

.docs-item__title {
  font-size: 16px;
  line-height: 1.2;
  font-size: 16px;
  text-decoration: none;
  color: #000;
  padding-top: 18px;
  padding-left: 38px;
  padding-right: 38px;
}

.docs-item__title:hover {
  text-decoration: none;
  color: #000;
}

.docs-item__link2 {
  padding-left: 38px;
  padding-right: 38px;
  margin-top: 20px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.docs-item__link2 span {
  position: relative;
}
.docs-item__link2 span::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0%;
  width: 100%;
  height: 1px;
  background: #000;
  transition: 0.2s;
}
.docs-item__link2:hover span {
  color: #000;
  text-decoration: none;
}
.docs-item__link2:hover span::before {
  width: 0%;
}

@media (max-width: 1535px) {
  .docs-item__title {
    padding-top: 13px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .docs-item__link2 {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 1279px) {
  .docs-item {
    width: 50%;
  }
}

@media (max-width: 1023px) {
  .docs-cats {
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
    overflow-x: auto;
    width: calc(100% - 40px);
    margin-bottom: 10px;
  }

  .docs-cats-item {
    flex: none;
  }

  .docs-cats-item:last-child {
    margin-right: 0;
  }

  .docs-items {
    margin-left: -5px;
    margin-right: -5px;
  }

  .docs-item {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
  }

  .docs-cats-item {
    margin-right: 15px;
    font-size: 15px;
  }

  .docs-item-inner {
    padding-bottom: 20px;
  }

  .docs-item__title {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11px;
  }

  .docs-item__link2 {
    font-size: 11px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body[data-theme="_docs"] .bread_crumb {
    display: none;
  }

  body[data-theme="_docs"] .docs-content {
    margin-top: 50px;
  }
}
