@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro");
.top .bg .pic {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

.consult {
  padding: 80px 0 150px;
}
.consult h2 {
  font-size: 16px;
  position: absolute;
  top: -35px;
  left: calc(50% - 35px);
}
.consult h2:after {
  content: "";
  width: 100%;
  height: 5px;
  background: #decd9c;
  margin-top: 8px;
  display: block;
}
.consult-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.consult-left {
  width: 45%;
  padding: 30px;
  border: 1px solid #decd9c;
  box-sizing: border-box;
  position: relative;
}
.consult-right {
  width: 45%;
  padding: 30px;
  border: 1px solid #decd9c;
  box-sizing: border-box;
  position: relative;
}
.consult li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(222, 205, 156, 0.2);
}
.consult .code-list {
  display: flex;
  align-items: center;
}
.consult .code-list img {
  padding: 0 10px;
  border-left: 1px solid rgba(222, 205, 156, 0.2);
  border-right: 1px solid rgba(222, 205, 156, 0.2);
}
.consult .code-list a {
  padding: 0 10px;
}
.consult .send {
  margin: 100px 0 0 calc(50% - 62px);
}
.consult .send a {
  padding: 10px 20px;
  display: block;
}

label {
  float: left;
  padding: 0 15px;
  border-right: 1px solid rgba(222, 205, 156, 0.2);
}

input {
  border: none;
  background: none;
  display: inline-block;
  color: #fff;
  width: calc(100% - 120px);
  padding-left: 15px;
  font-family: Roboto, "Microsoft JhengHei", Helvetica, Arial, sans-serif;
}
input::-webkit-input-placeholder {
  color: rgba(222, 205, 156, 0.8);
}
input::-moz-placeholder {
  color: rgba(222, 205, 156, 0.8);
}
input::-ms-input-placeholder {
  color: rgba(222, 205, 156, 0.8);
}

textarea {
  border: none;
  background: none;
  width: 100%;
  height: 135px;
  color: #fff;
  padding: 10px 15px;
  box-sizing: border-box;
  font-family: Roboto, "Microsoft JhengHei", Helvetica, Arial, sans-serif;
}

.code-input {
  width: calc(100% - 250px);
}

.rm {
  opacity: 0;
  -moz-transform: translateX(50px);
  -ms-transform: translateX(50px);
  -webkit-transform: translateX(50px);
  transform: translateX(50px);
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  -o-transition: opacity 0.3s, -o-transform 0.3s;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
}
.rm.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.lm {
  opacity: 0;
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -webkit-transform: translateX(-50px);
  transform: translateX(-50px);
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  -o-transition: opacity 0.3s, -o-transform 0.3s;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
}
.lm.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@media screen and (max-width: 1100px) {
  .consult {
    padding: 80px 0 80px;
  }
  .consult-box {
    display: block;
  }
  .consult-left {
    width: 100%;
  }
  .consult-right {
    width: 100%;
    margin-top: 80px;
  }
  .consult .send {
    margin: 50px 0 0 calc(50% - 62px);
  }
  .consult .code-input {
    width: calc(100% - 260px);
  }
}
@media screen and (max-width: 460px) {
  .consult-left {
    padding: 10px;
  }
  .consult-right {
    padding: 10px;
  }
  .consult .code-input {
    width: calc(100% - 210px);
  }
  .consult .code-list a {
    padding: 0 0 0 5px;
  }
  .consult .code-list img {
    padding: 0 5px;
  }

  label {
    padding: 0 10px 0 0;
  }

  input {
    width: calc(100% - 95px);
    padding-left: 10px;
  }
}
