/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .tabs-nav {
        display: none;
    }
}

/* Skin */
.tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0px;
    float: left;
}
.tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}

.tabs-nav li {
    /*float: left;*/
    margin: 0 0 0 0px;
    min-width: 84px; /* be nice to Opera */

}

.tabs-nav a, .tabs-nav a span {
    display: block;
    padding: 0 10px;
    _height: 2em;
}
.tabs-nav a {
    position: relative;
    /*top: 1px;*/
    z-index: 2;
    padding-left: 0;
    color: #333;
    font-size: 15px;
    /*font-weight: bold;*/
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */  
    /*border-left: 1px solid #999;*/
    border-top: 1px solid #ccc;
    background: #E6E6E6; 
}

.tabs-nav .tabs-selected a {
    color: #000;
    background: url(images/freccetta.gif) no-repeat top right;
    width: 156px;
}
.tabs-nav a.ultimo{
	/*border-right: 1px solid #999;*/
	/*color: #fff;
	background: #cc0000;*/
	border-bottom: 1px solid #ccc;
}

.tabs-nav .tabs-selected a.ultimo{
	background: url(images/freccetta.gif) no-repeat top right;
}

.tabs-nav .tabs-selected a.ultimo span{
	color: #000;
	
}

/*.tabs-nav .tabs-selected a, .tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active {
    background-position: 100% -150px;
    outline: 0; /* prevent dotted border in Firefox *//*
}*//*
.tabs-nav a, .tabs-nav .tabs-disabled a:hover, .tabs-nav .tabs-disabled a:focus, .tabs-nav .tabs-disabled a:active {
    background-position: 100% -100px;
}*/
.tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 2em; /* IE 6 treats height as min-height */
    min-height: 2em;
    padding-top: 3px;
    padding-right: 0;
    padding-bottom: 3px;
}
*>.tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.tabs-nav .tabs-selected a span {
    padding-top: 3px;
    /*padding-bottom: 4px;*/
}

.tabs-nav .tabs-selected a span, .tabs-nav a:hover span, .tabs-nav a:focus span, .tabs-nav a:active span {
    background-position: 0 -50px;
}
.tabs-nav a span, .tabs-nav .tabs-disabled a:hover span, .tabs-nav .tabs-disabled a:focus span, .tabs-nav .tabs-disabled a:active span {
    background-position: 0 0;
}
.tabs-nav .tabs-selected a:link, .tabs-nav .tabs-selected a:visited, .tabs-nav .tabs-disabled a:link, .tabs-nav .tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.tabs-nav .tabs-disabled {
    opacity: .4;
}
.tabs-container {
    /*border-top: 1px solid #ccc;*/
    /*padding: 1em 8px;*/
    /*padding-top: 35px;*/
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.tabs-loading em {
    padding: 0 0 0 20px;
    /*background: url(loading.gif) no-repeat 0 50%;*/
}
