.--tabs-container__items,
.--tabs-container__items-inner {
  position: relative;
}

.--tabs-container__items-inner {
  overflow: hidden;
  width: 100%;
  transition: height 0.7s;
}

.--tabs-container__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s opacity;
}

.--tabs-container__item.-active {
  position: relative;
  z-index: 1;

  opacity: 1;
  pointer-events: auto;
}

/* Practices tabs */

.practices-tabs {
  overflow: hidden;

  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.practices-tabs.-loading {
  opacity: 0.5;
  pointer-events: none;
}

.practices-tabs .practices-tabs__menu {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-right: -39px;
  padding-bottom: 2px;
  margin-bottom: -2px;

  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}

.practices-tabs .practices-tabs__menu::-webkit-scrollbar {
  display: none;
  width: 0;
}

.practices-tabs .practices-tabs__menu-item {
  padding-bottom: 6px;
  margin-right: 39px;
  cursor: pointer;
  color: #0c1741;

  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.practices-tabs .practices-tabs__menu-item.-active {
  pointer-events: none;
}

.practices-tabs .practices-tabs__menu-item:not(.-active) {
  opacity: 0.3;
}

.practices-tabs .practices-tabs__menu-line {
  position: absolute;
  bottom: 0px;
  height: 2px;
  width: 50px;

  background-color: #0c1741;

  -webkit-transition: transform 0.4s, width 0.4s;
  transition: transform 0.4s, width 0.4s;
}

.practices-tabs .practices-tabs__items {
  padding-top: 20px;
  border-top: 1px solid rgba(12, 23, 65, 0.1);
}

.practices-tabs .practices-tabs__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.practices-tabs .practices-tabs__item div,
.practices-tabs .practices-tabs__item ul {
  width: 100%;
  margin-right: 6px;
}

.practices-tabs .practices-tabs__item div:last-child,
.practices-tabs .practices-tabs__item ul:last-child {
  margin-right: 0;
}

.practices-tabs .practices-tabs__item div > a,
.practices-tabs .practices-tabs__item ul > li {
  display: block;
  padding: 17px 20px;

  background-color: var(--gray);
  -webkit-border-radius: 59px;
  border-radius: 59px;
  color: #0c1741;
  cursor: pointer;

  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.practices-tabs .practices-tabs__item a + a,
.practices-tabs .practices-tabs__item li + li {
  margin-top: 5px;
}

/* Contacts tabs */

.contacts-tabs {
  padding: 48px 20px;
  background-color: var(--gray);
  -webkit-border-radius: 20px;
  border-radius: 20px;
}

.contacts-tabs .contacts-tabs__title {
  text-align: center;
  margin-bottom: 6px;
}

.contacts-tabs .contacts-tabs__menu {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 7px;
}

.contacts-tabs .contacts-tabs__menu:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #0c1741;
  opacity: 0.5;
  -webkit-border-radius: 20px;
  border-radius: 20px;
}

.contacts-tabs .contacts-tabs__menu-item {
  width: 100%;
  padding-right: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;

  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.contacts-tabs .contacts-tabs__menu-item:not(.-active) {
  opacity: 0.3;
}

.contacts-tabs .contacts-tabs__menu-item.-active {
  pointer-events: none;
}

.contacts-tabs .contacts-tabs__menu-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 1px;

  background-color: #0c1741;
  -webkit-border-radius: 20px;
  border-radius: 20px;

  -webkit-transition: transform 0.4s, width 0.4s;
  transition: transform 0.4s, width 0.4s;
}

.contacts-tabs .contacts-tabs__items {
  margin-top: 37px;
}

.contacts-tabs .contacts-tabs__items-inner {
  display: flex;
  align-items: stretch;
}

.contacts-tabs .contacts-tabs__item {
  position: static;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  padding-right: 20px;
}

.contacts-tabs .contacts-tabs__item:not(.-active) {
  -webkit-user-select: none;
  user-select: none;
}

.contacts-tabs .contacts-tabs__contact *,
.contacts-tabs .contacts-tabs__contact {
  color: #0c1741;
}

.contacts-tabs .contacts-tabs__contact p + p {
  margin-top: 21px;
}

.contacts-tabs .contacts-tabs__contact a {
  cursor: pointer;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

@media screen and (max-width: 1024px) {
  .practices-tabs .practices-tabs__menu {
    margin-right: -46px;
  }

  .practices-tabs .practices-tabs__menu-item {
    padding: 0;
    margin-right: 46px;
  }

  .practices-tabs .practices-tabs__item {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    width: 100%;
    scrollbar-width: none;
  }

  .practices-tabs .practices-tabs__item::-webkit-scrollbar {
    display: none;
    width: 0;
  }

  .practices-tabs .practices-tabs__item div,
  .practices-tabs .practices-tabs__item ul {
    width: auto;
    margin-right: 4px;
  }

  .practices-tabs .practices-tabs__item div > a,
  .practices-tabs .practices-tabs__item ul > li {
    width: 296px;
    min-width: 296px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
  }

  /* Contacts tabs */

  .contacts-tabs {
    padding: 13px 10px 21px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  .contacts-tabs .contacts-tabs__title {
    text-align: left;
    margin-bottom: 60px;
  }

  .contacts-tabs .contacts-tabs__menu:after {
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  .contacts-tabs .contacts-tabs__menu-item {
    padding-right: 10px;
  }

  .contacts-tabs .contacts-tabs__menu-line {
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  .contacts-tabs .contacts-tabs__items {
    margin-top: 20px;
  }

  .contacts-tabs .contacts-tabs__item {
    padding-right: 10px;
  }
}
