body {
	margin: 0px;
	padding: 0px 5px 10px;
	color: #33332e;
	background: #D7EBFF url(/images/bg.gif) repeat-x left top;
	font: normal 76% tahoma, geneva, verdana, sans-serif;
	text-align: center;
}
img {
  border: 0px;
}
form {
	margin: 20px 0px;
}

a, #crumb  a, #category dt a {
	color: #06C;
}
a:visited {
	color: #669;
}
a:hover, #content a:hover {
	color: #C30;
}
h1 {
	font-size: 1.7em;
}
h2 {
	font-size: 2.2em;
	margin: 0 200px 0 0;
	padding: 0 0 8px;
	text-transform: capitalize;
	line-height: 1em;
	font-style: italic;
}
h3 {
	font-size: 1.4em;
	font-weight: bold;
	color: #648802;
	margin: 6px 0 2px;
	line-height: 1em;
	font-style: italic;
	clear: both;
}
h4 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 4px 0px;
}
h5 {
	font-weight: normal;
	font-size: 0.9em;
}

/* general classes */

.hsmall {
	font-weight: normal;
	font-size: 0.4em;
	vertical-align: middle;
}
.clear {
	clear: both;
}
#rules li {
	list-style: square;
	margin: 10px 0px;
	font-size: 1.1em;
}
#rules p {
	list-style: square;
	margin: 10px 0px;
	font-size: 1.1em;
}
#content  #rules ul {
	list-style: square;
	margin: 10px 0px 20px 20px;
}

/* wrappers */

#wrapper {
	font-size: 1em;
	margin: 0px auto;
	width: 770px;
	font-size: 1em;
	text-align: left;
}
#contentwrapper {
	float: right;
	width: 600px;
	background: #FFF url(/images/wrapper-bg-repeat.gif) repeat-y left top;
}
#navwrapper {
	padding: 0 3px;
	background: url(/images/wrapper-bg.gif) repeat-y left top;
	width: 594px;
	float: left;
}
#content {
	padding: 0px 20px 20px;
	clear: both;
	line-height: 1.4em;
}
#footer {
	padding: 10px 0 15px;
	text-align: center;
	font-size: 0.9em;
	color: #666;
	margin: 0px;
	background: url(/images/wrapper-bg.gif) no-repeat left bottom;
	clear: both;
}
#footer a {
	color: #666;
	text-decoration: none;
}

/* header and logo */

#header {
	background: transparent url(/images/logo.gif) no-repeat left top;
	padding-bottom: 14px;
	float: left;
	width: 100%;
}
#header h1, #header a {
	margin: 0px;
	width: 280px;
	height: 54px;
}
#header h1 {
	text-indent: -9999px;
}
#header a {
  text-decoration: none;
  display: block;
}
#header h2 {
	font-size: 17px;
	color: #C30;
	font-weight: bold;
	font-style: italic;
	padding: 0 0 0 38px;
	letter-spacing: -1px;
	margin: 0px;
	text-transform: lowercase;
}

/* primary and secondary navigation */

ul.primarynav, ul.secondarynav {
	background: #CBDC9A;
	width: 100%;
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	border-bottom: 1px solid #3F3F3F;
	clear: both;
}
.primarynav {
	background: #5C5B66 url(/images/tab-grey-bg.gif) repeat-x left top;
	margin: 10px 0 0;
	border-top: 1px solid #3F3F3F;
	clear: both;
}
ul.primarynav li, ul.secondarynav li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.primarynav li {
	background: #383741 url(/images/tab-grey.gif) repeat-x left top;
	border-right: 1px solid #FFF;
}
ul.primarynav a, ul.secondarynav a {
	padding: 7px 10px;
	float: left;
	display: block;
	color: #FFF;
}
ul.primarynav a {
	font-weight: bold;
	text-decoration: none;
}
ul.primarynav a:visited {
  color: #FFF;
}
ul.primarynav a:hover {
	color: #FFF;
	background: #383741;
}
body#directory-page  #nav-home, body#new-page #nav-new, body#top20-page #nav-top20, body#pop-page #nav-pop, body#gallery-page #nav-galleries, body#bookmarks-page #nav-bookmarks, body#newsletter-page #nav-news {
		background: transparent url(/images/tab-green.gif) repeat-x left top;
}
ul.secondarynav a {
	color: #333;
	font-size: 0.9em;
}
ul.secondarynav a:visited {
	color: #333;
}

ul.secondarynav a:hover {
	color: #CC3300;
}

/* searchbar */

#searchbar {
	float: right;
	width: 340px;
	padding: 22px 0 0;
	text-align: right;
}

#searchbar form {
	padding: 0;
	margin: 0px;
}.

#searchbar #searchbox {
	border: 2px solid #789F03;
}
#searchbar label {
	color: #648802;
	vertical-align: middle;
	font-weight: bold;
	font-style: italic;
	font-size: 1.4em;
	padding-right: 4px;
}
#searchbar input {
	vertical-align: middle;
}
#searchbar a {
	margin: 0 0 0 15px;
	padding: 2px 0 2px 22px;
	display: inline;
	text-decoration: underline;
	color: #516F02;
	background: url(/images/icon-add.gif) no-repeat left center;
	line-height: 1.3px;
}
#searchbar  a.contactus {
	background-image: url(/images/icon-mail.gif);
}
#searchbar a.login {
	background-image: url(/images/icon-login.gif);
}
#searchbar p {
	margin: 10px 0 0;
}

/* crumbs */

#crumb {
	text-transform: lowercase;
	margin: 0px;
	padding: 4px 0px;
	float: right;
	text-align: right;
}
#crumb span {
	font-weight: bold;
} 

/* descriptions and SEO */

#page-description {
	background: url(/images/quotes.gif) no-repeat left top;
	padding: 8px 0 0 12px;
	font-size: 1.1em;
	line-height: 1.2em;
}
#page-description p {
	margin: 0;
	background: url(/images/quotes.gif) no-repeat right bottom;
	padding: 0 12px 8px 0;
	text-align: center;
}
#page-description strong {
	font-weight: normal;
}

/* system errors and messages */

#contentheader {
	padding: 20px 0px;
}
#contentheader .error, #contentheader .message {
	margin: 0;
	padding: 6px 4px;
	color: #FFF;
	font-size: 1.3em;
	text-align: center;
}
#contentheader .error {
	background: #930;
}
#contentheader .message {
	background: #690;
}
#contentheader .error *, #contentheader .message * {
  margin: 0;
  padding: 0;
}

/* ad column and banners */

.banner  {
	margin: 10px 0px;
	padding: 5px;
	text-align: center;
}
#ad-column   {
	float: right;
	width: 150px;
	padding-top: 20px;
}
#ad-column  img, #ad-column  iframe  {
	padding: 2px;
	border: 3px solid #333;
	background: #FFF;
}
.banner iframe  {
	border: 1px solid #333;
}
#ad-column p  {
	margin: 0px 0px 10px;
}
#ad-column div  {
	margin: 0px 0px 40px;
}
#ad-column div.white  {
	background: #FFFFFF;
	padding: 6px;
	width: 112px;
	border: 3px solid #333333;
	font-size: 1em;
	line-height: 1.4em;
}
#ad-column h3  {
	margin: 0px 0px 6px;
	color: #004A95;
	font-size: 1.4em;
	font-style: italic;
}

/* links */

#premium div.linklisting   {
	line-height: 1.5em;
	border-style: none;
	background: #E6F2FF;
	margin: 0px;
	padding: 4px 0px;
}
#premium .linklisting h4 {
	line-height: 1.2em;
	padding: 0px 8px;
}
#premium .linklisting p {
	line-height: 1.2em;
	padding: 0px 8px;
	color: #003366;
}
#premium {
	margin-bottom: 25px;

}

div.linklisting   {
	margin: 12px 0px 0px;
	border-bottom: 1px dashed #CCC;
	line-height: 1.5em;
	padding: 0px 0px 12px;
	width: 100%;
}
.linklisting h4  {
	margin: 0;
	padding: 0px;
}
.linklisting p   {
	color: #333;
	margin: 2px 0px;
}
.linklisting .linkactions  {
	font-size: 0.9em;
	color: #666;
}
.linklisting .linkactions a  {
	color: #693;
}
.linklisting .wesay, #description .wesay   {
	background: #E0EFD1;
	color: #336600;
	padding: 1px 3px;
}
.linklisting .wesay a, #description .wesay a    {
	font-size: 0.8em;
	color: #336600;
	text-decoration: none;
}

/* link/bookmark status icons */
.new-item, .updated-item, .popular-item, .unpaid-item, .expired-item, .free-item, .bookmark-public, .bookmark-default {
	font-weight: normal;
	font-size: 9px;
	color: #333333;
	vertical-align: text-top;
}
.new-item {
	color: #CC3300;
}
.updated-item {
	color: #CC3300;
}
.popular-item {
	color: #0099FF;
}
.unpaid-item {
  background-color: #555555;
}
.expired-item {
  background-color: #92589c;
}
.free-item {
  background-color: #a7a87c;
}
.bookmark-public {
	color: #cc6613;
}
.bookmark-default {
	color: #7fb131;
}

/* paging */

#paging {
	text-align: center;
	font-size: 1.1em;
	margin: 0px;
	clear: both;
	line-height: 1.8em;
	padding: 10px;
}
#paging a {
	color: #06C;
	padding: 2px;
	margin: 0 3px;
}
#paging img {
	vertical-align: middle;
	border-style: none;
}
#paging span {
	border: 1px solid #F60;
	color: #F60;
	padding: 2px 3px;
	margin: 0 3px 0 5px;
}
#paging p {
	margin: 2px 0;
}

/* tables */
.ftable {
	border-bottom: 3px solid #B9D586;
	border-collapse: collapse;
	width: 100%;
  	font-size: 0.9em;
	margin: 5px 0px 20px;
}
.ftable th {
	background: #B9D586;
	text-align: left;
}
.ftable th, .ftable td {
  padding: 3px 5px;
}
.ftablecol {
	border-right: 1px solid #B9D586;
}
/* sub headings */
#content h3 {
	margin: 10px 0px 0px;
	padding: 2px 0px 0px;
}
#content h3.noseparator {
	border-bottom: none;
	margin-top: 10px;
}

/* lists */
#content ul {
	margin: 10px 0px 0px;
	padding: 0px 0px 0px 20px;
	font-size: 12px;
	list-style: none;
}
#content ul.categories {
  margin: 0px;
}

/* forms */
.row {
	padding: 4px 2%;
	width: 95%;
	clear: both;
	vertical-align: middle;
	background: #CBDC9A;
	margin: 0px 0px 1px;
	float: left;
}
.row label.searchoptions {
	float: none;
}
.row input {
	vertical-align: middle;
}
.row label {
	width: 24%;
	vertical-align: middle;
	float: left;
	padding: 6px 0;
	color: #4A581F;
}
.row.invalid {
  color: #8c3030;
  background: #eedddd;
  font-weight: bold;
}
.value {
	padding: 2px 0px;
	float: right;
	width: 74%;
}
.value p, .value ul {
	padding: 5px;
	background: #FFFFFF;
	margin: 0px;
}
.row .text {
	width: 95%;
}
.formsubmit {
	text-align: right;
	width: 99%;
	clear: both;
	padding-top: 10px;
}

/* 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;
}




/*---------------*\
|* page specific *|
\*---------------*/
#bookmarks-page input.checkbox {
  float: left;
}
#bookmarks-page .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;
}
#category  dl   {
	margin: 10px 0px 25px;
	width: 24%;
	float: left;
}
#category dt a {
	font-weight: bold;
	font-size: 1.3em;
}
#category  dt, #category  dd     {
	margin: 2px 0px 8px;
}
#category  dd   {
	padding-bottom: 10px;
}
#description {
	font-size: 1.2em;
	line-height: 1.4em;
	color: #333333;
}
p.linknav {
	margin: 10px 0px;
	text-align: center;
	clear: both;
	padding: 10px;
}
p#info {
	color: #333333;
	font-size: 0.9em;
	line-height: 1.4em;
}
/* #home dl, #home dt, #home dd, #home dd => see #category dl */


#modify_select input.radio {
  float: left;
}

/* gallery specific */

#galleries img {
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}

#galleries .more {
	margin: 2px 0px 30px;
	clear: both;
	padding-right: 7px;
}
#galleries   li   a.gallery-pic:hover {
	background-color: #5B7D02;
}

#galleries li a.gallery-pic {
	background: #333333;
	padding: 1px;
	margin: 6px 5px 4px 0;
	text-align: center;
	display: block;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
	color: #FFFFFF;
}

ul#galleries {
	clear: both;
	width: 100%;
}

ul#galleries, #galleries li {
	margin: 0px;
	padding: 0px;
	float: left;
	list-style: none;
	background: none;
}
