/*
 * UND primary button styles
 * Source: https://und.edu/_resources/css/style.css (v6.75.0, extracted 2026-06-10)
 * Animation is CSS-only; no JavaScript required.
 */

@font-face {
  font-family: "Oswald Medium";
  src: url("https://und.edu/_resources/fonts/oswald-500.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Oswald Medium";
  src: url("https://und.edu/_resources/fonts/oswald-500.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

.button--link,
.button--inline,
.button {
  color: #000;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.75px;
}

.button {
  position: relative;
  display: inline-block;
  text-align: center;
  min-width: 250px;
  padding: 1rem 2rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px #009a44;
  overflow: hidden;
  vertical-align: middle;
  z-index: 1;
  border: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: color 300ms ease;
  line-height: 1;
  font-family: "Oswald Medium", "Oswald", "Arial", sans-serif;
}

button.button {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.tint-black .button,
.tint-blackish .button {
  color: #fff;
}

.tint-black .button:focus,
.tint-blackish .button:focus {
  outline-color: #fff;
}

.tint-themed .button {
  color: #000;
  box-shadow: inset 0 0 0 2px #fff;
}

.button::before,
.button::after {
  position: absolute;
  content: "";
  width: 0;
  top: 0;
  height: 110%;
  left: -20%;
  transform: skewX(-35deg);
  z-index: -1;
}

.button::before {
  background: #009a44;
  transition: all 600ms;
}

.tint-themed .button::before {
  background: #fff;
}

.button::after {
  background: rgba(0, 154, 68, 0.5);
  transition: all 450ms;
}

.tint-themed .button::after {
  background: rgba(255, 255, 255, 0.5);
}

.button:hover,
.button:focus,
.button:focus-visible {
  color: #000;
  outline: none;
}

.button:hover::before,
.button:hover::after,
.button:focus::before,
.button:focus::after,
.button:focus-visible::before,
.button:focus-visible::after {
  width: 140%;
}

.button--content-width {
  min-width: initial;
}

.button--green {
  color: #fff;
  background-color: #009a44;
  border: 2px solid rgba(0, 0, 0, 0);
}

.button--green::before {
  background: #fff;
}

.button--green::after {
  background: rgba(255, 255, 255, 0.5);
}

.button--green:hover {
  border-color: #009a44;
}

.button-group {
  padding-left: 0;
  list-style: none;
  margin-left: -1rem;
  margin-right: -1rem;
  display: flex;
}

.button-group li {
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
  margin: 0 1rem;
}

.button-group .button {
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
  align-items: center;
  justify-content: center;
  min-width: inherit;
}

.button-group--alt {
  padding-left: 0;
  list-style: none;
  margin: -0.5rem -1rem;
  display: flex;
  flex-wrap: wrap;
}

.button-group--alt li {
  padding: 0.5rem 1rem;
}