/*Google Recaptcha*/
#recaptcha {
    width: 304px;
    margin: 0 auto;
}

/*altre classi varie*/
.padding-bottom5{
	padding-bottom:50px;
}

.padding-top5{
	padding-top:50px;
}

/*basic reset*/
* {margin: 0; padding: 0;}

/*form styles*/
#msform, #msform2 {
	max-width: 1000px;
	margin-top: 50px;
	text-align: center;
	position: relative;
	height: 530px;
}
#msform .t-left-imp, #msform2 .t-left-imp{
    text-align: left !important;
    padding-left: 50px;
}
#msform fieldset, #msform2 fieldset {
	background: white;
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
	box-sizing: border-box;
	width: 80%;
	/*margin: 0 10%;*/
	
	/*stacking fieldsets above each other*/
	position: relative;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type), #msform2 fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
#msform input, #msform2 input {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: auto;
	float:none;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
	margin-right: auto;
    margin-left: auto;
}
#msform textarea, #msform2 textarea{
	padding: 10px 100px 100px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: auto;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
}
.textarea2{
	padding: 10px 150px 50px 10px !important;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: auto;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
}
.textarea3{
	padding: 10px 100px 40px 10px !important;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: auto;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
}
#msform .big, #msform2 .big{
	width: 325px;
}
#msform .small, #msform2 .small{
	width: 160px;
}
#msform .p-top, #msform2 .p-top{
	padding-top:10px;
}
/*buttons*/
#msform .action-button, #msform2 .action-button {
  background:#1a5a8a;
  color:#fff;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 5px;
  margin: 10px 5px;
  position: relative;
  display: inline-block;
  line-height: 38px;
  text-transform: uppercase;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  font-family: "Poppins", sans-serif;
  border: none;
  font-size: 12px;
  width: 100px;
  cursor: pointer;
  float: inherit !important;
}
#msform .action-button:hover, #msform2 .action-button:hover{
	background:#fff;
	color:#1a5a8a;
	border: none;
}
#msform .action-button:hover, #msform .action-button:focus, #msform2 .action-button:hover, #msform2 .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #1a5a8a;
}

#msform .action-button:disabled, #msform2 .action-button:disabled{
	opacity: 0.3;
	cursor: not-allowed;
}


/*headings*/
.ms-title {
	font-size: 22px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.ms-subtitle {
	font-weight: bold;
	font-size: 17px;
	color: #666;
	margin-bottom: 20px;
}
.msform-span-cb{
	padding-left: 10px;
	font-size: 13px;
	font-weight: normal;
	font-size: 13px;
	color: #666;
	text-align:left !important;
}
/*progressbar*/
#progressbar, #progressbar2 {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar li, #progressbar2 li {
	list-style-type: none;
	color: #d2d1d1;
	text-transform: uppercase;
	font-size: 9px;
	width: 33.33%;
	float: left;
	position: relative;
}
#progressbar li:before, #progressbar2 li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: #d2d1d1;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after, #progressbar2 li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: #d2d1d1;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after, #progressbar2 li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after, #progressbar2 li.active:before,  #progressbar2 li.active:after{
	background: #1a5a8a;
	color: white;
}

@media only screen and (max-width: 1499px){
	#msform, #msform2{
		height:100%;
	}

	#msform textarea, #msform2 textarea{
		width: 100% !important;
	}
	#msform .big, #msform2 .big{
		width: 100% !important;
	}
	#msform .small, #msform2 .small{
		width: 100% !important;
	}
	#msform .t-left-imp, #msform .t-left-imp{
		text-align: left !important;
		padding-left: 20px;
	}
	
}

@media only screen and (max-width: 1199px){
	#msform textarea, #msform2 textarea{
		width: 100% !important;
		padding:10px 10px 100px 10px;
	}

	#msform .t-left-imp, #msform2 .t-left-imp{
		text-align: left !important;
		padding-left: 0px;
	}

	#msform fieldset, #msform2 fieldset{
		background: white;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 768px){
	#msform textarea, #msform2 textarea{
		padding:10px 10px 100px 10px;
	}

	#msform .t-left-imp, #msform2 .t-left-imp{
		text-align: left !important;
		padding-left: 0px;
	}

	#msform fieldset, #msform2 fieldset{
		background: white;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 400px){
	#msform fieldset, #msform2 fieldset{
		width:100%;
	}
}


