body {
  background-color: #f3f3f3;
}

.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Fallback for browsers do NOT support vh unit */
  height: 90%;
  min-height: 90%;
  height: 80vh;
  min-height: 80vh;
}

.logo-container {
  margin: 26px auto 12px;
  width: 90%;
  max-width: 600px;
  flex: 0 0 auto;
}

.logo-container img {
  width: 100%;
}

.vertical-center {
  /* These two lines are counted as one :-)       */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex: 0 0 auto;
  flex-grow: 1;
}

#cm-email-signup-custom {
  font-family: var(--sans-serif), Helvetica, sans-serif;
  width: 100%;
  float: left;
  padding: 15px;
  border: 1px solid RGBA(0, 0, 0, 10%);
  -webkit-box-shadow: 0px 3px 10px RGBA(0, 0, 0, 10%);
  box-shadow: 0px 3px 10px RGBA(0, 0, 0, 10%);
  border-radius: 5px;
  background: white;
  margin: auto;
  max-width: 856px;
}

#cm-email-signup-custom h1 {
  margin-bottom: 1rem;
  margin-top: 0;
  padding: 2.5rem 2.75rem 0 2.75rem;
  letter-spacing: -1px;
  line-height: 1.17;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  font-size: 35px;
  font-family: var(--serif);
}

#cm-email-signup-custom #email-signup-bounding-box {
  margin-left: auto;
  margin-right: auto;
  padding: 0 2.75rem 2.5rem 2.75rem;
  position: relative;
}

#cm-email-signup-custom .description {
  padding-bottom: 0.75rem;
  font-size: 16px;
  color: var(--accent-color);
}

#cm-email-signup-custom .confirmation {
  white-space: pre-wrap;
  font-style: italic;
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 0.3rem;
  font-size: 16px;
  color: var(--accent-color);
  margin-top: 1.5em;
}

.recaptcha-policy {
  font-size: 12px;
}

.cm-signup-form {
  margin-top: 1rem;
  display: flex;
}

.cm-signup-form span {
  color: #ce171e;
}

.cm-signup-form .form-group {
  width: 100%;
  margin-bottom: 10px;
}

.cm-signup-form .form-control {
  height: 45px;
  border-radius: 4px 0 0 4px;
}

.cm-signup-form .form-group label {
  display: none;
}

.cm-signup-form button.cm-signup-form-button {
  padding: 1.4rem 3rem;
  background-color: #ce171e;
  font-weight: bold;
  color: white;
  font-size: 1.4rem;
  border-radius: 0 4px 4px 0;
  font-style: normal;
  line-height: 1;
  outline: 0px;
  text-decoration: none;
  height: 45px;
}

.cm-signup-form button:hover {
  background-image: linear-gradient(rgb(0 0 0/25%) 0 0) !important;
}

.cm-signup-form button:active:hover {
  background-image: linear-gradient(rgb(0 0 0/33%) 0 0) !important;
  color: #fff !important;
}

.status-container .alert {
  margin-top: 10px;
  margin-bottom: 12px;
}

.status-container .try-again:hover {
  cursor: pointer;
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.5); /* Light grey */
  border-top: 4px solid rgba(255, 255, 255, 0.8); /* Dark grey */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 600px) {
  #cm-email-signup-custom {
    max-width: 100%;
  }
  #cm-email-signup-custom h1 {
    font-size: 29px;
  }
}

@media only screen and (max-width: 480px) {
  #cm-email-signup-custom h1 {
    padding: 1.75rem 0.75rem 0 0.75rem;
  }

  #cm-email-signup-custom #email-signup-bounding-box {
    padding: 0 0.75rem 1.75rem 0.75rem;
  }

  .cm-signup-form {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .cm-signup-form .form-control {
    border-radius: 4px;
  }

  .cm-signup-form .form-group {
    margin-bottom: 6px;
  }

  .cm-signup-form button.cm-signup-form-button {
    border-radius: 4px;
  }
}
