body { background-color: white; margin: 0; }

img { border: 0; }

table.layout { border-collapse: collapse; width: 100%; }
td.layout { vertical-align: top; padding: 0; margin: 0; }

div#header { display: block; position: relative; padding: 0; }
div#header div#right { position: absolute; right: 0; top: 0; }

td#lefttd { width: 1%; }

div#footer { text-align: center; }

div#leftbar { text-align: center; }
div#leftbar div { text-align: left; }
div#leftbar img { margin: 0.5em 0.5em 0 0.5em; }

div#badges div { margin-top:1em; text-align: center; }

/* Lifted then taunted from http://www.alistapart.com/stories/taminglists/ */
div#leftbar div {
 position: relative;
 padding: 0 0 0.5em 0;
 margin-bottom: 1em;
 font-family: Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
 background-color: #e9e0ea;
 color: #333;
}

/* div title */
div#leftbar div .head {
  display: block;
  font-weight: bold;
  padding-left: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  background-color: #9b929d;
  background-image: url('/images/grads/top.png');
  background-repeat: repeat-y;
  color: white;
  margin-bottom: 0.5em;
}

div#leftbar div a.head:hover {
  background-color: #a79fa9;
  background-image: url('/images/grads/top-hover.png');
}


div#leftbar div ul {
 list-style: none;
 margin: 0;
 padding: 0;
 border: none;
}

div#leftbar div > ul {
 margin-left: 0.5em;
}

 
div#leftbar div ul li {
 border-bottom: 1px solid #e9e0ea;
 margin-top: 1px;
 margin: 0;
 position: relative;
}

div#leftbar div li ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}

div#leftbar div li.sel > ul {
  display: block;
  position: relative;
  left: 0;
  top: 1px;
  margin-left: 1em;
}

div#leftbar div li:hover > ul {
  display: block;
  width: auto;
  z-index: 100;
}
 
div#leftbar div li a {
  display: block;
  padding: 0px 5px 2px 5px;
  border-left: 10px solid #6d5771;
  background-color: #ccc0ce;
  background-image: url('/images/grads/link.png');
  background-repeat: repeat-y;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}

 div#leftbar div li a:hover, div#leftbar div li.sel > a {
  border-left: 10px solid #7f6c82;
  background-color: #d4cad6;
  background-image: url('/images/grads/link-hover.png');
  background-repeat: repeat-y;
  color: #black;
}

a { text-decoration: none;}
a.thumb { text-align: center; }
a.thumb span { display: block; color: black; }
a.thumb span.price { font-size: 0.9em; color: #600000; }
a.thumb:hover span { text-decoration: underline; }

/* Content */
div#content {
  display: block;
  clear: both;
  position: relative;
  border-top: medium solid #d4cad6;
  border-left: medium solid #d4cad6;
  border-bottom: medium solid #d4cad6;
}

h1#path {
  background-color: #6d5771;
  background-image: url('/images/grads/title.png');
  background-repeat: repeat-y;
  font-size: 1.2em;
  margin: 0 0 0.5em 0;
  padding: 0.2em 0 0.2em 0.5em;
  color: black;
}

h1#path a:hover, h1#path a.sel {
  background-image: url('/images/grads/title-hover.png');
  background-repeat: repeat-x;
}

span#num {
  float: right;
  margin-top: 0.25em;
  margin-right: 0.25em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  color: #6d5771;
  background-color: white;
  font-weight: bold;
  -moz-border-radius: 1em;
  border-radius: 1em; 
}

/* from scaffold */
.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px 7px 12px 7px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

tr.odd {
  background-color: #f0F0F8;
}

hr {
  clear: both;
  padding: 0;
  border: none;
  border-bottom: thin solid black;
}


/* Tabs */
div.tabs {
  clear: none;
  position: relative;
  margin-bottom: 1em;
/*  border-bottom: thin solid black;*/
}

div.tabs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline;
  overflow: hidden;
  border-bottom:thin solid black;
}

div.tabs > ul {
  padding-left: 0.5em;
  padding-right: 2em;
}

div.tabs ul li.sub {
  background-color: #E0E0F0;
  padding-top: 0.5em;
  padding-left: 0.25em;
  margin-right: 0.5em;
}

div.tabs ul li.sub:hover {
  background-color: #E4E4F4;
}

div.tabs ul li {
  display: inline;
  margin: 0 0.125em 0 0.125em;
  padding-top: 0.25em;

  z-index: 100;
  border-top:thin solid black;
  border-left:thin solid black;
  border-right:thin solid black;
  
  background-color: #F0F0F8;
  
  -moz-border-radius: 1em 1em 0 0;
  border-radius: 1em 1em 0 0; 
}

div.tabs ul li.sel {
  border-bottom:thin solid white;
  background-color: white;
}

div.tabs ul li.active, div.tabs ul li:hover {
  color:#333;
  background-color: #F8F8FF;
}

div.tabs ul li.active {
  border-bottom: 1px solid white;
  background-color: white;
}

div.tabs ul li a {
  padding: 0 0.5em 0 0.5em;
  color: black;
  font-size: 1.2em;
  white-space:nowrap;
}

div#header {
  background-repeat: repeat-y;
  background-image: url('/images/grads/header.png');
}

div#header table {
  width: 100%;
  margin: 0;
  padding: 0;
  border-collapse: collapse;
}

div#header table td {
  margin: 0;
  padding: 0;
  padding-left: 0.25em;
  padding-right: 0.25em;
  vertical-align: middle;
  text-align: center;
}

div#header table td#person {
  width: 0;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
}

div#header table td#person img {
  display: block;
}

div#header table td#crafty {
  width: 0;
}

div#header table td#customer {
  vertical-align: bottom;
}

td#phone {
  width: 0;
  font-size: 1.8em;
  font-family: monospace;
  text-align: right;
  white-space: nowrap;
}

td#phone div {
  color: grey;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  text-align: right;
}

td#email {
  width: 0;
}

td#message {
  min-width: 10em;
  color: #006000;
}

div#header table tr#topmenu td {
  vertical-align: bottom;
  padding: 0;
  margin: 0;
}

div#search {
  float: left;
  margin-left: 2em;
  background-color: #e9e0ea;
  padding-right: 1em;
  border: thin solid #685f6a;
  border-bottom: none;
  -moz-border-radius: 1em 1em 0 0;
}

div#search .head {
  float: left;
  background-image: url('/images/grads/top.png');
  background-repeat: repeat-y;
  padding: 0.25em 0.5em 0.25em 0.5em;
  -moz-border-radius: 1em 0 0 0;
  font-weight: bold;
  color: white;
  margin-right: 0.5em;
}

div#search form {
  margin: 0;
}

/* Cart Button */
div#customer {
  float: right;
  margin: 0;
  background-color: #e9e0ea;
  padding: 0.25em 0.5em 0.25em 0.5em;
  text-align: center;
  -moz-border-radius: 1em 0 0 0;
}

div#customer a {
  color: black;
  font-weight: bold;
  text-decoration: underline;
}

div#customer:hover {
  background: #98c0e0;
}

div.notice {
  background-color: #FCC;
  border: thin solid red;
  padding: 0.25em 1em 0.25em 1em;
  margin: 1em;
  font-weight: bold;
  font-family: sans serif;
}