.share {
  align-items: center;
  margin-top: 3px;
  cursor: pointer;
  position: relative;
  overflow: visible;
  color: var(--color-black);
}

.share small {
  font-size: 14px;
}

.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 {
  width: 18px;
  margin-right: 5px;
  fill: #707070;
}

.single__content .share .share-icon path {
  fill: var(--color-black);
}

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

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

.share__box>span {
  font-size: 14px;
  margin-bottom: 23px;
  color: var(--color-black);
  position: relative;
}

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

.share__box .icon {
  max-width: 15px;
  margin-right: 2px;
  object-fit: contain;
  stroke: var(--color-grey);
}

.share__box .icon.x {
  max-width: 20px;
  stroke: inherit;
}

.share__box .icon.x ~ span {
  margin-left: 9px;
}

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

.share__box>a.transition {
  display: flex;
  padding-bottom: 8px;
  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;
  }

  .share small {
    font-size: 14px;
  }
}