@media screen and (max-width:768px) {
	#header {
		padding-bottom: 35px;
	}	
	
#lente, #ricerca {
	display:none;
    position: absolute;
    top: 80px;
	right: -10px;
	}
	.contactform, .contactform fieldset  {
		width: 97%;
		padding: 1%;
	}
.contactform input, .o-form input {
	width: 90%;
	font-size: 120%;
	padding: 6px 1%;
	border: 1px solid #022a36;
	background: none;
}
.nsltr input {
	max-width: 220px;
	display: block;
	margin-top:40px;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid #282828;
}
.nsltr label {
	font-size: 100%;
	text-align: center;
	margin-bottom: 20px;
}
.nsltr input[type="submit"]{
	max-width: 240px;
	margin: 20px auto;
}
	#slider-country {
		width: 100%;
	}
#main {
	min-height: 1200px;
	}
	#logo {
		padding-top: 64%;
		height: auto;
	}	
#avviso {
	position: relative;
	right: 0;
	top:0;
	border: 3px solid #022a36;
	padding: 6px;
	text-align: center;
	font-size: 80%;
}
	.boxes, .boxes-single {
		width: 90%;
		min-height:50px;
		
		float:none;
	}
	#testo, #titolo {
		width: 90%;
		padding: 0;
		overflow: hidden;
	}
	#testo {
		font-size: 100%;
		min-width: 260px;
	}
	#titolo h1, #testo h1 {
		font-size: 175%;
	}
	
#testoverde, #testoverdino {
	width: 90%;
	min-width: 260px;
	padding: 40px 3%;
	margin-top: 30px;
}
	
.boxes-hp {
	width: 200px;
	clear:both;
	float:none;
}	
.boxes-testo  {
	display:block;
	width:90%;
	margin:0 5%;
}
	.boxes-3 {
		width: 90%;
	}
	#eu12table {
		top:20px;
		left: 18%;
	}
	#countrytable {
		display: none;
	}
#legendtable, #legendctable {
	top:340px;
	left: 2%;
	font-size: 80%;
}
	#legendctable {
	top:30px;
		color: #fff;
	}
	#legendtable li, #legendctable li {
		margin-bottom: 6px;
	background-color: #026d8d;
		padding: 8px;
	}
.infografica {
	max-width: 300px;
	padding: 6px;
	font-size: 80%;
	font-weight: 400;
}
	.infografica_uap {
	max-width: 300px;
		text-align: left;
		font-size: 150%;
}
	.infografica_uap td {
		display: block;
	}
#minorities, #about, #guide, #resources, #infografiche, #demo, #comtable, #standards {
	font-size: 98%;
	width: 98%;
	margin: 0;
		padding:20px 1%;
	}
	#minorities {
		width: 98%;
		min-width: 260px;
		margin: 0;
		font-size: 100%;
	}
	#minorities h1 {
		margin: 0 1%;
	}
	.duecolonne {
		width: 88%;
		margin: 0;
		padding: 6%;
	}
	.boxes-minorities {
		width: 98%;
	}
	.boxes-rbmrbo {
		width: 100%;
		margin: 0;
		padding: 0;
	}
#demo img, #about img, #guide img, #resources img, #comtable img, #standards img, #infografiche img, .noclick img {
	max-width: 18px;
	vertical-align: middle;
	margin-left: 20px;
}
.click{
	top:48px;
	right: 15px;
}
	.noclick {
    top: 4px;
    right: -1px;
}
#testo .click a, #testo .noclick a {
	font-size: 100%;
}
#testo .noclick a {
	font-size: 100%;
}
	#testo p {
		margin-left: 0;
	}
	#opendivres{
		margin-top: 20px;
	font-size: 100%;
}
	.navigation {
		bottom: 120px;
	}
	#slide2 img {
		float: none;
		display: block;
	}
	#footer {
		font-size:80%;
	}
	.boxfooter {
		width:80%;
		min-width:unset;
	}
	#space {
		height: 50px;
	}
}
@media screen and (max-width:500px) {
	#testo #resources h1, #testo #infografiche h1, #testo #about h1, #testo #guide h1, #testo #demo h1, #testo #comtable h1, #testo #standards h1{
		font-size: 100%;
	}
	#opendivdemo {
		margin-top: 30px;
	}
	.click {
		top:38px;
	}
}