html, body {
  height: 100%;
} 

body {
  font-family: Verdana;
  font-size: 101%;
  margin: 0;
}

#header {
  background-color: #b2b2b2;
  border-bottom: 5px solid #333;
  height: 65px;
  width: 100%;
}

#header #logo {
  left: 50%;
  margin-left: -350px;
  position: absolute;
  top: 5px
}

#logo img {
  border-width: 0
}

#header #topnav {
  left: 50%;
  position: absolute
}

/* Start Menu styles */
#topnav #menu {
  margin: 7px 0 0 154px;
}

#menu dfn, #mainMenu dfn {
  display:none;
}

#menu, #menu ul, #mainMenu, #mainMenu ul {
  list-style: none;
  padding: 0;
}

#menu li, #mainMenu li {
  margin-right: 12px;
  float: left;
}

#menu li a, #mainMenu li a {
  display: block;
  font-weight: bolder;
  font-size: 0.7em;
  text-decoration: none;
}

#menu li a {
  color: #a82b0f;
}

#mainMenu li a:hover, #mainMenu li a.selected {
  color: #003b99;
  background-color: #003b99;
}

#menu li a:hover {
  color: #333;
}

#menu li ul, #mainMenu li ul {
  display: none;
  background-color: #9c9c9c;
  padding: 0 4px;
  position: absolute;
  -moz-opacity: .90;
  opacity: .90;
  width: 180px;
  z-index: 1;
}

#menu li ul li, #mainMenu li ul li {
  border-top: 1px #fff dashed;
  display: block;
  padding: 4px 0;
  width: 95%;
}

#menu li ul li:first-child, #mainMenu li ul li:first-child {
  border-top: 1px #fff none;
}

#menu li ul li a, #mainMenu li ul li a {
  color: #fff;
}

#menu li ul li a:hover, #mainMenu li ul li a:hover {
  background-color: #9c9c9c;
  color: #a82b0f;
}

/* This make the sub-menu appear */
#menu li:hover ul, #mainMenu li:hover ul {
  display: block;
}

/* IE Hacks */
#menu li li, #mainMenu li li { 
  float: left; 
  clear: both;
}

#menu li li a, #mainMenu li li a { 
  height: 1%; 
}

.clear:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clear {display: inline-block;} /* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;} /* End hide from IE-mac */
/* End menu styles */

#topnav #search {
  background-image: url("/uploads/images/furniture/search-bar.gif");
  height: 37px;
  left: 0;
  position: absolute;
  top: 28px;
  width: 350px;
}

#topnav #search input {
  left: 12px;
  position: relative;
  top: 12px
}

input.btn {
  background-color: #333;
  border: 0 none;
  color: #b2b2b2;
  font-size: 0.7em;
  font-weight: bold;
  height: 18px;
  margin-left: 2px;
  padding: 0;
}

input.txt {
  border: 0 none;
  height: 18px;
  margin-right: 0;
  padding: 0;
  width: 158px
}

#menuWrapper {
  left: 50%;
  margin-left: -351px;
  position: relative;
  top: 0;
  width: 701px;
}

#menuWrapper #menuImage {
  float: right;
  height: 62px;
}

#mainMenu {
  margin: 0;
  padding-top: 23px;
  width: 350px;
}

#mainMenu img {
  border-width: 0px;
}

#homeWrapper, #mainWrapper {
  left: 50%;
  margin-left: -351px;
  margin-bottom: 40px;
  height: 100%;
  position: relative;
  top: 0;
  width: 702px;
}

#footer {
  background-color: #003B99;
  bottom: 0;
  color: white;
  /* float: left; /* with clear: both on mainContent, this makes sure the footer is below the main content */
  font-family: arial;
  font-size: 0.50em;
  height: 25px;
  margin-top: 30px;
  position: fixed;
  width: 100%;
}

#fwrapper {
  left: 50%;
  margin-left: -350px;
  position: relative;
  top: 5px;
  width: 700px
}

#footer span.copyright {
  float: right;
}

#footer span.menu {
  float:left;
}

#footer span.menu a {
  color: white;
  text-decoration: none;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #a82b0f;
  text-decoration: underline;
}

#footer span.menu a:hover {
  color: #ccc;
  text-decoration: underline;
}

/*
 * Generic styles used across the site
 */
.hline {
  background-image: url("/uploads/images/furniture/dotted-hline.gif");
  background-repeat: repeat-x;
  clear: both;
  height: 1px;
  width: 100%;
}

.selected {
  font-weight: bold
}

