body {
  background: white;
  color: black;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F0EDE6;
  width: 800px;
}

body, td, th, input {
  font-family: tahoma, sans-serif;
  font-size: 11px;
}

/* menu/content area width's */

/* for internet explorer */
div.orbital { width: 800px; }
div.xylitol { width: 779px; }

/* for non-broken browsers */
body > div.orbital, body > div.xylitol { width: 800px; }

a {
  text-decoration: underline;
  font-weight: bold;
}

a:link, a:visited {
  color: #cd0000;
}

a:hover, a:active {
  color: #f00000;
}

p {
  margin: 1em 10px;
}

img {
  border: none;
}

th, td {
  vertical-align: top;
  padding: 1px;
}

applet {
  margin: 10px;
  display: block;
}

th {
  text-align: left;
  white-space: nowrap;
  padding: 1px 10px;
}

ul, ol {
  margin-top: 10px;
  margin-bottom: 10px;
}

textarea {
  color: black;
  background-color: #F2F0E9;
  border: 1px inset black;
}

div#logo {
  position: absolute;
  top: 45px;
  left: 0;
  width: 162px;
  height: 62px;
  margin: 0;
  padding: 0;
  background: url('/pics/logo.gif') top left no-repeat;
}

div#logo a {
  display: block;
  height: 100%;
  width: 100%;
}

/* Main menu */
div#menu {
  margin: 0 0 0 0;
  padding: 80px 0 0 150px;
  background: #FFEB3A url('/pics/header_bg.gif') left top repeat-x;
  border-right: 1px solid #C7B93B;
}

div#menu ul {
  height: 27px;
  margin: 0;
  padding: 0 0 0 20px;
  background: url('/pics/ylatab_bg.gif') top left repeat-x;
  background-color: #F2F0E9;
}

div#menu li {
  float: left;
  padding: 5px 0 5px 0;
  margin: 0;
  background: url('/pics/alatab_vali.gif') 100% 60% no-repeat;
  list-style-type: none;
  list-style-position: outside;
}

div#menu a:link,
  div#menu a:visited {
    color: #404040;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    padding: 0 16px;
  }

div#menu a:active,
  div#menu a:hover,
  div#menu li.selected a {
    color: #ff0000;
  }

div#menu li.selected {
  background: url('/pics/ylatabvalittu_o.gif') top right no-repeat;
  padding-bottom: 7px;
}

div#menu li.selected span {
  position: relative;
  left: -2px;
  padding: 5px 0 7px 0;
  background: url('/pics/ylatabvalittu_v.gif') 0 0 no-repeat;
}

/* Sub menu */

div#submenu {
  clear: both;
  background: #F5EEB3 url('/pics/alatab_bg2.gif') top left repeat-x;
  margin: 0;
  padding: 5px 8px 5px 0;
  border-right: 1px solid #C7B93B;
}

div#submenu ul {
  margin: 0;
  padding: 0;
}


div#submenu li {
  float: left;
  margin: 0;
  padding: 0 7px;
  list-style-type: none;
  list-style-position: outside;
  background: url('/pics/alatab_vali.gif') 100% 60% no-repeat;
}

div#submenu a:link,
  div#submenu a:visited {
    color: #404040;
    font-size: 11px;
    text-decoration: none;
  }

div#submenu a:hover,
  div#submenu a:active,
  div#submenu li.selected a {
    color: #ff0000;
  }

div#submenu .last {
  background-image: none;
}

.floatcleaner {
  clear: both;
  line-height: 0%;
}

div#box-find form {
  margin: 0;
  padding: 0;
  border-top: 1px solid #B4B4B4;
}

div#box-categories p {
  margin: 0;
  padding: 0;
  border-top: 1px solid #B4B4B4;
}

div#footer {
  display: none;
}

td#items h2 {
  border-bottom: 1px solid #B4B4B4;
}

div#applist div.last {
  border-bottom: 1px solid #B4B4B4;
}

pre#maf-debug {
  color: #567;
  background: #cde;
  font-family: 'lucida console', monospace;
  font-size: x-small;
  padding: 20px;
  margin: 10px 0;
  clear: both;
}
