/* .button-wrapper {
  margin-top: 35px;
} */

.button-wrapper.text-left {
  text-align: left;
}

.button-wrapper.text-center {
  text-align: center;
}

.button-wrapper.text-right {
  text-align: right;
}

.button {
  padding: 0 28px;
  display: inline-block;
  font-size: var(--fontsize-button);
  position: relative;
  z-index: 1;
  border-style: solid;
  border-width: 1.5px;
  height: 58px;
  line-height: 55px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  opacity: 1;
  transition: var(--transition);
}

/* .button::after {
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  bottom: 15px;
  width: 0;
  transition: var(--transition);
} */

.button:nth-child(2n + 4) {
  margin-left: 10px;
}

.button-wrapper .button img {
  transition: var(--transition);
  vertical-align: middle;
  margin-bottom: 2px;
}

.button-wrapper .icon-right {
  margin-left: 8px;
}

.button-wrapper .icon-left {
  margin-right: 8px;
}

.button-wrapper .button:hover img,
.button-wrapper .button:focus img {
  filter: invert(1);
}

.button.custom-btn {
  max-width: 100%;
}

a.button.custom-btn span,
span.button.custom-btn span {
  position: relative;
}

a.button.custom-btn span::after,
span.button.custom-btn span::after {
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #ffffff;
  bottom: -3px;
  left: 0px;
  transition: all 0.2s linear;
  content: "";
}

a.button.custom-btn:hover span::after,
a.button.custom-btn:focus span::after,
span.button.custom-btn:hover span::after,
span.button.custom-btn:focus span::after {
  width: 100%;
}

@media (max-width: 1080px) {
  .button {
    height: 54px;
    line-height: 51px;
  }
  .button::after {
    bottom: 12px;
  }
}

@media (max-width: 639px) {
  .button.custom-btn {
    width: max-content;
    text-align: center;
  }
  .button {
    height: auto;
    line-height: 29px;
    padding: 12px 25px;
  }
  .button::after {
    display: none;
  }
  .button:nth-child(2n + 4) {
    margin-left: 0;
    margin-top: 15px;
  }
}