
/* layout */

.newsletter-block__confirmation {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.newsletter-block .flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.newsletter-block .flex-container > * {
  flex: 0 1 auto;
  margin: 0;
}


@media all and (max-width: 450px) {
  .newsletter-block__form.flex-container > * {
    width: 100%;
    max-width: 250px;
    display: block;
    margin-bottom: 1rem;
  }

  .newsletter-block input::placeholder {
    text-align: center;

  }
}


@media only screen and (max-width: 768px) {
  .newsletter-block {
    font-size:14px
  }
}

/*  Base styles */


.newsletter-block {
  background:#0c7696;
  text-align: center;
  position: relative;
  padding: 2em;
}

.newsletter-block * {
  -webkit-transition: opacity .2s ease-in;
  -moz-transition: opacity .2s ease-in;
  -ms-transition: opacity .2s ease-in;
  -o-transition: opacity .2s ease-in;
  transition: opacity .2s ease-in;
}

.newsletter-block .newsletter-block--hidden {
  opacity: 0;
  z-index: -1;
}

.newsletter-block em {
  text-decoration: underline;
}

.newsletter-block__label {
  color: #fff;
  text-transform:uppercase;
  padding: 1rem 1.5rem;
}

.newsletter-block .newsletter-block__label span {
  margin-right: .25rem;
}

.newsletter-block__label * {
  display: inline-block;
}

.newsletter-block__confirmation {
  color: #fff;
}

.newsletter-block__confirmation p {
  margin: 0;
}

.newsletter-block input {
  padding: 1rem 1.5rem;
  color: #0c7696;
  font-family: Avenir-Heavy, sans-serif;
  border: 1px solid #01566f;
}

.newsletter-block input:-internal-autofill-selected {
  color: #0c7696 !important;
  font-family: Avenir-Heavy, sans-serif;
}

.newsletter-block input::placeholder {
  color: #0c7696;
  font-family: Avenir-Light, sans-serif;
}

.newsletter-block button {
  padding: 1rem 1.5rem;
  font-family: Avenir-Light, sans-serif;
  text-align: center;
  margin: auto;


  color: white;
  background-color: #01566f;

  text-transform: uppercase;
  border: 1px solid #01566f;
  transition: color .2s ease-in, background-color .2s ease-in, border .2s ease-in;
  outline: 0;
}

.newsletter-block button:hover {
  border: 1px solid #87c6da;
}



