#footer .div_sub {
	padding:0 !important;
}
#footer {
	/* 256px + 40px di padding-bottom che servono per il div grigio sotto che è bottom 0 ed è alto 40px = 514px */
	min-height:256px;
	width:100%;
	position:relative;	
	overflow:hidden;
	font-size:100%;
	position:relative;
	background:hsla(212, 63%, 12%, 1.00 );
	padding-bottom:40px;
}
#footer > div a {
	color:#FFF;
	text-decoration:none;
}
#footer > div a:hover {
	text-decoration:underline;
}
#footer > div:first-child {
	color:#FFF;
	padding:1em 0;
}
/* Sopra 701px */
@media only screen and (min-width: 701px) {
	#footer > div:first-child > div > div {
		float:left;
		width:40%;
	}
	#footer > div:first-child > div > div:nth-child(2) > div:first-child {
		width:100%;
		margin-bottom:10%;
		float:none;
		height:100%;
		text-align:center;
	}
	#footer > div:first-child > div > div:nth-child(2) > div:first-child img {
		max-height:12em;
		position:inherit;
	}
	#footer > div:first-child > div > div:nth-child(2) > div {
		float: left;
		width: 25%;
		margin-right:8%;
		height:100%;
	}
	#footer > div:first-child > div > div:nth-child(2) >div a {
		position:relative;
		display:block;
		height:5em;
	}
	#footer > div:first-child > div > div:nth-child(2) >div img {
		max-width:100%;
		position:absolute;
		bottom:0;
	}
}
/* Sotto 700px */
@media only screen and (max-width: 700px) {
	#footer > div:first-child {
		padding:1em 0 !important;
	}
	#footer > div:first-child > div > div:nth-child(2) {
		margin:0 7%;
	}
	#footer > div:first-child > div > div:nth-child(2) > div:first-child {
		display:none;
	}
	#footer > div:first-child > div > div:nth-child(2) > div {
		margin-top:10%;
		float:left;
		width:30%;
		margin-right:5%;
		margin-bottom:10%;
	}
	#footer > div:first-child > div > div:nth-child(2) > div:last-child {
		margin-right:0;
	}
	#footer > div:first-child > div > div:nth-child(2) > div img {
		max-width:100%;
	}
	/* copyright a capo */
	#footer > div:last-child > div > div {
		float:none !important;
	}
	#footer > div:last-child > div > div:last-child {
		margin-top:1em !important;
		font-size:60% !important;
	}
}

#footer > div:first-child > div > div:first-child > div {
	margin-left:7%;
	margin-bottom:7%;
	font-size:100%;
}
#footer > div:first-child > div > div:first-child > div:first-child > div:first-child {
	font-weight:bold;
	font-size:130%;
	margin-bottom:0;
}
#footer > div:first-child > div > div:first-child > div:last-child {
	margin-bottom:0;
}

#footer > div:last-child {
	max-height:40px;
	background:hsla(198, 9%, 22%, 1.00 );
	color:#FFF;
	padding:1em 0;
	position:absolute;
	bottom:0;
	width:100%;
}
#footer > div:last-child > div > div {
	float:left;
}
#footer > div:last-child > div > div a img {
	vertical-align:middle;
}
#footer > div:last-child > div > div a {
	margin:0px 8px;
}
#footer > div:last-child > div > div > div:first-child {
	display: inline;
}
#footer > div:last-child > div > div > a:before {
	content:'|';
	margin-right:16px;
}
#footer > div:last-child > div > div:last-child {
	float:right;
	font-size:80%;
	margin:0 8px;
}