.share {
  align-items: center;
  margin-top: -6px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.share--bottom .share {
  margin-left: 25px;
}

.share--bottom .share.active .share__box {
  left: 0;
  right: unset;
}

.share:hover, .share:focus {
  text-decoration: underline;
}

.share .share-icon {
  margin-right: 6px;
}

.share.active .share__box {
  display: flex;
  overflow: visible;
}

.share__box {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  z-index: 1005;
  flex-direction: column;
  background-color: var(--color-white);
  border: solid 1px #ebebeb;
  padding: 20px 15px 20px 15px;
  transform: translateY(0);
  transition: all 0.32s ease-out;
  min-width: 150px;
}

.share__box > span {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-black);

  position: relative;
}

.share__box > span::after {
  content: url(../images/close.svg);
  position: absolute;
  right: 0;
  top: 0;
  width: 10px;
  display: block;
}

.share__box .icon {
  max-width: 15px;
  object-fit: contain;
}

.share__box .text {
  font-size: 14px;
  font-weight: 300;
  margin-left: 10px;
  color: var(--color-black);
}

.share__box > a.transition {
  display: flex;
  padding-bottom: 15px;
  text-decoration: none;
}

.share__box a:last-child {
  padding-bottom: 0;
}

.share__box a:hover, .share__box a:focus {
  text-decoration: underline;
}


/* Responsive design. */
@media (min-width: 768px) {
  .share--bottom .share {
    margin-left: 0;
  }
}