div.tabs {
    float: left;
    border-width: 0 0 1px 0;
    border-color: #00dfdf;
    border-style: solid;
    padding: 0 ;
    margin: 1px 0 0 0;

}

.tabs P {
    float: left;
    color: white;
    background: #00dfdf;
    padding: 0;
    margin: 0 1px;
    border-color: #00dfdf;
    border-style: solid;
    border-width: 0 0 1px 0;
}

.tabs P A:link    {color: blue; background: #00dfdf;  text-decoration: none;}
.tabs P A:visited {color: navy; background: #00dfdf;  text-decoration: none;}
.tabs P A:active  {color: white; background: #00dfdf; text-decoration: none;}
.tabs P A:hover   {color: white; background: #00dfdf; text-decoration: none;}

div.tabs P.selectab {
    float: right;
    color: yellow;
    background: blue;
    padding: 0;
    margin: 0 1px;
    border-color: blue;
    border-style: solid;
    border-width: 0 0 1px 0;
    font-weight: bold;
}

.tabs P.selectab A:link
      {color: yellow;  background: blue; text-decoration: none; font-weight:bold}
.tabs P.selectab A:visited
      {color: yellow;  background: blue; text-decoration: none; font-weight:bold}
.tabs P.selectab A:active
      {color: white; background: blue; text-decoration: none; font-weight:bold}
.tabs P.selectab A:hover
      {color: white; background: blue; text-decoration: none; font-weight:bold}

div.tabs P.subtab {
    float: left;
    color: blue;
    background: #00ffff;
    padding: 0;
    margin: 0 1px;
    border-color: #00ffff;
    border-style: solid;
    border-width: 0 0 1px 0;
    font-weight: bold;
}

div.subtabs {
    float: right;
    border-width: 1px 0 0 0;
    border-color: #00dfdf;
    border-style: solid;
    padding: 0 ;
    margin: 0 0 1px 1em;
}

.subtabs P {
    float: left;
    color: white;
    background: #00dfdf;
    padding: 0 1ex;
    margin: 0 1px;
    border-color: #00dfdf;
    border-style: solid;
    border-width: 1px 0 0 0;
}

.subtabs A:link
      {color: blue;  background: #00dfdf; text-decoration: none; }
.subtabs A:visited
      {color: navy;  background: #00dfdf; text-decoration: none; }
.subtabs A:active
      {color: white; background: #00dfdf; text-decoration: none; }
.subtabs A:hover
      {color: white; background: #00dfdf; text-decoration: none; }

.subtabs P.selectab { color: yellow; background: blue; }
.subtabs P.selectab A:link    { color: yellow; background: blue; }
.subtabs P.selectab A:visited { color: yellow; background: blue; }
.subtabs P.selectab A:active  { color: white;  background: blue; }
.subtabs P.selectab A:hover   { color: white;  background: blue; }

