@font-face {
    font-family: 'lato';
    src: url('fonts/kato.woff2') format('woff2'),
         url('fonts/kato.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latobold';
    src: url('fonts/lato-bold.woff2') format('woff2'),
         url('fonts/lato-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latoitalic';
    src: url('fonts/lato-italic.woff2') format('woff2'),
         url('fonts/lato-italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latobold_italic';
    src: url('fonts/lato-bolditalic.woff2') format('woff2'),
         url('fonts/lato-bolditalic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latothin';
    src: url('fonts/lato-thin.woff2') format('woff2'),
         url('fonts/lato-thin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'museo';
    src: url('fonts/museosans_500-webfont.woff2') format('woff2'),
         url('fonts/museosans_500-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'museoitalic';
    src: url('fonts/museosans_500_italic-webfont.woff2') format('woff2'),
         url('fonts/museosans_500_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'questa';
    src: url('fonts/questa_sans_regular-webfont.woff2') format('woff2'),
         url('fonts/questa_sans_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.scuro {
  background-color:#5682a6;
	color:white;
}

.bg {
  background-color:#5682a6;
	color:white;
	background-image: url(sfondo10.svg);
	background-size: cover;
	background-position: 50% 50%;
		background-repeat: no-repeat;
}

.bg2 {
  background-color:#5682a6;
	color:white;
	background-image: url(sfondo10.svg);
	background-size: cover;
	background-position: 50% 50%;
		background-repeat: no-repeat;
}

.bg3 {
  background-color:#5682a6;
	color:white;
	background-image: url(sfondo12.svg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.bg4 {
  background-color:#5682a6;
	color:white;
	background-image: url(sfondo12.svg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.container {
   position:absolute;
	top:10px;
	bottom:10px;
	left:10px;
	right:10px;
	padding:20px;
	font-family: 'lato', 'museo', serif;
}

.photo {
   	position:absolute;
	top:30px;
	left:30px;
	right:64%;
	max-height:140px;
	filter: sepia(40%);
  	-webkit-filter: sepia(40%)

}
.photocentra {
   	position:absolute;
	top:25px;
	left:50%;
	margin-left:-40px;
	max-height:80px;
	width:80px;
	filter: sepia(5%);
  	-webkit-filter: sepia(5%);

}

.fotouno {
	left:0;
top:0;
   	width:100%;
	height:auto;
	border-radius: 50%;
border:1px solid white;
padding:2px;
}
.contenitore {   
	position:absolute;
	top:200px;
	margin-top:1%;
	width:360px;
	left:50%;
	margin-left:-180px;
}
.head {
   	position:absolute;
	top:100px;
	right:50px;
	left:50px;
	max-height:100px;
}	

.titolo {
   position:relative;
	font-family: 'museo', 'lato', serif; 
	font-size:20px;
	line-height:20px;
	text-align:center;
}
.titolo h1 {
	font-size:120%; 
	font-weight:bolder; line-height:20px;
	color:white;
}
.titolo h2 {
	font-size:80%; 
	font-family: 'lato', 'museo', serif;
	line-height:10px;
	color:#cdd5e1;
	position:relative; 
	margin-top:-10px;
}
.bio {
   position:relative;
   width:100%;
   left:0;
	font-family: 'questa', 'lato', 'museo', serif; 
	font-size:14px;
	overflow:hidden;
  padding-left:5vw;
  padding-right:5vw;

}
#bio {
	 text-align: justify;
	text-justify: auto;
	margin-top:0;
	margin-left:-20px;
}
}

.bio2 p {
  text-align: justify;
  text-justify: inter-word;
}

.small {
  font-variant: small-caps;
font-size:50%;
}
.smallight {
  font-variant: small-caps;
font-size:50%;
}

.linea {
	height:4px;
	width:100%; 
	color:#000;
	position:relative;
	margin-top:40px;
}
.linea2 {
	border:4px solid black;
	width:100%; 
	position:relative;
	margin-top:40px;
}
.linea3 {
	border:4px solid #33c2ff;
	width:100%; 
	position:relative;
	margin-top:40px;
}
.linea4 {
	border:2px solid #5684a6;
	width:100%; 
	position:relative;
	margin-top:40px;
}
.linea5 {
	border:2px solid #eaeaB9;
	width:100%; 
	position:relative;
	margin-top:40px;
}
.box  {
	
	position:relative;
	margin-top:22px;
	height:50px;
	width:300px;
	left:50%;
	margin-left:-150px;
	z-index:5;
	color:white;
}
.boxnero  {
	border:1px solid #375588;
	border-radius: 3px 3px 10px 3px; 
	position:absolute;
	top:0;
	height:46px;
	width:236px;
	left:0;
	z-index:5;
}
.boxbianco  {
	border:2px solid #e5F1fc;
	border-radius: 3px 3px 10px 3px; 
	position:absolute;
	top:0;
	height:46px;
	width:236px;
	left:0;
	z-index:5;
}
.boxbiancofull {
	border:2px solid #e5F1fc;
	background-color:#fff;
	border-radius: 4px 4px 12px 4px; 
	position:absolute;
	top:0;
	height:46px;
	width:296px;
	left:0;
	z-index:5;
	color:#222e52;
}
.testopulsante {
	height:16px;
	width:100%; 
	position:relative;
	top:15px;
	line-height:16px;
	font-size:16px;
	font-weight:bolder;
	text-align:center;
	z-index:5;
}

.ruggineasx  { 
	position:absolute;
	top:0;
	left:0;
	margin-top:-2px;
	height:100%;
	width:100%;
	margin-left:-2px;
	background-color:#bcb380;
	border-radius: 3px 3px 8px 3px;
	z-index:2;
}
.magentaasx  { 
	position:absolute;
	top:0;
	left:0;
	margin-top:-2px;
	height:100%;
	width:100%;
	margin-left:-2px;
	background-color:#ff77e6;
	border-radius: 3px 3px 8px 3px;
	z-index:2;
}
.cianoasx  { 
	position:absolute;
	top:0;
	left:0;
	margin-top:-2px;
	height:100%;
	width:100%;
	margin-left:-2px;
	background-color:#33c2ff;
	border-radius: 3px 3px 8px 3px;
	z-index:2;
}
.gialloasx  { 
	position:absolute;
	top:0;
	left:0;
	margin-top:-2px;
	height:100%;
	width:100%;
	margin-left:-2px;
	background-color:#fffa85;
	border-radius: 3px 3px 8px 3px;
	z-index:2;
}

.giallobdx { 
	position:absolute;
	bottom:0;
	right:0;
	margin-top:2px;
	margin-left:2px;
	height:100%;
	width:100%;
	background-color:#d1dec0;
	border-radius: 3px 3px 8px 3px;
	z-index:1;
}
.cianobdx { 
	position:absolute;
	bottom:0;
	right:0;
	margin-top:2px;
	margin-left:2px;
	height:100%;
	width:100%;
	background-color:#33c2ff;
	border-radius: 3px 3px 8px 3px;
	z-index:1;
}
.magentabdx { 
	position:absolute;
	bottom:0;
	right:0;
	margin-top:2px;
	margin-left:2px;
	height:100%;
	width:100%;
	background-color:#ff77e6;
	border-radius: 3px 3px 8px 3px;
	z-index:1;
}

.box a { 
	text-decoration:none;
	color:#222e52;
}

.box a:hover { 
	text-decoration:none;
	color:#5049bc;
}

.box a:visited { 
	text-decoration:none;
	color:#222e52;
}

.box a:active { 
	text-decoration:none;
	color:#5049bc;
}
/* #pulsante4 { 
	visibility:hidden;
} */

#pulsante5 { 
	visibility:hidden;
}

#boxlogo {
	 background-image:url('logoam.png');
}



@media only screen and (orientation:landscape ) {
	#boxlogo {
	 background-image:url('logoam.png');
	 position:absolute;
	 left:5vw;
	 margin-left:-30vw;
}


#bio {
	 
	 text-align:center;
	 margin-left:-90px;
}

}

