.mattblacktabs{
width: 100%;
overflow: hidden;
border-bottom: 1px solid black; /*bottom horizontal line that runs beneath tabs*/
background: #CFCFCF;
margin-top: 0px;
}

.mattblacktabs ul{
margin: 0;
padding: 0;
padding-left: 0px; /*offset of tabs relative to browser left edge*/
font: bold 12px Verdana;
list-style-type: none;
}

.mattblacktabs li{
display: inline;
margin: 0;
}

.mattblacktabs li a{
    float: left;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 7px 8px; /*padding inside each tab*/
    border-right: 1px solid white; /*right divider between tabs*/
    color: #000;
    background: #CFCFCF; /*background of tabs (default state)*/
}

.mattblacktabs li a:visited{
    color: white;
}

.mattblacktabs li a:hover, .mattblacktabs li.selected a{
    background: #E0E3EF; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
}
