body {
    background: #fff;
    font-family: sans-serif;
}

.tabnav {
    width: 100%;
    position: relative;
}

.tabnav ul {
    margin: 0;
    padding-left: .5em;
}

.tabnav li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style: none;
}

.tabnav a {
    float: left;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    color: #666;
    background: #eaeaea;
    padding: .2em .5em;
    margin-right: .5em;
    border: solid #000;
    border-width: 1px 1px 0 1px;
}
        
.tabnav a:hover {
    background: #fff;
}

.tabnav a.active {
    background: #cfc;
    color: #000;
}

.tabframe {
    border: 1px solid #000;
    padding: .5em;
    clear: both;
    background: #eaeaea;
}

