table {
    margin: 0 0 0 20px; 
    background-color: #FEFEFE;
    border-collapse: collapse;
}

tr {
    padding: 0; 
}

td, th {
    font-size: 60%;
    background: none;
    padding: 1px 10px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #999999;
    margin: 0;
}

#tabs table td, #tabs table th {
    font-size: 85%;
}

th {
    color: #333; 
    background-color:#AAA;
}

select, input, textarea {
    margin-left:0; 
    margin-bottom:0;
}

input, textarea {
    width:auto;
}

select {
    width:auto;
}

ul li {
    white-space:nowrap;
}

ul.anchors  {
    background-color:#CFCFCF; 
    height:20px;
}

#buttons {
    clear: both;
}

/* Tabs */

#tabs {
    margin: 0 10px 0 20px; 
    padding: 0; 
    background-color: #CFCFCF;
}

.tabs-nav {
    margin: 0;
    list-style: none;
    padding: 0 0 0 4px;
    height: 20px;
}

.tabs-nav li {
    border: 1px solid #999; 
    border-width: 0 1px; 
    float: left;
    margin: 0;
}

.tabs-nav a {
    display: block;
    z-index: 2;
    padding: 1px 5px;
    color: #333;
    text-decoration: none;
}

.tabs-nav a:hover {
    background-color:#999999; color:#FFFFFF; 
}
    
.tabs-nav .tabs-selected a {
    color: #000; background-color:#999;
}

.tabs-nav .tabs-disabled a:link, .tabs-nav .tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}

.tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active {
    cursor: pointer;
}

.tabs-container {
    padding: 1em 8px;
}

/* Caution: ensure accessibility in print */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .tabs-hide {
        display: none;
    }
}
@media print {
    .tabs-nav {
        display: none;
    }
}

tr.loading {
    background: yellow;
}

tr.playing {
    background: green;
}
