.rubrick__tabs {
  padding-right: 100px;
  position: relative;
  margin-top: 40px;
}
.rubrick__tabs::after {
  position: absolute;
  content: "";
  background-image: url("../img/keys-dec.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 200px;
  top: -1px;
  right: 1px;
}
.rubrick__tabs h2 {
  font-family: inherit;
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  color: #101014;
  padding: 29px 36px;
  border: 1px solid #555555;
  border-right: none;
  margin-bottom: 20px;
}
.rubrick__tabs h2 span {
  color: #545af3;
}
.rubrick__tabs div {
  background: #101014;
  margin-right: 25px;
}
.rubrick__tabs div ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 28px 36px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.rubrick__tabs div ul li {
  margin-right: 36px;
}
.rubrick__tabs div ul li:last-child {
  margin-right: 0;
}
.rubrick__tabs div ul li.active a {
  border-color: #545af3;
}
.rubrick__tabs div ul li a {
  font-family: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #ffffff;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.rubrick__list {
  position: relative;
}
.rubrick__list::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 61px;
  background: #000;
  top: -61px;
  left: 60%;
  -webkit-transform: translateX(-60%);
  transform: translateX(-60%);
  z-index: 1;
}
.rubrick__list::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background: #000;
  top: 0;
  left: 60%;
  -webkit-transform: translateX(-60%);
  transform: translateX(-60%);
}
.rubrick__list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-bottom: 210px;
  margin-top: 61px;
  display: none;
}
.rubrick__list ul.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.rubrick__list ul li {
  border-bottom: 1px solid #000000;
}
.rubrick__list ul li:nth-child(1) {
  border-top: 1px solid #000000;
  position: relative;
}
.rubrick__list ul li:nth-child(1)::after {
  position: absolute;
  content: "";
  width: 160px;
  height: 1px;
  background-color: #000;
  top: 56px;
  right: -23px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.rubrick__list ul li:nth-child(1)::before {
  position: absolute;
  content: "";
  width: 114px;
  height: 110px;
  background-color: #fff;
  top: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
}
.rubrick__list ul li:nth-child(2) {
  position: relative;
  border-top: 1px solid #000000;
}
.rubrick__list ul li:nth-child(2)::after {
  position: absolute;
  content: "";
  background-image: url("../img/keys-dec2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 193px;
  height: 97px;
  top: 0;
  left: -1px;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  z-index: 1;
  pointer-events: none;
}
.rubrick__list ul li .title {
  font-family: inherit;
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: #101014;
  margin-top: 30px;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}
.rubrick__list ul li .title:hover {
  color: #545af3;
}
.rubrick__list ul li div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 20px;
}
.rubrick__list ul li div p {
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #101014;
  max-width: 650px;
}
.rubrick__list ul li div a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 22px;
  color: #101014;
  text-decoration: underline;
}
.rubrick__list ul li div a svg {
  margin-left: 7px;
}
.rubrick__list ul li:nth-child(odd) {
  padding-top: 50px;
  padding-right: 94px;
  padding-bottom: 70px;
  width: 60%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.rubrick__list ul li:nth-child(even) {
  padding-top: 50px;
  padding-left: 73px;
  padding-bottom: 97px;
  width: 40%;
  -webkit-transform: translateY(210px);
  transform: translateY(210px);
}

.rubrick__wrapper {
  position: relative;
}
.rubrick__wrapper::after {
  position: absolute;
  content: "";
  background-image: url("../img/keys-blur.png");
  background-position: center;
  background-size: contain;
  width: 275px;
  height: 275px;
  top: 100px;
  left: 100vw;
  -webkit-transform: translateX(-100%) scale(3);
  transform: translateX(-100%) scale(3);
  z-index: -1;
  pointer-events: none;
}
.rubrick__wrapper .more {
  width: 60%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-right: 10px;
  padding-bottom: 40px;
  position: relative;
}
.rubrick__wrapper .more::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 1px;
  background: #000;
  top: 0;
  right: 0;
}
.rubrick__wrapper .more::after {
  position: absolute;
  content: "";
  background-image: url("../img/cases-decor.svg");
  background-position: center;
  background-size: contain;
  width: 60px;
  height: 31px;
  top: -50px;
  left: 0;
}
.rubrick__wrapper .more a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 22px;
  color: #101014;
  text-decoration: underline;
  -ms-flex-item-align: end;
  align-self: flex-end;
}
.rubrick__wrapper .more a svg {
  margin-left: 7px;
}

.rubrick {
  overflow-x: hidden;
}

@media (min-width: 0px) and (max-width: 1365px) {
  .rubrick__tabs {
    margin-top: 40px;
  }
  .rubrick__wrapper::after {
    display: none;
  }
  .rubrick__list ul li:nth-child(odd) {
    width: 100%;
    padding: 0;
    padding-top: 50px;
    padding-bottom: 63px;
  }
  .rubrick__list ul li:nth-child(even) {
    width: 100%;
    padding: 0;
    padding-top: 50px;
    padding-bottom: 63px;
    -webkit-transform: none;
    transform: none;
  }
  .rubrick__list::before,
  .rubrick__list::after {
    display: none;
  }
  .rubrick__list ul li:nth-child(1)::before,
  .rubrick__list ul li:nth-child(1)::after {
    display: none;
  }
  .rubrick__list ul li:nth-child(2)::after {
    display: none;
  }
  .rubrick__list ul li:nth-child(2) {
    border-top: none;
  }
  .rubrick__list ul li img {
    width: 100%;
  }
  .rubrick__wrapper .more::before {
    display: none;
  }
  .rubrick__wrapper .more::after {
    display: none;
  }
  .rubrick__wrapper .more img {
    display: none;
  }
  .contacts.contacts--keys .question {
    display: none;
  }
  .rubrick__list ul {
    padding-bottom: 67px;
  }
  .rubrick__wrapper .more {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 30px;
  }
  .rubrick__wrapper .more a::after {
    position: absolute;
    content: "";
    height: 3px;
    width: 100%;
    background: #545af3;
    left: 135px;
    top: 20px;
    pointer-events: none;
  }
  .rubrick__wrapper .more a::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 100%;
    background: #c9c9c9;
    left: 135px;
    top: -1px;
    pointer-events: none;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .rubrick__tabs::after {
    display: none;
  }
  .rubrick__tabs {
    margin-top: 23px;
    padding-right: 0;
  }
  .rubrick__tabs h2 {
    font-size: 20px;
    line-height: 40px;
    padding: 18px 36px;
    border-right: 1px solid #555555;
  }
  .rubrick__tabs div {
    margin-right: 0;
  }
  .rubrick__list ul li {
    padding: 46px 0 !important;
  }
  .rubrick__list ul li .title {
    font-size: 16px;
    line-height: 16px;
  }
  .rubrick__list ul li div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .rubrick__list ul li div p {
    max-width: 100%;
  }
  .rubrick__list ul li div a {
    margin-top: 16px;
  }
  .rubrick__wrapper .more a::before,
  .rubrick__wrapper .more a::after {
    display: none;
  }
  .rubrick__wrapper .more {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .rubrick__list ul {
    padding-bottom: 35px;
  }
}