/**
 * @file
 * Style another element as a link.
 */

button.link {
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 1em;
}
label button.link {
  font-weight: bold;
}
a {
  text-decoration: none;
  color: #1A1A1B;
  word-wrap: break-word;

}
.button {
  display: flex;
  padding: 6px 32px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  width: fit-content;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  height: 40px;
  background: #F0EFEF;
}

.button .text {
  z-index: 10;
}

.button.base-green {
  background-color: #00A3A4;
  color: #FFFEFE;
  padding: 6px 24px;
}
.button.base-blue {
  background-color: #292663;
  color: #FFFEFE;
  padding: 6px 24px;
}

.button.hover-animation .transition {
  display: block;
  transition: .3s ease-out;
  color: #FFFEFE;
  z-index: 6;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
}

.button.hover-blue .transition {
  background: linear-gradient(to left, transparent 50%, #292663 50%) right;
  background-size: 200%;
}

.button.hover-green:hover {
  color: #fff;
}

.button.hover-green .transition {
  background: linear-gradient(to left, transparent 50%, #00A3A4 50%) right;
  background-size: 200%;
}

.node--type-contributor.node--view-mode-teaser:hover .button.hover-animation .transition,
.paragraph--type--menu li:hover a:not(.is-active) .button.hover-animation .transition,
a:not(.is-active) .button.hover-animation:hover .transition,
a:not(.is-active).button.hover-animation:hover .transition,
button.hover-animation:hover .transition {
  background-position: left;
}

.button.with-icon {
  padding: 6px 8px 6px 24px;
  gap: 12px;
}

.button.with-icon:after {
  display: inline-block;
  content: "";
  height: 40px;
  width: 40px;
  background: url(../../images/icons/cta-arrow.svg) no-repeat;
  z-index: 10;
}

.button.circle {
  height: 52px;
  width: 52px;
  padding: 0;
  display: block;
  border-radius: 100px;
}

.button.circle img {
  z-index: 99999;
  position: relative;
}


