/* BASIC RESET */
*{
	box-sizing: border-box;
	margin:0; 
	padding:0;
}
/*GENERAL*/
html,body{
	width:100%;
	height: 100vh;
	overflow-Y:scroll;
}
body{
	font-family: 'Roboto', sans-serif;
	font-size: 100%;
	text-align: center;
}
body.mobile-active{
    position: fixed;
    top:0;
    height:100%;
    overflow: hidden;
}
div#clear_div, div.clear_div{
	clear:both;
	width:100%;
}
#container{
	position: relative;
	width: 100%;
	max-width:1200px;
	margin: 0 auto;
 }
 #header, #content{
	position: relative;
	padding: 0 15px;
	text-align:left;
}
#header{
	height: 90px;
	background-color:#e4e5e5;
}
#header-inner{
	position:relative;
	padding: 15px 0;
}
#content{
	min-height: calc(100vh);
}
@media all and (min-width:768px){
	#content{
		min-height: calc(100vh - 90px);
		padding-bottom: 70px;
	}
}
#logo_header, #logo_mini_header{
	position: absolute;
	top:15px;
	left:0;
	height: 60px;
	border:none;/* per ie*/
	transition: 0.5s all ease;
}
#logo_header{
	display: none;
}
#logo_mini_header{
	display: block;
}
#logo_mini_header.active{
	transform: rotate(-45deg);
}
@media all and (min-width:500px){
	#logo_header{
		display: block;
	}
	#logo_mini_header{
		display: none;
	}
}
#footer{
	position: relative;
	width: 100%;
	padding:15px;
	text-align: center;
	font-size: 0.8em;
	background-color:#e4e5e5;
}
@media all and (min-width:768px){
	#footer{
		position: absolute;
		bottom:0;
		left: 0;
	}
}
/*TAG COMUNI A DIVERSE PAGINE*/
#indietro{
 	position:relative;
	 text-align:right;
}
.campo{
	float:left;
	margin-bottom:20px;
}
label{
 	display:block;
	 width:100%;
	 margin-bottom:5px;
 	text-align:left;
 	font-size:1.15em;
	font-weight: bold;
	color:#1a70ad;
}
.img_but { 
    width: 100%;
    height:30px;
    background-color: #e4e5e5;
    cursor: pointer;
    outline: 0;
	font-size: 0.9em;
	border:none;
    border-radius: 2px;
    font-weight:bold;
}
@media all and (min-width: 500px){
	.img_but { 
		height:40px;
		font-size:1.15em;
		border-radius:5px;
	}	
}
.text{
	height:30px;
	line-height: 30px;
	background-color:#ffffff;
	border:none;
	border-bottom:1px solid #1a70ad;
}
#indietro a{
	font-weight:normal;
	color:orange;
	text-decoration:none;
}
/*errore*/
div#errore,div#msg{
	position:relative;
	margin:5px 0;
	padding:0;
	text-align:left;
	font-weight:normal;
}
div#msg span,div#errore span{
	font-size:1.15em;
	font-weight:bold;
}
div#msg span{
	color:green;	
}
div#errore span{
 	color:red;
}
/*debug e bottoni*/
div#debug{
 	position:relative;
 	margin:auto;
 	border:1px solid black;
}
.titolo_debug{
	position:relative;
	text-align:center;
}
#debug .dato{
	float:left;
	margin:2px;
	padding:0 2px;
}
#debug .eti{
	display:block;
	font-style:bold;
	text-align:center;
	color:#ffffff;
	background-color:#000000;
}
/*menu_user*/
#menu_user{
	position: absolute;
	left: -100%;
	top:90px;
	width:100%;
	display: none;
	transition: all 0.5s ease-in-out;
}
#menu_user.active{
	display: block;
    left: 0;
	z-index: 100;
	overflow-x: scroll;
    height: calc(100vh - 90px);
    background-color: rgba(0,0,0,0.7);
}
ul#top_menu{
	position: relative;
    height: 100%;
    width: 100%;
	background-color: #99ccff;
}
#menu_user ul li{
	list-style: none;
    display: block;
	width: 100%;
	font-size: 1.4em;
    text-align: center;
    border-bottom: 1px solid #0083c8;
}
#menu_user ul li a{
	text-decoration:none;
	display: block;
	padding: 10px 0;
	text-align: center;
	background-color:transparent; 
	color: #ffffff;
}
#menu_user li:hover , #menu_user li.sel {
	background-color:#0083c8;
}
@media all and (min-width:768px){
	#menu_user{
		position: relative;
		display: block;
		top:unset;
		left:unset;
		padding-left:300px;
		padding-right:50px;
	}
	#menu_user>ul>li{
		position: relative;
		display: inline-block;
		width: auto;
		padding: 0;
		font-size: 1em;
		text-align: center;
		border-right: 1px solid #0083c8;
		border-bottom: none;
		font-size: 1em;
	}
	#menu_user ul li a{
		padding: 5px;
	}
}
.submenu{
	position: relative;
	background-color: #fff;
	display: none;
	transition: 0.5s all ease;
}
#menu_user .submenu li{
	padding: 5px 0;
	font-size: 0.9em;
}
#menu_user.active ul.submenu.active {
	display: block;
	z-index: 10;
}
#menu_user ul.submenu li:hover a , #menu_user ul.submenu li.sel a {
	color:#fff;
}
#menu_user .submenu li a{
	 width:100%;
	 color: #99ccff;
}
@media all and (min-width:768px){
	.submenu{
		position: absolute;
		top:1.78em;
		left:0;
	}
	#menu_user li.has_submenu:hover ul.submenu {
		display: block;
		z-index: 10;
	}		
}
/*span utente loggato e menu di navigazione utente loggato*/
#logged{
	position: absolute;
    top: 15px;
	right: 0;
	width: 40px;
	height: 60px;
	font-size:0.95em;
	color:#999999;
}
#logged span{
	position: relative;
	display: block;
	width: 100%;
}
span#utente_nome{
	display: block;
	width: 30px;
	height: 30px;
	margin:0 auto;
	background-color:#75bae3;
	color:#fff;
	border-radius: 50%;
	line-height: 30px;
	text-align: center;
	font-weight: 700;
}
span#logout a{
	margin:0;
	text-align:center;
	text-decoration:none;
	font-style:bold;
	color:#009ee0;
	border:0;
}
span#logout a:hover{
	color:orange;
}
