* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  list-style: none;
}

:root {
  font-size: 16px;
}

body {
  font-family: "Microsoft JhengHei";
  line-height: 1.5;
}

input,
button {
  font-family: "Microsoft JhengHei";
}

.chatBox {
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

.mainHead {
  background: -webkit-gradient(linear, left top, left bottom, from(#32a8a3), to(#09555b));
  background: linear-gradient(#32a8a3, #09555b);
  color: white;
  overflow: hidden;
  height: 40px;
  padding: 0 10px;
}

.mainHead p {
  display: inline-block;
  vertical-align: middle;
  line-height: 40px;
}

.mainHead > div {
  float: right;
  height: 100%;
}

.mainHead > div > div {
  display: inline-block;
  vertical-align: middle;
  line-height: 40px;
}

.mainHead img {
  display: block;
}

.mainHead .closeBtn {
  border: 1px solid #fff;
  padding: 5px;
  margin-left: 10px;
  cursor: pointer;
}

.mainHead .fontSizeBox .fontSizeBoxBtn {
  display: inline-block;
  padding: 5px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 4px;
  color: #fff;
  background-color: #337ab7;
}

.mainHead .fontSizeBox .fontSizeBoxBtn.checked {
  background-color: #286090;
}

.chatContainer {
  position: relative;
  width: 100%;
  background-color: #f2f6f6;
  padding-bottom: 20px;
  overflow: hidden;
  overflow-y: auto;
  height: calc(100% - 70px - 40px);
}

.chatContainer .main a {
  background-color: #32a8a3;
  margin: 5px;
  border-radius: 5px;
  display: block;
  padding: 5px;
  color: #fff !important;
}

.chatContainer .main a:hover {
  background-color: #32a8a2b8;
}

.chatContainer .serviceBox {
  width: 100%;
  height: auto;
  padding: 10px;
  overflow: hidden;
}

.chatContainer .serviceBox .headBox {
  width: 50px;
  min-height: 50px;
  float: left;
}

    .chatContainer .serviceBox .headBox .head {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-image: url("../img/ServiceGirl.png");
        background-size: 54px;
        background-position: -2px 0px;
    }

.chatContainer .serviceBox .headBox .botName {
  display: block;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
}

.chatContainer .serviceBox .serviceTxtBox {
  width: calc(100% - 50px);
  float: left;
  padding-left: 15px;
}

.chatContainer .serviceBox .serviceTxtBox .serviceTxt {
  color: #555;
}

.chatContainer .serviceBox .serviceTxtBox .serviceTxt::before {
  content: "";
  border-style: solid;
  border-width: 5px 10px 5px 0;
  position: absolute;
  display: inline-block;
  left: -5px;
  top: 20px;
  width: 0px;
  height: 0px;
  border-color: #fff #fff transparent transparent;
  -webkit-transform: rotate(225deg);
          transform: rotate(225deg);
  -webkit-box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.08);
          box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.08);
}

.chatContainer .serviceTxt,
.chatContainer .userTxt {
  max-width: 600px;
  height: auto;
  min-height: 50px;
  padding: 12px 10px;
  margin-bottom: 5px;
  border-radius: 10px;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  word-break: break-word;
  /* overflow: hidden; */
}

.chatContainer .userTxtBox {
  width: 100%;
  height: auto;
  padding: 10px;
  overflow: hidden;
}

.chatContainer .userTxtBox .userTxt {
  background-color: #44b8bf;
  color: #fff;
  float: right;
}

.chatContainer .userTxtBox .userTxt::before {
  content: "";
  border-style: solid;
  border-width: 5px 10px 5px 0;
  position: absolute;
  display: inline-block;
  right: -5px;
  top: 20px;
  width: 0px;
  height: 0px;
  border-color: #44b8bf #44b8bf transparent transparent;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.08);
          box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.08);
}

.chatContainer .timeBox {
  width: 100%;
  height: 20px;
  font-size: 14px;
  color: #9c9c9c;
}

.chatContainer .infoBox {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  word-break: break-all;
}

.chatContainer .infoBox .infoWrap {
  background-color: #fff;
  position: absolute;
  width: 50%;
  max-width: 500px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 10px;
  -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.chatContainer .infoBox .infoWrap .infoHead {
  padding: 0 5px;
  background: -webkit-gradient(linear, left top, left bottom, from(#32a8a3), to(#2e8e94));
  background: linear-gradient(#32a8a3, #2e8e94);
  color: #fff;
}

.chatContainer .infoBox .infoWrap .close {
  background-color: #44b8bf;
  position: absolute;
  right: -12px;
  top: -12px;
  padding: 5px;
  cursor: pointer;
}

.chatContainer .infoBox .infoWrap .close img {
  width: 12px;
  display: block;
}

.chatContainer .infoBox .infoWrap .infoTxt {
  padding: 5px;
  color: #555;
  height: 300px;
  overflow: auto;
}

.chatsend {
  width: 100%;
  height: 70px;
  background-color: #f2f6f6;
  border-top: 1px solid #dfdfdf;
  padding: 10px;
}

.chatsend .chatlive {
  font-size: 0;
}

.chatsend .chatlive input {
  width: 90%;
  height: 40px;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 5px;
  font-weight: bold;
  border-radius: 5px;
  -webkit-box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.08);
          box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.08);
  display: inline-block;
  vertical-align: middle;
}

.chatsend .chatlive button {
  height: 40px;
  border: none;
  background: -webkit-gradient(linear, left top, left bottom, from(#32a8a3), to(#2e8e94));
  background: linear-gradient(#32a8a3, #2e8e94);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  width: 10%;
  display: inline-block;
  vertical-align: middle;
}

.chatsend .Chatrestart {
  display: none;
}

.chatsend .Chatrestart button {
  height: 40px;
  border: none;
  background: -webkit-gradient(linear, left top, left bottom, from(#32a8a3), to(#2e8e94));
  background: linear-gradient(#32a8a3, #2e8e94);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  width: 100%;
}

/*Infowindow css*/
.chatDialog {
    margin: 1rem 0;
}

    .chatDialog input {
        width: 90%;
        height: 40px;
        border: none;
        outline: none;
        font-size: 16px;
        padding: 5px;
        font-weight: bold;
        border-radius: 5px;
        -webkit-box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.08);
        box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.08);
        display: inline-block;
        vertical-align: middle;
    }

    .chatDialog button {
        height: 40px;
        border: none;
        background: -webkit-gradient(linear, left top, left bottom, from(#32a8a3), to(#2e8e94));
        background: linear-gradient(#32a8a3, #2e8e94);
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        width: 100%;
        vertical-align: middle;
    }


.txt_right {
  text-align: right;
}

.txt_Tiffiny_blue {
    color: #32a8a3;
}

.bigBox{
	/* 大框框 */
	display:block;
}

.smallBox{
	/* 小框框 */
	display:inline !important;
}
