form {
  margin-bottom: 18px;
}
fieldset {
  margin-bottom: 18px;
  padding-top: 18px;
}
fieldset legend {
  display: block;
  margin-left: 150px;
  font-size: 20px;
  line-height: 1;
  *margin: 0 0 5px 145px; /* IE6-7 */
  *line-height: 1.5; /* IE6-7 */
  color: #404040;
}
input {
  box-sizing: border-box; /* css3 rec */
  -moz-box-sizing: border-box; /* ff2 */
  -ms-box-sizing: border-box; /* ie8 */
  -webkit-box-sizing: border-box; /* safari3 */
  -khtml-box-sizing: border-box; /* konqueror */
}
label,
input,
select,
textarea {
  font-family: Arial, verdana, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: normal;
}
label {
  padding-top: 6px;
  font-size: 13px;
  line-height: 30px;
  color: #404040;
}
.ie7 label {
  line-height: 20px;
}
input[type=checkbox],
input[type=radio] {
  cursor: pointer;
}
input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=url],
textarea,
select {
  display: block;
  width: 100%;
  padding: 4px;
  font-size: 13px;
  line-height: 18px;
  height: 30px;
  color: #808080;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.ie7 input[type=text],
.ie7 input[type=password],
.ie7 input[type=email],
.ie7 input[type=tel],
.ie7 input[type=url],
.ie7 select {
  padding: 4px 0 0 4px;
  height: 20px;
  border: 1px solid #ccc;
}
select,
input[type=file] {
  height: 30px;
  line-height: 30px;
  padding-top: 7px
}
.ie7 select {
  height: 30px;
  border: none;
}
textarea {
  height: auto;
}
:-moz-placeholder {
  color: #bfbfbf;
}
::-webkit-input-placeholder {
  color: #bfbfbf;
}
input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
select,
textarea {
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
input[type=text]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(163, 186, 60, 0.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(163, 186, 60, 0.6);
  -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(163, 186, 60, 0.6);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(163, 186, 60, 0.6);
}
form div.error, form span.error {
  background: #fae5e3;
  padding: 10px;
  margin: -10px 0 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  color: #9D261D;
  font-size: 12px;
}
form div.error > label, form div.error span.help-inline, form div.error span.help-block {
  color: #9d261d;
}
form div.error input[type=text],
form div.error input[type=password],
form div.error input[type=email],
form div.error input[type=tel],
form div.error input[type=url],
form div.error textarea {
  border-color: #c87872;
  -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}
form div.error input[type=text]:focus,
form div.error input[type=password]:focus,
form div.error input[type=email]:focus,
form div.error input[type=tel]:focus,
form div.error input[type=url]:focus,
form div.error textarea:focus {
  border-color: #b9554d;
  -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
}
form div.error .input-prepend span.add-on, form div.error .input-append span.add-on {
  background: #fae5e3;
  border-color: #c87872;
  color: #b9554d;
}
input[readonly]:focus, textarea[readonly]:focus, input.disabled {
  background: #f5f5f5;
  border-color: #ddd;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}