@charset "utf-8";
body  {
	font: 90% Verdana, Arial, Helvetica, sans-serif;
	background: #efefef;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #333333;
}

.oneColFixCtrHdr #container {
	width: 962px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #efefef;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: center; /* this overrides the text-align: center on the body element. */
}

.oneColFixCtrHdr #header {
  background: transparent;
	background-image:url(images/header.png);
	background-position: bottom right;
	background-repeat: no-repeat;
    vertical-align:bottom;
  	text-align:left;
	margin-top:7px;
}

.oneColFixCtrHdr #header img{
    border:0px;
    margin:0px;
}

.oneColFixCtrHdr #menu { 
	background: #efefef; 
    text-align:center;
    width: 100%;
    height: 39px;
    padding-top:8px;
    margin-bottom:15px;
    z-index: 1000;
} 



.oneColFixCtrHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

.oneColFixCtrHdr #mainContent {
	background: #efefef;
}
.oneColFixCtrHdr #footer {
	padding-top:5px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#efefef;
	background-image:url(images/footer.jpg);
	background-position:top;
	background-repeat:no-repeat;
	text-align:center;
	font-size:75%;
}
.oneColFixCtrHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 15px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#footer a:link{
text-decoration:none;
color:#000;
}
#footer a:visited{
text-decoration:none;
color:#000;
}
#footer a:hover{
text-decoration:none;
color:#666;
}



/* tabs
*************************/


ul.tabs
{
    display: table;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}


ul.tabs li
{
    margin: 0;
    padding: 0;
    list-style: none;
    display: table-cell;
    float: left;
    position: relative;
}


ul.tabs a
{
    position: relative;
    display: block;
}


/* dropdowns
*************************/


ul.dropdown
{
    margin: 0;
    padding: 0;
    display: block;
    position: absolute;
    z-index: 999;
    top: 100%;
    width: 250px;
    display: none;
    left: 0;
}


ul.dropdown ul.dropdown
{
    top: 0;
    left: 95%;
}


ul.dropdown li
{
    margin: 0;
    padding: 0;
    float: none;
    position: relative;
    list-style: none;
    display: block;
}


ul.dropdown li a
{
    display: block;
}




/* menu-specifc
*************************/


#menu ul
{
    margin: 0 auto;
}


#menu ul li.hasmore
{
    background: url(images/drophighlight.png) no-repeat center 27px;
}


#menu ul li h4
{
    margin: 0;
}


#menu ul li h4 a
{
    font-size: 14px;
    color: #000;
    font-weight: bold;
}


#menu ul li a
{
    color: #ffffff;
    font-family:"Myriad Pro", Verdana, Arial, Helvetica, sans-serif;
    font-size:13px;
    font-weight:500;
    text-decoration:none;
}


#menu ul li a img
{
    vertical-align: middle;
}


#menu ul li a:hover
{
    background: url(images/topselectionleft.png) left no-repeat;
}




#menu ul li a span
{
    display: block;
}


#menu ul li a:hover span
{
    background: url(images/topselectionright.png) top right;


}


#menu ul.dropdown
{
    background-image: url(images/dropdown.png);
    overflow:hidden;
    width:138px;
}


#menu ul.dropdown li a
{
    border-bottom: 1px solid #ffae7e;
    line-height: 30px;
    overflow: hidden;
    height: 30px;
}


#menu ul.dropdown li.last a
{
    border-bottom-width: 0;
}


#menu ul.dropdown li a:hover
{
    background: url(images/menuarrow.png) no-repeat left center;
}


#menu ul li h4 a:hover
{
    background-image: none;
}



/* BOXES shadow + gradient */

.oneColFixCtrHdr #topbox {
	width:964px;
	height:7px;
	background-image:url(images/boxtop.png);
	background-repeat:no-repeat;
}

.oneColFixCtrHdr #botbox {
	width:964px;
	height:11px;
	background-image:url(images/boxbot.png);
	background-repeat:no-repeat;
}

.oneColFixCtrHdr #shadowbox {
	width:964px;
	background-image:url(images/boxshad.jpg);
	background-repeat:repeat-y;
}

.oneColFixCtrHdr #midbox {
	width:958px;
	min-height:500px;
	background-image:url(images/boxmid.jpg);
	background-repeat:repeat-x;
	background-position:bottom;
	background-color:#FFF;
}

.oneColFixCtrHdr #midbox img{
	padding:10px 10px 0px 0px;
}

.profilo {
	text-align:justify;
	padding:10px;
	margin:0px;
	font-size:90%;
	line-height:1.5;
}

h1 {
font-size:150%;
font-weight:bold;
text-align:left;
padding:10px 0px 5px 10px;
margin:0px;
}

.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.sepdestra {
width: 761px;
height: 25px;
background-image: url(images/sepdestra.jpg);
background-repeat: no-repeat;
background-position: right;
text-align: right;
float:right;
margin: 0px;
padding: 20px 0px 20px 0px;
}



.sepsinistra {
width: 761px;
height: 25px;
background-image: url(images/sepsinistra.jpg);
background-repeat: no-repeat;
background-position: left;
text-align: left;
margin: 0px;
padding: 20px 0px 20px 0px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

#gallery{
    /* CSS3 Box Shadow */
    -moz-box-shadow:0 0 3px #AAAAAA;
    -webkit-box-shadow:0 0 3px #AAAAAA;
    box-shadow:0 0 3px #AAAAAA;
    
    /* CSS3 Rounded Corners */
    
    -moz-border-radius-bottomleft:4px;
    -webkit-border-bottom-left-radius:4px;
    border-bottom-left-radius:4px;
    
    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;
    
    border:1px solid white;
    
    background:url(img/panel.jpg) repeat-x bottom center #ffffff;
    
    /* The width of the gallery */
    width:920px;
    overflow:hidden;
}

#slides{
    /* This is the slide area */
    height:400px;
    
    /* jQuery changes the width later on to the sum of the widths of all the slides. */
    width:920px;
    overflow:hidden;
}

.slide{
    float:left;
}

#menug{
    /* This is the container for the thumbnails */
    height:45px;
}

#gallery ul{
    margin:0px;
    padding:0px;
}

#gallery li{
    /* Every thumbnail is a li element */
    width:60px;
    display:inline-block;
    list-style:none;
    height:45px;
    overflow:hidden;
}

#gallery li.inact:hover{
    /* The inactive state, highlighted on mouse over */
    background:url(img/pic_bg.png) repeat;
}

#gallery li.act,li.act:hover{
    /* The active state of the thumb */
    background:url(img/active_bg.png) no-repeat;
}

#gallery li.act a{
    cursor:default;
}

.fbar{
    /* The left-most vertical bar, next to the first thumbnail */
    width:2px;
    background:url(img/divider.png) no-repeat right;
}

#gallery li a{
    display:block;
    background:url(img/divider.png) no-repeat right;
    height:35px;
    padding-top:10px;
}

#gallery a img{
    border:none;
}


/* The styles below are only necessary for the demo page */


#main{
    /* The main container */
    margin:15px auto;
    text-align:center;
    width:920px;
    position:relative;
}

#gallery a, a:visited {
    color:#0196e3;
    text-decoration:none;
    outline:none;
}

#gallery a:hover{
    text-decoration:underline;
}

p{
    padding:10px;
    text-align:center;
}

body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
    /* Page reset */
    margin:0px;
    padding:0px;
}

.titologallery{
     font-size:150%;
     font-weight:bold;
     text-align:center;
     padding:10px 0px 5px 10px;
     margin-bottom:20px;
}
