.fixed-form-button {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ea5e4c;
  z-index: 999;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.16);
}

.fixed-form-button:hover {
  bottom: 17px;
  transition: bottom 0.2s ease 0s;
}

.fixed-form-button img {
  position: relative;
  z-index: 1000;
  width: 90%;
  max-width: 50px;
}

.fixed-form-container {
  background: #ea5e4c;
  display: none;
  position: fixed;
  bottom: 80px;
  right: 80px;
  width: 400px;
  border-radius: 16px 16px 16px 16px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.16);
}

.fixed-form-container form {
  border-radius: 16px 16px 16px 16px;
  background: #fff;
}

.fixed-form-container header {
  background: #ea5e4c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 2rem 2rem;
  font-family: sans-serif;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

.fixed-form-container header h2 {
  font-size: 24px;
  margin-bottom: 0px;
}

.fixed-form-container.form-active {
  display: block;
}

.fixed-form-container .error {
  font: 11px/22px "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: none;
  color: #636363;
}

.fixed-form-container .form-group {
  /* margin-bottom: 0px; */
  margin-bottom: 8px;
  line-height: 0;
}

.fixed-form-container .form-group input,
.fixed-form-container .form-group textarea {
  border-radius: 8px;
  background-color: #f4f4f4;
  border: solid 1px #e3e3e3;
  font-size: 14px;
  font-family: sans-serif;
  width: 100%;
  outline: none;
  transition: border ease-in-out 0.5s;
  -webkit-transition: border ease-in-out 0.5s;
  -moz-transition: border ease-in-out 0.5s;
  line-height: normal;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.fixed-form-container #ff-send,
#ff-ajaxsuccess #ff-ok {
  font-family: "Merriweather sans";
  color: #fff;
  background: #ea5e4c;
  box-shadow: none;
  font-weight: 400;
  padding: 10px 40px;
  max-width: 150px;
  text-align: center;
  display: block;
  margin: 0 auto;
  border-radius: 50px;
  letter-spacing: 2px;
  border: none;
}
.fixed-form-container #ff-send:active {
  animation: bubble 0.25s forwards ease-out;
}

@keyframes bubble {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

#ff-ajaxsuccess #ff-ok {
  background: #fff;
  color: #ea5e4c;
}

.error {
  font: 11px/22px "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: none;
  color: #636363;
}

#ff-ajaxsuccess {
  color: #fff;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  display: none;
  padding-left: 10px;
  width: 100%;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

@media screen and (max-width: 500px) {
  .fixed-form-container {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
  .fixed-form-button {
    width: 50px;
    height: 50px;
  }

  .fixed-form-button:hover {
    bottom: 10px;
  }
}
