textarea {
  padding: 5px;
  width: 98%;
  border: 1px #707070 solid;
  border-radius: 5px;
}

input[type=text], input[type=email], input[type=date] {
  padding: 5px;
  width: 97%;
  font-size: 0.9em;
  border: 1px #707070 solid;
  border-radius: 5px;
}
input[type=text]:focus, input[type=email]:focus, input[type=date]:focus {
  outline: none;
  border: 1px #FAD586 solid;
}

input[type=submit], input[type=reset], input[type=button] {
  font-size: 1em;
  padding: 10px;
  border: 1px #707070 solid;
  width: 158px;
  text-align: center;
  border-radius: 5px;
}

input[type=submit] {
  background-color: #FAD586;
}
input[type=submit]:disabled {
  opacity: 0.6;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

select {
  width: 97%;
  line-height: 1.4;
  vertical-align: middle;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
  color: #333;
  border: 1px #707070 solid;
  font-size: 0.9em;
  padding: 7px;
  background-color: #fff;
  border-radius: 5px;
}

.select {
  position: relative;
}

.select:after {
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 0;
  height: 0;
  margin: auto;
  pointer-events: none;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

@media screen and (max-width: 842px) {
  input[type=text], input[type=password],
  textarea,
  select {
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-radius: 0;
  }
  input[type=submit], input[type=reset], input[type=button] {
    width: 90%;
  }
}