@font-face{
    font-family:'ambleregular';
    src: url('amble/Amble-Regular-webfont.eot');
    src: url('amble/Amble-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('amble/Amble-Regular-webfont.woff') format('woff'),
         url('amble/Amble-Regular-webfont.ttf') format('truetype'),
         url('amble/Amble-Regular-webfont.svg#ambleregular') format('svg');
    font-weight:normal;
    font-style:normal;
}
/* MOBILE First */
html, body{
	height:100%;
    font-family:'ambleregular';
}
body { 
  -webkit-animation: bugfix infinite 1s; 
}
@-webkit-keyframes bugfix { 
  from {padding:0;} 
  to {padding:0;} 
}
div[id^=r] > *{
	/*selezionati tutti i div con id che comincia per r*/
	margin:0 auto;
	width:90%;
}
#r1{
	background-color:rgba(0,0,0,.8);
	overflow:auto;
}
#r1 h1{
	font-size:1.625em;
	color:#fff;
	height:44px;
	line-height:44px;
	display:inline;
}
label{
	font-size:1.625em;
	color:#FFF;
	margin-left:10px;
	display:inline;
}
input[type=checkbox]{
	position:absolute;
	top:-9999px;
	left:-9999px;
}
input[type=checkbox] ~ nav{
	display:none;
}
input[type=checkbox]:checked ~ nav{
	display:block;
}
#r1 ul li{
	float:left;
}
#r1 ul li a{
	display:block;
	height:44px;
	text-decoration:none;
	color:#fff;
	margin:0 10px;
}
#r2{
	overflow:hidden; 
    background-color:#05BAFC;
}
#r2 h2{
	font-size:3em;
	color:#FFF;
	text-shadow:-1px -1px 5px rgba(0,0,0,.8);
	width:72%;
	text-align:right;
	margin-top:7%;
	margin-bottom:2%;
	margin-right:5%;
	padding-right:2%;
	border-right:2px solid #d00;
}
#r2 p img{
	box-shadow:-2px -2px 2px rgba(0,0,0,.5);
	border-radius:7px;
	height:48px;
	width:48px;
}
#r2 p{
	margin-right:5%;
	text-align:right;
	font-size: 1.875em;
	color:#FFF;
	text-shadow: -1px -1px 1px rgba(0,0,0,.5);
}
#r3{
	padding:2em 0;
	font-size: 1.250em;
	line-height:1.250em;
	background-color:#BAF5C8;
}
#r3 h3{
	font-size:1.5em;
}
#r4{
	padding:2em 0;
	background-color:#F5F7A9;
	font-size:1.125em;
	line-height:1.250em;
}
#r4 h4{
	font-size:1.5em;
	font-variant:small-caps;
}
#r5{
	padding:2em 0;
	background-color:#222;
	color:#fff;
}
#r5 ul{
	margin:0 auto;
}
#r5 ul li{
	float:left;
}
#r5 ul li a{
	display:block;
	text-decoration:none;
	height:44px;
	color:#ccc;
	margin:0 10px;
}
#r5 p{
	clear:both;
	text-align:center;
}
/* DESKTOP */
@media (min-width: 960px){
#r1{
	overflow:auto;
	position:fixed;
	top:0;
	left:0;
	width:100%;
}
#r1 h1{
	margin-left:20px;
}
#r1 ul{
	float:right;
}
#r1 ul li{
	float:left;
}
#r2{
	background-image:url(../images/supino.jpg);
	min-height:100%;
	background-size:cover;
	-ms-background-size:cover;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
}
#r2 h2{
font-size:5em;
width:40%;
}
#r2 p img{
	height:60px;
	width:60px;
}