.dialogHide {
  display: none;
}
.dialogShow {
  display: block;
}
.error {
  border: 1px solid red;
  color: red;
}
/* 右侧客服飘窗 */
.custom {
  width: 72px;
  height: 120px;
  position: fixed;
  top: 480px;
  right: 12px;
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 9999;
}
.custom img {
  width: 72px;
  height: 120px;
}
/* 对话框 */
.dialog_box {
  width: 480px;
  height: 550px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  box-shadow: 1px 0px 8px #cccbcb, 0px 1px 8px #cccbcb;
  border-radius: 7px;
  background-color:#fff;
}
/* 对话框头部 */
    .dialog_box .head {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: start;
        width: 480px;
        height: 120px;
        background: url(/Content/Images/mydialog/dialog_top_img.png) center center;
        background-size: cover;
        padding: 30px 0 0 30px;
        box-sizing: border-box;
        z-index: 1001;
    }
/* 正在输入 */
.dialog_box .head .writeNow {
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 100px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 3px;
}
.dialog_box .head .changeDia1,
.dialog_box .head .changeDia2 {
  position: absolute;
  height: 52px;
  width: 52px;
  top: 0;
  right: 0;
}
.dialog_box .head .changeDia1 .changeDiaImg1,
.dialog_box .head .changeDia2 .changeDiaImg1 {
  width: 20px;
  height: 20px;
  float: right;
  margin: 10px 5px 0 0;
}
.dialog_box .head .changeDia1 .changeDiaImg2,
.dialog_box .head .changeDia2 .changeDiaImg2 {
  width: 20px;
  height: 20px;
  float: right;
  margin: 10px 5px 0 0;
}
.dialog_box .head .img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.dialog_box .head .company_info {
  margin-left: 15px;
}
.dialog_box .head .company_info .name {
  margin-top: 6px;
  margin-bottom: 10px;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

/* 对话框内容--互动 start */
.dialog_box .dialogContent1 {
  width: 500px;
  height: 433px;
  position: relative;
  background-color: #f5f5f5;
  border: 1px solid #d5d5d5;
  box-sizing: border-box;
}
/* 左侧隐藏 */
.dialog_box .dialogContent1 .dialogHideImg {
  width: 20px;
  height: 433px;
  position: absolute;
  top: -1px;
  left: -2px;
  z-index: 100;
}
/* 聊天区域 */
.dialog_box .dialogContent1 .content {
  padding: 0px 30px 30px 30px;
  width: 500px;
  height: 432px;
  box-sizing: border-box;
  overflow: auto;
}
.dialog_box .dialogContent1 .content .dateNow {
  margin: 30px auto 30px;
  width: 150px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  background-color: #d7d7d7;
  text-align: center;
  color: white;
  border-radius: 10px;
}
.dialog_box .dialogContent1 .diaInfo {
  margin-top: 30px;
}
.dialog_box .dialogContent1 .im {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.dialog_box .dialogContent1 .user {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
}
.dialog_box .dialogContent1 .im img,
.dialog_box .dialogContent1 .user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.dialog_box .dialogContent1 .im .text,
.dialog_box .dialogContent1 .user .text {
  line-height: 40px;
  padding: 0px 10px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  border: 1px solid #eeeeee;
  border-radius: 5px;
}
.dialog_box .dialogContent1 .im .text {
  margin-left: 10px;
  background-color: #fff;
}
.dialog_box .dialogContent1 .user .text {
  margin-right: 10px;
  background-color: #f32b05;
  color: white;
}
/* 回复区域 */
.dialog_box .dialogContent1 .reply {
  width: 482px;
  height: 48px;
  background-color: #f5f5f5;
  margin-left: -1px;
  overflow: hidden;
}
.dialog_box .dialogContent1 .reply .sendVal {
  width: 380px;
  height: 48px;
  outline: none;
  padding-left: 15px;
  box-sizing: border-box;
  background: #f5f5f5;
}
    .dialog_box .dialogContent1 .reply .send {
        display: block;
        float: right;
        width: 102px;
        height: 48px;
        line-height: 46px;
        text-align: center;
        background: url(/Content/Images/mydialog/fasong.png) center;
        color: white;
    }
/* 对话框内容--互动 end */

/* 对话框内容-常规 start */
.dialog_box .dialogContent2 {
  height: 430px;
  padding: 0 30px;
  border: 1px solid #d5d5d5;
  background: #f5f5f5;
}
.dialog_box .dialogContent2 .warp {
  width: 430px;
  margin-top: 20px;
}
.dialog_box .dialogContent2 .warp label {
  width: 98px;
  font-size: 14px;
  color: #1e1e1e;
  display: inline-block;
}
    .dialog_box .dialogContent2 .warp label[required]::after {
        content: '*';
        color: red;
    }
.dialog_box .dialogContent2 .warp input {
  width: 300px;
  height: 38px;
  line-height: 38px;
  border: 1px solid #d5d5d5;
  background: #f5f5f5;
  padding-left: 12px;
}
.dialog_box .dialogContent2 .warp textarea {
  width: 300px;
  height: 135px;
  border: 1px solid #d5d5d5;
  background: #f5f5f5;
  padding: 12px 0 0 12px;
  resize: none;
  margin-left: 4px;
}
.dialog_box .dialogContent2 .rowwap label {
  margin-top: 7px;
}
.dialog_box .dialogContent2 .liuyan {
  border-radius: 4px;
  width: 420px;
  height: 48px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  line-height: 48px;
  margin-top: 18px;
  letter-spacing: 12px;
  background-image: -moz-linear-gradient(
    0deg,
    rgb(232, 4, 25) 0%,
    rgb(255, 72, 0) 100%
  );
  background-image: -webkit-linear-gradient(
    0deg,
    rgb(232, 4, 25) 0%,
    rgb(255, 72, 0) 100%
  );
  background-image: -ms-linear-gradient(
    0deg,
    rgb(232, 4, 25) 0%,
    rgb(255, 72, 0) 100%
  );
}
.dialog_box .dialogContent2 .close {
  border: 1px solid rgb(213, 213, 213);
  border-radius: 4px;
  width: 418px;
  height: 46px;
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 48px;
  margin-top: 10px;
  letter-spacing: 12px;
}
.dialog_box .dialogContent2 .warp select {
    width: 314px;
    height: 42px;
    line-height: 42px;
    border: 1px solid #d5d5d5;
    background: #f5f5f5;
    padding-left: 12px;
}
/* 对话框内容-常规 ent */

/* 对话框留言成功 start */
.dialog_box .dialogContent3 {
  width: 480px;
  height: 480px;
  padding-top: 52px;
  border: 1px solid #d5d5d5;
  background: #f5f5f5;
}
.dialog_box .dialogContent3 .QRcode {
  width: 180px;
  height: 180px;
  display: block;
  margin: 0 auto;
}
.dialog_box .dialogContent3 .txt1 {
  width: 100%;
  text-align: center;
  margin-top: 18px;
  font-size: 24px;
  font-family: 'Microsoft YaHei';
  color: rgb(30, 30, 30);
  font-weight: bold;
}
.dialog_box .dialogContent3 .txt2,
.dialog_box .dialogContent3 .txt3 {
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-family: 'Microsoft YaHei';
  color: rgb(153, 153, 153);
  text-align: center;
}
.dialog_box .dialogContent3 .txt2 {
  margin-top: 25px;
  margin-bottom: 10px;
}
.dialog_box .dialogContent3 .close {
  margin: 0 auto;
  border: 1px solid rgb(213, 213, 213);
  border-radius: 4px;
  width: 418px;
  height: 46px;
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 48px;
  margin-top: 40px;
  letter-spacing: 12px;
}
.dialog_box .dialogContent1 .reply .send, .dialog_box .dialogContent2 .liuyan, .dialog_box .dialogContent2 .close, .dialog_box .dialogContent3 .close {cursor: pointer;}
.dialog_zhezhao {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    display: none;
    z-index: 98;
}
.dialog_box .dialog-chat {
    padding: 5px;
    background-color: #fff;
}
.dialog_box .dialog-closeBtn {
    position: absolute;
    right: -35px;
    top: -25px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #000;
    font-size: 30px;
    opacity: .4;
    cursor: pointer;
     -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
/* 对话框留言成功 end */
