/* 首页右下角悬浮询盘表单 */
.inq-fixed {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 950;
  font-family: "Microsoft Yahei";
}
.inq-btn {
  display: block;
  padding: 12px 22px 12px 46px;
  background: url(../images/t_pho.png) no-repeat 16px center #1351b8;
  background-size: 22px auto;
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(19, 81, 184, 0.35);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.inq-btn:hover { background-color: #16326e; }
.inq-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.inq-fixed.open .inq-panel { display: block; }
.inq-fixed.open .inq-btn { visibility: hidden; }
.inq-head {
  padding: 12px 16px;
  background: #1351b8;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
.inq-head .inq-close {
  float: right;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}
.inq-body { padding: 14px 16px 16px; }
.inq-body .inq-item { margin-bottom: 10px; }
.inq-body input[type="text"],
.inq-body textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Microsoft Yahei";
  color: #333;
}
.inq-body input[type="text"]:focus,
.inq-body textarea:focus { border-color: #1351b8; outline: none; }
.inq-body textarea { height: 64px; resize: none; }
.inq-file-label {
  display: block;
  padding: 8px 10px;
  border: 1px dashed #bbb;
  border-radius: 4px;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.inq-file-label:hover { border-color: #1351b8; color: #1351b8; }
.inq-file-label input[type="file"] { display: none; }
.inq-file-label.ok { border-color: #52a352; border-style: solid; color: #52a352; }
.inq-tip { margin-top: 4px; color: #999; font-size: 12px; line-height: 18px; }
.inq-submit {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: #1351b8;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.inq-submit:hover { background: #16326e; }
.inq-submit[disabled] { background: #9db8e0; cursor: not-allowed; }
.inq-msg { margin-top: 8px; font-size: 13px; line-height: 20px; display: none; }
.inq-msg.err { display: block; color: #d9534f; }
.inq-msg.suc { display: block; color: #52a352; }

@media screen and (max-width: 750px) {
  .inq-fixed { right: 12px; bottom: 80px; }
  .inq-btn { padding: 10px 16px 10px 40px; background-position: 12px center; font-size: 14px; }
  .inq-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
  }
}
