/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
Author:     Francesco Lodolo, francesco@lodolo.it
last update:    2013-03-10
*/


body {
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', Verdana, sans-serif;
	font-size: 14px;
	text-align: left;
	line-height: 1.5em;	
	color: #000;	
	background: #FFFFFB;
}

div#maincontent {
	width: 900px;
	margin: 0 auto;
}

a {
	color: #3A89C9;
	text-decoration: none;
}

a:visited {
	color: #9CC4E4;
}

a:hover {
	color: #F26C4F;
}

a.languagelink {
	display: block;
	float: left;
	padding: 4px 16px 0 36px;
	height: 36px;
	font-variant: small-caps;
	font-size: 18px;	
}

a#eng {
	background: url("/img/eng.png") top left no-repeat;
}

a#ita {
	background: url("/img/ita.png") top left no-repeat;
}

h1 {
	font-family: 'Passion One', cursive;
	font-size: 22px;
	font-weight: 700;
	margin: 20px 0 12px;
}

h1#main {
	font-size: 38px;
	font-variant: small-caps;
	display: block;
}

h1#main span{
	font-size: 26px;
	font-style: italic;
}

h2 {
	font-size: 16px;
	font-weight: bold;
	margin-top: 16px;
}

section {
	clear: both;
	margin: 20px 0;
}

div.sectionTitle {
	width: 250px;
	float: left;
	text-align: right;
	padding: 0 20px 12px;
}

div.sectionContent {
	width: 500px;
	float: left;	
	padding: 0 20px 12px;
}

p.subDetails {
	font-size: 12px;
	color: #999;
	margin-top: -4px;
	font-style: italic;
}

p.startingparagraph {
	clear: both;
	margin-top: 16px;
}

p#cvurl {
	clear: both;
	text-align: center;
	margin-top: 20px;
	padding: 6px;
	font-size: 10px;
	color: #999;
}

strong {
	font-weight: bold; 
}

em {
	font-style: italic;
}

ul {
	margin-top: 16px;
	padding-left: 16px;
}

li {
	list-style: disc;	
}

img.shadow {
	-moz-box-shadow: 3px 3px 5px 1px #999;
	-webkit-box-shadow: 3px 3px 5px 1px #999;
	box-shadow: 3px 3px 5px 1px #999;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999');
}

img#photo {
	margin-top: 20px;
}

/* Responsive design */

@media(max-width: 900px) {
	div#maincontent {
		width: 640px;
	}

	div.sectionTitle {
		width: 150px;
	}

	div.sectionContent {
		width: 400px;
	}
}

@media(max-width: 640px) {
	body {
		font-size: 12px;
	}

	h2 {
		font-size: 14px;
	}

	p.subDetails {
		font-size: 11px;
		margin-top: -3px;
	}

	div#maincontent {
		width: 90%;
		margin: 0;
	}

	div.sectionTitle {
		float: normal;
		width: 98%;
		text-align: center;
		margin-top: 20px;
		border-top: 1px dotted #000;
	}

	div.sectionTitle h2 {
		font-family: 'Passion One', cursive;
		font-variant: small-caps;
		font-size: 22px;
	}	

	div.sectionContent {
		float: normal;
		width: 98%;
	}
}

@media print {
  img.shadow {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	/* For IE 8 */
	-ms-filter: none;
	/* For IE 5.5 - 7 */
	filter: none;
}	
}