/* Styles for the mailerlite form */

.mailerlite-form {
  margin-left: 1rem;
  padding: 0;
  text-align: center;
  background-color: #fff;

}
.input-email {
  font-family: FontAwesome, Arial;
  font-size: 1rem;
  line-height: 1.5;
  width: 40ex;
  margin: 0;
  padding: 1rem;
  color: #808080;
  border-width: 0.5px 0 0.5px 0.5px;
  border-style: solid;
  border-color: #808080;
  outline: none;
  background-color: #fff;
}
.input-email::placeholder {
  color: #808080;
}
.submit {
  width: 7rem;
  font-family: FontAwesome, Arial;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  padding: 1rem;
  color: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #d53539;
  outline: none;
  background-color: #d53539;
  cursor: pointer;
}
.loading-spinner {
  display: inline-block;
  height: 15px;
}
.loading-spinner:after {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  content: " ";
  animation: spin 1.2s linear infinite;
  /* Animate according to the keyframes defined below */
  border: 4px solid #fff;
  border-color: #fff #fff #fff transparent; /* One border of the box is clear */
  border-radius: 50%; /* This makes the box into a circle */
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

#messages {
  display: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  border: solid 0.5px #808080;
  border-radius: 1rem;
  padding: .25rem 1rem;
  background: #fff;
}

/* Mobile Syle Overrides */
@media screen and (max-width: 991px) {
  #messages {
    display: none;
    position: absolute;
    top: 3rem;
    left: 1rem;
    width: 83%;
    white-space: normal;
  }

  .dismiss-message {
    position: absolute;
    top: .4rem;
    right: .5rem;
  }
}

.success-message {
  display: none;
  text-align: left;
  color: #00C26E;
  white-space: normal;
}
.error-message {
  display: none;
  text-align: left;
  color: red;
  white-space: normal;
}
.dismiss-message {
  margin-left: 10px;
  color: #444;
  cursor: pointer;
}

