@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
.top-box:nth-child(1) .top-pic {
  -moz-transition: unset;
  -o-transition: unset;
  -webkit-transition: unset;
  transition: unset;
  background-position: 55% top;
}

.inner {
  width: 80%;
  max-width: 700px;
  margin: auto;
}

input {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ddd;
  width: 100%;
  font-family: "Poppins", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #ddd;
  padding: 15px 20px;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: "Poppins", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  background-color: #000;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ddd;
  color: #ddd;
  padding: 15px 20px;
  box-sizing: border-box;
}

.consult-slogn {
  text-align: center;
  padding: 80px 0 0;
}
.consult-sbig {
  font-size: 24px;
  margin-bottom: 20px;
}
.consult-line {
  width: 1px;
  height: 80px;
  background-color: #e2a688;
  margin: 30px auto 0;
}
.consult-title {
  text-align: center;
  background-color: #1d1d1d;
  padding: 20px 0;
  margin: 80px 0 30px;
  font-size: 16px;
}
.consult li {
  margin-bottom: 30px;
}
.consult-button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.consult-bt {
  color: #fff;
  border: 1px solid #ccc;
  padding: 10px 20px;
  margin: 0 10px;
  position: relative;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.consult-bt:after {
  content: "";
  width: 100%;
  height: 101%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -moz-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
  -moz-transition: -moz-transform 0.2s ease-in-out;
  -o-transition: -o-transform 0.2s ease-in-out;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  z-index: -1;
}
.consult-bt:hover {
  color: #000;
}
.consult-bt:hover:after {
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
.consult-code {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.consult-helf {
  width: calc(100% - 180px);
}
.consult-captcha {
  display: flex;
  align-items: flex-end;
}
.consult-captcha .code-img {
  margin: 0 15px;
  border: 1px solid #666;
}
.consult-change a {
  color: #e2a688;
  opacity: 1;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.consult-change a:hover {
  opacity: 0.8;
}

.consult-line {
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  -moz-transition: -moz-transform 0.5s;
  -o-transition: -o-transform 0.5s;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -moz-transform-origin: top center;
  -ms-transform-origin: top center;
  -webkit-transform-origin: top center;
  transform-origin: top center;
}
.consult-line.show {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

@media screen and (max-width: 1100px) {
  input {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    color: #1d1d1d;
  }

  textarea {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    color: #1d1d1d;
  }

  .consult-title {
    background-color: #f7f7f7;
  }
  .consult-bt {
    color: #000;
  }
  .consult-bt:after {
    background-color: #000;
  }
  .consult-bt:hover {
    color: #fff;
  }
}
@media screen and (max-width: 640px) {
  .inner {
    width: 90%;
  }
}
@media screen and (max-width: 460px) {
  input {
    padding: 10px;
  }

  textarea {
    padding: 10px;
  }

  .consult-code {
    display: block;
  }
  .consult-helf {
    width: 100%;
    margin-bottom: 20px;
  }
  .consult-button {
    margin: 80px 0 50px;
  }
  .consult-captcha .code-img {
    margin-left: 0;
  }
}
