html, body {
	background-color: #ffffff;
	color: #000000;
	font-family: arial, helvetica, sans-serif;
	padding: 0;
	margin: 0;
}

table, tr, td {
	font-family: arial, helvetica, sans-serif;
}

a img { border: none; }

/* navigation */
#navigation {
  position: absolute;
  top: 4em;
  right: 0;
  background-color: #eef;
  width: 12em;
  border: 1px solid;
  border-right: none;
  border-radius:         0.75em 0 0 0.75em;
  /* Ah, the joys of browser prefixes. */
  -moz-border-radius:    0.75em 0 0 0.75em;
  -webkit-border-radius: 0.75em 0 0 0.75em;
  -khtml-border-radius:  0.75em 0 0 0.75em;
}

#navigation ul {
  margin: 0;
  text-indent: 0;
  padding: 0.65em;
  list-style-type: none;
}

#navigation ul ul {
  padding: 0;
  padding-left: 1em;
}

#navigation li {
  margin: 0;
  margin-top: 0.1em;
  padding: 0;
}

#navigation a {
  text-decoration: underline;
  display: block;
  padding: 0.1em 0;
  width: 100%;
}

#navigation a:hover {
  background-color: #ddf;
}

#navigation .selected a { font-weight: bold; }
#navigation .selected ul a { font-weight: normal; }

#brand-nav li.selected {
  font-weight: bold;
}

#skip-nav {
  display: none;
}

/* the body/content area */
#body {
  clear: left;
  margin: 1em;
  margin-right: 12.5em;
}

/* Make lists work like they're logically supposed to
   (prevents bullets from overlapping product images) */
#body ul, #body ol { overflow: auto; }

#body a[href$=".pdf"]:after { content: " (pdf)"; }

/* the footer */
#footer {
  clear: both;
  font-size: smaller;
  padding-top: 5em;
}

#footer p {
  text-align: center;
}
#trustlogo { float: right; }

/* other stuff */

a[href^="mailto:"]:after { content: "\270d"; font-size: 1.4em; }
a[href^="http://"]:after { content: "\2386"; }
a[href*="www.originaludderbalm.com"]:after, /* work with translation programs */
a[href^="http://test.oub.com/"]:after,
a[href^="http://www.trustlogo.com/"]:after,
a[href^="http://www.originaludderbalm.com/"]:after,
a[href^="http://www.mbmacorp.com/"]:after { content: ""; }

a:hover {
	text-decoration: underline;
	color: #0000ff;
	background-color: transparent;
}

thead tr th {
  padding: 0.15em 0.4em;
  text-align: center;
  font-weight: bold;
  color: #dedede;
  background-color: #0000e0;
}

tr.item1 {
	background-color: #ddf;
	color: inherit;
}

/* sometimes you want to add a little extra space
   between items to group them together. */
tr.extitem td { padding-top: 1em; }

tr.sep, td.sep {
	font-size: 5px;
	line-height: 6px;
}

.single-product { margin: 1em; }
.single-product th { text-align: right; }

em.new {
  border: dashed 1px;
  padding: 0 2px;
  background-color: #ff0;
  margin:  0 0.25em;
}

.sm {
	font-size: 0.8em;
	font-weight: normal;
}

.nbrand {
	color: #0000e0;
	background-color: #dedede;
}

img {
	margin: 3px;
}

/* header */

#header {
  font-weight: bold;
  border-bottom: 1px solid;
  background-color: #eef;
}
#header h1, #header img {
  margin: 0;
  padding: 0;
}

#header a {
  text-decoration: underline;
  font-weight: normal;
  display: block;
  width: 100%;
}

#header a:hover {
  background-color: #ddf;
}

#header ul {
  list-style-type: none;
  margin: 0;
  padding: 0.25em;
  display: block;
  /* really ugly width to work in IE when JS is disabled */
  width: 60%;
  /* stupidly gross IE hack for when JS is enabled */
  width: expression((document.body.clientWidth - 271)*0.97 + "px");
  position: relative;
  overflow: auto;
  background-color: #eef;
}

/* moz gets it right */
#header > ul { width: auto; }

#header li, #header a {
  background-color: #eef;
}

#header ul li {
  float: left;
  display: block;
  position: relative;
  width: 24%;
  margin: 0;
  padding: 0;
  text-align: center;
}

#header > ul > li { width: 25%; }

#testmarker {
  position: absolute;
  margin: 0; padding: 0;
  top: 0.35em;
  right: 2.25em;
  text-align: right;
  font-size: 6.5em;
  color: #f0f0f0;
  font-weight: bold;
}

input, textarea, select {
	border-width: 1px;
	border-style: inset;
	background-color: #dedede;
	color: #000;
}

input, textarea { font-family: monospace; }

input.noformat { /* class name is a hack for IE */
        border-style: none;
        background-color: transparent;
}

input.order {
  border-style: outset;
  font-weight: bold;
  font-family: sans-serif;
  padding: 0.25em;
  border-radius:         0.25em;
  -moz-border-radius:    0.25em;
  -webkit-border-radius: 0.25em;
  -khtml-border-radius:  0.25em;
}

input.order:active:hover { border-style: inset; padding: 0.3em 0.2em 0.2em 0.3em; }

span.oubhilight {
	background-color: transparent;
	color: #0000dd;
}

h1 {
	font-size: 2em;
	font-weight: bold;
}

h2 {
	font-size: 1.4em;
	font-weight: bold;
}

dl.contact dt {
    font-weight: bold;
}

dl.contact dd {
    margin-bottom: 1em;
}

blockquote {
	border-width: 1px;
	border-style: solid;
	border-color: black;
	padding: 0.5em;
	margin: 1em;
}

blockquote cite {
	display: block;
	text-align: right;
}

blockquote.iprod {
        border-width: 1px;
        border-style: dashed;
        border-color: black;
        padding: 0.5em;
        margin: 1em;
        margin-right: 0.1em;
        float: right;
        background-color: #fffff0;
}

blockquote p { display: inline; }
/* Any browser that understands these should have decent enough
   unicode support to handle the quotes. */
blockquote > p:before { content: "\201C"; }
blockquote > p:after { content: "\201D"; }
/* If we do a double-break (new paragraph?), then insert an
   opening quote, because English has wacky quoting rules that
   require it. Unfortunately, we can't do p:after + p to kill
   the closing quote, and there are no other adjacent selectors.
   Curse your limitations, CSS! */
blockquote > p > br + br:after { content: "\201C"; }

.oldprice {
	text-align: center;
	text-decoration: line-through;
}

.c { text-align: center; }

.subtitle {
	margin-top: -1.2em;
	margin-bottom: 0.1em;
	font-style: italic;
}

@media screen {

/* product-group blocks */
.product-group1, .product-group2 {
  margin: 0;
  padding: 0.2em;
  /* widths to work around IE annoyances. The irony is that, at lower
     resolutions, the IE-specific hack makes this part look better in IE than
     it does in Mozilla. (CSS really could use support for expressions.) */
  width: 97%; /* JS disabled */
  /* JS enabled; set depending on window size */
  width: expression((document.body.clientWidth < 1000 ? 97 : 49) + '%');
}
.product-group1 { float: left;  }
.product-group2 { float: right; }
/* IE tends to scroll horizontally with clear set, so make sure it doesn't see it */
* > .product-group1 { clear: left;  }
* > .product-group2 { clear: right; }
div[class="product-group1"], div[class="product-group2"] {
  width: 49%;
  min-width: 350px;
}

div.wide {
  width: 97%; /* Die, IE, Die! */
  clear: both;
}
div[class~="wide"] { width: 100%; }

}

.product-group1 h2, .product-group2 h2 {
  margin-top: 0;
}

/* product images */
.product-img1, .product-img2 {
  text-align: center;
  font-size: larger;
  position: relative;
  padding: 0;
  margin: 0;
}
.product-img1 {
  float: left;
  margin-right: 0.2em;
}
.product-img2 {
  float: right;
  margin-left: 0.2em;
}

.outofstock {
  color: #c00;
}

/* webtv, why must you suck so? */
@media tv {
  #header, #header ul, #header li, #header a { background-color: transparent; }
  #navigation {
    position: relative;
    background-color: transparent;
    width: auto;
  }
}

/* when printing, pages don't need the various navigation menus, so don't
   bother showing them. */
@media print {
  #header { border: none; overflow: auto; margin-bottom: 1em; }

  #navigation, #header ul { display: none; }

  #header h1 {
    display: block;
    float: none;
    width: 100%;
    text-align: center;
  }

  #header h1 img {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  #body { margin: 0; }

  .product-group1, .product-group2 { clear: both; }

  #trustlogo { display: none; }
  #footer { margin-top: 2em; }
}
