html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html { overflow-y: scroll; }
body {
  font-family: Verdana, Geneva, sans-serif;
  background: #f1f1f1;
  font-size: 62.5%;
  line-height: 1;
  padding-top: 40px;
}

.testo {
	font-size: 14px;
	line-height: 1.4;
	text-align:justify;
    color: #555;
	margin: 0px 30px
}

br { display: block; line-height: 1.6em; } 

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

strong, b { font-weight: bold; }
em, i { font-style: italic; }

h1 {
  display: block;
  font-size: 3.1em;
  line-height: 1.45em;
  font-family: Verdana, Geneva, sans-serif;
  text-align:justify;
  font-weight: bold;
  color: #3f78b7;
  text-shadow: 1px 1px 0 #fff;
  margin: 0px 30px;
}

/** form field **/

/*
.form-check-input {
    position: static;
	float:left;
	
    position: absolute;
    margin-top: .25rem;
    margin-left: -1.25rem;
}
*/

.formError .formErrorContent {
	width: 100%;
	background: #ee0101;
	position:relative;
	border: 2px solid #ddd;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-o-border-radius: 6px;
}


[type="checkbox"], [type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
.form-check {
    vertical-align: middle;
}

.form-check-input {
  width: auto;
  height: auto;
  line-height: auto;
  margin: 0;
  padding: 0x;
  color: #555;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 100;
  font-size: 14px;
  opacity: .6;
  transition: all linear .3s;
}

form {
  display: block;
  margin: 30px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #e4e4e4;
  border-radius: 5px;
  font-size: 0;
}

form > div > label {
  display: block;
  padding: 10px 20px 10px;
  vertical-align: top;
  font-size: 13px;
  line-height:18px;
  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 {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 25px;
  line-height: 25px;
  margin: 5px -5px 0;
  padding: 7px 5px 3px;
 /** border: none; **/
  outline: none;
  color: #555;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 100;
  font-size: 14px;
  opacity: .6;
  transition: all linear .3s;
  border: solid 2px #3f78b7;
}

.col-submit {
  text-align: left;
  padding: 20px 20px 40px 20px;
}

label > select {
  display: block;
  width: 100%;
  padding: 0;
  color: #555;
  margin: 16px 0 6px;
  font-weight: 100;
  background: transparent;
  border: none;
  outline: none;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  opacity: .6;
  transition: all linear .3s;
}

label > input:focus, label > select:focus {
  opacity: 1;
}

/** button design based on http://codepen.io/guvootes/pen/eyDAb **/
button {
  width: 100%;
  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;
}

button.submitbtn {
  background-image: -moz-linear-gradient(#3f78b7, #3568a2);
  background-image: -webkit-linear-gradient(#3f78b7, #3568a2);
  background-image: linear-gradient(#3f78b7, #3568a2);
  border-bottom: 1px solid #648c3a;
  cursor: pointer;
  color: #fff;
}
button.submitbtn:hover {
  background-image: -moz-linear-gradient(#3568a2, #3f78b7);
  background-image: -webkit-linear-gradient(#3568a2, #3f78b7);
  background-image: linear-gradient(#3568a2, #3f78b7);
}
button.submitbtn:active {
  height: 34px;
  border-bottom: 0;
  margin: 1px 0 0 0;
  background-image: -moz-linear-gradient(#3f78b7, #3568a2);
  background-image: -webkit-linear-gradient(#3f78b7, #3568a2);
  background-image: linear-gradient(#3f78b7, #3568a2);
  -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: 750px){
  form > div { display: inline-block; }
  .col-submit { display: block; }
  
 /* .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-5 { width: 20% }
  .col-6 { width: 70% }
  .col-7 { width: 15% }
  .col-8 { width: 85% }
  
  .col-submit button { width: 30%; margin: 0 auto; }
}