.cs50-share {
  margin-bottom: 20px;
}

.cs50-share__heading {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.cs50-share__list {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0;
  list-style: none;
}

.cs50-share__item {
  display: inline-block;
  margin: 0 6px 6px 0;
  vertical-align: top;
}

.cs50-share__btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid transparent;
  background-color: #6c757d;
  color: #ffffff;
  font-size: 14px;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.cs50-share__btn:hover,
.cs50-share__btn:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.cs50-share__btn i {
  font-size: 1em;
  line-height: inherit;
}

.cs50-share__mono {
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.cs50-share__label {
  margin-left: 6px;
  font-size: 0.92em;
}

/* Icon only buttons are square, so they can also be round */
.cs50-share--icon .cs50-share__btn {
  width: 36px;
  padding: 0;
}

.cs50-share--icon .cs50-share__label {
  display: none;
}

.cs50-share--label .cs50-share__label {
  margin-left: 0;
}

/* Size */
.cs50-share--small .cs50-share__btn {
  font-size: 12px;
  line-height: 28px;
}

.cs50-share--small.cs50-share--icon .cs50-share__btn {
  width: 30px;
}

.cs50-share--large .cs50-share__btn {
  font-size: 18px;
  line-height: 46px;
}

.cs50-share--large.cs50-share--icon .cs50-share__btn {
  width: 48px;
}

/* Shape */
.cs50-share--square .cs50-share__btn {
  border-radius: 0;
}

.cs50-share--rounded .cs50-share__btn {
  border-radius: 4px;
}

.cs50-share--circle .cs50-share__btn {
  border-radius: 999px;
}

/* Colour schemes: brand and outline colours are set inline per network */
.cs50-share--outline .cs50-share__btn {
  background-color: transparent;
}

.cs50-share--outline .cs50-share__btn:hover,
.cs50-share--outline .cs50-share__btn:focus {
  color: inherit;
  opacity: 0.7;
}

.cs50-share--mono .cs50-share__btn {
  border-color: #d5d5d5;
  background-color: #f3f3f3;
  color: #343a40;
}

.cs50-share--mono .cs50-share__btn:hover,
.cs50-share--mono .cs50-share__btn:focus {
  background-color: #e6e6e6;
  color: #343a40;
}

/* Direction */
.cs50-share--vertical .cs50-share__item {
  display: block;
  margin-right: 0;
}

.cs50-share--vertical.cs50-share--label .cs50-share__btn,
.cs50-share--vertical.cs50-share--icon_label .cs50-share__btn {
  display: block;
  text-align: left;
}

/* Alignment */
.cs50-share--align-left {
  text-align: left;
}

.cs50-share--align-center {
  text-align: center;
}

.cs50-share--align-center .cs50-share__item {
  margin-right: 3px;
  margin-left: 3px;
}

.cs50-share--align-right {
  text-align: right;
}

.cs50-share--align-right .cs50-share__item {
  margin-right: 0;
  margin-left: 6px;
}

/* Copy link feedback */
.cs50-share__item {
  position: relative;
}

.cs50-share__note {
  position: absolute;
  bottom: 100%;
  left: 50%;
  z-index: 10;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  background-color: #000000;
  color: #ffffff;
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
  transform: translateX(-50%);
}
