
/* Global tags first - these should aim to render Python-generated HTML correctly as a priority */

BODY     {margin:0px; color: black; background-color: white; font-family: arial}
FORM     {font: 12px arial; margin: 0px;}
INPUT    {font: 12px arial}
SELECT   {font: 12px arial}
TEXTAREA {font: 9pt "courier new", courier}

TABLE    {margin:0px; background-color: white}
TD       {font: 12px arial}

P        {font: normal 12px arial; color:black}
STRONG   {font: bold 12px arial}

A        {font-family: ms sans serif,tahoma,arial; text-decoration:none}
A:hover  {color:red}

H1       {font: bold 26px arial}
H2       {font: bold 23px arial}
H3       {font: bold 19px arial}
H4       {font: bold 14px arial}

H1 A     {font-family: arial}
H2 A     {font-family: arial}
H3 A     {font-family: arial}
H4 A     {font-family: arial}

TT       {font-family: courier new; color:black}

EM       {font-family: arial}
I        {font-family: arial}

CITE     {font-family: courier new; color:black}

HR       {margin-left: 0px; height: 1px; background-color: #A0A0A0; border: 0px solid #A0A0A0}

/* HTML (Python-generated) classes next */

/*
    The generic table class should not be changed from the definition below.
    It defines the "generic" way that tables should be displayed to a user.
    The table has a class attribute and CSS decides how elements inside it are
    rendered.
*/
TABLE.generic
{
}

TABLE.generic TR
{
}

TABLE.generic TR TH
{
    font: bold 12px ms sans serif, tahoma, arial;
    border: 1px solid #888888;
    background-color: #AAAAAA;
    color: white;
    text-align: left;
    padding: 3px;
}

TABLE.generic TR TH A
{
    color: blue;
}

TABLE.generic TR TD
{
    font: 12px ms sans serif, tahoma, arial;
    color: black;
    background-color: #FAFAFA;
}

TABLE.invisible
{
    padding: 3px;
    border: none;
    background-color: transparent;
}
TABLE.invisible TR TD, TABLE.invisible TR TH
{
    border: none;
    background-color: transparent;
}


/*  ODBC table classes.  Hopefully one day ODBC will use the generic ones above. */

.odbctable {
    border-left: 1px solid black;
    border-top: 1px solid black;
}

.odbchead {
    font: normal 8pt ms sans serif,tahoma,arial;
    text-align:left;
    border-left: 1px solid white;
    border-top: 1px solid white;
    border-right: 1px solid #666666;
    border-bottom: 1px solid #666666;
    background-color: #CCCCCC;
    padding: 1px;
}

.odbcrow {
    font: 8pt ms sans serif,tahoma,arial;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
    padding: 1px;
    background-color: white;
}

.odbcrowred {
    font: 8pt ms sans serif,tahoma,arial;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
    padding: 1px;
    background-color: red;
}

TABLE.inf     {border:0px solid #AAAAAA; border-collapse:collapse}
.inf_head     {font: bold   12px ms sans serif,tahoma,arial; text-align:left; border:1px solid #AAAAAA}
.inf_row      {font: normal 12px ms sans serif,tahoma,arial; text-align:left; border:1px solid #AAAAAA}

.table        {border:0px solid #AAAAAA; border-collapse:collapse}

.rdb-table    {border:0px solid #AAAAAA; border-collapse:collapse}
.head         {font: bold   12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#AAAAAA; color:white}
.head A       {color: white;}
.head2        {font: bold   12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#AAAAAA; color:white}
.head_problem {font: bold   12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#E0E0E0; color:red}
.head_note    {font: bold   12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#E0E0E0; color:green}
.row          {font: normal 12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#F8F8F8; color:black}
.row_grey     {font: normal 12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#E0E0E0; color:black}
.row_red      {font: normal 12px ms sans serif,tahoma,arial; border:1px solid #FF0000; background-color:#F8E0E0; color:black}

.notifyrow    {font: normal 12px ms sans serif,tahoma,arial; border:1px solid #888888; background-color:#E0E0E0}

TABLE.access  {border:0px solid #AAAAAA; border-collapse:collapse}
TD.access     {font: normal 12px ms sans serif,tahoma,arial; text-align:center; border:1px solid #AAAAAA}
TD.accesshd   {font: bold   12px ms sans serif,tahoma,arial; text-align:center; border:1px solid #AAAAAA}

TABLE.htmldb  {border:0px solid #AAAAAA; border-collapse:collapse}
TD.htmldb     {font: normal 12px ms sans serif,tahoma,arial; text-align:center; border:1px solid #AAAAAA}

TABLE.rdb-table          {border:0px solid #AAAAAA; border-collapse:collapse}
TABLE.mail-table         {border:0px solid #AAAAAA; border-collapse:collapse; width:600}
TABLE.mail-message-table {border:0px solid black; border-collapse:collapse; width:600}

/* XSL classes */

.mainbg            {background-color: white}
.linebg            {background-color: #666666}

.header            {font: bold 24px arial,tahoma,ms sans serif; background-color: white; color:black}

.copyright         {font: normal 10px tahoma,arial; text-decoration:none}
.copyright A:hover   {color:red}

.description       {font: normal 11px ms sans serif,tahoma,arial; text-decoration:none}
.description A:hover {color:red}

TD.meeting         {font-family: ms sans serif,tahoma,arial; font-size:12px}
TD.meetinghd       {font-family: ms sans serif,tahoma,arial; font-size:12px; font-weight: bold}

SPAN.calendar      {font: bold   12px ms sans serif,tahoma,arial; padding: 0px 0px 0px 10px}

P.search           {font: bold   12px ms sans serif,tahoma,arial; padding: 0px 0px 0px 10px}
P.searchbag        {font: normal 12px ms sans serif,tahoma,arial; padding: 0px 0px 0px 10px}

A.act              {font: bold   12px ms sans serif,tahoma,arial; text-decoration:none; color:blue}
A.act:hover        {color:red}

A.artifactpath     {font: bold   11px ms sans serif,tahoma,arial; text-decoration:none}
A.artifactpath:hover {color:red}

TR.topbar          {background-color: #0052CE}
TD.topbar          {font: 12px ms sans serif,tahoma,arial; color: white; background-color: #0052CE}
TD.topbar A        {font: 12px ms sans serif,tahoma,arial; color: white;  text-decoration:none}
TD.topbar A:hover  {color: yellow}
A.topbar_b         {font: bold 12px ms sans serif,tahoma,arial; color: white;  text-decoration:none}
A.topbar_b:hover   {color: yellow}

.hd, .hd A:link, .hd A:visited {
    font: normal 12px ms sans serif,tahoma,arial;
    color: black;
    background-color: #c0c0c0;
    text-decoration: none;
}
.hd A:hover        {color: red}
TD.entry           {font: 12px ms sans serif,tahoma,arial; color: black; background-color: #FAFAFA}
A.entry            {font: 12px ms sans serif,tahoma,arial; color: blue; text-decoration:none}
A.entry:hover      {color:red}

TD.entrysm         {font-family: ms sans serif,tahoma,arial; font-size: 11px; font-weight:normal; color: black; background-color: #FAFAFA; white-space:nowrap}
A.entrysm          {font-family: ms sans serif,tahoma,arial; font-size: 11px; font-weight:normal; color: blue;  text-decoration:none; line-height:18px; white-space:nowrap}
A.entrysm:hover    {color:red}
SPAN.entrysm       {font-family: ms sans serif,tahoma,arial; font-size: 11px; font-weight:normal;  color: black; line-height:18px; white-space:nowrap}

TD.mail            {font: 12px ms sans serif,tahoma,arial; color: black; background-color: #FAFAFA}
A.mail             {font: 12px ms sans serif,tahoma,arial; color: blue;  text-decoration:none}
A.mail:hover       {color:red}

TD.noobj           {font: bold 13px ms sans serif,tahoma,arial; color:black; background-color:white}

.actionbartd       {color:black; background-color:#c0c0c0}
.actionbar         {font: 11px ms sans serif,tahoma,arial; color:black; background-color:#c0c0c0; vertical-align:absmiddle}
.actionbar A:hover {font: 11px ms sans serif,tahoma,arial; color:red;   background-color:#c0c0c0; vertical-align:absmiddle}

.text              {font: normal 12px ms sans serif,tahoma,arial; color:black}

A.events           {font: bold   12px ms sans serif,tahoma,arial}
I.events           {font: normal 12px ms sans serif,tahoma,arial; font-style: normal}
A.eventsowner      {font-weight: normal}

SPAN.events        {font: normal 12px ms sans serif,tahoma,arial}

.article           {font: normal 12px ms sans serif,tahoma,arial; text-decoration:none}
.articlehd         {font: bold   12px ms sans serif,tahoma,arial; text-decoration:none}

.ACTION            {font: bold 12px ms sans serif,tahoma,arial; text-decoration:none; color:blue;  cursor:hand}
.CONTAINER         {font: bold 12px ms sans serif,tahoma,arial; text-decoration:none; color:white; cursor:hand}

.menubar           {font-family: ms sans serif,tahoma,arial; font-size: 8; color:#888888; background-color:#c0c0c0; width:100%}

TR.menutext        {background-color:#c0c0c0}
TD.menutext        {font: normal 12px ms sans serif,tahoma,arial; color:black; background-color:#c0c0c0}
A.menubarlnk       {color:black; width:100%; text-decoration:none}
A.menubarlnk:hover {color:blue}

A.menudisabled       {color:#888888; width:100%; text-decoration:none; cursor:arrow}
A.menudisabled:hover {color:#888888}

SPAN.menudisabled  {color:#888888}

.version_master    {font: bold 12px; color: black; }
.version_latest    {font: bold 12px; color: black; }
.version_revision  {font: bold 12px; color: #C0C0C0; }

.collection_inline_total  {font: bold 12px; color: black; }

TD.issue   {font: normal 12px ms sans serif,tahoma,arial; text-decoration:none}
TD.issuehd {font: bold   12px ms sans serif,tahoma,arial; text-decoration:none}

P.issue    {font: normal 12px ms sans serif,tahoma,arial; text-decoration:none; margin:2px 0px 0px 3px}
P.issuehd  {font: bold   12px ms sans serif,tahoma,arial; text-decoration:none; margin:2px 0px 0px 3px}


TD.issuetitle    {font: normal 12px ms sans serif,tahoma,arial; background-color:#E0E0E0; color:black}
TD.issueversion  {font: normal 12px ms sans serif,tahoma,arial; background-color:#AACCFF; color:black}

TD.noresponse    {font: normal 12px ms sans serif,tahoma,arial; background-color:#D0D0D0; color:#666666}


TD.process        {background-color:#AAAAAA; font: bold 11px ms sans serif,tahoma,arial; color: black; text-align:center}
TD.processcurrent {background-color:#80A0E0; font: bold 11px ms sans serif,tahoma,arial; color: black; text-align:center}

/* Input elements disabled in the Collection interface */

INPUT.collection_disabled {
    background-color: #D4D0C8;
}

SELECT.collection_disabled {
    background-color: #D4D0C8;
}

TEXTAREA.collection_disabled {
    background-color: #D4D0C8;
}

.collection_field {
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    height: 3.25em;
    vertical-align: top;
    white-space: nowrap;
}

.collection_issue_field {
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    height: 3.25em;
    vertical-align: top;
    white-space: nowrap;
}

table.collection SELECT {
    margin-top: 1px;
}

table.collection tr th {
    height: 2em;
    vertical-align: top;
    text-align: left;
    font: bold 12px ms sans serif, tahoma, arial;
    border: 1px solid #888888;
    background-color: #AAAAAA;
    color: white;
}

table.collection tr td {
    height: 2em;
    vertical-align: top;
    text-align: left;
    font: normal 12px ms sans serif, tahoma, arial;
    background-color: #FAFAFA;
    color: black;
}

.collection select {
    width: 15em;
}

.collection tr td input {
    padding-left: 3px;
}

TD.collection_issuing_criteria select {
    width: 15em;
}

span.collection_date select {
    width: 7em;
}
