/* Skin */
#tabnav {background-color:#fff}
#tabnav ul.tabs {list-style: none;margin: 0 0 2em 0;padding: 0 0 0 4px;border-bottom: 1px solid #bebba2}
#tabnav ul.tabs:after { /* clearing without presentational markup, IE gets extra treatment */
display: block;clear: both;content: " ";}
#tabnav ul.tabs li {float: left;margin: 0 0 0 3px;
min-width: 84px; /* be nice to Opera */
background-image:none;padding:0}
#tabnav ul.tabs a, #tabnav ul.tabs a span {display: block;padding: 0 15px;background: url(../images/tab.png) no-repeat}
#tabnav ul.tabs a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    line-height: 1.2;
    text-align: center;
    font-weight:bold;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
#tabnav {
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
#tabnav ul.tabs a.selected {position: relative;top: 1px;z-index: 2;margin-top: 0}
#tabnav ul.tabs a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 20px; /* IE 6 treats height as min-height */
    min-height: 20px;
    padding-top: 8px;
    padding-right: 0;
}
*>#tabnav ul.tabs a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
#tabnav ul.tabs  a.selected span {padding-bottom: 1px}
#tabnav ul.tabs a.selected , #tabnav ul.tabs a:hover, #tabnav ul.tabs a:focus, #tabnav ul.tabs a:active {background-position: 100% -150px}
#tabnav ul.tabs a {background-position: 100% -100px}
#tabnav ul.tabs a.selected  span, #tabnav ul.tabs a:hover span, #tabnav ul.tabs a:focus span, #tabnav ul.tabs a:active span {background-position: 0 -50px}
#tabnav ul.tabs a span {background-position: 0 0}
#tabnav ul.tabs a.selected:link, #tabnav ul.tabs a.selected:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
 cursor: text}
#tabnav ul.tabs a:hover, #tabnav ul.tabs a:focus, #tabnav ul.tabs a:active {cursor: pointer}


/* Additional IE specific bug fixes... */
* html #tabnav ul.tabs{ /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html #tabnav ul.tabs { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rul.tabse (because of the unknown + combinator)... */
    display: inline-block;
}

