* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a:hover,
a:active,
a:visited {
  text-decoration: none;
}
li {
  /* list-style: none; */
}
.panel-heading {
  padding: 5px 15px;
}
body {
  height: 100vh;
  font-family: "微软雅黑";
  /* background: url("../images/bodybg.jpg") no-repeat; */
  background-size: 100% 100%;
}
.header-robot {
  background-color: cornflowerblue;
}
.header-robot .header-flex {
  display: flex;
  justify-content: start;
  align-items: center;
}
.header-robot .logo {
  height: 50px;
  padding: 0.2em 0 0.2em 1em;
}
.header-robot .logo img {
  height: 100%;
}
.header-robot .center {
  width: 1px;
  height: 30px;
  background-color: #ddd;
  margin: 0 2em;
}
.header-robot .title {
  font-size: 1.2em;
  color: #fff;
}

.main .hanma {
  /* width: 1000px; */
  height: 69vh;
  /* border: 1px solid #000; */
  margin: 1em auto;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
}
.main .hanma .chat-area {
  /* border: 1px solid red; */
  height: 48vh;
  background-color: #e9f2fe;
  position: relative;
}
.chat-area .chat-content {
  height: 48vh;
  overflow-y: auto;
  position: relative;
  padding-bottom: 4vh;
}
.chat-area .ass-proplems {
  /* position: absolute;
	left: 0;
	bottom: 0;
	z-index: 10;
	 */
  display: none;
  padding: 0 1em;
  background-color: #fff;
}
.chat-area .ass-proplems li {
  list-style-type: none;
  /* line-height: 1.8em;
	border-bottom: 1px dashed #a9a7a7; */
  margin: 0.5em 0;
  cursor: pointer;
}
.chat-content::-webkit-scrollbar,
.proplem-area .bd::-webkit-scrollbar {
  width: 6px;
  background-color: rgba(128, 126, 126, 0.4);
}
.chat-content::-webkit-scrollbar-thumb,
.proplem-area .bd::-webkit-scrollbar-thumb {
  background-color: rgba(128, 126, 126, 0.4);
  border-radius: 6px;
}
.chat-content::-webkit-scrollbar-track,
.proplem-area .bd::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(128, 126, 126, 0.4);
  background-color: #fff;
}

.main .hanma .chat-area .tips p {
  text-align: center;
  color: #a8a5a5;
  font-size: 0.9em;
  padding: 2em 0;
}
.l-record,
.r-record {
  position: relative;
  overflow: hidden;
}
.l-record {
  margin: 1em 0 1em 0.5em;
}
.r-record {
  margin: 1em 0.5em 1em 0;
}
.l-record span,
.r-record span {
  display: block;
  max-width: 60%;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #fff;
  line-height: 24px;
  /* letter-spacing: 1px; */
  word-wrap: break-word;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 0.9em;
}
.l-record span {
  float: left;
  margin-left: 48px;
}
.r-record span {
  float: right;
  margin-right: 48px;
  background-color: #45a3f8;
  color: #fff;
}
.l-record img {
  position: absolute;
  left: 0;
  height: 34px;
}
.r-record img {
  position: absolute;
  right: 0;
  height: 34px;
}
.l-record::before {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  position: absolute;
  top: 5px;
  left: 36px;
  transform: rotate(-90deg);
}
.r-record::before {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #45a3f8;
  position: absolute;
  top: 9px;
  right: 36px;
  transform: rotate(90deg);
}
.send-area {
  position: relative;
  height: 15vh;
  display: flex;
  background-color: #e9f2fe;
  border-top: 1px solid #45a3f8;
}
.send-area .quick-btn {
  display: flex;
  position: absolute;
  top: -35px;
  left: 5px;
}
.send-area .quick-btn span {
  margin-right: 20px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 13px;
  padding: 5px 10px;
  background-color: #fff;
}
.send-area .quick-btn span  > a{
	color: red;
}
.send-area .l-send-area {
  width: 100%;
  position: relative;
}
.send-area .send-textarea {
  height: 100%;
  width: 100%;
  resize: none;
  border: none;
  background-color: #e9f2fe;
  padding: 0.5em;
  outline: none;
  font-size: 0.9em;
}
.send-area .send-btn {
  position: absolute;
  border: none;
  background-color: #45a3f8;
  border-radius: 4px;
  color: #fff;
  margin-top: 0.5em;
  margin-left: 6em;
  outline: none;
  bottom: 1em;
  right: 1em;
  font-size: 0.9em;
  padding: 5px 15px;
}
.send-area .send-btn:hover {
  background-color: #208aea;
}

/* .proplem-area */
.right-box {
  height: 69vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.proplem-area {
	height: 69vh;
}
.proplem-area .hd {
  height: 50px;
  padding: 0em 1em;
  background-color: #6495ed;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.proplem-area .hd .title {
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: 2px;
}
.proplem-area .bd {
	height: calc(69vh - 120px);
  overflow-y: auto;
  /* background-color: #85acf3; */
}
.proplem-area .small-proplem {
  padding: 0 1em;
}
.proplem-area .small-proplem li {
  padding: 0.25em 0;
  /* border-bottom: 1px dashed #6495ed; */
  cursor: pointer;
}
.quick-area {
  display: flex;
  height: 70px;
  /* border-bottom: 1px solid #c6c6c6; */
  justify-content: space-around;
  padding-bottom: 10px;
}
/* .quick-area .icon {
  margin-left: 1.5em;
  margin-top: 0.5em;
} */
.quick-area .icon a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}
.quick-area .icon .iconfont {
  font-size: 2em;
}
.quick-area img {
  height: 28px;
}
.quick-area .desc {
  margin-top: 5px;
  font-size: 0.9em;
}
.copy-area {
  text-align: center;
}
.copy-area .com_name {
  color: #666868;
}

/* bootstrap 规则重写 */
.panel-group .panel {
  border: none;
  background-color: transparent;
  border-bottom: 1px dashed #e7e1e1;
}
.panel-group .panel + .panel {
  margin-top: 0;
}
.panel-default > .panel-heading {
  background-color: transparent;
}
.panel-body {
  padding: 5px 15px;
  background-color: #fff;
}
.panel-title {
  font-size: 0.8em;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-group {
  margin-bottom: 0;
}
.proplem-fz {
  overflow: hidden;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .right-box, .proplem-area, .proplem-area .bd {
    height: auto;
	margin-top: 1em;
  }
  .quick-area {
    margin-top: 20px;
  }
  .footer{
	display: none;
  }
}
