html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

.amex-form {
  max-width: 360px;
  box-sizing: border-box; }

.amex-form-msg {
  margin: 0 auto;
  color: #ccc; }

.amex-form__heading {
  padding: 0.5em 0; }

.amex-form__fields {
  display: flex; }

.amex-form input[type=text] {
  border: 2px solid black;
  border-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  background-color: white;
  letter-spacing: 1em;
  text-indent: 1em;
  width: 100%;
  max-width: 260px;
  text-align: center;
  outline: none;
  -webkit-appearance: none;
  height: 45px; }

.amex-form input[type=text]:focus {
  background-color: #F5F5F5;
  color: black; }

.amex-form button[type=submit] {
  outline: none;
  position: relative;
  min-width: 110px;
  font-family: "swiss721medium", 'fallBackArial', sans-serif;
  text-transform: uppercase;
  border-top: 2px solid black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  border-left: none;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  background-color: white;
  cursor: pointer;
  height: 45px;
  box-sizing: border-box;
  transition: 0.3s ease; }

.amex-form button[type=submit]:hover,
.amex-form button[type=submit]:focus {
  background-color: black;
  color: white; }

.amex-form button[type=submit]:disabled,
.amex-form input[type=text]:disabled {
  background-color: #efefef;
  color: #555;
  border-color: #555; }

.amex-form label {
  display: block;
  margin-bottom: 1em;
  position: relative;
  font-size: 14px;
  text-align: left;
  font-family: "swiss721light", 'fallBackArial', sans-serif !important; }

.amex-form label:after {
  content: "";
  width: 117px;
  height: 32px;
  position: absolute;
  top: 0;
  right: 0; }

.amex-spinner {
  background-image: url("/wp-content/themes/NGV/images/amex-check/spinner8.svg");
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
  animation: amexRotate 3s linear infinite; }

.amex-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/themes/NGV/images/amex-check/checkmark.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  opacity: 0;
  animation: amexFade 0.7s ease forwards; }

.amex-check--link:hover {
  opacity: 0.65; }

.amex-form__feedback {
  margin: 1em 0 0 0;
  transform: translateX(0); }

.amex-form__feedback--negative {
  animation: feedbackNegative 0.3s linear; }

.amex-form__feedback--positive {
  animation: amexFade 0.3s ease 0.2s forwards; }

/* ANIMATIONS */
@keyframes feedbackNegative {
  0%, 100% {
    transform: translateX(0); }
  25% {
    transform: translateX(5px); }
  50% {
    transform: translateX(-5px); }
  75% {
    transform: translateX(5px); } }
@keyframes amexRotate {
  10% {
    opacity: 1; }
  100% {
    transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes amexFade {
  to {
    opacity: 1; } }
/* Program page styles */
