/*
 Styles frontpage below centerpiece module 
 */

/* .custom-newsletter-signup-module {
  --background-color: #c6d0d8;
  --top-text-color: #333;
  --desc-color: #2d2d2d;
  --submit-btn-color: #2f4b60;
  --submit-btn-text: #fff;
} */

.custom-newsletter-signup-module {
  display: flex;
  margin-bottom: 2rem;
}

.custom-colors-no-thumbnail.newsletter-container {
  padding: 0;
}

/* Removes thumbnail */
.custom-colors-no-thumbnail .newsletter-top {
  display: none;
}

.custom-colors-no-thumbnail .newsletter {
  box-shadow: none;
  padding: 14px 14px 12px 14px;
  background: var(--background-color);
  width: 100%;
  max-width: unset;
}

.custom-colors-no-thumbnail .newsletter-bottom {
  margin: 4px !important;
  width: 100%;
}

.custom-colors-no-thumbnail .newsletter-title {
  font-size: 18px;
  font-family: "Lora", serif;
  display: inline-block;
  margin-bottom: 10px;
}

.custom-colors-no-thumbnail .newsletter-desc {
  font-size: 16px !important;
  line-height: 1.33em !important;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 8px;
  color: var(--top-text-color);
  opacity: 0.8;
  display: none;
}

.custom-colors-no-thumbnail .input-label {
  color: rgba(0, 0, 0, 0.6);
  padding-left: 3px;
}

.custom-colors-no-thumbnail .input-button-container {
  height: 45px;
}

.custom-colors-no-thumbnail .email-input {
  box-shadow: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 14px;
  font-size: 18px;
}

.custom-colors-no-thumbnail .form-control:focus {
  border-bottom-color: var(--accent-color);
}

.custom-colors-no-thumbnail .btn-primary,
.custom-colors-no-thumbnail .btn-primary:active:hover,
.custom-colors-no-thumbnail .btn-primary[disabled]:hover {
  background-color: var(--submit-btn-color);
  border-color: var(--submit-btn-color);
  color: var(--submit-btn-text);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.custom-colors-no-thumbnail .validation-submit {
  margin-top: 4px;
}

.custom-colors-no-thumbnail .alert-success,
.custom-colors-no-thumbnail .validation-submit.alert {
  color: var(--submit-btn-color);
  background-color: var(--background-color);
  border: none;
  filter: brightness(1.050);
}

.custom-colors-no-thumbnail .validation-submit.alert a {
  color:var(--submit-btn-color);
}

.custom-colors-no-thumbnail .recaptcha-policy {
  font-size: 10px;
  margin-top: 5px;
  padding: 0 0 0 3px;
}

.custom-colors-no-thumbnail .recaptcha-policy > a {
  color: rgba(0, 0, 0, 0.4);
  text-decoration: underline;
}

@media screen and (max-width: 992px) {
  .custom-colors-no-thumbnail .btn-size {
    height: 45px;
  }
}

@media screen and (max-width: 767px){
  .custom-colors-no-thumbnail .newsletter-title {
    margin-right: 20px;
  }
}

@media screen and (max-width: 600px) {
  .custom-colors-no-thumbnail {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .custom-colors-no-thumbnail .newsletter {
    margin-left: 0;
    margin-right: 0;
  }

  .custom-colors-no-thumbnail .newsletter-bottom {
    margin: 0 !important;
  }

  .custom-colors-no-thumbnail .newsletter-desc {
    margin: 0;
  }

  .custom-colors-no-thumbnail .input-button-container {
    height: 45px;
  }

  .custom-colors-no-thumbnail .btn-size {
    height: 45px;
  }

  .custom-colors-no-thumbnail .recaptcha-policy {
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 448px) {
  .custom-colors-no-thumbnail .newsletter-title {
    padding-top: 0px;
  }
}
