@charset "UTF-8";
/* CSS Document */
#pre_form_gas{
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
}

fieldset{
	padding: 30px 20px 30px 20px;
	margin: 20px 0px;
	border: 1px solid #96bf0d;
	border-radius: 10px;
	background-color: #f2f3f4;
}
legend{
	text-align: center;
	padding: 0px 5px;
	border: none;
	color:#96bf0d;
}
fieldset .col-1-2,
fieldset .col-1-3{
	padding: 5px;
	float: left;
}
fieldset.first_field .col-1-3:nth-child(3n+1){
	clear: both;
}

fieldset input,
fieldset select,
fieldset textarea{
	margin: 0 !important;
	padding: 0 !important;
	padding: 10px !important;
	margin: 5px !important;
	float: left;
	width: 96% !important;
	border: 1px solid #666666;
	color: #666666 !important;
	border-radius: 3px;
}
fieldset input:active,
fieldset select:active,
fieldset textarea:active,
fieldset textarea:focus,
fieldset input:focus,
fieldset select:focus{
	outline: none;
	border: 1px solid #666666 !important;
    box-shadow: 0 0 10px #666666;
}

.row_form{
	padding: 10px 0px ;
}

input[type='checkbox']{
	width: 5% !important;
	float: left;
}
input[type='radio']{
	width: 5% !important;
	float: left;
}
label{
	width: 80%;
	text-align: left !important;
}
#fourth_field p {
	text-align: center !important;
}

::-webkit-input-placeholder,/* Chrome/Opera/Safari */
::-webkit-textarea-placeholder { /* Chrome/Opera/Safari */
	color: #666666 !important;
	font-family: 'UniversLTStd-Light', 'Ubuntu', sans-serif,Arial, Helvetica !important;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #666666 !important;
}
:-ms-input-placeholder , /* IE 10+ */
:-ms-textarea-placeholder { /* IE 10+ */
	color: #666666 !important;
}
:-moz-placeholder { /* Firefox 18- */
	color: #666666 !important;
}

.col-1-2.radio-1-2{
	text-align: left !important;

}

#show_ind_fornitura,
#show_intest_cc,
#dati_cc{
	display: none;
}
#pdo,
#matricola_contatore{
	position: relative;	margin: 0px;
}
.box_contratti{
	width: 100%;	
	padding: 0px 10px;
	margin-top: 10px !important
}
.box_contratti .txt p{
	background-color: #e2e3e4;
	height: 150px;
	padding: 10px 15px;
	overflow-y: scroll;
	border-radius: 5px;

}

.help-tip{
	position: absolute;
	top: 12px;
	right: 18px;
	text-align: center;
	background-color: #BCDBEA;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 14px;
	line-height: 26px;
	cursor: default;
}

.help-tip:before{
	content:'?';
	font-weight: bold;
	color:#fff;
}

.help-tip:hover p{
	display:block;
	transform-origin: 100% 0%;
	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeIn 0.3s ease-in-out;

}

.help-tip p{	/* The tooltip */
	display: none;
	text-align: left;
	background-color: #1E2021;
	padding: 10px;
	width: 300px;
	position: absolute;
	border-radius: 3px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	right: -4px;
	top: 12px;
	color: #FFF;
	font-size: 13px;
	line-height: 1.4;
}

.help-tip p:before{ /* The pointer of the tooltip */
	position: absolute;
	content: '';
	width:0;
	height: 0;
	border:6px solid transparent;
	border-bottom-color:#1E2021;
	right:10px;
	top:-12px;
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
	width:100%;
	height:40px;
	content:'';
	position: absolute;
	top:-40px;
	left:0;
}

.privacy label{
	text-align: left;
	float: left;
}

#mybtn{
  float:  none !important;
  text-align: center !important;
  margin: 0px auto !important;
}

#submit_continua{
  width: 200px;  
  padding: 15px 20px;
  font-size: 16px;
  background-color: #96bf0d;
  color: #ffffff;
  border-radius: 10px;
    cursor: pointer;

}


.row.contatti .col-1-1{
	padding: 2%;
}
.row.contatti .col-1-1 input,
.row.contatti .col-1-1 textarea{
	width: 100% !important;
	margin: 0px !important;
}
.row.contatti .col-1-1 textarea{
	height: 100px;
}
/* CSS animation */

@-webkit-keyframes fadeIn {
	0% { 
		opacity:0; 
		transform: scale(0.6);
	}

	100% {
		opacity:100%;
		transform: scale(1);
	}
}

@keyframes fadeIn {
	0% { opacity:0; }
	100% { opacity:100%; }
}


@media all and (max-width: 960px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 960px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 960px), only screen and (min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min-resolution: 192dpi) and (max-width: 960px), only screen and (min-resolution: 2dppx) and (max-width: 960px) {
fieldset input, fieldset select{

font-size: 0.9em;
}


::-webkit-input-placeholder { /* Chrome/Opera/Safari */
font-size: 0.9em;
}
::-moz-placeholder { /* Firefox 19+ */
font-size: 0.9em;
}
:-ms-input-placeholder { /* IE 10+ */
font-size: 0.9em;
}
:-moz-placeholder { /* Firefox 18- */
font-size: 0.9em;
}
div.jfilestyle label{
font-size: 0.8em !important;
}

}


@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 768px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 768px), only screen and (min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min-resolution: 192dpi) and (max-width: 768px), only screen and (min-resolution: 2dppx) and (max-width: 768px) {

	fieldset .col-1-3{
		width: 50%;
	}
	fieldset.first_field .col-1-3:nth-child(3n+1){
		clear: none !important;
	}
	fieldset.first_field .col-1-3:nth-child(2n+1){
		clear: both !important;
	}

}



@media all and (max-width: 480px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 480px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 480px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 480px), only screen and (min-device-pixel-ratio: 2) and (max-width: 480px), only screen and (min-resolution: 192dpi) and (max-width: 480px), only screen and (min-resolution: 2dppx) and (max-width: 480px) {

	fieldset .col-1-2,
	fieldset .col-1-3{
		width: 100%;
	}
	fieldset.first_field .col-1-3:nth-child(3n+1){
		clear: none !important;
	}
	fieldset.first_field .col-1-3:nth-child(2n+1){
		clear: none !important;
	}
	#accettaz_privacy_no,
	#lab_2 {
		margin-top: 10px !important;
	}

	.row.form p,
	.row.form h3{
		text-align: justify;
	}
	.row.form a.blue{
		font-size: 0.9em;
	}

}