/* Basics */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 0.95em;
  line-height: 120%;
}

img {
  border: 0;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
}

/* Elements */
#main_wrapper {
  position: absolute;
  width: 944px;
  height: 601px;
  left: 50%;
  margin-left: -472px;
  top: 0;
}

#main_top {
  position: absolute;
  width: 944px;
  top: 0;
  left: 0;
  height: 200px;
}

#logo {
  position: absolute;
  left: 0;
  top: 25px;
  height: 124px;
  width: 124px;
  background-image: url('../img/hkliving_logo_top.gif');
}

#slogan {
  position: absolute;
  right: 0;
  top: 63px;
  height: 60px;
  width: 193px;
  background-image: url('../img/global_living.gif');
}

#main_menu {
  position: absolute;
  left: 0;
  top: 170px;
  height: 20px;
  width: 944px;
}

#main_content {
  position: absolute;
  top: 210px;
  height: 393px;
  width: 944px;
}

#main_footer {
  position: absolute;
  height: 28px;
  width: 944px;
  margin-top: 12px;
  vertical-align: bottom;
}

#main_footer_right {
  position: absolute;
  float:right;
  right: 0;
  height: 26px;
}

#module_content {
  position: absolute;
  top: 0;
  left: 628px;
  width: 316px;
  height: 393px;
  overflow: auto;
}

#object_main_photo {
  float: left;
  clear: none;
  height: 353px;
  overflow: hidden;
  max-width: 250px;
}

#object_content {
  float: left;
  clear: none;
  width: auto;
}

#object_categories {
  position: absolute;
	width: 170px;
	top: 40px;
	height: 353px;
}

#object_main {
  position: absolute;
  left: 170px;
  top: 40px;
  width: 774px;
  height: 353px;
}

#catalog_main_page_select {
  position: absolute;
	left: 0;
	top: 40px;
	width: 944px;
	height: 353px;
	overflow: visible;
}

#category_overview_space {
  width: 774px;
  height: 353px;
  overflow: hidden;
}

#object_description {
	position: absolute;
	width: 190px;
	top: 0;
	padding-left: 5px;
	padding-right: 5px;
}

.object_categories {
  float: left;
  clear: none;
  width: auto;
  max-width: 774px;
  overflow: hidden;
  height: 353px;
}

.object_pictures {
  float: left;
  clear: none;
  width: auto;
  max-width: 520px;
  overflow: hidden;
  height: 353px;
}

.object_image {
	float: left;
	clear: none;
	padding: 10px 0 0 10px;
	text-align: center;
	font-size: 1.0em;
}

#paginate_controls {
	position: absolute;
	right: 0;
	top: 0;
	width: 20px;
	height: 353px;
}

.pagebutton {
	float: left;
	clear: both;
	width: 20px;
	height: 20px;
	background-image: url('../img/button.png');
	font-weight: bold;
	color: #555555;
	text-align: center;
	margin-bottom: 7px;
	cursor: pointer;
}

.pagebutton_active {
	float: left;
	clear: both;
	width: 20px;
	height: 20px;
	background-image: url('../img/button_active.png');
	font-weight: bold;
	color: white;
	text-align: center;
	margin-bottom: 7px;
	cursor: pointer;
}

.pagebutton_padding {
	margin-top: 1px;
}

/* Menu top */
a.main_menu, a.main_menu:visited, a.main_menu:active {
  float: left;
  clear: none;
  color: #0a9e48;
  text-decoration: none;
  overflow: visible;
  font-size: 1.2em;
  margin-right: 110px;
}

a.main_menu:hover, a.main_menu_active, a.main_menu_active:visited, a.main_menu_active:active, a.main_menu_active:hover {
  float: left;
  clear: none;
  color: black;
  text-decoration: none;
  overflow: visible;
  font-size: 1.2em;
  margin-right: 110px;
}

/* Text */
.footer {
  font-size: 1.2em;
  height:50px;
}

a, a:active, a:visited {
  text-decoration: none;
  color: #004D5F;
}

a:hover {
  text-decoration: underline;
  color: #004D5F;
}

.error {
  color: #5F000B;
}

a.category_link_download, a.category_link_download:visited {
  background-color:#004D5F;
  color: white;
  margin-right: 30px;
  text-decoration: none;
  font-size: 1.1em;
  padding:5px;
  font-weight: bold;
}

a.category_link_download:active,a.category_link_download:hover {
  background-color:white;
  color: #004D5F;
  margin-right: 30px;
  text-decoration: none;
  font-size: 1.1em;
  padding:5px;
  font-weight: bold;
}

a.category_link, a.category_link:active, a.category_link:visited, a.category_link_active, a.category_link_active:active, a.category_link_active:visited{
  color: black;
  margin-right: 30px;
  text-decoration: none;
  font-size: 1.1em;
}

a.category_link_active, a.category_link_active:active, a.category_link_active:visited {
  font-weight: bold;
}

a.category_link:hover {
  text-decoration: underline;
}

a.category_link_active:hover {
  font-weight: bold;
}

a.subcategory_link, a.subcategory_link:active, a.subcategory_link:visited, a.subcategory_link_active, a.subcategory_link_active:active, a.subcategory_link_active:visited {
	float: left;
	clear: both;
  color: black;
  text-decoration: none;
  font-size: 1.0em;
  margin-bottom: 3px;
  width: 170px;
}

a.subcategory_link_active, a.subcategory_link_active:active, a.subcategory_link_active:visited {
  font-weight: bold;
}

a.subcategory_link:hover {
  text-decoration: underline; 
}

a.subcategory_link_active:hover {
  font-weight: bold;
}

a.general_product_photo, a.general_product_photo:active, a.a.general_product_photo:visited {
  float: left;
  clear: none;
  height: 170px;
  margin: 5px 15px 5px 0;
  width: 143px;
  display: block;
}

a.general_product_photo:hover {
  background-color: #DDDDDD;
  text-decoration: none;
} 

.general_product_photo_picture {
  width: 133px;
  height: 133px;
  overflow: hidden;
  background-position: center center;
  vertical-align: middle;
  text-align: center;
  margin: 5px;
  cursor: pointer;
}

.general_product_photo_text {
  position: relative;
  width: 143px;
  text-align: center;
  cursor: pointer;
}
