/*
base colors rgb
purple: (168,99,127)
light grey: (184,193,197)
dark grey: (78,100,111)
*/

@font-face {
    font-family: 'ZapfHumnstBTRoman';
    src: url('fonts/zapf_humanist_601_bt-webfont.eot');
    src: local('ZapfHumnstBTRoman'),  
         url('fonts/zapf_humanist_601_bt-webfont.ttf') format('truetype'),
         url('fonts/zapf_humanist_601_bt-webfont.svg#webfontDZDNfrfY') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CentabelBookCentabelBook';
    src: url('fonts/centabel-webfont.eot');
    src: local('Centabel Book'),
		 local('CentabelBookCentabelBook'),
		 url('fonts/centabel-webfont.eot?iefix') format('eot'),
         url('fonts/centabel-webfont.woff') format('woff'),
         url('fonts/centabel-webfont.ttf') format('truetype'),
         url('fonts/centabel-webfont.svg#webfontaYafBzvV') format('svg');
	font-weight: normal;
    font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	}

html {
	background: url(photos/bg.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	}

body {
	font-family: 'Centabel Book', 'CentabelBookCentabelBook', Georgia, serif;
	font-size: 20px;
	}

header, footer, nav {
	display: block;
	}

a {
	color: rgb(168,99,127);
	}

a:hover {
	color: rgb(78,100,111);
	}

nav {
	width: 1147px;
	margin-bottom: 20px;
	margin-left: -20px;
	margin-top: 140px;
	font-family: 'ZapfHumnstBTRoman', Calibri, sans-serif;
	font-size: 22px;
	text-align: center;
	background: rgba(184,193,197,0.75);
	padding: 16px;
	z-index: 10;
	clear: both;
	}

ul {
	list-style-type: none;
	}

ul.navigation {
	margin: 0;
	padding: 0px;
	}

ul.navigation li { 
	display: inline;
}
ul.navigation li a {
	background: rgb(168,99,127);
	color: rgb(255,255,255);
	padding: 3px 8px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	text-decoration: none;
	}
	
ul.navigation li.current a:link, ul.navigation li.current a:visited {
	-moz-text-shadow: 0px 0px 8px rgb(255,255,255);
	-webkit-text-shadow: 0px 0px 8px rgb(255,255,255);
	text-shadow: 0px 0px 8px rgb(255,255,255);
	}

ul.navigation li a:hover {
	background: rgb(78,100,111);
	color: rgb(255,255,255);
	padding: 3px 8px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-moz-text-shadow: 0px 0px 7px rgb(255,255,255);
	-webkit-text-shadow: 0px 0px 7px rgb(255,255,255);
	text-shadow: 0px 0px 7px rgb(255,255,255);
	}

footer {
	width: 1180px;
	margin: 20px auto;
	padding: 10px;
	background: rgba(255, 255, 255, 0.5);
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	text-align: center;
	font-size: 16px;
	}
	
#calendario {
	background: rgb(78,100,111);
	color: rgb(255,255,255);
	padding: 4px;
	margin-right: 20px;
	margin-left: 40px;
	}

h1, h4, h5, h6 {
	font-family: 'ZapfHumnstBTRoman', 'ZapfHumanstBT', Calibri, sans-serif;
	text-align: center;
	font-weight: normal;
	}

h1 {
	float: left;
	}

h2 {
	font-size: 28px;
	}

h4 {
	font-size: 72px;
	}
	
h3, h5 {
	font-size: 22px;
	}

h6 {
	font-size: 32px;
	}

h2, h3 {
	-moz-text-shadow: 2px 2px 3px rgb(78,100,111);
	-webkit-text-shadow: 2px 2px 3px rgb(78,100,111);
	text-shadow: 2px 2px 3px rgb(78,100,111);
	}

#wrapper {
	width: 1140px;
	margin: 20px auto;
	background: rgba(255, 255, 255, 0.80);
	padding: 20px;
	border: 10px solid #ffffff;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	}

#intro {
	width: 640px;
	margin-top: 10px;
	font-size: 16px;
	margin-bottom: 20px;
	}

#content {
	margin-left: 40px;
	margin-right: 40px;
	overflow: auto;
	}

#social {
	margin-top: 20px;
	}

#event {
	width: 950px;
	height: 120px;
	margin: 0 auto 20px;
	/*text-align: center;*/
	font-size: 16px; /*solo per testo lungo*/
	background: rgba(184,193,197,0.75);
	padding: 16px;
	z-index: 10;
	clear: both;
	}

.right {
	float: right;
	}

.left {
	float: left;
	}

.clear {
	clear: both;
	}

.column {
	margin-right: 30px;
	}
	
.corsi {
	width: 530px;
	}

/* slideshow */

ul.slideshow {
	list-style: none;
	width: 800px;
	height: 450px;
	overflow: hidden;
	position: relative;
	margin: 0 0 20px 0;
	padding: 0;
	}	

ul.slideshow li {
	position: absolute;
	left: 0;
	right: 0;
	}

ul.slideshow li.show {
	z-index: 500;
	}

ul img {
	border: none;
	}

#slideshow-caption {
	width: 800px;
	height: 100px;
	position: absolute;
	bottom: 0;
	left: 0;	
	background: rgb(255,255,255);
	z-index: 500;
	}

#slideshow-caption .slideshow-caption-container {
	padding: 5px 10px;		
	z-index: 1000;
	}

#slideshow-caption h2 {
	margin: 0;
	padding: 0;	
	}

#slideshow-caption h3 {
	margin: 5px 0 0 0;
	padding: 0;
	}
	
/* Update browser */

#update { 
	width: 100%; 
	height: 100%; 
	position:fixed; 
	left: 0; 
	top: 0;
	background: url(../images/old_ie/white40.png) repeat 0 0;
	text-align: center;
	z-index: 999999; 
	display: none;
}

#update .popup-container { 
	background: #fff;
    height: 552px;
    width: 958px;
    margin: 55px auto 0;
	padding: 20px;
	position: relative;
}

#update table {
	text-align: center;
	position: relative;
	margin: 0 auto;
}

#update table td{
	width: 130px;
}

