/*------------------*\
|* global interface *|
\*------------------*/
body {
  margin: 30px 0 0 0;
  padding: 0px;
  color: #333;
  background: #840213;
  font: normal 12px trebuchet ms, trebuchet, tahoma, geneva, verdana, sans-serif;
  text-align: center;
}
img {
  border: 0px;
}

/* forms */
form {
  margin: 0px;
}
input, textarea {
  font: normal 13px tahoma, geneva, verdana, sans-serif;
}
input.text, input.password, textarea {
  padding: 1px 0px 1px 2px;
  border: 1px solid #57594b;
}

/* links */
a {
  color:#0078ad;
  color:#0377bc;
  text-decoration:none;
}
a:visited {
  color: #3F89AA; 
}
a:hover {
  color: #FFCC33;
  text-decoration: none;
}

#leftsidebar table tr td {
 border:0px solid;

 overflow:hidden;
 display:block
}

.leftnav a {
  color:#0377bc;
  font-size:12px;
  font-family:trebuchet,trebuchet ms,verdana;
  border-bottom:0px solid;
  display:block;
  padding:16px 0px;
}
.leftnav a:visited {
  color: #0377bc;
}
.leftnav a span {
  padding-left:35px;
  padding-right:15px;
  display: block;
  line-height:100%;
  border:0px solid;
}

.leftnav a:hover, .leftnav a.on {
  background: transparent url(/images/nav_mouseover.jpg) left center no-repeat;
  color: #5c5b66;
  text-decoration: none;
}





/* headings */
h1 {
  font-size: 16px;
}
h2 {
  font-size: 15px;
  color:#840213
}
.red {
  color:#840213
}

h3 {
  font-size: 13px;
  clear:left;
}
h4 {
  font-size: 12px;
  font-weight:normal;
}

#rightsidebar h4 {
  color:#840213;
  margin-left:30px;
  margin-right:30px;
  border:0px solid;
}

h5 {
  font-weight: bold;
  font-size: 12px;
  margin:0px 0 0px 0;
  color:#840213
}



/* use this with text in headings you wish to make small */
.hsmall {
  font-weight: normal;
  font-size: 9px;
}

#accessibility {
  position: absolute;
  left: -9000px;
  width: 9000px;
}
#wrapper {
  margin: 0px auto;
  width: 800px;
  text-align: left;
}

/*--------*\
|* header *|
\*--------*/
#logo {
  width: 650px;
  height: 150px;
  background: transparent url(/images/feng_shui_header.jpg) top left no-repeat;
  text-indent: -9999px;
}
#logo h1, #logo a {
  margin: 0px;
  width: 100%;
  height: 100%;
}
#logo a {
  text-decoration: none;
  display: block;
}
#header {
  background:#fff;
 position:relative;
}
#loginbar {
  
  text-align: center;
  width:145px;
  border:0px solid;
  position:absolute;
  z-index:1;
  right:0px;
  margin-top: 25px;
}

#ss_text {
  color:#840213;
  margin-left:25px;
  margin-right:25px;
  border:0px solid;
  font-weight:bold;
  font-size:11px;
  font-style:italic;
  margin-top:12px;
  position:relative;
  z-index:1;
}

#ss_img_div {
 border:0px solid blue;
 height:120px;
 width:140px;
 overflow:hidden;
 position:relative;
 z-index:1;
}

#ss_img_div img {
  border:0px solid #000
}

#loginbar a {
  color: #212126;
  font-weight: bold;
  display:block;
  margin-top:0px;
  text-decoration:none;
}
/* these colours are the same as defined by 'a', but we unset a:visited */
#loginbar a:hover {
  color: #5c5b66;
}
#loginbar a.in {
  
}
#loginbar a.out {
  
}





/*------------*\
|* navigation *|
\*------------*/
.navbar {
  margin-bottom: 1px;
}
ul.primarynav, ul.secondarynav {
  margin: 0px;
  padding: 0px;
  border-bottom: 1px solid #ffffff;
  float: left;
  list-style: none;
}
ul.primarynav {
  width: 100%;
  background: #5c5b66;
}
ul.secondarynav {
  width: 100%;
  background: #777c8d;
}
ul.primarynav li, ul.secondarynav li {
  float: left;
  list-style: none;
}
ul.primarynav li {

}
ul.primarynav a {
  margin-right: 1px;
  padding: 7px 9px 7px 10px;
  float: left;
  color: #ffffff;
  font-size: 11px;
  text-decoration: none;
}
ul.primarynav a:visited {
  color: #ffffff;
}
ul.primarynav a:hover {
  color: #ffffff;
  background: #737180;
}
ul.primarynav li.home {
  border-right: 1px solid #ffffff;
  background: #383741;
}
ul.primarynav li.home a {
  margin-right: 0px;
}
ul.secondarynav li.first {
  padding-left: 5px;
}
ul.secondarynav a {
  margin-right: 1px;
  padding: 4px 5px;
  float: left;
  color: #ffffff;
  font-size: 10px;
  text-decoration: none;
}
ul.secondarynav a:visited {
  color: #ffffff;
}
ul.secondarynav a:hover {
  color: #212126;
}




/*-----------*\
|* searchbar *|
\*-----------*/
.searchbar {
  margin-bottom: 3px;
  padding: 5px 5px 0px 35px;

}
.searchbar input.text {
  margin-right: 0px;
  width:105px;
}

.searchbar input.submit {
  border: 1px solid #57594b;
  color:#353729;
  background:#fff;
  margin:4px 0px 0 0;
  font-size:11px;
}



/* setting this in mozilla causes rendering issues */

* html .searchbar input.submit {
  height: 21px;
}
/* these colours are the same as defined by 'a', but we unset a:visited */
.searchbar a {
  color:#0377bc;
  font-size:12px;
}
.searchbar a:hover {
  color: #5c5b66;
}

/*--------*\
|* footer *|
\*--------*/

#footer {
  padding: 0px 0px;
  border-top: 0px solid #57594b;
  background:white url(/images/foot_background.jpg) top left no-repeat;
  height:100px;
  position:relative;
}
#footer img {
 float:left;
 margin:8px;
}
#footer p {
  margin: 0px;
  padding: 13px 30px 28px 170px;
  font-size: 11px;
  text-align:left;
  color: #877fb5;
  font-style:italic;
  font-size:12px;
}

#footer p.testimonials {
 padding-right:150px;
}

#footer p a {
 float:right;
 color:#0377bc;
 margin-top:-13px;
 margin-right:-120px;
 font-style:normal;
}


#footer .address {
 border:0px solid;
 padding:5px 5px 5px 11px;
 text-align:left;
 clear:left;
 color:#333366;
 bottom:14px;
 position:absolute;
 width:100%;
 letter-spacing:.5px;
 font-size:10.5px;
font-weight:normal;
}



#credits {
 color:#f6f0d6;
 text-decoration:none;
 margin:10px 0px 0 150px;
 font-size:10px;
}
#credits a {
 color:#f6f0d6;
 text-decoration:none;
}

/*---------------*\
|* contentheader *|
\*---------------*/
#contentheader {
  padding: 0px 0px 0px 0px;
  background: #fff;
  border:0px solid;
  position:relative
}
#contentheader .error, #contentheader .message {
  margin: 0px 0px 0px 0px;
  padding: 4px;
  border: 0px solid #ffffff;
  color: #ffffff;
  font-size: 12px;
  text-align: left;
}
#contentheader .error {
  background: #840214;
}
#contentheader .message {
  background: #DAAB65;
 border:1px solid pink
}
#contentheader .error *, #contentheader .message * {
  margin: 0px;
  padding: 0px;
}

/*---------------*\
|* contentfooter *|
\*---------------*/
#contentfooter {
 margin:0 20px 0 170px;
 background:transparent;
 border:0px solid;
}

#contentfooter p {
  margin:0 10px;
  position:relative;
  color:#877fb5;
  font-style:italic;
  font-size:12px;
}
#contentfooter p a {
  float:right;
}


/*---------*\
|* content *|
\*---------*/
#home #ocwrapper {
/* background colour of left sidebar */
  border-left: 150px solid #fff;
/* background colour of right sidebar */
  border-right: 150px solid #fff;
  background: #fffae5;
}
#ocwrapper.gold {
  border-right: 150px solid #fff;
}

#ocwrapper {
/* background colour of left sidebar */
  border-left: 150px solid #fff;
/* background colour of right sidebar */
  border-right: 2px solid #fffae5;
   background: #fffae5;
}



#leftsidebar {
  margin-left: -150px;
  padding: 10px 0px 10px 0px;
  width: 150px;
  float: left;
  position: relative;
/* hide the left sidebar by default */
}


#rightsidebar {
  display:none;
}

#home #rightsidebar {
  margin-right: -150px;
  padding: 105px 0px 10px 0px;
  width: 150px;
  display:block;
  float: right;
  position: relative;
  text-align:center;
}
#ocwrapper.gold #rightsidebar {
  margin-right: -150px;
  padding: 30px 0px 10px 0px;
  width: 150px;
  display:block;
  float: right;
  position: relative;
  text-align:center;
}

.rightbarcontent {
 padding:0 10px;
 text-align:left;
}


#rightsidebar .video {
  margin:0 auto;
  margin-bottom:10px;
  font-size:10px;
  width:125px;
  overflow:hidden;
  text-align:center;

}


#contentwrapper {
  width: 100%;
  float: left;
  position: relative;
}
#content {
  margin: 0px 10px;
  padding: 10px;
  background: #fffae5;
  line-height:20px;
position:relative;
}
/* hack for ie/win's guillotine bug */
/* start non ie/mac css \*/
* html #content {
  height: 1%;
}
/* end non ie/mac css */

/*-----------------*\
|* global elements *|
\*-----------------*/

center {
 font-weight:bold;
 color:#666;
 font-size:12px;
}

#home center {
 font-weight:normal;
 color:#333;
 font-size:12px;
}

.floatleft {
 float:left;
 margin-right:15px;
 position:relative;
 margin-bottom:20px;
}

.catdescription {
 position:relative;
 text-align:justify;
}
.floatright {
 float:right;
 margin-left:15px;
 position:relative;
 margin-bottom:12px;
 clear:right;
}

.shadowtop, .shadowbottom {
  height: 10px;
  font-size: 1px;
  display: inline-block;
/* ie/mac fix \*/
  display: block;
/* end fix */
}
.shadowtopleft, .shadowtopright, .shadowbottomleft, .shadowbottomright {
  width: 15px;
  height: 10px;
  font-size: 1px;
}
.shadowtop {
}
.shadowbottom {
}
.shadowleft {
}
.shadowright {
}
.shadowtopleft {
  float: left;
}
.shadowtopright {
  float: right;
}
.shadowbottomleft {
  float: left;
}
.shadowbottomright {
  float: right;
}

/* links */
.linklisting {
  margin: 15px 15px 20px 0px;
/*  border-left:150px solid #fffae5;*/
  border:0px solid;
 clear:left;
}

.subcatlinks .linklisting {
  float:left;
  width:28%;
  padding:0px 0px;
  border:0px solid;
  clear:none;
  text-align:center;
  height:150px;
  margin:0px 30px 10px 0px;
}

.linklisting h4.linktitle, .linklisting p.linkurl, .linklisting p.linkrating {
  margin: 0px 0px;
}
.linklisting h4.linktitle a {
  padding-bottom: 0px;

}
.linklisting p.linkurl a {
  font-size: 9px;
  text-decoration: none;
}
.linklisting p.linkrating {
  font-size: 9px;
}
.linklisting p.linkrating .linkexpired {
  color: #8c3030;
  font-weight: bold;
}
.linklisting .linkdescription, .review .reviewcontent {
  margin: 0px 0px 5px 0px;
  padding: 0px 0px;
  text-align:justify;
}
/* overflow: hidden doesn't work in ie unless the width is set */
* html .linklisting .linkdescription, * html .review .reviewcontent {

}
.linklisting p.linkactions {
  margin: 0px;
}
.linklisting p.linkactions a, #detailed p.actions a, #jump_frame .actions a {
  padding: 1px 4px;
  border: 1px solid #bbbfa1;
  font-size: 9px;
  text-decoration: none;
}
.linklisting p.linkactions a:hover, #detailed p.actions a:hover, #jump_frame .actions a:hover {
  background: #e2e1eb;
}




/* reviews */
.review h4.reviewsubject {
  margin: 10px 0px 0px 0px;
}
.review h5.reviewbyline {
  margin: 0px;
  font-weight: normal;
}
.review p.reviewer {
  margin: 0px 0px 2px 0px;
}
.review .reviewhelpful span {
  float: left;
  font-size: 9px;
}
.review .reviewhelpful form span {
  float: right;
}
.review .reviewhelpful input {
  padding: 0px 3px;
  border: 1px solid #bbbfa1;
  background: #ffffff;
  font-size: 9px;
}
/* .review p.reviewcontent => see .linklisting p.linkdescription */

/* link/bookmark status icons */
.new-item, .updated-item, .popular-item, .unpaid-item, .expired-item, .free-item, .bookmark-public, .bookmark-default {
  background: transparent url(images/button-left.gif) top left no-repeat;
  font-weight: normal;
  font-size: 9px;
  color: #ffffff;
  vertical-align: text-top;
}
.new-item {
  background-color: #8c3030;
}
.updated-item {
  background-color: #c5a600;
}
.popular-item {
  background-color: #314fb1;
}
.unpaid-item {
  background-color: #555555;
}
.expired-item {
  background-color: #92589c;
}
.free-item {
  background-color: #a7a87c;
}
.bookmark-public {
  background-color: #cc6613;
}
.bookmark-default {
  background-color: #7fb131;
}
.new-item span, .updated-item span, .popular-item span, .unpaid-item span, .expired-item span, .free-item span, .bookmark-public span, .bookmark-default span {
  padding: 0px 3px;
  background: transparent url(images/button-right.gif) top right no-repeat;
}

/* paging */
.paging {
  text-align: right;
}
.paging img, .paging select, .paging input {
  vertical-align: middle;
}

.crumb {
  font-size: 9px;
  display:none;
}

/* tables */
.ftable {
  margin-top: 5px;
  border-bottom: 3px solid #bbbfa1;
  border-collapse: collapse;
  width: 100%;
/* ie5-5.5 don't inherit the font style properly */
  font-size: 11px;
}
.ftable th {
  background: #bbbfa1;
  text-align: left;
}
.ftable th, .ftable td {
  padding: 3px 5px;
}
.ftablecol {
  border-right: 1px solid #bbbfa1;
}

/* sub headings */
#content h3 {
  margin: 25px 0px 15px 0px;
  padding: 5px 0px 0px 0px;
  border-bottom: 1px dotted #bbbfa1;
}
#content h3.noseparator {
  border-bottom: none;
}

/* lists */
#content ul {
  margin: 10px 0px 0px 0px;
  padding:0px;
  font-size: 12px;
  list-style:none;
}

#content ul li {
 margin-top:0px;
 padding-left: 20px;
 background:transparent url(/images/green_rectangle13.gif) top left no-repeat;

}


#content ul li.nobullet {
 padding-left: 20px;
 background:transparent;
 list-style:none;
 color:#333;
 font-size:12px;
}
#content ol li {
 padding-left: 0px;
 background:transparent;
 list-style-type: decimal;
 font-size:12px;
 color:#333;
}

#content ul.categories {
  margin: 0px;
}

/* forms */
.row {
  margin-bottom: 1px;
  padding: 4px;
}
.row label.name {
  padding-right: 5px;
  width: 25%;
  float: left;
}
.row label.name span {
  color: #8c3030;
}
.row .value.wrappedtext {
  margin-left: 25%;
  padding-left: 5px;
}
/* hack for ie 5.5 text/textarea resizing */
.row .value input.text, .row .value input.password, .row .value textarea {
  width: expression(this.parentNode.offsetWidth * 0.74 + 'px');
}
/* the previous style causes problems with long sidebars in ie6 */
.row .value input.text, .row .value input.password, .row .value textarea {
  w\idth: 72%;
}
.row .value input.text.shorttext {
  width: 100px;
}
.row.required {
/*  background: #e2e1eb;*/
}
.row.invalid {
  color: #8c3030;
  background: #eedddd;
  font-weight: bold;
}
.formsubmit {
  margin-top: 10px;
  text-align: right;
}

/* generic messages */
.errormessage {
  color: #8c3030;
  font-weight: bold;
}
.infomessage {
  color: #3a5841;
  font-weight: bold;
}

/* treecats */
#content .treecats-selection-summary ul, #content .treecats-selection ul {
  margin: 0px;
}
.treecats-selection-summary li a, .treecats-selection li a {
  margin-top: 2px;
  margin-left: 5px;
}
.treecats-selection-summary a, .treecats-selection a {
  font-size: 9px;
}
.treecats-selection-summary a:visited, .treecats-selection a:visited {
  color: #212126;
}
.treecats-selection-current {
  font-weight: bold;
}
.treecats-category-info img {
  border: 0px;
  padding: 2px;
  vertical-align: middle;
}
.treecats-children {
  padding-left: 15px;
}
.treecats-selected span, li.treecats-selected {
  font-weight: bold;
}
.treecats-category a:link, .treecats-category a:visited {
  color: #212126;
  text-decoration: none;
}
.treecats-category a:hover {
  text-decoration: underline;
}
#content ul.treecats-links {
  padding-left: 15px;
  margin: 0px;
}
.treecats-links li {
  line-height: 1.25em;
  list-style: circle;
}

/* search highlighting */
.searchhl-1, .searchhl-2, .searchhl-3, .searchhl-4, .searchhl-5 {
  font-weight: bold;
}
.searchhl-1 {
  background: #ffff80;
}
.searchhl-2 {
  background: #aaaaff;
}
.searchhl-3 {
  background: #aaffaa;
}
.searchhl-4 {
  background: #ffaaaa;
}
.searchhl-5 {
  background: #aaffff;
}

/* indent */
.indent1 {
  margin-left: 20px;
}
.indent2 {
  margin-left: 40px;
}
.indent3 {
  margin-left: 60px;
}
.indent4 {
  margin-left: 80px;
}
.indent5 {
  margin-left: 100px;
}

.hide {
  display: none;
}

.clear:after {
  height: 0px;
  clear: both;
  display: block;
  visibility: hidden;
  content: ".";
}
.clear {
  display: inline-block;
}
/* start non ie/mac css \*/
* html .clear {
  height: 1%;
}
.clear {
  display: block;
}
/* end non ie/mac css */

/*---------------*\
|* page specific *|
\*---------------*/
#bookmark_list input.checkbox {
  float: left;
}
#bookmark_list .folders .description, #bookmark_folder_view .folders .description {
  margin: 0px 0px 10px 20px;
}
.bookmark_link .comments label {
  font-weight: bold;
}
.bookmark_link .comments label span {
  font-weight: normal;
}

#subcategories {
  margin-top:15px;

}

.subcategoryrow {
 margin-bottom:20px;
}

.subcategory {
  margin-bottom:20px;
}


#subcategories .subcategory {
   float:left;
   width:125px;
}


#category dl, #home dl {
  margin: 10px 0px 0px 0px;
  width: 49%;
  float: left;
}
#category dt a {
  font-weight: bold;
  font-size: 12px;
}
#category dt, #category dd, #home dt, #home dd {
  margin: 0px 0px 0px 20px;
}
#category dd, #home dd {
  padding-bottom: 10px;
}

#detailed p.description {
  overflow: hidden;
}
/* ie needs a width for overflow: hidden to work */
* html #detailed p.description {
  width: 100%;
}
#detailed p.linknav {
  margin: 0px;
  text-align: right;
}
#detailed p.linknav img {
  vertical-align: middle;
}
#detailed p.linknav a {
  text-decoration: none;
}
#detailed p.reviewsfooter {
  margin: 20px 0px 0px 0px;
  text-align: right;
}
/* #detailed p.actions a, #detailed p.actions a:hover => see .linklisting p.linkactions a */

#home dt a {
  font-weight: bold;
  font-size: 13px;
}
#home #content h4 {
  margin-top: 20px;
  font-weight: normal;
  font-size: 14px;
}
/* #home dl, #home dt, #home dd, #home dd => see #category dl */

#jump_frame .jumpwrapper {
  height: 40px;
}
#jump_frame img.jumplogo {
  padding: 2px 0px 0px 2px;
  float: left;
}
#jump_frame h4 {
  margin: 0px;
  padding: 3px 0px;
}
/* #jump_frame .actions a, #jump_frame .actions a:hover => see .linklisting p.actions a */

#modify_select input.radio {
  float: left;
}

#search .searchoption {
  margin-top: 10px;
  padding-top: 5px;
  border-top: 1px dotted #bbbfa1;
}


table.fengshui {
 border:1px solid #666;
 width:95%;
 border-collapse:collapse;
 margin-left:20px;
 background:#fff;
}
table.fengshui td {
 border:1px solid #666;
 width:20%;
 padding-left:5px;
}
table.fengshui td img {
 margin-right:5px;
 vertical-align:middle;
}

#archives {
  margin-top:15px;
}
