.wpcf7 {
    padding-top: 40px !important;
    width: 100%;
    max-width: 400px;
    margin: 40px auto !important;
}

.wpcf7 p {
	clear: both;
	margin: 0;
	font-weight: bold;
}

.wpcf7 input,
.wpcf7 textarea{
	width:100%;
	max-width: 100%;
	padding:5px 10px;
	border:solid 1px #ddd; 
	margin:0 0 10px 0;
	line-height: 150%;

	-webkit-transition: border 0.4s ease-in-out;
	-moz-transition: border 0.4s ease-in-out;
	-o-transition: border 0.4s ease-in-out;
	-ms-transition: border 0.4s ease-in-out;
	transition: border 0.4s ease-in-out;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus{
	border:solid 1px #888;
	outline: none;
}

.wpcf7 input:-webkit-autofill,
.wpcf7 input:-webkit-autofill:focus {
    -webkit-box-shadow:0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

.wpcf7 ::-webkit-input-placeholder {color:#cccccc;}
.wpcf7 :-moz-placeholder {color:#cccccc;}
.wpcf7 ::-moz-placeholder {color:#cccccc;}
.wpcf7 :-ms-input-placeholder {color:#cccccc;}

.wpcf7 .wpcf7-radio {
	font-weight: normal;
}

.wpcf7 input[type="radio"] {
	width: auto;
}




.wpcf7 input[type="submit"] {
	width:	100%;
	max-width: 100%;
	height: 60px;
	border: 0;
    background-color: #D3323B;
    border-bottom: solid 3px #841C22;
    border-radius: 4px;
	margin-top: 20px;
	text-transform: uppercase;
	color: #FFF;
	cursor: pointer;
	text-align: center;
	
	-webkit-transition: background-color 0.4s ease-in-out;
	-moz-transition: background-color 0.4s ease-in-out;
	-o-transition: background-color 0.4s ease-in-out;
	-ms-transition: background-color 0.4s ease-in-out;
	transition: background-color 0.4s ease-in-out;
}

.wpcf7 input[type="submit"]:hover {
	background-color: #841C22;
}

.wpcf7 button[type="submit"]:focus {
	outline: none;
}

.wpcf7 input[type="checkbox"] {
	width:auto !important;
	margin:0 !important;
	padding:0 !important;
}




#contact {
	max-width: 400px;
    margin: 0 auto;
}

#contact input,
#contact textarea{
	width:100%;
	max-width: 100%;
	padding:4%;
	border:solid 1px #ddd; 
	margin:0 0 10px 0;
	line-height: 150%;

	-webkit-transition: border 0.4s ease-in-out;
	-moz-transition: border 0.4s ease-in-out;
	-o-transition: border 0.4s ease-in-out;
	-ms-transition: border 0.4s ease-in-out;
	transition: border 0.4s ease-in-out;
}

#contact input:focus,
#contact textarea:focus{
	border:solid 1px #888;
	outline: none;
}

#contact input:-webkit-autofill,
#contact input:-webkit-autofill:focus {
    -webkit-box-shadow:0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

#contact ::-webkit-input-placeholder {color:#cccccc;}
#contact :-moz-placeholder {color:#cccccc;}
#contact ::-moz-placeholder {color:#cccccc;}
#contact :-ms-input-placeholder {color:#cccccc;}

#contact button[type="submit"] {
	width:	100%;
	max-width: 100%;
	height: 60px;
	border: none;
	background-color: #D3323B;
    border-bottom: solid 3px #841C22;
	text-transform: uppercase;
	color: #FFF;
	cursor: pointer;
	text-align: center;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#contact button[type="submit"]:hover {
	background-color: #841C22;
}


#contact input[type="checkbox"] {
	width:auto !important;
	margin:0 !important;
	padding:0 !important;
}


#cognome { display: none;}
.loader { text-align: center; display: none;}
.loader .show { display: block; }
#errori{ padding:3%; width:100%; margin:5px 0px; background:#e43459; color:#fff; text-align:center;}
#risultato{ padding:3%; width:100%; margin:5px 0px; background:#73c412;color:#fff; text-align:center;}
#privacy-form, #privacy-form label, #privacy-form label a{ font-size: 15px; line-height: 150%; color:#888888; font-style:italic; margin: 0 0 20px 0; padding: 0px;}
