/* Stylesheet for Mechanical Pollster donation form */ 

@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;600&display=swap");

body.bare-frame {
  margin: 0;
  background: #FCBFB7;
  color: #334E58;
  font: 300 16px/1.5 "Unbounded", Arial, sans-serif;
}

#pagecontents {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

#form74 * {
  font-family: inherit;
}

/* Label and field rows */
#form74 .formfield {
  display: grid;
  grid-template-columns: 13rem 1fr;
  align-items: center;
  gap: 0.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

#form74 .formfield > div {
  float: none;
  width: auto;
}

#form74 .formfield br.clear {
  display: none;
}

/* Text boxes */
#form74 .formfield input {
  width: 100%;
  max-width: 240px;
  padding: 0.2rem 1rem;
  border: 1.5px solid #334E58;
  border-radius: 13px;
  background: transparent;
  color: #334E58;
  font-size: 1rem;
}

#form74 .captcha {
margin: 2rem 0 1rem;
}

/* Button */
#submitButton {
  margin-top: 1rem;
  padding: 0.75rem 2.5rem;
  border: 1.5px solid #334E58;
  border-radius: 20px;
  background: #D1E3DD;
  color: #334E58;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

#submitButton:hover {
  background: #334E58;
  color: #D1E3DD;
}

/* Mobile */
@media (max-width: 560px) {
  #form74 .formfield {
    grid-template-columns: 1fr;
  }

  #form74 .formfield input,
  #submitButton {
    max-width: none;
    width: 100%;
  }
}