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

span.errIndicator {color: red; position: absolute; line-height: 28px;}
div.alert {font-family: var(--font3); font-size: 12px; font-weight:bold; color: #ff0000;}
div.success {font-family: var(--font3); font-size: 18px; font-weight:normal; color: #007ca3; line-height: 28px;}
div.error {font-family: var(--font3); font-size: 18px; font-weight:normal; color: #007ca3; line-height: 28px;}

input.hpt{opacity: 0;}

fieldset {border: dashed 1px #ccc;}
legend {font-family: var(--font1); padding: 10px;}


/** form field **/
.prowebform form {
  display: block;
  margin: 0px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  font-size: 0;
}

.formInside,
.prowebform form > div > div  > div > label,
.prowebform form > div > div > label > div  {
  display: block;
  padding: 20px 20px 10px;
  vertical-align: top;
  font-size: 13px;
  font-family: var(--font3);
  font-weight: bold;
  color: #939393;
  cursor: pointer;
}

.prowebform form > div > div > div.switch > label {
  padding: 16px 20px 13px;
}

.prowebform form .col-1, .prowebform form .col-2, .prowebform form .col-3, .prowebform form .col-4 { 
  border-bottom: 1px solid rgba(255,255,255,0.1);
  min-width: 100%;
}

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

.formInside,
.prowebform form 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: var(--font3);
  font-weight: bold;
  font-size: 14px;
  opacity: .6;
  transition: all linear .3s;
  box-shadow:inset 0 1px 2px rgba(0,0,0,0.18);
  border-radius:5px;
}

.formInside, .prowebform form label > input {
	
}
.prowebform textarea {
	height: 120px;
}
.prowebform form label > input.checkbox {
	width: 25px;border: 1px solid #ccc;box-shadow: inset 0 0 0;margin: 0;
}
.prowebform form .col-submit {
  text-align: center;
  padding: 20px;
}

.prowebform form 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: var(--font3);
  font-size: 14px;
  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;
}

.formInside,
.prowebform form label > input:focus, label > select:focus {
  opacity: 1;
}
.prowebform form .switch {padding-bottom: 0px;}
.prowebform form center.radio {
	font-family: var(--font3); 
	font-size: 14px;
	font-weight: bold;
	opacity: .4;
  	transition: all linear .3s;
}
.prowebform form center.radio input {
	margin: 9px 0px 9px 20px;
}

/** button design based on http://codepen.io/guvootes/pen/eyDAb **/
.prowebform form input.submitbtn {
  width: 60%;
  height: 35px;
  border: none;
  border-radius: 4px;
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  overflow: hidden;
  outline: none;
}
@media only screen and (max-width: 599px) {
	.prowebform form input.submitbtn {
	  width: 70%;
	}
}
.prowebform form input.submitbtn {
  background-image: -moz-linear-gradient(#035289,#035289);
  background-image: -webkit-linear-gradient(#035289,#035289);
  background-image: linear-gradient(#035289,#035289);
  border-bottom: 1px solid #666;
  cursor: pointer;
  color: #fff;
}
.prowebform form input.submitbtn:hover {
  background-image: -moz-linear-gradient(#035289,#000039);
  background-image: -webkit-linear-gradient(#035289,#000039);
  background-image: linear-gradient(#035289,#000039);
  border-bottom: 1px solid #035289;
}
.prowebform form 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){
  .prowebform form > div > div > div { display: inline-block; }
  .prowebform form .col-submit { display: block; }
  
  .prowebform form .col-1, form .col-2, form .col-3, form .col-4 { box-shadow: 1px 1px rgba(255,255,255,0.1); border: none; }
  
  .prowebform form .col-1 { min-width: 100% }
  .prowebform form .col-2 { min-width: 50% }
  .prowebform form .col-3 { min-width: 33.3333333333% }
  .prowebform form .col-4 { min-width: 25% }
  
  .prowebform form .col-submit button { width: 30%; margin: 0 auto; }
}