input, textarea { 
  -webkit-font-smoothing: antialiased;
  outline: none; 
}

span.errIndicator {color: red; position: absolute; line-height: 28px;}
div.alert {font-family: 'Graviola-Regular'; font-size: 12px; font-weight:normal; color:#000;}
div.success {font-family: 'Graviola-Regular'; font-size: 18px; font-weight:normal; color: #000; line-height: 28px;}

input.hpt{opacity: 0;}

/** form field **/
form {
  display: block;
  margin: 0px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  font-size: 0;
}

form > div > label {
  display: block;
  padding: 20px 20px 10px;
  vertical-align: top;
  font-size: 13px;
  font-family: 'Florence-Regular';
  font-weight: bold;
  text-transform: uppercase;
  color: #939393;
  cursor: pointer;
}
form > div.switch > label {
  padding: 16px 20px 13px;
}

.col-1, .col-2, .col-3, .col-4 { 
  border-bottom: 1px solid #e4e4e4;
}

form > div > .col-4 {
  height: 86px;
}

label > input, label textarea {
  display: inline-block;
  position: relative;
  width: 100%;
  line-height: 22px;
  margin: 5px -5px 0;
  padding: 7px 5px 3px;
  border: 1px solid #f5f5f5;
  outline: none;
  color: #555;
  font-family: 'Florence-Regular';
  font-weight: normal;
  font-size: 18px;
  opacity: .6;
  transition: all linear .3s;
  box-shadow:inset 0 1px 2px rgba(0,0,0,0.18);
  border-radius:5px;
}

label > input.checkbox {
	width: 25px; 
	border: 0px;
	box-shadow: inset 0 0 0;
	margin: 0;
}

textarea {
	height: 120px;
}
.col-submit {
  text-align: center;
  padding: 20px;
}

label > select {
  display: block;
  width: 100%;
  padding: 0;
  color: #555;
  margin: 7px -5px 0;
  font-weight: bold;
  background: transparent;
  border: 1px solid #ccc;
  outline: none;
  font-family: 'Florence-Regular';
  font-size: 18px;
  opacity: .4;
  transition: all linear .3s;
  box-shadow:inset 0 1px 2px rgba(0,0,0,0.18);
  border-radius:5px;
  padding: 7px 5px 3px;
}

label > input:focus, label > select:focus {
  opacity: 1;
}
.switch {padding-bottom: 0px;}
center.radio {
	font-family: 'Florence-Regular'; 
	font-size: 14px;
	font-weight: bold;
	opacity: .4;
  	transition: all linear .3s;
}
center.radio input {
	margin: 9px 0px 9px 20px;
}

/** button design based on http://codepen.io/guvootes/pen/eyDAb **/
input.submitbtn {
  width: 60%;
  height: 35px;
  border: none;
  border-radius: 4px;
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  overflow: hidden;
  outline: none;
}

input.submitbtn {
  background-image: -moz-linear-gradient(#e9d416, #d0cf23);
  background-image: -webkit-linear-gradient(#e9d416, #d0cf23);
  background-image: linear-gradient(#e9d416, #d0cf23);
  border-bottom: 1px solid #999;
  cursor: pointer;
  color: #fff;
}
input.submitbtn:hover {
  background-image: -moz-linear-gradient(#8ab959, #7eaf4a);
  background-image: -webkit-linear-gradient(#8ab959, #7eaf4a);
  background-image: linear-gradient(#8ab959, #7eaf4a);
  border-bottom: 1px solid #8ab959;
}
input.submitbtn:active {
  height: 34px;
  border-bottom: 0;
  margin: 1px 0 0 0;
  background-image: -moz-linear-gradient(#7eaf4a, #8ab959);
  background-image: -webkit-linear-gradient(#7eaf4a, #8ab959);
  background-image: linear-gradient(#7eaf4a, #8ab959);
  -moz-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
}


/** responsive design **/
@media(min-width: 850px){
  form > div { display: inline-block; }
  .col-submit { display: block; }
  
  .col-1, .col-2, .col-3, .col-4 { box-shadow: 1px 1px #e4e4e4; border: none; }
  
  .col-1 { width: 100% }
  .col-2 { width: 50% }
  .col-3 { width: 33.3333333333% }
  .col-4 { width: 25% }
  
  .col-submit button { width: 30%; margin: 0 auto; }
}