/* CSS Document */

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, 
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	background-image: url(../images/sfondo.gif);
	background-repeat: no-repeat;
	background-color: #fee407;
}

h1 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #003586;
}

h2{ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	/*font-weight: normal;*/
	color: #003586;
}

p{ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1.3em;
	margin-left: 30px;
	/*font-weight: normal;*/
}

a{ color: #7f9ac2;}

#container {
	width: 960px;
	height: 480px;
	margin: 10px auto;
	background-image: url(../images/sfondoContainer.png);
}

#main {
	float: left;
	width: 564px;
	height: 422px;
	margin: 29px  0 0 29px;
}

#istituzionale {
	float: left;
	width: 338px;
	height: 422px;
	margin: 29px 0 0 0;
	text-align: center;
}
#date {	
	margin: 10px 0 0 24px;
	border-bottom: #fee407 solid 1px;
	color: #7f9ac2;
}

#dateScroll { 
	height: 180px;
	width: 467px;
	overflow:auto;
	}

#player {
	clear: both;
	height: 34px;
	margin: 22px 0 0 96px;
}

#fotoHome {
	float: left;
	margin: 8px 0 0 24px ;
	width: 294px;
	height: 125px;
}

#newsHome {
	float: left;
	margin: 8px 0 0 0;
	height: 125px;
}

#pieHome {
	clear:both;
	margin: 0px 0 0 24px ;
	padding-top: 4px;
}

#miniBio {
	margin: 10px 4px 0 6px;
	color: #003586;
}
	
/*---- MENU FACEBOOK MAIL ----*/

#menu {
	width: 60px;
	height: 27px;
	margin: 30px auto 0 auto;
	background-image: url(../images/menu.gif);
}

div#nav ul{
	width: 60px;
	height: 27px;
	overflow: hidden;
	margin: 0; padding:0;
    list-style-type: none;
    background:url(../images/menu.gif) no-repeat 0px 0px;
	}
	
div#nav li{margin: 0;padding: 0}

div#nav li,div#nav a{float: left;width: 30px;height: 27px}

div#nav a{text-indent: -9000px;text-decoration: none;padding: 27px 0px 0 0;
    overflow: hidden; height: 0px !important; height /**/:0px;
	background-image:url(../images/menu.gif);
}

li#mfacebook a{ background-position: 0px 0px}
li#mfacebook a:hover{ background-position: 0px -27px}

li#mmail a{ background-position: -30px 0px}
li#mmail a:hover{ background-position: -30px -27px}

/*--- ACCORDION ---*/

#accordion {
	height: 366px;
}

  .haccordion .header, .haccordion .content{
   float: left;
   height: 366px;
  }
  
  .haccordion .header{
   width: 24px;
   background: #ccc;
   color: #fff;
   cursor: pointer;
  }
  
  .haccordion .content{
   display: none;
   width: 0px;
   overflow: auto;
  }
  
  .haccordion .content.visible{
    display: block;
    width: 491px;
  }
  
  .haccordion .content p{
   margin: 0px;
  }
  .header a{
    display: block;
    width: 24px;
    height: 366px;
	
  }
  .header a:hover{
	  background-position: -24px 0;
  }
  
/*--- SCROLL ---*/

.jScrollPaneContainer {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.jScrollPaneTrack {
	position: absolute;
	cursor: pointer;
	right: 0;
	top: 0;
	height: 100%;
	background: #fee300;
}
.jScrollPaneDrag {
	position: absolute;
	background: #fcc200;
	cursor: pointer;
	overflow: hidden;
}
.jScrollPaneDragTop {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}
.jScrollPaneDragBottom {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
a.jScrollArrowUp {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 9px;
}
a.jScrollArrowUp:hover {
	/*background-color: #f60;*/
}

a.jScrollArrowDown {
	display: block;
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 9px;
}
a.jScrollArrowDown:hover {
	/*background-color: #f60;*/
}
a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
	/*background-color: #f00;*/
}

/* - -- GALLERY -- - */

        #gallery
        { width: 490px;
		margin:12px 0 0 0;
		        }
        #gallery ul
        {
            list-style: none;margin-left:-24px;
        }
        #gallery ul li
        {
            display: inline;margin:2px;
        }
        #gallery  li
        {
            float: left;margin:0;
        }
        #gallery ul img
        {margin:0;
            border: 2px solid #fee407;
            border-width: 2px 2px 2px;
        }
        #gallery ul a:hover img
        {
            border: 2px solid #FFF;
            border-width: 2px 2px 2px;
            color: #FFF;
        }
        #gallery ul a:hover
        {
            color: #FFF;
        }
