
/* entire page, including navbar at the top */
BODY {
    font-size: 100%;
    font-family: Arial,Helvetica,Geneva,sans-serif;
    background-image: url(/glossary/images/decapoda-b.jpg );
    margin: 0 0 0 0;
}

/* all the page content -- excluding navbar at the top */
DIV.content {
    margin: 1em 1em 1em 1em;
}

H1,H2,H3,H4 {
    color: #cc6600;
    text-align: center;
    font-weight: bold;
    font-style: normal;
    page-break-after: avoid;   /* keep headers with following text */
}

H1,H2,H3,H4,LI,HR {
    clear: right;  /* stop wrapping around an image */
}

/* normal text on the pages */
P,UL,LI,DT,DD,TD,TEXTAREA,INPUT {
    color: #000000;
}

LI,DD,IMG {
    page-break-inside: avoid;  /* keep defs & images from breaking */
}

P,LI,DD {
    text-align: justify;
}

H3.term {          /* actual terms on the definition page */
    font-size: 110%;
    font-weight: bold;
    color: #000000;
    text-align: left;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
}

UL.definition {    /* definition list below a term */
    margin-top: 0;
}

LI {  /* makes text wrap around images */
    /* clear: none; */
}

SPAN.buttonhelp {   /* for the text of a button in helptext */
    border: solid black 1px;
    background-color: #eeeeee;
    font-size: smaller;
    padding: 0 0.2em 0 0.2em;
}

/* make text entry and buttons a bit tidier */
TEXTAREA,INPUT {
    font-size: smaller;
}

/* compress the browse-all-entries page */
TD.browse {
    margin-top: 0;
    margin-bottom: 0;
    font-size: smaller;
}

P.footer {
    font-size: 75%;
    text-align: center;
}

A:hover {color: #ff0000;}

/* general-purpose inline separator */
HR {
    color:            #cc6600;
    background-color: #cc6600;
    width: 100%;
    height: 2px;
    border: 0;
}

/* box around the search area */
DIV.queryform {
    border: 1px solid #aaaaaa;
    margin-left: auto;
    margin-right:auto;
    padding:0.5em 0 0.5em 0;
}

/* box around current pagescale letter */
SPAN.scalebox {
    border: 1px solid #ffdd22;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* odds and ends */
.smaller     {font-size: smaller}
.small       {font-size: 60%}
.centered    {text-align: center}
.nounderline {text-decoration: none}
.error       {color: #cc3333}
.nomargin    {
    margin-top: 0;
    margin-bottom: 0;
}
.highlight   {
    color: black;
    background-color: #ffff66;
}

/* styles for the navbar across the top */
TABLE.navbar {
    width: 100%;
    background: #cc6600;
    padding: 1px 2px 2px 1px;
}
P.navbar {
    font-size: 75%;
    color: #ffdd22;
    margin: 0px 1px 1px 1px;
}
A.navlink:link,
A.navlink:active,
A.navlink:visited {text-decoration: none; color: #ffdd22}
A.navlink:hover   {text-decoration: none; color: #ffff99}

/* styles for the image thumbnails -- stolen from MediaWiki */
div.thumb {
	margin-bottom: .5em;
	border-style: solid;
	border-color: white;
	width: auto;
}
div.thumb div {
	border: 1px solid #ccc;
	padding: 3px !important;
	background-color: #f9f9f9;
	font-size: 94%;
	text-align: center;
	overflow: hidden;
}
div.thumb div a img {
	border: 1px solid #ccc;
}
div.thumb div div.thumbcaption {
	border: none;
	text-align: left;
	line-height: 1.2em;
	padding: .3em 0 .1em 0;
}
div.magnify {
	float: right;
	vertical-align: top;
	border: none !important;
	background: none !important;
}
div.magnify a, div.magnify img {
	display: block;
	border: none !important;
	background: none !important;
}
div.tright {
	clear: right;
	float: right;
	border-width: .5em 0 .8em 1.4em;
}
div.tleft {
	float: left;
	margin-right: .5em;
	border-width: .5em 1.4em .8em 0;
}

/* styles for image display page */
div.bigsize {
    /* Would like a white border around image, but it expands to the
       page margins.  I suspect this is because auto margins go to
       the max possible; it works with the "thumb" versions because
       they're floated? */
    /* border-width: 1em 1em 1em 1em; */
    /* border-style: solid;           */
    /* border-color: black;           */
    margin-bottom: 1em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}
div.bigsize div {
    border: 1px solid #ccc;
    padding: 3px !important;
    background-color: #f9f9f9;
    font-size: 85%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}
div.bigsize div img {
    border: 1px solid #ccc;
}
div.bigsize div a img {
    border: 1px solid #ccc;
}
div.bigsize div div.bigmagnifycaption {
    border: none;
    text-align: right;
    line-height: 1.2em;
    padding: .2em 0 .2em 0;
}

/* special tweaks for printing */
.printonly   {display: none;}         /* suppress except when printing */
.displayonly {display: inline;}       /* show except when printing     */
@media print {
  .printonly   {display: inline;}     /* show when printing     */
  .displayonly {display: none;  }     /* suppress when printing */

  BODY {
    font-family: "Times New Roman",Times,serif;
    font-size: 90%;
    background-image: none;
  }
  H1,H2,H3,H4 {
    color: #000000;
    font-family: Arial,Helvetica,Geneva,sans-serif;
  }
  A {
    text-decoration: none;
    color: #000000;
  }
  LI {
    /* comment this out -- multiple images don't right-align well */
    /* clear: none; */               /* allow wrapping around an image */
  }
}






















