body {
  color: #2a2a2a;
  font-family: var(--program-font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #e6e6e6;
  position: relative;
}
main {
  background-color: #fff;
  flex-grow: 1;
  z-index: 2;
  padding-top: 28px;
  padding-bottom: 28px;
}
.content-box-shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  main.container {
    padding-left: 90px;
    padding-right: 90px;
    padding-top: 0;
    padding-bottom: 40px;
  }
  .content-box-shadow {
    box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.25),
      0px 0px 40px 10px rgba(0, 0, 0, 0.25);
  }

  .header-container {
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
    margin-right: -1.5rem;
  }
  
  main.container:not(.verify-home-container) .header-container {
    margin-right: -3.5rem;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--program-font-heading), sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.5;
}
h5 {
  font-size: 1.1em;
}
ul {
  margin: 0;
  margin-bottom: 1rem;
}
/* Program color comes from the Program.color_primary and Program.color_secondary assigned in base.html */
a,
a:hover,
a:visited:not(.btn) {
  color: var(--program-color-primary);
}
a:hover,
a:visited:not(.btn) {
  filter: brightness(90%);
}
.site-header {
  height: 68px;
}
.navbar {
  padding: 20px 12px;
}
@media screen and (min-width: 768px) {
  .navbar {
    padding: 20px 90px;
  }
}
.site-header .navbar-nav .nav-link,
.site-header .navbar-nav .nav-link:visited,
.navbar-brand,
.navbar-brand:visited {
  color: #cbd5db;
}
.site-header .navbar-nav .nav-link:hover,
.navbar-brand:hover {
  color: #ffffff;
}
.site-header .navbar-nav .nav-link.active {
  font-weight: 600;
}
.site-header.with-progress {
  height: 104px;
}
.site-header a,
.site-header a:visited,
.site-header a:hover {
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .tagline {
    text-align: center;
  }
}
.next-step {
  display: block;
  color: #ffffff;
  font-size: 1.2em;
}
.giant-text {
  font-size: 7em;
  font-weight: 600;
  line-height: 1.2;
}
footer {
  font-weight: 600;
  color: #ffffff;
  padding: 28px 0;
}
.footer-links {
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .footer-links-container,
  .footer-links {
    justify-content: center;
    align-items: center;
  }
  .footer-links p:first-child .footer-link {
    margin-right: 4rem;
  }
}
a.footer-link,
a.footer-link:visited {
  color: #ffffff;
}
.footer-flex {
  margin: 0 auto;
  width: fit-content;
}
@media screen and (max-width: 374px) {
  .footer-flex {
    width: 100%;
  }
}
.footer-logo {
  display: block;
  max-width: 40%;
  margin: 0 auto 32px 0;
}
.welcome-logo {
  max-width: 90%;
  margin: 0 auto;
  display: block;
}
.bg-steel {
  background-color: #2a2a2a;
}
/* Forms (bootstrap customizations) */
/* Forms max-width 50% when on desktop */
@media screen and (min-width: 768px) {
  form,
  .btn-wrapper {
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
  }
}
[class*="btn-"] {
  padding: 0.75rem;
}
/* Images max-width 50% when on desktop */
@media screen and (min-width: 768px) {
  .img-fluid {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
/* Buttons max-width 50% when on desktop */
@media screen and (min-width: 768px) {
  .btn-desktop {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
.btn-light,
.btn-light:visited {
  background-color: #f5f5f5;
}
.btn-primary {
  /* Pill shape */
  font-size: 18px;
  font-weight: 600;
  vertical-align: middle;
  border-radius: 1.7rem;
  line-height: 1.7rem;
}
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:active {
  background-color: var(--program-color-primary) !important;
  color: #ffffff !important;
  border: none !important;
  width: 100% !important;
}
.btn-primary:hover,
.btn-primary:active {
  filter: brightness(90%);
}
/* Fix spacing on inputmask */
input[data-inputmask] {
  letter-spacing: 0.1rem;
}
.form-label {
  margin-bottom: 0.1rem;
  font-weight: 600;
}
.form-text {
  margin-bottom: 0.5rem;
}
.form-control,
.form-check,
.form-select {
  padding: 0.75rem;
}
.form-control:focus:not(:read-only),
.form-check:focus,
.form-select:focus {
  border-color: #2a2a2a;
  box-shadow: 0 0 0 0.25rem var(--program-color-secondary);
}
.form-control-sm {
  width: 33.3%;
}
.form-control-md {
  width: 66.6%;
}
@media screen and (max-width: 374px) {
  .form-control-sm {
    width: 100%;
  }
  .form-control-md {
    width: 100%;
  }
}
.form-check {
  position: relative;
  padding: 0;
  margin: 0;
  margin-top: 0.25rem;
}
.form-check-label {
  border: 2px solid transparent; /* Fixes border width jump */
  background-color: #f5f5f5;
  /* force this to extend full-width into the parent .form-check */
  position: relative;
  padding: 0.75rem;
  padding-left: calc(0.75rem + 24px);
  margin: 0;
  width: 100%;
}
.form-check-input:checked + .form-check-label {
  border: 2px solid var(--program-color-primary);
}
.form-check .form-check-input {
  float: none;
  margin: 0;
  position: absolute;
  left: 0.75rem;
  top: 1.1rem;
  z-index: 1;
  flex-shrink: 0;
}
.form-check .form-check-input:checked {
  background-color: var(--program-color-primary);
  border-color: var(--program-color-primary);
}
.flex-form-check .form-check-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.form-check-label-text {
  vertical-align: baseline;
  line-height: 1.2rem;
}
.form-group {
  margin-top: 15px;
}
/* Errors */
.invalid-feedback {
  display: flex;
  margin-bottom: 0.5rem;
  font-weight: 600;
  align-items: center;
}
/* Alert icon - exclamtion point with red circle */
.invalid-feedback::before {
  content: "!";
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  background-color: #dc3545;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  padding-top: 0.1rem;
}
/* except when within an error box */
.error-box .invalid-feedback::before {
  display: none;
}
.error-box {
  padding: 0.5rem 1rem;
  border: 2px solid #dc3545;
}
.error-box > h3 {
  margin-top: 0.25rem;
}
.error-text {
  color: #dc3545;
  font-weight: 600;
}
.success-text {
  color: #38a169;
  font-weight: 600;
}

/* Progress circle */
.circular-chart {
  display: block;
  height: auto;
  width: 4rem;
}
.circle {
  stroke: #38a169;
  fill: none;
  stroke-width: 2.8;
  /* stroke-linecap: round; */
  animation: progress 1s ease-out forwards;
}
@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}
.circle-muted {
  stroke: #fff;
  animation: none;
}

/* Coupons/barcodes */
.coupon-barcode img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
@media screen and (min-width: 768px) {
  .coupon-barcode img {
    /* use normal size on desktop */
    width: auto;
    height: auto;
  }
}
.coupon-instructions {
  margin-bottom: 1rem;
}
.hidden {
  display: none;
}
.scrollbox {
  max-height: 300px;
  overflow-y: auto;
  margin: 2rem 0 1rem 0;
  padding: 1.5rem;
  background-color: #f5f5f5;
}
.scrollbox > *:first-child {
  margin-top: 0;
}
.scrollbox > *:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .scrollbox {
    max-height: 600px;
  }
}

.program-color-primary {
  color: var(--program-color-primary);
}

.tool-form {
  margin-top: 2rem;
  margin-bottom: 4rem;
  margin-left: 0;
  max-width: 100%;
  align-self: flex-start;
}

.tool-form .btn {
  width: 25% !important;
  height: auto !important;
}

.active>.page-link, .page-link.active {
  background-color: var(--program-color-primary);
  border-color: var(--program-color-primary);
}

/* Site selector dropdown at the top of the page
Full width row, with white backround padding */
.site-select {
  padding: 2rem 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}
.site-select form {
  max-width: 100%;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
}

.js-spinner {
  background-color: var(--program-color-primary);

  mask-image: url("/static/img/spinner.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;

  -webkit-mask-image: url("/static/img/spinner.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  height: 5rem;
  width: 5rem;
  display: block;
  margin: 2rem auto 0 auto;
}
/* Richtext (TinyMCE) */

.richtext img {
  max-width: 100%;
  height: auto;
}
/* Language dropdown */
.language-dropdown {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.language-dropdown form {
  margin: 0;
}
.language-dropdown .form-select {
  padding: .25rem;
  padding-left: 1rem;
  padding-right: 2rem;
  border-top-right-radius: .375rem;
  border-bottom-right-radius: .375rem;
}
main.container:not(.verify-home-container) .language-dropdown {
  margin-top: 0;
  margin-bottom: 2rem;
}
