article, aside, figure, figcaption, footer, header, hgroup, nav, section{
	display: block;
}
body {
	background-color: #585858;	/* inserito */
	width: 1200px;
	margin: 0 auto 0 auto;
	font-size: 18px;
}

header {
	width: 1160px;
	height: 160px;
	background-color: #A4A875;
	padding: 10px;
	margin: 10px;
}

nav {
	width: 1160px;
	height: 40px;
	background-color: #DCDCDA;
	padding: 10px;
	margin: 10px 10px 0 10px;
}

/*
#subnav{
	width: 200px;
	height: 250px;
	background-color: ##DCDCDA;
	padding: 10px;
	margin: 10px;	
}
*/

article {
	width: 760px;		
	height: 1000px;		
	float: right;
	background-color: #47834B;
	padding: 10px;
	margin: 10px;	
}

section {
	width: 740px;
	height: 860px;		/* era 850 */
	background-color: #72C29B;
	padding: 10px;
	margin: 10px 0 0 0;
	font-size: 15px;		/* inserito */
	font-family: tahoma;		/* inserito */
	overflow-x: hidden;
}

article footer {
	width: 740px;
	height: 80px;
	background-color: #72C29B;
	padding: 10px;
	margin: 10px 0 0 0;
}

aside {
	width: 360px;
	height: 1000px;
	float: left;
	background-color: #72C29B;
	padding: 10px;	
	margin: 10px;
	//overflow-x: hidden;
	//overflow-y;
}

footer {
	clear: both;
	width: 1160px;
	height: 40px;
	background-color: #C4C4C4;
	padding: 10px;
	margin: 10px;
}

/* inserito */

	section  pre {
		font-family: arial;
		font-size: 16px;
	}

	footer p {
		text-align: center;
		font-size: 18px;
	}

	img.fotografia{
	   display: block;
	   margin:0 auto;
	  border: #000000 solid 2px;    /* bordo nero inserito */
	 }

	img.foto{
	   display: block;
	   margin:0 auto;
	 }

#counter {
	width: 360px;
	height: 30px;
	float: left;
	//background-color:  #CCCCCC;
	font-size: 14px;
	padding: 10px;
	margin: 0px;	
}

/* button 
---------------------------------------------- */
.button {
	display: inline-block;
	zoom: 1; zoom and *display = ie7 hack for display:inline-block 
	*display: inline;   
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	width: 290px;   /* inserito */
	height: 20px; 
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

/* color styles 
---------------------------------------------- */

.red {
	color: #faddde;
	border: solid 1px #980c10;
	background: #d81b21;

	margin-top: 3px;

	background: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#aa1317));
	background: -moz-linear-gradient(top,  #ed1c24,  #aa1317);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
}
.red:hover {
	background: #b61318;
	background: -webkit-gradient(linear, left top, left bottom, from(#c9151b), to(#a11115));
	background: -moz-linear-gradient(top,  #c9151b,  #a11115);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9151b', endColorstr='#a11115');
}
.red:active {
	color: #de898c;
	background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
	background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa1317', endColorstr='#ed1c24');
}

/* orange */
.orange {
	color: #fef4e9;
	border: solid 1px #da7c0c;
	background: #f78d1d;
	margin-top: 3px;
	background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
	background: -moz-linear-gradient(top,  #faa51a,  #f47a20);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}
.orange:hover {
	background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
.orange:active {
	color: #fcd3a5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}

/* green */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	margin-top: 3px;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}
.green:hover {
	background: #538018;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c');
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}

/* gray */
.gray {
	color: #e9e9e9;
	border: solid 1px #555;


	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
}
.gray:active {
	color: #afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
}

/* blue */
.blue {
	color: #d9eef7;
	border: solid 1px #0076a3;
	background: #0095cd;
	margin-top: 3px;
	background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
	background: -moz-linear-gradient(top,  #00adee,  #0078a5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
.blue:hover {
	background: #007ead;
	background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
	background: -moz-linear-gradient(top,  #0095cc,  #00678e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
.blue:active {
	color: #80bed6;
	background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
	background: -moz-linear-gradient(top,  #0078a5,  #00adee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}








nav ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

nav ul li a {
    text-decoration: none;
    display: block;
    width: 270px;
    //width: 212px;			
    float: left;
    padding: 10px;
    text-align: center;
    background-color: #999999;		<!--  Barra -->
    font-size: 20px;			<!-- inserito -->
}

nav ul li a:hover {
    color: #FFFFFF;
    background-color: #666;		<!-- #666;-->
}

nav ul li a:active {
    color: #999;
    background-color: #3A3642;		<!--  -->
}

.pagina_selezionata {
    color: #FFFFFF;
    background-color: #000;
}

	a {
	text-decoration:none;
	}

	ul {
	list-style:none;
	padding:0;
	margin:0;
	}

	.menu-wrapper {
	width:360px;
	min-width:300px;
	margin:0 auto;
	position:absolute;
	overflow: hidden;
	//overflow-y: scroll;
	//overflow-x: hidden;
	height:1200px;			/* era 930px */
	}


	/* Main Menu */
	.main-menu,
	.back-btn {
	background:#006400;
	}

	/* Responsive Menu */
	.rwd-menu {
	background:#47834b;
	position:relative;
	left:0;
	top:0;
	z-index:1;
	transition:all 1s ease;
	}


	.rwd-menu li:hover {
	background:#666;		/*  #ff8100;  #FF7514 3 e 4 colori */
	}


	.rwd-menu li a {
	display:block;
	padding:10px;
	font-weight:bold;
	font-size:16px;
	border-bottom:1px solid #0bb78f;
	color:#fff;
	}


	/* hide submenu */
	.rwd-submenu {
	position:absolute;
	left:100%;
	top:0;
	background:#ff8100;		/* #647d5c; */
	width:100%;
	visibility:hidden;
	transition:all .2s ease;
	}


	.open-submenu .rwd-submenu {
	left:0;
	top:0;
	z-index:2;
	visibility:visible;
	transition:all .2s ease;
	}











