.anchors {
  background: #fff;
  box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
  min-height: 4.8rem;
  flex: 1 1 auto;
  margin-bottom: 3rem;
  max-height: calc(100vh - 14rem);
  overflow: auto;
  border-radius: 1rem;
}
.anchors__default {
  background: transparent;
  box-shadow: none;
}
.anchors__anchor {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  cursor: pointer;
  font-weight: bold;
}
.anchors__anchor::after {
  content: "";
  position: absolute;
  height: 4rem;
  border-radius: 0 1.6rem 1.6rem 0;
  width: 0.4rem;
  background: #9ade19;
  left: -3rem;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}
.anchors__anchor:hover::after {
  opacity: 1;
}

.anchors__anchors {
  width: 100%;
}
.anchors__bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  transition: opacity 250ms;
  opacity: 0;
  left: 0;
  z-index: -99;
}
.anchors__bg-active {
  position: fixed;
  opacity: 0.5;
  z-index: 99;
  top: 0;
}
.anchors__group {
  background: #fff;
  left: 0;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  border-radius: 1rem;
  z-index: 10;
  overflow: hidden;
}
.anchors__label {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 1.2rem 2rem;
  cursor: pointer;
}
.anchors__label__text {
  color: #03274f;
  font-family: "Ubuntu Medium";
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin-right: 0.8rem;
}
.anchors__label__text p {
  margin-right: 0.8rem;
}
.anchors .arrow {
  transition: all 350ms;
  margin-left: auto;
}
.anchors .arrow-g {
  fill: #03274f;
  transition: all 350ms;
}
.anchors__body {
  overflow: hidden;
  max-height: 0;
  width: 100%;
  background: #fff;
  transition: 250ms height;
}
.anchors__items {
  padding: 0 2rem 2rem;
  height: auto;
  overflow: auto;
}
.anchors__open {
  border-radius: 0;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  max-height: inherit;
  overflow: inherit;
}
.anchors__open .anchors__body {
  overflow: scroll;
  height: auto;
  border-bottom-left-radius: 0.7rem;
  border-bottom-right-radius: 0.7rem;
  max-height: calc(100vh - 16.5rem);
}
.anchors__open .anchors__group {
  position: relative;
  top: 0;
  z-index: 101;
  box-shadow: 0 0.8rem 1.6rem 0.2rem rgba(28, 50, 84, 0.05);
}
.anchors__open .arrow {
  transform: rotate(180deg);
}
.anchors__open .arrow-g {
  fill: #94d200;
}
.anchors__sticky .anchors__group {
  position: fixed;
  top: 10rem;
  z-index: 100;
  border-radius: 0;
  box-shadow: 0 0.8rem 1.6rem 0.2rem rgba(28, 50, 84, 0.05);
}

.anchors__sticky .anchors__group .anchors__body {
  overflow: scroll;
  height: auto;
  border-bottom-left-radius: 0.7rem;
  border-bottom-right-radius: 0.7rem;
  max-height: calc(100vh - 16.5rem);
}

.anchors__sticky .anchors__items {
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.anchors__sticky .anchors__items::-webkit-scrollbar {
  display: none;
}

.anchors__sticky .anchors__anchor::after {
  display: none;
}

.anchors__sticky .anchors__anchor {
  padding: 15px;
  margin-bottom: 0;
  flex-shrink: 0;
  position: relative;
}

.anchors__sticky .anchors__anchor.anchors__anchor-active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #94d200;
}

.anchors__sticky .anchors__items .button {
  flex-shrink: 0;
  flex-basis: auto;
  width: auto;
  height: auto;
  padding: 5px 15px;
  min-height: auto;
}

.anchors__sticky .anchors__label {
  display: none;
}

.anchors__sticky .anchors__items .button__subtext {
  display: none;
}

.anchors__sticky .anchors__items .button__text {
  font-size: 16px;
  font-weight: normal;
}

.anchors__sticky .anchors__group .anchors__label {
  padding: 2rem;
}
@media(min-width: 992px) {
  .anchors {
    min-height: 0;
    position: sticky;
    top: 13.5rem;
  }
  .anchors__default {
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
  }
  .anchors__label {
    display: none;
  }
  .anchors__group {
    position: relative;
  }
  .anchors__body {
    max-height: inherit;
  }
  .anchors__items {
    padding: 0;
    max-height: inherit;
  }
  .anchors__anchor {
    margin: 2rem 3rem;
  }
  .anchors__bg {
    display: none;
  }
  .anchors__open .anchors__group {
    position: absolute;
    z-index: 1;
    top: 0;
    box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
  }
  .anchors__sticky .anchors__group {
    position: relative;
    z-index: 1;
    top: 0;
    box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
  }

}
@media(min-width: 768px) {
  .anchors {
    margin-bottom: 0;
  }
}

@media(max-width: 992px) {
  .anchors {
    margin: 0;
    min-height: 0;
  }
}