/****Form****/

#form {
	padding-top: 4px;
	position: relative;
}

#form input {
    display: block;
    float: left;
	margin-bottom:5px;
	color: #504d4d;
    font: italic 14px/20px 'Open Sans', sans-serif;
	width:100%;
    height: 18px;
    padding:15px;
    background-color: #fff;
	border: 1px solid #cbcbcb;
    border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	box-shadow: none !important;
    box-shadow: inset 0 0 1px #f4f4f4;
    transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#form select {
    display: block;
    float: left;
	margin:0px 5px 5px 0px;
	color: #878787;
    font: italic 14px/20px 'Open Sans', sans-serif;
	width:345px;
    height: 50px;
    padding:15px;
    background-color: #eee;
	border: 1px solid #cbcbcb;
    border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	box-shadow: none !important;
    box-shadow: inset 0 0 1px #f4f4f4;
    transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;

}

.name, .email, .phone {
    width: 313px;
	margin-right:7px;
}

.city {
    width: 226px;
	margin-right:7px;
}

.username, .dominio {
    width: 213px;
	margin-right:7px;
}

.ext, .data, .numberdoc, .id  {
    width: 80px;
}

.id  {
    width: 100px;
}

.prov {
    width: 50px;
}

.webmail {
	float:right;
	padding:0px;
	width:150px;
	height:20px;
	font-size:14px;
}

#form textarea {
	width: 100%;
	height: 211px;
	background: #fbfbfb;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	margin: 0;
	color: #878787;
    font: 14px/20px 'Open Sans', sans-serif;
	border: 1px solid #dfdede;
    padding: 23px 27px 5px;
}

#form input[type='radio'] {
	width:auto;
	height:auto;
}

#form input[type='checkbox'] {
	width:auto;
	height:auto;
}

#form .radio-box {
	float:left;
	width:323px;
	padding:20px 10px;
	background-color: #f5f5f5;
    border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
}

#form .radio-box-full {
	width:742px;
}

#form div.pay-desc {
	padding:0 10px 0 28px;
	font-size: 90%;
}

#form div.radio-box h5 img {
	vertical-align: middle;
	margin-right: 2px;
}

#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #878787;
    font: italic 14px/20px 'Open Sans', sans-serif;
	border: 0px solid transparent;
    padding:15px;
	height: 18px !important;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
	cursor: text !important;
	display: block;
}

#form ._placeholder.hidden {
	display: none;
}

#form ._placeholder.focused {
	opacity: 0.3;
}

#form .message ._placeholder {
	height: 100% !important;
	padding-top: 23px;
}

#form label {
	position:relative;
	display: block;
	min-height: 52px;
	float: left;
	margin-right:40px;
}

#form label+label {
}


#form label.message {
	width: 100%;
	position: relative;
	margin-left: 0;
}

#form label.check {
	margin-right:5px;
}

#form .partiindirizzo1, #form .partiindirizzo2  {
	position:relative;
	display: block;
	float: left;
	margin:12px 5px 0px 0px;
	font-size:24px;
}

#form iframe {
	padding:10px;
	width:740px;
	height:100px;
	border:1px solid #CCC;
	border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
}

#form .error-message, #form .empty-message {
	color: #f39200;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 998;
	bottom: 8px;
	opacity: 0;
	right: -20px;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

/*#form .message .error-message, #form .message .empty-message {
	bottom: -16px;
}*/

.message span {
	bottom: -16px !important;
}


#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
}

.btns {
	font-size: 0;
	line-height: 0;
	text-align: right;
	padding-top: 0px;
}

.btns .btn.bt__2 {
	min-width: 60px;
	text-align: center;
	margin-top: 0;
	  padding-top: 4px;
    padding-bottom: 6px;
    padding-left: 26px;
    padding-right: 26px;

}

.btns .btn.bt__2+.btn.bt__2 {
	margin-left: 30px;
}

.phone {
	position: relative;
}

.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #FBFBFB;
	width: 100%;
	height: 52px;
	text-align: center;
	padding: 16px 10px;
	z-index: 990;
	color: #878787;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form.success .success-message {
	display: block;
	opacity: 1;
}

#post_moduli_err li {
	color:#F00;
}

/********************Newsletter e Webmail*******************/

#newsletter {
    overflow: hidden;
	float:right;
}

#newsletter .rel {
    position: relative;
    width: 100%;
    overflow: visible;
}

#newsletter label {
    width: 190px;
    display: block;
    float: left;
    position: relative;
}

#newsletter input {
   	border:none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    float: left;
    box-shadow: none !important;
    width: 190px;
    background-color: #fec064;
    border-radius: 4px !important;
    color: #FFF;
    font: italic 14px/20px 'Open Sans', sans-serif;
    padding: 5px;
    box-shadow: inset 0 0 1px #f4f4f4;
    -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 -o-box-sizing: border-box;
 box-sizing: border-box;
 -webkit-appearance: none;
 transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#newsletter .btn.bt__2 {

	margin-top: 0 ;
	margin-left: 16px;
	padding-top: 4px;
	padding-bottom: 6px;
	padding-left: 43px;
	padding-right: 43px;
}

#newsletter a:hover {
}

#newsletter .error, #form1 .empty {     
    height:0px;
    bottom: 3px;
    right: 5px;
    text-align: right;
    font-size: 10px;
    line-height: 12px;
    color: #f39200;
    display: block;
    overflow: hidden;
    z-index: 999;
    padding: 0 0px;
   	border-left: 0 !important;
    -webkit-transition:  0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out; 
    position: absolute;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    }

#newsletter label.invalid .error {
    /*display: block;*/
    height:12px;

}

#newsletter .success {
    width: 100%;
    top: 0px;
    z-index: 999;
    color: #504d4d;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box; 
    display: none;  
    border-radius: 4px;
   	background-color: #fff;
    font: italic 14px/20px 'Open Sans', sans-serif;
    left: 0px;
    padding: 9px 16px 12px;
    height: 45px;
    overflow: hidden;
    padding: 10px;
    -webkit-transition:  0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out; 
    position: absolute;
   	border: 1px solid #cbcbcb;
}



@media only screen and (max-width: 1199px) {
	
	#form label {
		float:left !important;
		width: 90%;
	}
	
	#form label.email {
		width: 90%;
		margin: 0;
	}
	
	.dominio {
		float: left;
		width: 79% !important;
		margin-right:20px;
	}
	
	.ext  {
		width: 79% !important;
	}
	
	#form input {
		padding:10px;
		margin-bottom: 10px;
	}
	
	#form .partiindirizzo1 {
		position:relative;
		float: left;
		margin:12px 10px 0px 0px;
		font-size:20px;
	}
	
	#form .partiindirizzo2 {
		position:relative;
		float: left;
		margin:12px 12px 0px 50px;
		font-size:20px;
	}
	
	#form select {
		float: left;
		margin:0px 0px 10px 0px;
		width:265px;
		height: 40px;
		padding:10px;
		background-color: #eee;
		border: 1px solid #cbcbcb;
	}
	
	#form .success-message {
		width: 100%;
	}
	
	.btns {
		padding-right: 0;
	}
	
	#form label.email {
		width: 90%;
		margin: 0;
	}
	
	.map figure {
		float: left !important;
		margin-right: 0px !important;
	}
	
	#form label.check {
		width:20px;
		margin-right:10px;
	}
}

@media only screen and (max-width: 800px) {
	
	.dominio {
		float: left;
		width: 76% !important;
		margin-right:20px;
	}
	
	.ext  {
		width: 76% !important;
	}

	.map figure {
		width: 100% !important;
		float: none !important;
		display: block !important;
		margin-right: 0px !important;
	}
	.btns {
		padding-bottom: 0;  
	}
	
	#form textarea {
		height: 300px !important; 
	}
	
	#form {
		padding-right: 0;
	}
  
}

@media only screen and (max-width: 479px) {
	
	#form label {
		float:left !important;
		width: 90%;
		margin-right:0px !important;
	}
	
	#form label.email {
		width: 90%;
		margin: 0;
	}
	
	.dominio {
		float: left;
		width: 65% !important;
		margin-right:20px;
	}
	
	.ext  {
		width: 65% !important;
	}
	
	#form input {
		padding:10px;
	}

	#form textarea {
		height: 200px !important; 
	}
	
	#form .partiindirizzo1 {
		position:relative;
		float: left;
		margin:12px 10px 0px 0px;
		font-size:20px;
	}
	
	#form .partiindirizzo2 {
		position:relative;
		float: left;
		margin:12px 12px 0px 50px;
		font-size:20px;
	}
	

	#form .radio-box {
		float: left;
		width: 90%;
		padding: 20px 10px;
		background-color: #F5F5F5;
		border-radius: 4px !important;
	}
	
	#form select {
		float: left;
		margin:0px 0px 10px 0px;
		width:265px;
		height: 40px;
		padding:10px;
		background-color: #eee;
		border: 1px solid #cbcbcb;
	
	}
	
	#form input[type='radio'] {
		width:20px !important;
	}

	#form input[type='checkbox'] {
		width:20px !important;
	}
	
	#form label.check {
		width:20px;
		margin-right:10px;
		}
	
}

#form span.n2-error-message {
	color: #f00;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 998;
	bottom: 8px;
	right: -20px;
	display: none;
}

#form span.n2-error-message2 {
	color: #f00;
	font-size: 11px;
	line-height:14px;
	width:auto;
	z-index: 998;
	display: none;
}

#form .n2-error {
	border: 1px solid #f00;
}