::-webkit-input-placeholder {
  color: #5a5c5f;
}

.cta {
  background: #fff;
  font-weight: bold;
  border-radius: 25px;
  border: 1px solid #d4d4d5;
  line-height: 50px;
  height: 50px;
  max-width: 250px;
  text-align: center;
  transition: width .2s ease-in-out;
  cursor: pointer;
}
.cta .hide {
  display: none;
}
.cta form {
  display: flex;
}
.cta span {
  opacity: 0;
  width: 100%;
  text-align: center;
  -webkit-animation: fadeIn .3s ease-in-out;
  -moz-animation: fadeIn .3s ease-in-out;
          animation: fadeIn .3s ease-in-out;
  -webkit-animation-delay: .2s;
  -moz-animation-delay: .2s;
          animation-delay: .2s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.cta .input {
  display: none;
  opacity: 0;
  flex: 3;
  text-align: left;
}
.cta .input input {
  border: 0;
  width: 100%;
  max-width: 500px;
  height: 45px;
  margin: 0 0 0 25px;
  outline: none;
  color: #36383a;
}
.cta .button {
  display: none;
  opacity: 0;
  flex: 1;
}
.cta .button button {
  outline: none;
  float: right;
  padding: 0 15px;
  height: 40px;
  background: #6fc754;
  border-radius: 25px;
  color: #fff;
  border: 0;
  margin: 5px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.cta .button button:disabled {
  color: #ebffe5;
  opacity: .6;
}
.cta.sent {
  cursor: default;
}
.cta.active {
  width: 95%;
  max-width: 550px;
  text-align: left;
  transition: width .2s ease-in-out;
  cursor: default;
}
.cta.active span {
  display: none;
}
.cta.active .input, .cta.active .button {
  display: block;
  -webkit-animation: fadeIn .3s ease-in-out;
  -moz-animation: fadeIn .3s ease-in-out;
          animation: fadeIn .3s ease-in-out;
  -webkit-animation-delay: .1s;
  -moz-animation-delay: .1s;
          animation-delay: .1s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}