.chat {
  position: fixed;
  width: 96px;
  height: 96px;
  -webkit-transition: 0.2s cubic-bezier(0, 0, 0.35, 1);
  transition: 0.2s cubic-bezier(0, 0, 0.35, 1);
  background: #04354A;
  bottom: 10px;
  right: 10px;
  border-radius: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 5;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.chat .chatmian,
.chat .iconafteropen,
.chat .chat-close {
  display: none;
}

.chat .chat-close {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 1;
}

.chat .iconbeforopen {
  display: block;
}

.chat.open {
  width: 400px;
  height: 648px;
  border-radius: 21px;
  display: block;
  cursor: auto;
  -webkit-box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
          box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.chat.open .iconbeforopen {
  display: none;
}

.chat.open .chatmian,
.chat.open .iconafteropen,
.chat.open .chat-close {
  display: block;
}

.chat.open::after {
  display: none;
}

.chat.new-message::after {
  content: '';
  width: 19px;
  height: 19px;
  background: #2BCB6B;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 5px;
  right: 5px;
  border-radius: 50px;
}

.chat .step1 .chathead {
  height: 178px;
  width: 100%;
  background-image: url(./chat-bg.jpg);
  border-radius: 21px 21px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.chat .step1 .chathead h6 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 18px;
}

.chat .step1.chatmian {
  border-radius: 21px;
  height: 100%;
}

.chat .step1 .chatbody {
  height: 100%;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 28px;
  background: #fff;
  overflow: auto;
  max-height: 470px;
  overflow: auto;
  border-radius: 0 0 21px 21px;
}

.chat .step1 .chatbody .form-control {
  padding-left: 26px;
  color: #9E9E9E;
  padding-top: 10px;
  padding-bottom: 10px;
}

.chat .step1 .chatbody label {
  font-size: 14px;
  color: #9E9E9E;
  font-weight: normal;
}

.chat .step1 .chatbody .submit {
  background: #00B1FF;
  width: 100%;
  text-align: center;
  height: 50px;
  color: #fff;
  font-weight: bold;
  border: 7px;
}

.chat .step2 .chathead {
  height: 70px;
  width: 100%;
  background-color: #04354A;
  border-radius: 21px 21px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}

.chat .step2 .chathead h6 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 18px;
}

.chat .step2 .chatprofile {
  width: 59px;
  height: 59px;
  position: absolute;
  left: 22px;
  bottom: 0;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

.chat .step2 .chatprofile img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.chat .step2.chatmian {
  border-radius: 21px;
  height: 100%;
}

.chat .step2 .chatbody {
  height: 100%;
  padding-left: 20px;
  padding-right: 20px;
  background: #EEEEEE;
  overflow: auto;
  max-height: 508px;
  overflow: auto;
  padding-top: 48px;
}

.chat .step2 .chatbody .chatbox {
  margin-bottom: 19px;
  padding: 17px 22px 10px;
  max-width: 331px;
}

.chat .step2 .chatbody .chatbox.response {
  background: #94D0ED;
  border-radius: 15px 0 15px 15px;
  margin-left: auto;
}

.chat .step2 .chatbody .chatbox.question {
  background: #fff;
  border-radius: 0px 15px 15px 15px;
  margin-right: auto;
}

.chat .step2 .chatbody .chatbox .chatbox-time {
  text-align: right;
  font-size: 12px;
}

.chat .step2 .chatbody .chatbox .chatbox-body {
  font-size: 14px;
  line-height: 1.3;
}

.chat .step2 .chatbody .chatbox .chatbox-name {
  font-size: 12px;
}

.chat .step2 .chatbody .form-control {
  padding-left: 26px;
  color: #9E9E9E;
  padding-top: 10px;
  padding-bottom: 10px;
}

.chat .step2 .chatbody label {
  font-size: 14px;
  color: #9E9E9E;
  font-weight: normal;
}

.chat .step2 .chatbody .submit {
  background: #00B1FF;
  width: 100%;
  text-align: center;
  height: 50px;
  color: #fff;
  font-weight: bold;
  border: 7px;
}

.chat .step2 .chat-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 0 0 21px 21px;
  background-color: #fff;
}

.chat .step2 .chat-footer .input-text {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.chat .step2 .chat-footer .input-text input {
  width: 100%;
  height: 100%;
  border-radius: 0;
  margin: 0;
  background-color: #fff;
  border: 0;
  outline: 0;
}

.chat .step2 .chat-footer .upload-file input {
  visibility: hidden;
  position: absolute;
  z-index: -100;
  display: none;
}

.chat .step2 .chat-footer .btn {
  border: 0;
  border-radius: 0;
  margin: 0;
  background-color: #fff;
  padding: 23px;
  height: 70px;
  border-radius: 0 0 21px 21px;
  outline: none !important;
}

.dmtop {
  right: auto;
  left: 25px;
}
/*# sourceMappingURL=chat.css.map */