.fusion-form-chat-shortcode-content-wrapper {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
#chat-form {
  align-items: center;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  will-change: opacity;
}
.fusion-form-chat-shortcode-content-wrapper.ready #chat-form {
  opacity: 1;
  visibility: visible;
}
.fusion-form-chat-shortcode-content-wrapper .lds-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
}
.fusion-form-chat-shortcode-content-wrapper.ready .lds-ripple {
  display: none;
}
.steps-wrapper {
  display: flex;
  align-items: center;
  transition: all 0.5s ease-in-out;
 }
.question-wrapper, .answer-wrapper {
  display: flex;
  margin-bottom: 30px;
  justify-content: space-between;
}
.chat-photo {
  height: 70px;
  width: 70px;
  min-width: 70px;
  -webkit-border-radius: 50%;-moz-border-radius: 50%;border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}
.chat-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#chat-form .message, #chat-form .answer {
  max-width: 465px;
  width: 100%;
  -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;
  background: white;
  padding: 30px;
  position: relative;
}
#chat-form .message {
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  color: #1E1E64;
  margin-left: 15px;
}

#chat-form .message p:last-child {
  margin-bottom: 0;
}
#chat-form .message:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 10px solid white;
  position: absolute;
  left: -9px;
  top: 25px;
}
#chat-form .answer {
  display: flex;
  padding: 30px 25px;
  margin-right: 15px;
  flex-wrap: wrap;
}
#chat-form .answer:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid white;
  position: absolute;
  right: -9px;
  top: 25px;
}
#chat-form .answer .form-field {
  width: 50%;
  padding: 5px;
}
#chat-form .answer .more-info {
  width: 100%;
  padding: 0 5px;
  margin-top: 15px;
}
#chat-form .answer .more-info legend {
  font-size: 16px;
  padding: 0;
}

#chat-form .answer .more-info .checkbox-field label {
  margin-right: 8px;
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}
#chat-form .answer .more-info .checkbox-field label:before {
  content: '';
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  border: 1px solid #A2A2A2;
  display: block;
  position: absolute;
  transition: all 0.25s ease;
}
#chat-form .answer .more-info .checkbox-field label:after {
  content: '';
  width: 14px;
  height: 6px;
  top: 4px;
  left: 3px;
  border-left: 2px solid #1E1E64;
  border-bottom: 2px solid #1E1E64;
  display: block;
  position: absolute;
  transform: rotate(-45deg) scale(0.7);
  transition: all 0.25s ease;
  opacity: 0;
}
#chat-form .answer .more-info .checkbox-field input {
  width: 1px;
  height: 1px;
  display: none;
  visibility: hidden;
  opacity: 0;
}
#chat-form .answer .more-info .checkbox-field input:checked + label:before {
  border-color: #1E1E64;
}
#chat-form .answer .more-info .checkbox-field input:checked + label:after {
  opacity: 1;
  transform: rotate(-45deg);
}
#chat-form .answer .form-field.like-to-speak-field {
  width: 100%;
  padding: 0;
  margin-top: 15px;
  display: block;
}
#chat-form .answer .form-field.field-hidden {
  display: none;
}
.btn-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.next-btn, .submit-btn, .btn-link {
  width: 100%;
  max-width: 200px;
  color: white;
  -webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;
  border: 0;
  background: #1E1E64;
  font-size: 16px;
  line-height: 22px;
  padding: 9px 20px;
  text-align: center;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: all .2s;
}
.btn-link {
  width: auto;
  max-width: initial;
  font-weight: normal;
  padding: 9px 25px;
 }
.next-btn:hover, .submit-btn:hover, .btn-link:hover {
  color: white;
  background: #00bec8;
}
.next-btn:focus, .submit-btn:focus, .btn-link:focus {
  outline: 0;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

#chat-form.form-completed .step-form:not( .success-step ) {
  overflow: hidden;
}
.step-form {
  opacity: 0;
  visibility: hidden;
  transition: all 0.9s ease-in-out;
  transform: scale(0.8);
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  padding: 65px 0 65px;
  min-width: 560px;
  max-height: 200px;
}
.step-form.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  max-height: initial;
}
.step-container {
  width: 100%;
}
.reset-prev {
  position: absolute;
  bottom: 25px;
  left: 5px;
  right: 5px;
  display: flex;
  justify-content: space-between;
}
.btn-wrapper {
  margin-top: 35px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.reset-btn, .prev-btn {
  font-family: 'Open Sans';
  font-size: 16px;
  line-height: 22px;
  color: #1E1E64;
  transition: all 0.2s ease-in-out;
  opacity: 0.5;
  background: none;
  -webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;
  border: none;
  cursor: pointer;
}
.reset-btn:hover, .prev-btn:hover {
  opacity: 1;
}
.reset-btn:focus, .prev-btn:focus {
  outline: 0;
}
.prev-btn {
  padding-left: 24px;
  background-image: url(../image/arrow-left.svg);
  background-repeat: no-repeat;
  -webkit-background-size: 10px auto;
  background-size: 10px auto;
  background-position: 3px center;
}
.reset-btn {
  padding-right: 24px;
  background-image: url(../image/reload.svg);
  background-repeat: no-repeat;
  -webkit-background-size: 14px auto;
  background-size: 14px auto;
  background-position: 100% center;
}
.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  overflow: hidden;
  border: 1px solid #A2A2A2;
}
.select-field {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border: 1px solid #A2A2A2;
}
.invalid .input, .invalid .select-field {
  border-color: #df0000;
}
.invalid .error-field {
  font-size: 12px;
  color: #df0000;
  line-height: 1.1;
  display: block;
  margin-top: 5px;
}

.input__field {
  display: block !important;
  float: right !important;
  border: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important; /* for box shadows to show on iOS */
  position: absolute !important;
  z-index: 100 !important;
  padding: 17px 9px 0 !important;
  background: transparent !important;
  color: #303030 !important;
  font-size: 16px !important;
  height: 46px !important;
  width: 100%;
}
.select2.select2-container {
  display: block;
  border: none;
  border-width: 0;
  border-radius: 0;
  position: absolute;
  z-index: 10;
  background-color: transparent;
  color: #303030;
  font-size: 16px;
  height: 46px;
  width: 100% !important;
}

.select2-container .select2-selection--single {
  -webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;
  border: 0 !important;
  height: 46px !important;
  padding-top: 15px !important;
  background: transparent !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 31px !important;
  color: #303030 !important;
}
.state-field .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 24px;
  background-image: url(../image/location-pin.svg);
  background-repeat: no-repeat;
  -webkit-background-size: 10px auto;
  background-size: 10px auto;
  background-position: 8px center;
}
.select2-container .select2-selection .select2-selection__arrow {
  border: 0;
  top: 0;
  right: 0;
  height: 46px !important;
  width: 30px !important;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  transform: rotate(180deg);
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  width: 12px;
  height: 12px;
  border: none;
  background: url('../image/arrow-down.svg') no-repeat center;
  -webkit-background-size: 100%;background-size: 100%;
  margin-left: -6px;
  transition: transform 0.2s ease-in-out;
}

.select2-container--default.select2-container--open .select2-dropdown {
  margin-top: 1px !important;
  border-color: #A2A2A2 !important;
  border-radius: 0 !important;
}
.select2-results__option {
  padding: 0 20px !important;
}
.select2-container--default.select2-container--open .select2-dropdown .select2-search {
  -webkit-border-radius: 0 !important;-moz-border-radius: 0 !important;border-radius: 0 !important;
  border-color: #A2A2A2 !important;
  padding: 5px !important;
}
.select2-container--default.select2-container--open .select2-dropdown .select2-search .select2-search__field {
  -webkit-border-radius: 0 !important;-moz-border-radius: 0 !important;border-radius: 0 !important;
  border-color: #A2A2A2 !important;
  padding: 5px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #00bec8 !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #00bec8 !important;
  color: white !important;
}

.input__field:focus {
  outline: none;
}

.input__label {
  display: inline-block;
  float: right;
  color: #303030;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  text-align: left;
}
.select__label {
  display: inline-block;
  color: #303030;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0;
  width: calc( 100% - 30px );
  height: 100%;
  background: #fff;
  text-align: left;
  position: relative;
  z-index: 11;
  transition: all 0.3s;
}

.input__label-content, .select__label-content {
  font-size: 16px;
  position: relative;
  display: block;
  width: 100%;
  padding: 9px 12px;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.3s, color 0.3s;
  transition: transform 0.3s, color 0.3s;
  text-rendering: geometricPrecision;
}

.input__field:focus + .input__label .input__label-content,
.input--filled .input__label .input__label-content {
  -webkit-transform: translate3d(0, -10px, 0) scale3d(0.6, 0.6, 1) translateZ(1px);;
  transform: translate3d(0, -10px, 0) scale3d(0.6, 0.6, 1) translateZ(1px); translateZ(1px);
}
.select2-container.select2-container--focus + .select__label .select__label-content,
.select2-container.select2-container--open + .select__label .select__label-content,
.select--filled .select__label .select__label-content {
  -webkit-transform: translate3d(0, -10px, 0) scale3d(0.6, 0.6, 1) translateZ(1px);;
  transform: translate3d(0, -10px, 0) scale3d(0.6, 0.6, 1) translateZ(1px); translateZ(1px);
}
.select2-container.select2-container--focus + .select__label,
.select2-container.select2-container--open + .select__label,
.select--filled .select__label {
  background: transparent;
  z-index: 9;
}

.graphic {
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
}

.icon {
  color: #ddd;
  font-size: 150%;
}
@media (max-width: 1400px) and (min-width: 1025px) {
  #chat-form .answer {
    flex-direction: column;
  }
  #chat-form .answer .form-field {
    width: 100%;
    margin-bottom: 15px;
  }
  #chat-form .message, #chat-form .answer {
    padding: 20px;
  }
  .btn-wrapper {
    flex-direction: column;
  }
  .btn-link {
    margin-bottom: 15px;
    width: 100%;
  }
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #1E1E64;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
@media (max-width: 800px) {
  .chat-photo {
    height: 45px;
    width: 45px;
    min-width: 45px;
  }
  #chat-form .message, #chat-form .answer {
    max-width: 495px;
    width: 100%;
    -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;
    background: white;
    padding: 20px;
  }
  #chat-form .message:before, #chat-form .answer:before {
    top: 17px;
  }
  .btn-wrapper {
    flex-direction: column;
  }
  .btn-link {
    margin-bottom: 15px;
    width: 100%;
  }
}
@media (max-width: 520px) {
  #chat-form .answer {
    flex-direction: column;
  }
  #chat-form .answer .form-field {
    width: 100%;
    margin-bottom: 15px;
  }
}