@charset "UTF-8";
/**
 * 我要咨询
 * date:2023-2-21
 * author: trh
 */
.form-box {
  padding: 40px 20px;
  background: #fff;
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
}

.form-content {
  padding: 0 205px 0 100px;
}

.form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 20px;
  font-size: 16px;
}

.form-group.required .form-label span {
  position: relative;
}

.form-group.required .form-label span:before {
  position: absolute;
  content: "*";
  color: #ee2b3b;
  font-size: 16px;
  line-height: 22px;
  top: -2px;
  left: -15px;
}

.form-group.required.wrong {
  padding-bottom: 0;
}

.form-group.required.wrong .form-input {
  border-color: #f83434;
}

.form-group.required.wrong .form-tips {
  display: block;
}

.form-label {
  display: block;
  height: 42px;
  line-height: 42px;
  width: 160px;
  text-align: right;
  color: #555;
}

.form-control {
  margin-left: 10px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 0;
}

.form-input {
  width: 100%;
  height: 42px;
  line-height: 40px;
  background: #fff;
  border: 1px solid #dcdfe2;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 12px;
}

.form-input::-webkit-input-placeholder {
  color: #b3b3b3;
}

.form-input:-ms-input-placeholder {
  color: #b3b3b3;
}

.form-input::-ms-input-placeholder {
  color: #b3b3b3;
}

.form-input::placeholder {
  color: #b3b3b3;
}

.form-input:focus {
  border-color: #258dff;
}

.form-textarea {
  width: 100%;
  height: 161px;
  line-height: 30px;
  background: #fff;
  border: 1px solid #dcdfe2;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 12px;
  resize: none;
}

.form-textarea:focus {
  border-color: #258dff;
}

.form-tips {
  font-size: 12px;
  color: #f83434;
  line-height: 14px;
  padding: 2px 0 4px 0;
  display: none;
}

.form-yzm {
  width: 116px;
  height: 42px;
  margin-left: 10px;
  border-radius: 2px;
  cursor: pointer;
}

.form-yzm img {
  width: 100%;
  height: 100%;
}

.form-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
}

.form-btns a {
  display: block;
  text-align: center;
  font-size: 16px;
  border-radius: 2px;
  width: 110px;
  height: 42px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 40px;
  margin: 0 10px;
}

.form-reset {
  border: 1px solid #258dff;
  color: #258dff;
}

.form-submit {
  color: #fff;
  background: #258dff;
}

.tips-box {
  position: fixed;
  top: 50%;
  left: 50%;
  text-align: center;
  width: 244px;
  height: 60px;
  background: #fff;
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
          box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  -webkit-animation: layer-bounceIn 0.5s;
          animation: layer-bounceIn 0.5s;
  margin-left: -122px;
  margin-top: -30px;
}

.tips-box.success .tips-text {
  background-image: url(../images/sucess_ico.png);
}

.tips-box.fail .tips-text {
  background-image: url(../images/fial_ico.png);
}

.tips-text {
  height: 60px;
  line-height: 60px;
  display: inline-block;
  padding-left: 46px;
  background-repeat: no-repeat;
  background-position: left center;
}

@-webkit-keyframes layer-bounceIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes layer-bounceIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
