* {padding:0; margin:0;}

.mattblacktabs{
width: 100%;
overflow: hidden;
border-bottom: 0px solid white; /*bottom horizontal line that runs beneath tabs*/
}

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

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

.mattblacktabs li a{
float: left;
display: block;
text-decoration: none;
margin-left: 4px;
padding: 3px 6px; /*padding inside each tab*/
border-top: 1px dashed white; /*right divider between tabs*/
border-left: 1px dashed white; /*right divider between tabs*/
border-right: 1px dashed white; /*right divider between tabs*/
color: #292929;
background: #cccccc; /*background of tabs (default state)*/
}

.mattblacktabs li a:visited{
color: #292929;
border-top: 1px dashed white; /*right divider between tabs*/
border-left: 1px dashed white; /*right divider between tabs*/
border-right: 1px dashed white; /*right divider between tabs*/
}

.mattblacktabs li a:hover, .mattblacktabs li.selected a{
background: #3a73ba; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
color: #ffffff;
border-top: 1px dashed white; /*right divider between tabs*/
border-left: 1px dashed white; /*right divider between tabs*/
border-right: 1px dashed white; /*right divider between tabs*/
}

.mattblacktabs li a:link { color: #ffffff; }
.mattblacktabs li p {
display:  inline;
float: left;
display: block;
text-decoration: none;
margin-left: 4px;
padding: 3px 6px; /*padding inside each tab*/
border-top: 1px dashed white; /*right divider between tabs*/
border-left: 1px dashed white; /*right divider between tabs*/
border-right: 1px dashed white; /*right divider between tabs*/
color: white;
background: #3a73ba; /*background of tabs (default state)*/
}