.chat {
 -webkit-transition: 0.6s ease;
 -o-transition: 0.6s ease;
 transition: 0.6s ease;
 width: auto;
 max-width: 754px;
 margin: 0 auto 110px;
}

.chat-list {}

.chat-item {
 margin-top: 64px;
}

/* .chat-item.last {
 margin-top: 34px;

}

.chat-item.last .chat-wrap {
 display: none;
} */

.diagnose__image {
 max-width: 120px;
 margin-right: 24px;
}

.diagnose__image img {
 display: block;
 width: 100%;
 height: auto;
 max-width: 120px;
 object-fit: cover;
}

.chat-wrap {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 max-width: 710px;
 width: 100%;
 align-items: center;
 margin-bottom: 10px;
}

.chat-box {
 background-color: #fff;
 border-radius: 3px;
 border: 5px solid #128ABD;
 padding: 1em;
 -webkit-filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
 filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
 -webkit-animation: 1s ease;
 animation: 1s ease;
 -webkit-transform-origin: top right;
 -ms-transform-origin: top right;
 transform-origin: top right;
}

/* .chat-item.last .chat-box {
 border: none;
 filter: none;
} */

.chat-title {
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 padding: 0 0 0.7em 0;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center;
 color: #333;
 margin-bottom: 0.7em;
 font-size: 21px;
 font-weight: 700;
 border-bottom: 1px solid #cccccc;
}

@media screen and (max-width: 768px) {
 .chat-title {
  font-size: 18px;
 }
}

.chat-item.last .chat-title {
 display: none;
}

.chat-title-sub {
 margin-right: 13px;
 font-weight: normal;
 color: #fff;
 padding: 6px;
 background-color: #9d9d9d !important;
 border-radius: 16px;
 /* width: 56px; */
 text-align: center;
}

.chat-title-sub.must {
 background-color: #ff914d !important;
}

.chat-text-wrap {
 background-color: #637e8b;
 position: relative;
 border-radius: 50px;
 margin: 0 0 15px 0;
 padding: 0.7em 1em 0.7em 2em;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center;
 line-height: 1.6;
 color: #fff;
 font-weight: 700;
 width: 100%;
}

.chat-text-wrap p {
 margin-bottom: 0;
}

.chat-text-wrap p {
 text-align: left;
}

@media screen and (max-width: 768px) {
 .chat-text-wrap p {
  font-size: 14px;
 }

}

.chat-text-wrap::before {
 content: "";
 position: absolute;
 top: 50%;
 left: 1px;
 -webkit-transform: translate(-100%, -50%);
 -ms-transform: translate(-100%, -50%);
 transform: translate(-100%, -50%);
 border: 0.3em solid transparent;
 border-right: 0.75em solid #637e8b;
}

.chat-ans .nav-link {
 white-space: nowrap;
 border-radius: 2em;
 border-color: #cccccc;
 background-color: #128ABD;
 font-size: 17px;
 font-weight: 700;
 padding: 0.5em 1.3em;
 margin-right: 0.5em;
 margin-bottom: 0.5em;
 color: #fff;
 text-decoration: none;
 max-width: 320px;
 text-align: center;
 /* height: 27px;
 line-height: 32px; */
}

.chat-ans .nav-link.active {
 background-color: #ffffff;
 border: solid 2px #637e8b;
 color: #637e8b;
}

.chat-ans {
 margin-top: 32px;
 margin-bottom: 24px;
 font-size: 16px;
}

.chat-ans nav div {
 align-items: center;
}

.slidein.is-animated {
 -webkit-animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
 animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@-webkit-keyframes slideIn {
 0% {
  -webkit-transform: translateX(180px);
  transform: translateX(180px);
  opacity: 0;
 }

 100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
 }

 40%,
 100% {
  opacity: 1;
 }
}

@keyframes slideIn {
 0% {
  -webkit-transform: translateX(180px);
  transform: translateX(180px);
  opacity: 0;
 }

 100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
 }

 40%,
 100% {
  opacity: 1;
 }
}

.display-none {
 display: none;
}

.form-control {
 display: block;
 width: 100%;
 padding: 0.375rem 0.75rem;
 font-size: 16px;
 font-weight: 400;
 line-height: 1.5;
 color: #212529;
 background-color: #fff;
 background-clip: padding-box;
 border: 1px solid #ced4da;
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 border-radius: 0.25rem;
 -webkit-transition: border-color 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
 transition: border-color 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
 -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
 transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
 transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
  -webkit-box-shadow 0.15s ease-in-out;
}

.chat__btn-next {
 margin: 1em auto 0;
 padding: 0.7em 1em;
 display: block;
 width: 85%;
 position: relative;
 font-size: 16px;
 background-color: #128ABD;
 font-weight: 700;
 border: 0px solid #fff;
 border-radius: 48px;
 color: #fff;
 text-align: center;
 cursor: pointer;
}

.end.chat__btn-next {
 margin: 0 auto 0;
 background-color: #F7931E !important;
}

.chat__btn-next i {
 position: absolute;
 top: 50%;
 right: 1em;
 -webkit-transform: translateY(-50%);
 -ms-transform: translateY(-50%);
 transform: translateY(-50%);
}

.invalid-text {
 display: none;
 width: 100%;
 margin-top: 0.25rem;
 font-size: 0.875em;
 color: #ff914d;
}

.invalid-text2 {
 display: none;
 width: 100%;
 margin-top: 0.25rem;
 font-size: 0.875em;
 color: #ff914d;
}

.chat__ans .form-control {
 font-size: inherit;
 padding: 1em 1em;
}

.chat__ans select,
.chat__ans input,
.chat__ans textarea {
 background-color: #eeeeee;
}

/* thanks page */
.thanksWrap {
 position: relative;
 width: 98%;
 margin: 40px auto 55px auto;
 padding: 40px 0 0 0;
 border: 3px solid #cccccc;
 border-radius: 5px;
 background-color: #f0faff;
 z-index: 100;
}

.sateiTitle {
 width: 80%;
 height: 60px;
 top: -45px;
 left: 0;
 right: 0;
 margin: 0 auto;
 /* border: 3px solid #1c4f7c; */
 margin-bottom: 40px;
 border-radius: 96px;
 background-color: #128ABD;
 font-size: 1.5rem;
 font-weight: 900;
 color: #fff;
 text-align: center;
 line-height: 60px;
}

.thanksBody {
 margin: 0 auto 30px auto;
 font-size: 14px;
 font-weight: 700;
 line-height: 31px;
 text-align: center;
 background: #cde7f6;
 padding: 28px;
}

/* @media only screen and (max-width: 768px) {
 .c-mb135 {
  margin-bottom: 100px
 }
} */

.thanksContent {
 width: 353px;
 padding: 28px 0 26px 0;
 text-align: center;
 border-top: 1px solid #cccccc;
 /* display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center; */
 margin: auto;
}

.thanksContentCaption {
 font-size: 16px;
 font-weight: 700;
}

@media (max-width: 767px) {
 .diagnose-profile {
  width: 96px;
  height: 96px;
  margin-right: 0px;
 }
}

.diagnose__image-thanks {}

.diagnose__image-thanks img {
 width: 100%;
 height: auto;
 max-width: 240px;
 object-fit: cover;
}


input:required:invalid {
 background: none;
}

textarea:required:invalid {
 background: none;
}

@media (max-width: 767px) {
 .diagnose-wrap {
  padding-top: 10px;
 }
}
