/**
 * ATTN
 *
 * These are rules from the old site. As we port things over, consider removing these
 *
 * BEGIN OLD SITE RULES
 */


/**
 * Global base styles for Yang2020.
 */

/**
 * Variables.
 */

 :root {
  --primary-dark: #13294b; /* dark-slate-blue */
  --primary-light: #f2f5f7; /* ice-blue */
  --primary-light-active: #6cace4; /* soft-blue */
  --primary-accent: #da3248; /* faded-red */
  --primary-accent-active: #ff3751; /* light-red */
  --primary-neutral: #828fa1; /* blue-grey */
  --primary-neutral-active: rgba(130, 143, 161, 0.25); /* blue-grey-light */
  --secondary-accent: #ffbd3d; /* butterscotch */
  --secondary-accent-active: #f2a00f; /* squash */
  --tertiary-accent: #1fb919; /* green */
  --tertiary-accent-active: #23cb1e; /* light-green */
  --white: #ffffff; /* white */
}

html, body, footer.footer {
  font-family: 'Montserrat' !important;
  color: var(--primary-dark);
}

/**
 * Base typography.
 */

.montserrat {
  font-family: 'Montserrat' !important;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.fw4 {
  font-weight: 400;
}

.fw5 {
  font-weight: 500;
}

.fw6 {
  font-weight: 600;
}

.fw7 {
  font-weight: 700;
}

/**
 * Typography.
 */

.headline {
  font-size: 2.125rem !important;
  font-weight: 700 !important;

  color:rgb(19, 41, 75) !important;
/* display:block; */
/* font-family:Montserrat; */
font-size:34px !important;
font-weight:700 !important;
height:39px !important;
line-height:39.1px !important;
/* margin-block-end:22.78px;
margin-block-start:22.78px;
margin-bottom:22.78px;
margin-inline-end:0px;
margin-inline-start:0px;
margin-left:0px;
margin-right:0px;
margin-top:22.78px; */
text-align:center;
text-size-adjust:100%;
}

.subheadline {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 28px;
  font-size: 20px;
}

.copy {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 22px;
}

.footer .copy {
  font-size: 14px !important;
}

.footer .label-input {
  font-size: 14px !important;
}

.footer input[type="date"],
.footer input[type="time"],
.footer input[type="datetime-local"],
.footer input[type="week"],
.footer input[type="month"],
.footer input[type="text"],
.footer input[type="email"],
.footer input[type="url"],
.footer input[type="password"],
.footer input[type="search"],
.footer input[type="tel"],
.footer input[type="number"],
textarea {
  background-color: var(--transparent) !important;
  width: 100%;
  border-width: 0px !important;
  border-bottom-width: 2px !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  line-height: 14px !important;
  font-size: 12.8px !important;
  border-radius: 0px !important;
  padding: 8px 0px !important;
  text-indent: 18px !important;
  margin: 12px 0 26px 0 !important;
}

/**
 * Base colors.
 */

.bg-light {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.bg-dark {
  background-color: var(--primary-dark);
  color: white;
}

.text-white {
  color: white;
}

.text-dark {
  color: var(--primary-dark);
}

/**
 * Links.
 */

.link-default {
  text-decoration: none;
  color: white;
}

.link-title {
  text-decoration: none;
  color: white;
  line-height: 18px;
  letter-spacing: 1.3px;
  font-size: 1.125rem;
  font-weight: 500;
}

.link-title-disabled {
  color: var(--primary-neutral);
  cursor: not-allowed;
}

.link-title:focus, .link-default:focus, 
.link-title:hover, .link-default:hover {
  color: var(--primary-light-active) !important;
}

.link-title:active,
.link-title:visited {
  color: white;
}

.link-cta {
  text-decoration: none;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--secondary-accent);
  font-size: 1rem;
  font-weight: 600;
}

.link-cta:after {
  content: url(../svg/link-cta-arrow.svg); 
  position: relative;
  top: 5px;
  left: 30px;

  animation-duration: 0.5s;
  animation-name: moveLinkCtaArrow;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.link-cta:focus,
.link-cta:hover {
  color: white !important;
}

.link-button {
  text-decoration: none;
}

@keyframes moveLinkCtaArrow {
  from {
    left: 30px;
  }

  to {
    left: 50px;
  }
}

/**
 * Buttons.
 */

button:focus {
  outline: 0;
}

.button {
  font-size: 18px;
  padding: 5px 26px;
  min-width: 160px;
  letter-spacing: 1.13px;
  font-weight: 500 !important;
  border-radius: 30px !important;
  cursor: pointer;
  border-width: 2px;
  text-transform: none !important;
}

.button-default {
  border: 2px solid white !important;
  background-color: transparent !important;
  color: white !important;
  transition: background-color 0.2s ease-in;
}

.button-default:focus,
.button-default:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  transition: background-color 0.2s ease-in;
}

.button-default:active {
  border: 2px solid var(--primary-neutral) !important;
}

.button-donate {
  background-color: var(--primary-accent) !important;
  border: 2px solid var(--primary-accent) !important;
  color: white !important;
  transition: background-color 0.2s ease-in;
}

.button-donate:focus,
.button-donate:hover {
  background-color: var(--primary-accent-active) !important;
  border-color: var(--primary-accent-active) !important;
  transition: background-color 0.2s ease-in;
}

.button-submit {
  background-color: var(--tertiary-accent) !important;
  border: 2px solid var(--tertiary-accent) !important;
  color: white !important;
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

.button-submit:focus,
.button-submit:hover {
  background-color: var(--tertiary-accent-active) !important;
  border-color: var(--tertiary-accent-active) !important;
  transition: background-color 0.2s ease-in;
}

.button-neutral {
  background-color: transparent !important;
  border: 2px solid var(--primary-dark) !important;
  color: var(--primary-dark) !important;
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

.button-neutral:focus,
.button-neutral:hover {
  background-color: var(--primary-neutral-active) !important;
}

.button-donate:active,
.button-submit:active, 
.button-neutral:active {
  border: 2px solid white !important;
}

.button-arrow {
  position: relative;
}

.button-arrow:after {
  border-left: 2px solid white;
  border-top: 2px solid white;
  width: 10px;
  content: '';
  height: 10px;
  transform: rotate(135deg);
  position: absolute;
  right: 8%;
  top: 36%;
  transition: right 0.4s ease-in-out;
}

.button-arrow:focus:after
.button-arrow:hover:after {
  right: 10%;
  
  transition: right 0.4s ease-in-out;
}

/**
 * Labels and Inputs.
 */

.label-tag {
  font-size: 0.875rem;
  line-height: 18px;
  color: white;
  background-color: var(--secondary-accent-active);
  height: 18px;
  display: inline-block;
  padding: 0px 12px;
  border-radius: 3px;
  font-weight: 600;
}

.label-input {
  font-size: 0.875rem;
  line-height: 14px;
  font-weight: 600;
}

.label-input-sub {
  font-size: 1.125rem;
  font-weight: 400;
}

/**
 * Inputs.
 */

input:focus {
  outline: none;
}

.input-text {
  background: transparent !important;
  border-width: 0px !important;
  border: none !important;
  border-bottom: 2px solid var(--primary-neutral) !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  line-height: 14px !important;
  font-size: 0.875rem !important;
  margin: 10px 0px !important;
  border-radius: 0 !important;
  padding: 8px 0px !important;
  text-indent: 18px !important;
}

/**
 * END OLD SITE RULES
 */

/**
 * ATTN
 *
 * These are rules from the new site, from base.css
 * As we port things over, just re-copy/paste from the latest commit.
 *
 * BEGIN NEW SITE RULES
 */

/**
 * Global base styles for Yang2020.
 */

/**
 * Variables.
 */

 :root {
  --primary-dark: #13294b;
  /* dark-slate-blue */
  --primary-light: #f2f5f7;
  /* ice-blue */
  --primary-light-active: #6cace4;
  /* soft-blue */
  --primary-accent: #da3248;
  /* faded-red */
  --primary-accent-active: #ff3751;
  /* light-red */
  --primary-neutral: #828fa1;
  /* blue-grey */
  --primary-neutral-active: rgba(130, 143, 161, 0.25);
  /* blue-grey-light */
  --secondary-accent: #ffbd3d;
  /* butterscotch */
  --secondary-accent-active: #f2a00f;
  /* squash */
  --tertiary-accent: #1fb919;
  /* green */
  --tertiary-accent-active: #23cb1e;
  /* light-green */
  --white: #ffffff;
  /* white */
}

html,
body,
input {
  font-family: 'Montserrat';
  font-size: 16px;
}

/**
 * Base typography.
 */

.montserrat {
  font-family: 'Montserrat';
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.fw4 {
  font-weight: 400;
}

.fw5 {
  font-weight: 500;
}

.fw6 {
  font-weight: 600;
}

.fw7 {
  font-weight: 700;
}

/**
 * Typography.
 */

.headline {
  font-size: 2.125rem;
  font-weight: 700;
}

.subheadline {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 28px;
}

.copy {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 22px;
}

/**
 * Base colors.
 */

.bg-light {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.bg-dark {
  background-color: var(--primary-dark);
  color: white;
}

.text-white {
  color: white;
}

.text-dark {
  color: var(--primary-dark);
}

/**
 * Links.
 */

.link-default {
  text-decoration: none;
  color: white;
}

.link-title {
  text-decoration: none;
  color: white;
  line-height: 18px;
  letter-spacing: 1.3px;
  font-size: 1.125rem;
  font-weight: 500;
}

.link-title.invalid {
  color: var(--primary-neutral);
  cursor: not-allowed;
  pointer-events: none;
}

.link-title:focus,
.link-title:hover,
.link-default:focus,
.link-default:hover {
  color: var(--primary-light-active);
}

.link-cta {
  text-decoration: none;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--secondary-accent);
  font-size: 1rem;
  font-weight: 600;
}

.link-cta:after {
  content: url(../svg/link-cta-arrow-secondary-accent.svg);
  position: relative;
  line-height: 2.4;
  top: 5px;
  left: 0;
  padding-top: 50px;
  padding: 0px 12px;
  transition: all 0.5s;
}

.link-cta:focus,
.link-cta:hover {
  color: white;
}

.link-cta:focus:after,
.link-cta:hover:after {
  content: url(../svg/link-cta-arrow-white.svg);
  left: 30px;
  transition: left 0.5s;
}

/**
 * Dark mode.
 */

.bg-light .link-cta:after {
  content: url(../svg/link-cta-arrow-primary-dark.svg);
}

.bg-light .link-cta:focus,
.bg-light .link-cta:hover {
  color: var(--primary-neutral);
}

.bg-light .link-cta:focus:after,
.bg-light .link-cta:hover:after {
  content: url(../svg/link-cta-arrow-primary-neutral.svg);
}

@keyframes moveLinkCtaArrow {
  from {
    left: 30px;
  }

  to {
    left: 50px;
  }
}

/**
 * Buttons.
 */

/**
 TODO: Remove this rule, or only apply to specific buttons.
*/
button {
  outline: 0;
}

.button {
  font-size: 18px;
  font-family: 'Montserrat';
  min-width: 40px;
  padding: 8px 26px;
  letter-spacing: 1.13px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  border-width: 2px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.button-default {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  transition: background-color 0.2s ease-in;
}

.button-default:focus,
.button-default:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease-in;
}

.button-default:active {
  border: 2px solid var(--primary-neutral);
}

.button-donate {
  background-color: var(--primary-accent);
  border: 2px solid var(--primary-accent);
  color: white;
  transition: background-color 0.2s ease-in;
}

.button-donate:focus,
.button-donate:hover {
  background-color: var(--primary-accent-active);
  border-color: var(--primary-accent-active);
  transition: background-color 0.2s ease-in;
}

.button-submit {
  background-color: var(--tertiary-accent);
  border: 2px solid var(--tertiary-accent);
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

.button-submit:focus,
.button-submit:hover {
  background-color: var(--tertiary-accent-active);
  border-color: var(--tertiary-accent-active);
  transition: background-color 0.2s ease-in;
}

.button-neutral {
  background-color: transparent;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

.button-neutral:focus,
.button-neutral:hover {
  background-color: var(--primary-neutral-active);
}

.button-donate:active,
.button-submit:active,
.button-neutral:active {
  border: 2px solid white;
}

.button-arrow {
  position: relative;
}

.button-arrow:after {
  border-left: 2px solid white;
  border-top: 2px solid white;
  width: 8px;
  content: '';
  height: 8px;
  transform: rotate(135deg);
  position: absolute;
  right: 8%;
  top: 39%;
  transition: right 0.4s ease-in-out;
}

.button-arrow:focus:after
.button-arrow:hover:after {
  right: 3%;

  transition: right 0.4s ease-in-out;
}

.button.invalid {
  pointer-events: none;
}

.button.valid {
  pointer-events: all;
}

/**
 * Labels and Inputs.
 */

.label-tag {
  font-size: 0.875rem;
  line-height: 18px;
  color: white;
  background-color: var(--secondary-accent-active);
  height: 18px;
  display: inline-block;
  padding: 2px 12px 2px;
  border-radius: 3px;
  font-weight: 600;
}

.label-input {
  font-size: 0.875rem;
  line-height: 14px;
  font-weight: 600;
}

.label-input-sub {
  font-size: 0.75rem;
  font-weight: 400;
}

/**
 * Inputs.
 */

input:focus {
  outline: none;
}

.input-group {
  position: relative;
  margin: 6px 0 32px 0;
}

.input-text {
  background: transparent;
  border-width: 0px;
  border: none;
  border-bottom: 2px solid var(--primary-neutral);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 14px;
  font-size: .8rem;
  margin: 10px 0px;
  border-radius: 0;
  padding: 8px 0;
  text-indent: 10px;
}

.input-group .input-text-validation {
  position: absolute;
  top: 26px;
  right: 0;
  display: none;
}

.input-group .input-text-error-message {
  color: var(--primary-accent);
  display: none;
  font-size: 0.75rem;
  letter-spacing: 0.14px;
  font-weight: 600;
  line-height: 12px;
  margin-left: 18px;
}

.input-text.valid ~ .input-text-validation {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: var(--tertiary-accent);
  display: inline-block;
}

.input-text.valid ~ .input-text-validation:after {
  content: url(../svg/checkmark-white.svg);
  color: white;
  display: inline-block;
  width: 20px;
  height: 20px;
  padding-left: 5px;
}

.input-text.invalid ~ .input-text-validation {
  content: url(../svg/exclamation-mark-red.svg);
  width: 20px;
  height: 20px;
  display: inline-block;
}

.input-text.invalid~.input-text-error-message {
  display: block;
  bottom: -18px;
  position: absolute;
}

/**
 * Footer stuff.
 */

.paid-for-by {
  color: var(--primary-dark);
  font-size: .5rem;
  font-weight: 500;
  border: 1px solid var(--primary-dark);
  max-width: 204px;
  margin: 14px auto;
  padding: 6px 19px;
}

/**
 * Interaction stuff.
 */

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/**
 * Responsive.
 */

@media screen and (min-width: 800px) {
  .label-input {
    font-size: 18px;
  }

  .input-text {
    padding: 18px 0 21px 0;
    font-size: 18px;
  }

  .input-text.valid ~ .input-text-validation {
    top: 40px;
  }

  .input-text.invalid ~ .input-text-validation {
    top: 40px;
  }
}

/**
 * Min desktop.
 */

@media (min-width: 1000px) {
  .button {
    font-size: 20px;
    padding: 8px 26px;
  }

  .button-arrow:after {
    top: 39%;
  }
}

/**
 * END NEW SITE RULES
 */
