/*custom font*/
@import url(http://fonts.googleapis.com/css?family=Montserrat);
/*basic reset*/
html{
	margin: 0;
	font-family: montserrat, arial, verdana;
    /*background: rgba(0, 0, 0, 0.7);*/
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: none;
	z-index: 30000;
	
}
body{
	margin: 0;
	padding: 0;
	background: url(mosaico.jpg) #cccccc no-repeat;
	background-size: cover;
}
h1{
	font-size: 50px;
}

/*form styles*/
#msform {
width: 95%;
height:70%;
margin: 1% auto;
text-align: center;
position: relative;
}
#msform fieldset {
background: white;
border: 0 none;
border-radius: 3px;
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
padding: 10px 30px;
box-sizing: border-box;
width: 70%;
padding-bottom:100px;
margin-left:15%;
/*stacking fieldsets above each other*/
position: absolute;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
display: none;
}

/*form styles*/
#caform {
width: 65%;
height:70%;
margin: 1% auto;
text-align: center;
position: relative;
}
#caform fieldset {
background: white;
border: 0 none;
border-radius: 3px;
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
padding: 10px 30px;
box-sizing: border-box;
width: 70%;
height:100%;
left:50%;
margin-left:-35%;
/*stacking fieldsets above each other*/
position: absolute;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
display: none;
}

/*inputs*/
#msform input, #msform select, #result{

padding: 15px;
border: 1px solid #ccc;
border-radius: 3px;
margin-bottom: 10px;
width: 30%;
box-sizing: border-box;
font-family: montserrat;
color: #2C3E50;
font-size: 13px;

}
/*buttons*/
#msform .action-button {
position:absolute;
bottom:15px;
width: 100px;
background: #4690db;
font-weight: bold;
color: white;
border: 0 none;
border-radius: 1px;
cursor: pointer;
padding: 10px 5px;
margin: 10px 5px;
}
.previous , .sx{
	left:50px;
}
.next, .submit, .verifica, .dx{
	right:50px;
}
.center{
	left: 50%;
	margin-left:-50px !important; 
	margin-bottom:130px !important;
}
#t_info{
	display:none;
	position:absolute;
	z-index:4000;
	left:287px;
	top:305px;
	overflow:auto;
	background-color:grey;
	color:white;
	font-size:10px;
	padding:5px;
}
#msform .action-button:hover, #msform .action-button:focus {
box-shadow: 0 0 0 2px white, 0 0 0 3px #4690db;
}
/*headings*/
.fs-title {
font-size: 20px;
text-transform: uppercase;
color: #2C3E50;
margin-bottom: 10px;
}
.fs-subtitle {
font-weight: normal;
font-size: 14px;
color: #666;
margin-bottom: 15px;
}

/*progressbar*/
#progressbar {
	padding: 1% !important;
margin-bottom: 10px;
overflow: hidden;
/*CSS counters to number the steps*/
counter-reset: step;
}
#progressbar li {
	left:9%;
list-style-type: none;
color: white;
text-transform: uppercase;
font-size: 12px;
width: 16%;
float: left;
position: relative;
}
#progressbar li:before {
content: counter(step);
counter-increment: step;
width: 40px;
line-height: 40px;
display: block;
font-size: 15px;
color: #333;
background: white;
border-radius: 3px;
margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
content: '';
width: 100%;
height: 4px;
background: white;
position: absolute;
left: -50%;
top: 18px;
z-index: -1; /*put it behind the numbers*/
}
#progressbar 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 {
background: #4690db;
color: white;
}
#msform input[type="radio"],input[type="checkbox"]{
	display:inline-block;
	width:20px !IMPORTANT;
}
#fibra{
	height: 100%;
	width: 100%;
	border: none;
}
#allarme{
	position:relative;
	top: 200px;
	left:30%;
}
#dati_pers input, #dati_pers select{
	float:left;
	margin-left:10px;
}
#opzioni div,  #pagamento div{
	text-align: left;
}
#opzioni div > input, #pagamento div > input{
	width:30px;
	
}
#opzioni div > img, #pagamento div > img{
	height:30px;
	display:inline;
    vertical-align:middle;
}
#info{
	width:12px !important;
	height:12px !important;
	margin-bottom:8px;
}
#fatturazione{
	position:absolute;
	z-index:4000;
	overflow:auto;
	display:inline;
	width:300px;
	background-color:grey;
	border:2px solid silver;
	margin-left:10px;
	margin-top:-200px;
	color: white;
}
#fatturazione input{
	margin:10px;
	width: 93% !important;
}
#fatturazione p{
	margin-top:3px;
	margin-bottom:0px;
	margin-left:10px;
}
#obbligatorio{
    position: absolute;
    bottom: 55px;
}
.obbligatorio{
	background-color:rgba(255,0,0,0.2);
}
#result{
	display:none;
	padding: 2px;
	width: 200px;
	height: 30px;
}
#vuoto{
	background-color: white;
    border: 1px solid transparent !important;
}
input[name='pswd']{
	background-position: left bottom;
	background-size: 6px;
	background-repeat:repeat-x;
}
.pagamento{
	width:45%;
	margin-top:20px;
}
.pagamento, .pagamento div, .pagamento p, .pagamento img{
	display:inline-block;
	line-height:50px;
}
.pagamento div, .pagamento p, .pagamento img, .pagamento input[type='radio']{
	vertical-align: text-top;
	height:50px !important;
	margin:10px;
}
.a {
	width:35% !IMPORTANT;
}
.b hr { 
  border : 0;
  height: 1px; 
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); 
}
.a input, .c input{
	margin-left:12%;
}
.a img, .c img{
	margin:0 7 0 7;
	width:45% !IMPORTANT;
	max-width:180px;
}
.a, .a img, .c, .c img{
	display:inline-block;
}
.button{
	display:inline;
	background-color:grey;
	color:white;
	cursor:pointer;
	width:100px;
	height:30px;
	line-height:30px;
}
.map{
	z-index: 1;
	position:absolute;
	left:0px;
	top:120px;
	border-width:0;
	width:100%;
	height:400px;
}
#map_label{
	position:absolute;
	bottom: 90px;
	z-index: 2;
	display:none;
	font-size:12px;
}
#hide_maps {
	display:none;
	position:absolute;
	font-size:12px;
	z-index: 2;
	top:   120;
	left: 0;
	width:  50px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	border: 1px grey solid;
	background-color:grey;
	cursor: pointer;
}
#hide_maps:hover{
	background-color:red;
	color: white;
}

#show_maps {
	text-align: center;
	padding-left:30px;
	
}
#show_maps img{
	margin-right:10px;
	width: 40%;
	max-width:300px;
	cursor:pointer;
}
#privacy{
	margin-left: 19.5%;
	text-align:left !important;
}
#privacy input{
	width: 20px;
}
#recaptcha{
	margin-left: 19.5%;
	text-align:left !important;
}

#msg_conferma img, #msg_confermato img{
width:40%;
}
#msg_confermato img:hover {
transform: scale(1.1);
}
#msg_confermato{
	display:none;
}

/* Home */
#home {
	width:100%;
	position:fixed;
	top: 25;
	left: 1;
	text-align: left !important;
	padding-left: 25px;
	z-index:999;
}
#home img {
	max-width:7%;
}

#home img:hover {
transform: scale(1.3);
}
#footer {
	height:100px;
}


/*media*/
@media (min-width: 468px) and (max-width: 980px) {
	#nuova, #logout{font-size: 32px;}
	#msform {width: 100%;}
/*	#menu_sx, #regioni {width: 90%;}
	#menu_sx, #regioni,.regione, .provincia, .comune, .strada, .civico, .armadio{
		display:block;
		font-size:30px !important;
	}
	.regione, .provincia, .comune, .strada, .civico, .armadio, #dettagli{
		width:auto;
		}
	.regione, .provincia, .comune, .strada, .civico{
		height:50px;
		line-height:50px;
	}
	#ricerca{ height: 50px; font-size:30px !important;}*/
}
