form {
  width: 100%;
  float:left;
  position: relative;
  margin: 0 0%;
}

/* Give form elements consistent margin, padding and line height */

form ul {
  list-style: none;
  margin: 0;
  padding: 0%;
  float:left;
  position: relative;
  width:100%;
}

form ul li {
  margin: 1% 0;
  padding: .5%;
  float:left;
  width:100%; 
}

/*form * {
  line-height: 1em;
}*/

form ul li span{
  margin: 1.6% 0 0em 1%;
  padding: 0;
  float:left;
}


/* Form heading */

form h1 {
  margin: 0.8em 0 .5em 0;
  padding: 0;
  text-align:;
  font-size:2em;
  color:#00A29A;
}


/* Give each fieldset a darker background, dark curved border and plenty of space */

fieldset {
  padding: 10px;
  margin: 0 0 0% 0px;
  width:100%;
  float: left;
  background:rgba(255,255,255,.5); 
}


/* Give each fieldset legend a nice curvy green box with white text */

legend {
  color: #fff;
  background: #8fb98b;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-size: 1.5em;
  font-weight: bold;
  text-align: left;
  padding: 1%;
  margin: 0%;
  width: 100%;
  border: 2px solid #593131;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}


/* The field labels */

label {
  display: block;
  float: left;
  clear: left;
  width: 100%;
  padding:1% 0 0 0 ;
  margin: 1% 0%;
  /*background:#CF3;*/
  font-size:16px;
}


/* Style the fields */


input, textarea {
  display: block;
  border: 1px solid #777;
  border-radius: 5px;  
  padding: 1%;
  position: relative;
  font-weight:600;
  color:#666;
  font-family:Microsoft JhengHei,STHeiti;/*"Ubuntu"sans-serif*/

}

textarea {
  width:100%;
  font-size: 16px;
  height: 8em;
  padding: 1.7%;
}


input[type="text"] {
  
  font-size:18px;
  width:100%;
  clear:none;
  position:relative;
  float:left;
  margin:0% 0 0 0;
  padding: 7% 3.5%;
  background: rgba(255,255,255,1);
  border:0px;
  color: #232323;
  border:0px;
  border-bottom:4px solid #fff;
  
  
}

input[type="search"] {

  font-size:.9em;
  height: 3em;
  clear:none;
  position:relative;
  width:auto;
}


/* Place a border around focused fields, and hide the inner shadow */

form *:focus {
  border: 0px solid #09F;
  outline: none;
  box-shadow:0px 0px 3px #06C;
  border-bottom:6px solid #FDD000;
 /* background:#FFF;*/
 
}




/* Submit button */

input[type="submit"] {
  margin: 0% 0;
  padding: 1.5% 17%;
  border-radius: 4px;
  box-shadow: 0px 0px 2px #dcdcdc;
  color: #333;
  background:#FDD000;
  color:#fff;
  font-weight: bold;
  font-size: 28px;
  float: left;
  width: 100%;
  word-break: break-all;
  white-space: normal;
}

input[type="submit"]:hover, input[type="submit"]:active {
  cursor: pointer;
  background: #06C;
  color: #FFF;
}

input[type="submit"]:active {
   background: #06C;

}


.error{
  color:#f35;
  font-size: 12px;
  margin: 0 0;
}


/*::-webkit-input-placeholder {
  color: #fff;
}*/

@media (min-width:768px) {

  input[type="text"] {
    padding: 2% 3.5%;
  }

}

@media (min-width:992px) {
  input[type="submit"] {
    width: auto;
  }
  input[type="text"] {
    padding: 7% 3.5%;
  }


}


@media (min-width:1000px) {
  input[type="submit"] {
    font-size: 21px;
  }


}

@media (min-width:1400px) {
  input[type="submit"] {
    font-size: 26px;
  }


}

@media (min-width:1600px) {
  input[type="submit"] {
    font-size: 28px;
  }

  
}