

form {
  position: relative;
  width: 320px;
  margin-right: 50px;
  margin-top: 30px;
}

.d1 input {
  width: 100%;
  height: 42px;
  padding-left: 10px;
  border: 1px solid #39a86f;

  outline: none;
  background: white;
  color: #39a86f;
}
.d1 button {
  position: absolute; 
  top: 0;
  right: 0px;
  width: 42px;
  height: 42px;
  border:1px solid #39a86f;
  border-left: none;
  background: white;

  cursor: pointer;
}
.d1 button:before {
  content: "\f002";
  font-family: FontAwesome;
  font-size: 18px;
  color:#39a86f;
}