/* 首页弹窗 */
#dialog ul,
#dialog li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#dialog input:focus {
  outline: none;
}

#dialog .clear {
  clear: both;
}

#dialog {
  width: 700px;
  height: 410px;
  margin: 0 auto;
  display: none;
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -230px 0 0 -350px;
  z-index: 10000;
  border-radius: 10px;
  transition: all 1s;
  box-shadow: 0 0 3px rgba(102, 50, 223, 0.3);
  border: 1px rgba(58, 105, 207, 0.32) solid;
  overflow: hidden;
}

#dialog .dialogTop {
  position: relative;
  height: 2em;
}

#dialog .dialogTop .lf {
  width: 76px;
  float: left;
  position: absolute;
  top: -15px;
  left: 40px;
}

#dialog .dialogTop .ri {
  width: 76px;
  float: right;
  position: absolute;
  top: -15px;
  right: 38px;
}

#dialog .dialogTop p {
  font-size: 20px;
  margin: 0 auto;
  letter-spacing: 1px;
  text-align: center;
  user-select: none;
  position: relative;
  top: 0;
  color: #fff;
  background: #0a3c9d;
  width: 8em;
  height: 2em;
  line-height: 2em;
}

#dialog .dialogTop p:after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 150%;
  border-top: 2em solid #0a3c9d;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  z-index: -1
}

#dialog .editInfos {
  padding: 0;
}

#dialog .editInfos li {
  width: 250px;
  margin: 20px auto auto;
  text-align: center;
  white-space: nowrap;
  line-height: 0;
}

#dialog .editInfos li textarea {
  width: 250px;
  height: 5em;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
  color: #666666;
  line-height: 1.2;
}

#dialog .editInfos li textarea:focus {
  outline: none;
}

#dialog .editInfos li label {
  display: block;
  margin-bottom: 0;
}

#dialog .ipt {
  width: 250px;
  height: 35px;
  line-height: 35px;
  border: 1px solid #ccc;
  padding: 0px 10px;
  border-radius: 5px;
  margin-bottom: 0;
  color: #666666;
}

#dialog .ipt.yzm {
  width: 130px;
  float: left;
  text-transform: uppercase;
  border-radius: 5px 0 0 5px;
}

#dialog .ipts {
  width: 250px;
  height: 35px;
  border: 1px solid #ccc;
  padding: 0 10px;
  border-radius: 5px;
  resize: none;
  margin-bottom: 0;
  float: left;
  color: #666666;
}

#dialog .ipts:focus {
  outline: none;
}

#dialog .submitBtns .submit {
  display: block;
  line-height: 42px;
  text-align: center;
  margin: 20px auto auto;
  padding: 0 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #0a3c9d;
  font-size: 18px;
  color: #FFFFFF;
  outline: none;
  cursor: pointer;
  width: 250px;
  height: 42px;
  cursor: pointer;
  margin-top: 35px;
  user-select: none;
}

#dialog .submitBtns .submit:hover {
  background: #0a3c9d;
  color: #fff;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
}

#dialog .list-ls {
  width: 350px;
  float: left;
  margin-top: 20px;
}

#dialog .li-ls {
  width: 295px;
  float: left;
  margin-top: 43px;
  margin-left: 35px;
  position: relative;
}

#dialog .li-ls img {
  display: block;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#dialog .hotline-jiam {
  position: absolute;
  bottom: 55px;
  left: 33px;
}

#dialog .hotline-jiam p {
  font-size: 14px;
  display: flex;
  align-items: center;
}

#dialog .hotline-jiam p span {
  font-size: 20px;
  line-height: 35px;
}

#dialog .hotline-jiam b {
  font-size: 24px;
  color: #0a3c9d;
}

#dialog .dialogTop .close {
  float: right;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  opacity: 1;
}

#dialog .dialogTop .close img {
  display: block;
  width: 100%;
  user-select: none;
  border-top-right-radius: 10px;
  position: relative;
  top: 0;
  right: 0;
}

#dialog.on {
  display: block;
}

@media screen and (max-width: 750px) {
  #dialog {
    width: 380px;
    height: auto;
    left: 50%;
    top: 50%;
    margin: 0;
    padding-bottom: 25px;
    transform: translate(-50%, -50%);
  }

  #dialog .li-ls {
    text-align: center;
    margin: 0 auto;
    margin-top: 25px;
    float: none;
  }

  #dialog .list-ls {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  #dialog .hotline-jiam {
    position: relative;
    left: 0;
    bottom: 0;
    height: 1em;
    margin: 20px auto;
    text-align: center;
  }
}

@media screen and (max-width: 800px) {
  #dialog.on {
    width: 95vw;
    display: none;
  }
}