/*  
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

html, body, #wrap {height: 100%; overflow:hidden;}
body > #wrap {height: auto; min-height: 100%;}
#main {padding-bottom: 80px;}  /* must be same height as the footer */
#footerx {
	position: relative;
	margin-top: -80px; /* negative value of footer height */
	height: 80px;
	clear:both;
	background-color: #FFF;
	z-index: 1;
	text-align: left;
	padding: 10px;
} 
#finestra {
	position: relative;
	margin-top: 70px;
	height:300px;
	clear:both;
	z-index: 1;
	text-align: center;
	padding: 10px;
	width: 400px;
	margin-left: 70px;
} 

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/*** Nav bar styles ***/

ul.nav,
.nav ul{
/*Remove all spacings from the list items*/
	margin: 0;
	padding: 0;
	cursor: default;
	list-style-type: none;
	display: inline;
	float:right;
}
ul.nav{
	display: table;
}
ul.nav>li{
	display: table-cell;
	position: relative;
	padding: 2px 6px;
}
ul.nav>li:hover{
	padding-right: 1px;
} [*]

ul.nav li>ul{
/*Make the sub list items invisible*/
	display: none;
	position: absolute;
	max-width: 40ex;
	margin-left: -6px;
	margin-top: 2px;
}
ul.nav li:hover>ul{
/*When hovered, make them appear*/
	display : block;
}
.nav ul li a{
/*Make the hyperlinks as a block element, sort of a hover effect*/
	display: block;
	padding: 2px 10px;
}

/*** Menu colors (customizable) ***/

ul.nav,
.nav ul,
.nav ul li a{
	background-color: #fff;
	color: #369;
}

ul.nav li:hover,
.nav ul li a:hover{
	background-color: #369;
	color: #fff;
}
ul.nav li:active,
.nav ul li a:active{
	color: #fff;
}
ul.nav,
.nav ul{
}
.nav a{
	text-decoration: none;
}
