#tab_main
{
    border: 2px solid #FFA500;/*#666;*/
    clear: both;
    /*background: #FFF3B3;*/
    background: #FFA500;
    /*padding-top: 10px; barra horizontal*/
}

#tab_contents
{
    /*padding: 1.5em;*/ /*padding:10px;*/ /*background: #FFFDF3;*/
    background: white;
    min-height: 300px;
    font-size: 80%;
}

#tab_contents, #tab_contents p, #tab_contents td, #tab_contents th, #tab_contents li, #tab_contents h1, #tab_contents h2, #tab_contents h3, #tab_contents h4, #tab_contents h5, #tab_contents h6
{
    font-size: 90%;
}

#tab_header
{
    position: relative;
    width: 300px; /*100%;*/ /*height: 3em;*/ /*width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#tab_primary
{
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: -1px; /*width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#tab_primary li
{
    display: inline;
    list-style: none;
}

#tab_header ul#tab_primary a, #tab_header ul#tab_primary span, #tab_header ul#tab_primary a.current
{
    width: 8em;
    display: block;
    float: left;
    padding: 4px 0;
    margin: 1px 2px 0 0;
    text-align: center;
    font-family: verdana, tahoma, sans-serif; /*font-size: 85%;*/
    text-decoration: none;
    color: #333;
}

#tab_header ul#tab_primary span, #tab_header ul#tab_primary a.current, #tab_header ul#tab_primary a.current:hover
{
    /*border: 1px solid #666;*/
    border: 1px solid #FFA500;/*#666;*/
    border-bottom: none; /*background: #FFF3B3;*/ /*background: #CE6500; /*orange*/
    background: #FFA500;
    /*color: #FFFFFF; /*white*/
    padding-bottom: 6px;
    margin-top: 0;
}

#tab_header ul#tab_primary a
{
    background: #FFFAE1;
    border: 1px solid #AAA;
    border-bottom: none;
}

#tab_header ul#tab_primary a:hover
{
    margin-top: 0;
    border-color: #666;
    background: #FFF7CD;
    padding-bottom: 5px;
}

#tab_header ul#tab_secondary
{
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: -1.4em;
    left: 1px; /*width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#tab_secondary li a, #tab_header ul#tab_secondary li span
{
    width: auto;
    display: block;
    float: left;
    padding: 0 10px;
    margin: 0; /*text-align: auto;*/
    border: none;
    border-right: 1px dotted #AAA;
    background: none;
}

#tab_header ul#tab_secondary li a
{
    color: #06C;
    text-decoration: underline;
}

#tab_header ul#tab_secondary li a:hover
{
    color: #333;
    background: transparent;
    padding: 0 10px;
    border: none;
    border-right: 1px dotted #AAA;
}

#tab_header ul#tab_secondary li a:active
{
    color: #000;
    background: transparent;
}

#tab_header ul#tab_secondary li:last-child a
{
    border: none;
}

