BODY {
    margin-right: auto;
    background-color: rgb(100%, 100%, 100%);
    width: 100%;
}

@page {
    margin-left: .5in;
    margin-right: .5in;
    margin-bottom: .5in;
}


H1, H2, H3, H4 {
    font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    color: rgb(80%, 0%, 0%);
}

H1 {
    font-size: large;
    text-align: center;
    line-height: 110%;
}


H2 {
    font-size: medium ;
    text-align: center;
    vertical-align: bottom;
    line-height: 100%;
    padding-bottom: 0px;
}

H3 {
    font-size: medium ;
}

H4 {
    font-size: small ;
}

P, UL, OL, BLOCKQUOTE {
    font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    font-size: x-small;
    vertical-align: top;
    color: rgb(0%, 0%, 0%);
}

TR, TD, TABLE {
    font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    color: rgb(0%, 0%, 0%);
    font-size: x-small;
}

TR, TD, IMG {
    page-break-inside: avoid;
}

A {
    text-decoration: none;
}

/* All links the same color when printing */
A:link, A:visited, A:active, A:hover {
    color: rgb(0%, 0%, 100%);
}

/* Do not display page links when printing */
*.pagelink {
    display: none;
}


/* Table for standard patch catalogs */
TABLE.catalogtable {
    width: 95%;
    padding-right: 30px;
    margin-right: 30px;
    border-spacing: 0px; 
    padding: 0px;
}

/* Catalog table thumbnail column */
COL.thumbnail {
    width: 128px ;
}

/* Center image-needed text */
TABLE.catalogtable TD.imageneeded{
    display: none;
}

/* Header row */
TABLE.catalogtable TH {
   font-weight: bold;
   border-style: solid;
   border-width: 2px;
   border-color: black;
}

/* Needed highlight for catalog tables */
TABLE.catalogtable TD.needed {
   border-style: solid;
   border-width: 4px;
   border-color: rgb(100%, 0%, 0%);
   padding: 2px;
}

/* Explanatory text in standard patch catalogs */
DIV.explan {
    display: table;
    width: 95%;
}

/* Extra padding on the sides */
DIV.explan P,UL,OL,LI {
    text-align: left;
    margin-left: 10%;
    margin-right: 10%;
}

/* Needed highlight in explanatory text */
DIV.explan SPAN.needed {
   border-style: solid;
   border-width: 4px;
   border-color: rgb(100%, 0%, 0%);
   padding: 2px;
}

/* Need and dupe lists */
DIV.patchlist UL, LI {
    padding-left: 0px;
}

DIV.patchlist UL {
    padding-left: 0;
    list-style-position: outside;
    }

/* Main table format for thumbnail gallery displays */
TABLE.galleryTable {
    margin-right: auto;
    vertical-align: middle;
    border-style: none;
    border-spacing: 0px ;
    padding-right: 10px ;
}

/* Center text under thumbnails */
TABLE.galleryTable TD {
    text-align: center;
   	vertical-align: bottom;
}

/* Force borders on table images */
TABLE.galleryTable TD IMG{
    border-style: solid ;
    border-width: 2px;
}

/* Needed highlight for cells in gallery tables */
TABLE.galleryTable TD.needed {
   border-style: solid;
   border-width: 4px;
   border-color: rgb(100%, 0%, 0%);
   border-collapse: collapse;
}

/* Need highlight for footer text in gallery tables */
TABLE.galleryTable SPAN.needed {
   border-style: solid;
   border-width: 4px;
   border-color: rgb(100%, 0%, 0%);
   padding: 2px;
}

/* Footer row at the bottom of the gallery table */
Table.galleryTable TR.footer TD {
    text-align: left;
    font-size: small;
    width: 620px;
    margin-right: auto;
}


/* Do not print page-menu at the bottom of each page */ 
TABLE.pagemenu {
    display: none;
}


/* General thumbnail image */
IMG.th, IMG.th128 {
    height: 128px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Community strip thumbnail image */
IMG.csth, IMG.th48 {
    height: 48px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Shoulder patch thumbnail image */
IMG.spth, IMG.th64 {
    height: 64px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Oversized shoulder patch thumbnail image */
IMG.ospth, IMG.th80 {
    height: 80px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Rectangular patch thumbnail image */
IMG.rth, IMG.th96 {
    height: 96px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Taller rectangular patch thumbnail image */
IMG.th104 {
    height: 104px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Almost square patch thumbnail image */
IMG.th112 {
    height: 112px;
    width: 128px;
    vertical-align: middle;
    text-align: center;
}

/* Standard row outline colors for catalog tables */
TR.early TD {
   border-style: solid;
   border-width: 1px;
   border-color: #986631;
/* border-color: #ffffaa; */
}

TR.classic TD {
   border-style: solid;
   border-width: 1px;
   border-color: green;
/* border-color: rgb(80%, 100%, 80%); */
}

TR.camper TD {
   border-style: solid;
   border-width: 1px;
   border-color: blue;
/* border-color: #60ddee;*/
}

TR.staff TD {
   border-style: solid;
   border-width: 1px;
   border-color: purple;
/* border-color: #ddb0ee;*/
}

TR.recent TD {
   border-style: solid;
   border-width: 1px;
   border-color: #00bbbb;
/*   border-color: #aaffff;*/
}

/* Shoulder strip row outline colors for catalog tables */
TR.strip TD {
   border-style: solid;
   border-width: 1px;
   border-color: #986631;
/* border-color: #ffffaa; */
}

TR.jcp TD {
   border-style: solid;
   border-width: 1px;
   border-color: #986631;
/* border-color: #ffffaa; */
}

TR.csp TD {
   border-style: solid;
   border-width: 1px;
   border-color: green;
}

TR.jsp TD {
   border-style: solid;
   border-width: 1px;
   border-color: green;
}

TR.sap TD {
   border-style: solid;
   border-width: 1px;
   border-color: purple;
/* border-color: #ddb0ee;*/
}

TR.prototype TD {
   border-style: solid;
   border-width: 1px;
   border-color: blue;
/* border-color: #60ddee;*/
}

TR.jodd TD {
   border-style: solid;
   border-width: 1px;
   border-color: #986631;
/* border-color: #ffffaa; */
}

TR.jeven TD {
   border-style: solid;
   border-width: 1px;
   border-color: green;
/* border-color: rgb(80%, 100%, 80%); */
}

TR.j2001 TD {
   border-style: solid;
   border-width: 1px;
   border-color: purple;
/* border-color: #ddb0ee;*/
}

TR.j2005 TD {
   border-style: solid;
   border-width: 1px;
   border-color: #00bbbb;
/* border-color: #aaffff;*/
}




