/* Forms */
/*borrowed from HTML5 Herald*/
form {
  clear: both;
  margin: 1px 0 1px 0;
  padding: 20px;
  min-height: 300px;
  background: #ebd292 url(../images/form/bg-form.png) no-repeat bottom center; 
border				: 2px solid #856422;
-moz-border-radius	: 35px;
-webkit-border-radius: 35px;
border-radius		: 35px;
overflow			: hidden;
-moz-box-shadow		: 5px 5px 20px #856422;
-webkit-box-shadow	: 5px 5px 20px #856422;
box-shadow			: 5px 5px 20px #856422;
width:80%;
margin:auto;
margin-bottom:20px;
margin-top:15px;
}

form ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
form ul li {
  margin-bottom: 0px;
  height:35px;
}

label {
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  font-size: 14px;
  float:left;
  text-align:right;
  width:180px;
height:40px;
}
form p {
  text-align: center;
}
input[type=text], input[type=email], input[type=password], input[type=url], textarea {
  background-color: transparent;
  border: dotted #856422;	
  border-width: 1px;
  margin: -7px 80px 10px auto;
  font-style:italic;
  font-family: Times, "Times New Roman", serif;
  padding: 5px;
  width: 270px;
float:right;
}


input[type=number] {
  width: 3em;
}

input:not([type=range]):not([type=date]):not([type=submit]):not([type=button]):not([type=checkbox]):not([type=number]) {
  background: transparent no-repeat top right;
}

input:not([type=range]):not([type=date]):not([type=submit]):not([type=button]):not([type=checkbox]):not([type=number]):required {
  background-image: url('../images/form/required.png'); 
}

input:not([type=range]):not([type=date]):not([type=submit]):not([type=button]):not([type=checkbox]):not([type=number]):focus:invalid { 
  background-image: url('../images/form/invalid.png');
} 
input:not([type=range]):not([type=date]):not([type=submit]):not([type=button]):not([type=checkbox]):not([type=number]):focus:valid { 
  background-image: url('../images/form/valid.png');
}

:invalid {
  box-shadow: none;
}

::-webkit-input-placeholder { color:#333; }


input {
  font-size: 16px;
}

input[type=submit], input[type=button] {
  border: none;
  -moz-border-radius: 10%;
  border-radius: 5px;
  background-color: #333;
  /* SVG for IE9 and Opera */
  background-image: url(../images/form/button-gradient.svg);
  /* Old WebKit */
  background-image: -webkit-gradient(radial, 30% 120%, 0, 30% 120%, 100, 
    color-stop(0,rgba(144,144,144,1)), 
    color-stop(1,rgba(72,72,72,1)));
  /* W3C for Mozilla */
  background-image: -moz-radial-gradient(30% 120%, circle, 
    rgba(144,144,144,1) 0%, 
    rgba(72,72,72,1) 50%);
  /* W3C for new WebKit */
  background-image: -webkit-radial-gradient(30% 120%, circle, 
    rgba(144,144,144,1) 0%, 
    rgba(72,72,72,1) 50%);
  /* W3C unprefixed */
  background-image: radial-gradient(30% 120%, circle,
    rgba(144,144,144, 1) 0%,
    rgba(72,72,72,1) 50%);
  color: #fff;
  font-family: LeagueGothic, Tahoma, Geneva, sans-serif;
  text-transform: uppercase;
  font-size: 28px;
  padding: 10px 30px;
  margin: 10px auto;
  opacity: 0.8;
  -webkit-transition: opacity .25s linear;
  -moz-transition: opacity .25s linear;
}

input[type=submit]:hover {
  opacity: 1;
  -webkit-transition: opacity .25s linear;
  -moz-transition: opacity .25s linear;
}
form h1 {
  margin: -15px auto 15px;
  font-size: 20px;
  text-align:center;
  white-space:nowrap;
  background: 
    url(../images/form/bg-formtitle-left.png) left 13px no-repeat, 
    url(../images/form/bg-formtitle-right.png) right 13px no-repeat;
}
.trap {display:none;}
