*{box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 62.2%;
}

body {
	top:0;
	left:0;
	border:0;
	padding: 0;
	margin: 0;
	text-align: normal;	
	font: normal normal normal 12px arial,tahoma, ms-serif;
	background-color: #f8f8f8;
	color: #444444;
	}
	
h1{
	margin:0 0 1rem 0;
	padding: 1rem 2%;
	background: #ffd800;
	font-size: 1.4rem;
	border-radius: 0.4rem;
	color:#222222;
}

a{
	color: #000000;
	text-decoration:none;
	font-weight:bold;
}

a:hover{
	color: #ffe138; 
	text-decoration:none;
	font-weight:bold;
}

#contenitore_ext{
   position:relative;
   min-height:100%;
   max-width: 100%;
}

#logo{
	position: relative;
	float:left;
	margin: 0;
	padding:1.2rem 0;
	width: 20%;
	height: 6rem;
	background-color: #ffd800;
	z-index: 101;
	font-size: 2.0rem;
	color: #ffffff;
	text-align: center;
}

#logo img{
	height: 100%;
	display: inline-block;
}

#login{
	position: relative;
	max-width: 40rem;
	width: 100%;
	margin: 0 auto;
	margin-top: 2rem;
	background: #ffffff;
	padding: 1rem;
	border: 0.1rem solid #ffd800;
	border-radius: 0.4rem;
	text-align: center;
}

#login img{
	height: 8rem;
}

#utility{
	position: relative;
	float:left;
	margin:0;
	padding:3rem 2%;
	width: 80%;
	height: 4rem;
	background-color: #222222;
	text-align: right;
	color: #ffffff;
}

#briciole{
	position: relative;
	width:100%;
	margin:0;
	padding: 2rem 0;
	text-align: left;
	font: normal normal normal 16px ms-serif,arial;
	color:#000000;
}

#menuFixed{
	position: fixed;
	margin:0;
	padding:0;
	width: 20%;
	height: 100%;
	background-color:#38383a;
	z-index: 100;
}

#corpo{
	position: relative;
	float:right;
	margin:0;
	padding:0;
	width: 80%;
	padding: 2rem 2%;
	margin-bottom: 2rem;
}

@media only screen and ( max-width: 767px){
	#logo{
		width: 50%;
		font-size: 1.2rem;
		padding:0.5rem 0;
		height: 2rem;
	}
	
	#utility{
		width: 46%;
		padding:0.5rem 2%;
		height: 2rem;
	}
	
	#menuFixed{
		display: none;
	}
	
	#corpo{
		width: 96%;
	}
}

#menu{
	position: fixed;
	float:left;
	margin: 0rem;
	width: 20%;
	background: #32323a;
	z-index: 101;
}
 
/* primo livello*/
#menu > ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.2rem;
}

#menu > ul > li{
	position: relative;
	float: left;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
	text-align: left;
	width: 100%;
}

#menu > ul > li:hover{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
}

#menu > ul > li a{
	display: block;
	text-decoration: none;
	padding: 0.8rem 2%; 
	color: #ffd800;
}

#menu > ul > li a:hover{
	text-decoration:none;
	color: #ffffff;
	background: #28282e;
}

#menu > ul > li:hover{
}

#menu > ul > li.corrente {
}

/* secondo livello*/
#menu li ul{
	position: relative;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	width: 100%;
	font-weight: normal;
}

#menu li:hover ul{
	z-index: 100;
}

#menu > ul ul > li{
	position: relative;
	width: 100%;
}

#menu > ul ul > li a{
	display: block;
	text-align: left;
	padding: 0.5rem 0px 0.5rem 10%; 
	color: #ffffff;
}

#menu > ul ul > li a:hover{
	text-decoration:none;
	color: #ffffff;
}

#menu > ul ul > li:hover{
	background: #ffd800;
}


#centrale{
	position: relative;
	float:left;
	margin:0;
	padding:0;
	width: 85%;
	min-width: 850px;
	background-color: #f1f2f7;
	padding-bottom: 25px;
}

.tableRadius, #tableRadius{
	position:relative;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #cccccc;
	width: 100%;
	background-color: #ffffff;
	box-shadow:1px 1px 4px #666666;
	margin: 1rem 0;
}

.rigaTableTitoli{
	position: relative;
	width: 100%;
	padding: 1rem 0;
	background: #ffd800;
	font-weight: bold;	
}

.rigaTable{
	position: relative;
	border-bottom: 0.1rem solid #666666;
	width: 100%;
	padding: 0.5rem 0;
	
}
.rigaErrore{
	background-color:#d70000;
}

.boxTable{
	position: relative;
	float: left;
	width: 12%;
	text-align: left;
	padding: 0 0.25%;
}

.boxTable img{
	width: 1.5rem;
	margin: 0rem 5%;
}

.grigio{
	color: #888888;
}

@media (max-width: 767px){
	.tableRadius, #tableRadius{
		position:relative;
		border-radius: 0px;
		overflow: hidden;
		border: 0;
		width: 100%;
		background-color: transparent;
		box-shadow:0px 0px 0px #666666;
	}

	.rigaTableTitoli{
		display: none;
	}

	.rigaTable{
		position: relative;
		border: 0.1rem solid #08b5ed;
		border-radius: 0.4rem;
		width: 99%;
		padding: 0.5rem 0;
		margin: 2.0rem 0;
		font-size: 1.2rem;
	}

	.boxTable{
		position: relative;
		float: none;
		width: 96%;
		text-align: left;
		padding: 0.2rem 2%;
	}
}

/************************************************/
/* 				Carrello						*/
/************************************************/
#carrelloDett{
	position:relative;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #cccccc;
	width: 100%;
	background-color: #ffffff;
	box-shadow:1px 1px 4px #666666;
	margin: 1rem 0;
}

.intestazioneCarrello{
	position: relative;
	width: 100%;
	background: #ffd800;
	border-bottom: 0.1rem solid #ffd800;
	padding: 0.8rem 0;
	font-weight: bold;
	color: #222222;
}

.rigaCarrello{
	position: relative;
	width: 100%;
	border-top: 0.1rem solid #222222;
	padding: 0.8rem 0;
	font-weight: bold;
	color: #222222;
	background: #fff4b7;
}

.rigaCarrello:hover{
	border-top: 0.1rem solid #ffd800;
	background: #f8f8f8;
}

.rigaGiacenze{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #f8f8f8;
	border-top: 0.1rem solid #cccccc;
	padding: 0.2rem 0;
	font-weight: normal;
	color: #222222;
	background: transparent;
}

.rigaGiacenze:hover{
	border-bottom: 0.1rem solid #f8f8f8;
	border-top: 0.1rem solid #cccccc;
	background: #ffffff;
}

#totCarrello{
	position: relative;
	width: 100%;
	text-align: right;
	border-top: 0.1rem solid #f8f8f8;
	border-bottom: 0.1rem solid #ffd800;
	font-size: 2.4rem;
	padding: 0.4rem 20% 0.4rem 0;
}

#totIva{
	position: relative;
	width: 100%;
	text-align: right;
	margin-bottom: 3rem;
	border-bottom: 0.1rem solid #ffd800;
	padding: 0.4rem 20% 0.4rem 0;
}

/************************************************/
/* 				Tabelle ajax					*/
/************************************************/
.rigaIntestazione{
	position: relative;
	width: 100%;
	background: #f8f8f8;
	border-bottom: 0.1rem solid #ffd800;
	padding: 0.8rem 0;
	font-weight: normal;
}

.rigaTitoli{
	position: relative;
	width: 100%;
	background: #ffd800;
	border-bottom: 0.1rem solid #ffd800;
	padding: 0.8rem 0;
	font-weight: bold;
	color: #222222;
}

.riga{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #cccccc;
	padding: 0.8rem 0;
	font-weight: bold;
	color: #222222;
}

.riga:hover{
	border-bottom: 0.1rem solid #ffd800;
	background: #f8f8f8;
}

.rigaRicerca, .rigaRicerca:hover{
	background: #444444;
	padding: 0.4rem;
}

.box{
	float:left;
	padding: 0.4rem 1%;
}

.box .fa{
	cursor: pointer;
}

.riga i{
	margin: 0 0.4rem;
	padding: 0;
	color: #222222;
	cursor: pointer;
	font-size: 2rem;
}

.riga i:hover{
	color: #ffd800;
	text-shadow: 0.1rem 0.1rem 0.1rem #222222;
}

.box input{
	width: 100%;
}

.box5{
	width: 5%;
}

.box10{
	width: 10%;
}

.box15{
	width: 15%;
}

.box20{
	width: 20%;
}

.box25{
	width: 25%;
}

.box30{
	width: 30%;
}

.box40{
	width: 40%;
}

.box50{
	width: 50%;
}

.box60{
	width: 60%;
}

.box80{
	width: 80%;
}

.box100{
	width: 100%;
}

.riga form input[type="submit"], form input[type="reset"]{
	padding: 0.4rem 0;
	margin: 0rem 2%;
}

.selezionato{
	background-color: #559e33;
	color: #07a4d7;
	font-weight: bold;
}

.noclick{
	background-color: #eeeeee;
	color: #999999;
}
	
.selezionato:hover{
	background-color: #eeeeff;
	color: #000000;
}

.tastoForm{
	background: linear-gradient(to bottom, #ffd800 0%, #ffe138 80%) repeat scroll 0% 0% transparent;
	border-radius: 4px;
	border: 1px solid #07a4d7;
	color: #222222;
	padding: 1px 3px;
	margin: 2px;
}

.tastoForm:hover{
	background: linear-gradient(to bottom, #ffe138 0%, #ffd800 80%) repeat scroll 0% 0% transparent;
}

.accesso{
  	position: relative;
	margin: 0px auto;
	border-radius: 5px;
	border: 1px solid #dedede;
	padding: 1rem 2%;
	background: linear-gradient(to bottom, #ffffff 0%, #d9edf7 80%) repeat scroll 0% 0% transparent;
	width: 30%;
}

.accesso input{
	width: 100%;
	
}

.tastoForm{
	position:relative;
	float: left;
	background: linear-gradient(to bottom, #ffd800 0%, #ffe138 80%) repeat scroll 0% 0% transparent;
	color: #222222;
	width: 46%;
	border-radius: 0.1rem;
	border: 0.1rem solid #ffd800;
	margin: 1rem 2%;
	padding: 0.8rem 0rem;
	text-align: center;
}

.tastoForm:hover{
	background: ffe138;
}

.tastoLink{
	position:relative;
	float: left;
	background: linear-gradient(to bottom, #ffd800 0%, #ffe138 80%) repeat scroll 0% 0% transparent;
	color: #222222;
	width: 45%;
	border-radius: 0.4rem;
	border: 0.1rem solid #ffd800;
	margin: 0.5rem 2% 2.5rem 2%;
	padding: 0.4rem 0;
	text-align: center;
}

.tastoLink:hover{
	background: linear-gradient(to bottom, #ffe138 0%, #ffd800 80%) repeat scroll 0% 0% transparent;
}

.tasto{
	display: inline-block;
	background: linear-gradient(to bottom, #ffd800 0%, #ffe138 80%) repeat scroll 0% 0% transparent;
	color: #222222;
	border-radius: 0.4rem;
	border: 0.1rem solid #ffd800;
	margin: 0rem 2% 0.4rem 2%;
	padding: 0.6rem 0.8rem;
	font-weight: bold;
	cursor: pointer;
}

.tasto:hover{
	background: linear-gradient(to bottom, #ffe138 0%, #ffd800 80%) repeat scroll 0% 0% transparent;
	color: #222222;
}
.pagato{
	background-color: #ccffcc;
}

@media (max-width: 767px){
	.tastoLink{
		margin: 0.5rem 2%;
		padding: 0.4rem 0;
		width: 45%;
		text-align: center;
		font-size: 1.2rem;
	}
	
	.accesso{
		width: 90%;
	}
	
	.accesso input{
		width: 96%;
		
	}
}

/********************************************************/
/* 				Form generica							*/
/********************************************************/
form label{
	position: relative;
	width: 100%;
	padding: 0;
	font-weight: bold;
	padding-top: 0.4rem;
}

form input[type="text"], form input[type="password"], form textarea, form select{
	position: relative;
	width: 100%;
	border: 0.1rem solid #ccc;
	padding: 0.5rem 1%;
	border-radius: 0.1rem;
	-webkit-appearance: none;
}

form input[type="text"]:focus, form input[type="password"]:focus, form textarea:focus, form select:focus{
	border: 0.1rem solid #ffd800;
	box-shadow: 0.1rem 0.1rem 0.4rem #c8c8c8;
}

form textarea{
	min-height: 10rem;
	font: normal normal normal 1.2rem ms-serif,arial,tahoma;
	color: #444444;
	-webkit-appearance: none;
}

form select{
	color: #444444;
	padding: 0.4rem 1%;
}

form input[type='radio'], input[type='checkbox'] {
	cursor: pointer;
	float: left;
	width: auto;
	/*-webkit-appearance: none;*/
}

span.checkbox{
	color: #ffffff;
	line-height: 2rem;
}

form input[type="submit"], form input[type="reset"]{
	position: relative;
	float:left;
	width: 46%;
	margin: 1rem 2%;
	padding: 0.8rem 0;
	border: 0.1rem solid #ffd800;
	border-radius: 0.1rem;
	background: #ffd800;
	color: #222222;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	-webkit-appearance: none;
}

form input[type="submit"]:hover, form input[type="reset"]:hover{
	background: #ffe138;
	color: #222222;
}

.errore{
	color: #cf3838;
}

span.errore{
	font-size: 1.1rem; 
	color: #cf3838;
}

#filtriLotti form input[type="text"]{
	position: relative;
	float: left;
	width: 30%;
	border: 0.1rem solid #ccc;
	padding: 0.5rem 1%;
	margin: 0.5rem 1.5%;
	border-radius: 0.1rem;
	-webkit-appearance: none;
}

/************************************************/
/* 				NavBar							*/
/************************************************/
.navBar{
	position: relative;
	width: 100%;
	border-top: 0.1rem solid #ffffff;
}

span#_totale{
	color: #ffffff;
	line-height: 3rem;
}

/************************************************/
/* 				Cantiere dettaglio				*/
/************************************************/
#dettaglioCantiere{
	position: relative;
	width: 100%;
	background: #ffffff;
	border: 0.1rem solid #dfdfdf;
	border-radius: 0.4rem;
}

#cantireInfo{
	position: relative;
	float: left;
	width: 50%;
	padding: 2rem 5%;
}

.cantiereInfo{
	position: relative;
	width: 100%;
	padding: 0.8rem 0;
	font-size: 1.4rem;
}

#cantireContabilit{
	position: relative;
	float: left;
	width: 50%;
	padding: 2rem 5%;
}

.cantiereContabilita{
	position: relative;
	width: 100%;
	padding: 0.6rem 1%;
	margin: 0 0 2rem 0;
	font-size: 1.4rem;
	font-weight: bold;
	border-bottom: 0.1rem solid #cccccc;
}

.sottovoce{
	color: #878787;
	font-weight: normal;
	padding: 0.2rem 1% 0.2rem 10%;
	font-size: 1.2rem;
	margin: 0;
}
.sottovoce2{
	color: #878787;
	font-weight: normal;
	padding: 0.2rem 1% 0.2rem 15%;
	font-size: 1rem;
	margin: 0;
}

.right{
	float: right;
}

/************************************************/
/* 				Ricerca							*/
/************************************************/
#ricerca{
	position: relative;
	width: 100%;
	padding: 0;
	margin: 2rem 0 1rem 0;
	border-radius: 0.4rem;
	background: #38383a;
}

.campoRicerca{
	position: relative;
	float: left;
	padding: 1rem 1%;
}

.tastoRicerca{
	display: inline-block;
	background: linear-gradient(to bottom, #ffd800 0%, #ffe138 80%) repeat scroll 0% 0% transparent;
	color: #222222;
	border-radius: 0.4rem;
	border: 0.1rem solid #ffd800;
	margin: 1rem 1%;
	padding: 0.6rem 0.8rem;
	font-weight: bold;
	cursor: pointer;
}

.tastoRicerca:hover{
	background: linear-gradient(to bottom, #ffe138 0%, #ffd800 80%) repeat scroll 0% 0% transparent;
	color: #222222;
}
/************************************************/
/* 				Fine							*/
/************************************************/
#fine{   
	position:absolute;
	bottom: 0;
	right: 0;
	padding:0.8rem 2%;	
	width:80%;
	color:#444444;
	text-align: left;
	font-size: 1rem;
	border-top: 1px solid #444444; 
}

@media (max-width: 767px){
	#fine{   
		padding:0.8rem 2%;	
		width:96%;
	}
}

/************************************************/
/* 				Stato fase						*/
/************************************************/
.statoVerde, .statoArancio, .statoRosso{
	display: inline-block;
	padding: 0.2rem;
	border-radius: 0.2rem;
}

.statoVerde{
	border: 0.2rem solid #4bd526;
	background: #4bd526;
}

.statoArancio{
	border: 0.2rem solid #ff9b43;
	background: #ff9b43;
}

.statoRosso{
	border: 0.2rem solid #ef1717;
	background: #ef1717;
	color: #ffffff;
}

/************************************************/
/* 				Utilità							*/
/************************************************/
.alert{
	position: relative;
	width: 100%;
	background: #ea7373;
	color: #ffffff;
	margin: 1rem 0;
	padding: 0.4rem 2%;
}

.text-left{
	text-align: left;
}

.text-center{
	text-align: center;
}

.text-right{
	text-align: right;
}

.vuoto {
	clear:both;
}

.visible-mob{
	display: none;
}

.hidden-mob{
	color: #333333;
}

@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}
	
html, body {
	font-size: 80%;
}

