/* top elements */
* {
	margin: 0; padding: 0;
} 
body {
	margin: 0px; padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background: url(../images/headerbg-blue.gif) repeat-x;
	color: #666666;
	text-align: center;
}

/* links */
a {
	background: inherit;
	color: #3182C0; 
}
a:hover {
	background: inherit;
	color: #72A545;
}

/* headers */
h1, h2, h3, h4 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	text-transform: uppercase;
	color: #555;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; text-transform: none;}
h4 { font-size: 1.1em; text-transform: none;}

#main h1, #rightbar h1 {
	padding: 0px 0px 5px 0px;
	margin: 0px;
	text-transform: uppercase;
	border-bottom: 1px solid #f2f2f2;
}	
#sidebar h1 {
	padding: 0px 0px 5px 30px;
	margin: 0px;
	background: url(../images/square_arrow.gif) no-repeat 2px 2px;
	text-transform: uppercase;	
}

/* LAF:removed p from here */
h1, h2, h3, h4 {
	margin-bottom: 10px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #3182C0;	
}
ul span, ol span {
	color: #666666;
}

/* images */
img {
	border: 2px solid #CCC;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 3px solid #3182C0;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(../images/quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #3182C0;  
	font-weight: bold; 
}

/* form elements */
/* LAF: added padding, display */
form {
	margin: 0px; 
	padding: 15px;
	width: 438px; /* inner part of #main - form border - padding */
	border: 1px solid #f2f2f2;
	background-color: #FAFAFA;
	clear: both;
	display: block;
}
label {
	display:block;
	font-weight:bold;
	margin-bottom: 5px;
}
input {
	padding: 4px;
	border:1px solid #eee;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
select {
	border:1px solid #eee;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
textarea {
	width: 100%;
	padding: 0px;
	margin: 0px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border: 1px solid #eee;
	height: 100px;
	display: block;
	color: #777;
}
input.button {
	margin: 0px;
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 3px 3px 2px 3px;
	color: #333;
}

a.button {
	text-decoration: none;
	font-weight: bold;
	display: inline;
	border: 1px solid silver;
	background: white;
	position: relative;
	bottom: 3px;
	padding: 4px 3px 3px 3px;
}

/* search form */
form#simple_search {
	position: absolute;
	top: 5px; 
	right: 1px;	
	background: transparent;
	margin: 0; 
	padding: 0;
	width: auto;
	border: none;
}
form#simple_search input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #CCC;
	background: #FFF;
	color: #333; 
	vertical-align: top;
}
form#simple_search input.button {
	width: 55px;
	margin: 0px;
}

/*****************/
/*    Layout     */
/*****************/
div.wrap {
	margin: 0 auto;
	width: 850px;
	text-align: left;
	background: #FFF;
}
#content-wrap {
	clear: both;
	margin: 0px;
	padding: 0px;
	width: 850px;
}

/* header */
#header {
	position: relative;
	background: url(../images/headerbg-blue.gif) repeat-x;
	height: 84px;
}
#header h1#logo {
	position: absolute;
	margin: 0; 
	padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #CCC;
	text-transform: lowercase;
	/* change the values of top and Left to adjust the position of the logo*/
	top: 0; left: 5px;	
}
#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	/* change the values of top and Left to adjust the position of the slogan*/
	top: 48px; left:65px;		
}

/* main column */
#main {
	float: left;
	margin: 0px;
	padding: 15px;
	width: 470px;	/* 54% = 500 - padding */
	overflow: hidden;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
	border: 1px solid #f2f2f2;
}
.post-footer .date {
	background: url(../images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(../images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(../images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sideabar */
#sidebar {
	float: left;
	width: 159px; /* 21% - padding and border */
	padding: 15px 15px 15px 0px;
	margin: 0px;
	display: inline;
	border-right: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}
#sidebar ul.sidemenu li {
	border-bottom: 1px solid #EFF0F1;
	background: url(../images/arrow.gif) no-repeat 2px 5px;
	padding: 2px 5px 2px 20px;	
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
	font-weight: bold;
	background-image: none;
	text-decoration: none;	
}

/* rightbar */
#rightbar {
	float: right;
	clear: right;
	width: 175px; /* 21% */
	padding: 15px 0px;
	margin: 0px;
}

/* footer */
#footer {
	clear: both;
	background: #FFF url(../images/footerbg.gif) repeat-x left top;
	border-top: 1px solid #F2F2F2;
	text-align: center;	
	height: 50px;	
}
#footer a {
	text-decoration: none;
	font-weight: bold;
}

/* topic menu */
ul#topicmenu {	
	margin: 0;
	padding: 0;
	width: 100%;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	border: none;
	list-style: none;
	background: #3182C0;
}
ul#topicmenu li {
	display: inline;
}
ul#topicmenu li a {	
	color: white;
	display: inline;
	padding: 0px 10px;
	margin: 0px;
	text-decoration: none;
}
ul#topicmenu li.on, ul#topicmenu li a:hover, ul#topicmenu li.on a {
	color: #3182C0;
	background-color: white;
	margin: 0px;
}

/* menu */
#menu {
	clear: both;
	margin: 0; padding: 0;	
}
#menu ul {	
	position: relative; 
	bottom: 4px;
	margin: 0; padding: 0;	
	float: left;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	width: 850px;/* 775px; */
	border: 1px solid #808080;
	border-width: 0 0 4px 0;	
	list-style: none;
}
#menu ul li{
	display: inline;	
}
#menu ul li a {	
	position: relative; bottom: -4px;
	float: left;
	color: #808080;
	padding: 0px 10px;
	text-decoration: none;
	background: white url(../images/menudivide.gif) repeat-y right top; 
	border-bottom: 4px solid #808080; 	
}
#menu ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #3791D7;
}
#menu ul li#current a{
	color: #333;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #3791D7;
}

#subnav {
	position: relative;
	left: 10px;
}
#subnav a {
	text-decoration: none;
	font-weight: bold;
}

/* tabs - should be placed above a form */
#tabs {
	clear: both;
	margin: 0;
	padding: 0;
	width: 470px;
}
#tabs ul {
	position: relative;
	bottom: -1px;
	margin: 0;
	padding: 0;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	width: auto;
	border: 0px;
	list-style: none;
}
#tabs ul li{
	display: inline;	
}
#tabs ul li a {	
	position: relative;
	bottom: -1px;
	float: left;
	color: #808080;
	padding: 0px 10px;
	text-decoration: none;
	background: white;
	border: 1px solid #f2f2f2;
}
#tabs ul li a:hover{
	color: black;
	background-color: #FAFAFA; 
	border-bottom: 1px solid #FAFAFA;
}
#tabs ul li.on a{
	color: #333;
	background-color: #FAFAFA; 
	border-bottom: 1px solid #FAFAFA;
}

/* Alignment classes */
.float-left   { float: left;}
.float-right  { float: right; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center;	}
.align-justify { text-align: justify; }

/* display classes */
.clear { clear: both; }
.block { display: block; }
.hide  { display: none; }	
.highlight {	color: #3791D7; }




/* added by me */
form label.checkbox {
	display:inline;
}
input.checkbox {
	position: relative;
	top: 3px;
}

#login_form {
	margin: 0px;
	width: 144px; /* sidbar inner width - padding and border */
}
#login_form a {
	font-weight: bold;
	text-decoration: none;
}
#login_form a:visited {
	font-weight: bold;
}
.error {
	color: red;
	font-weight: bold;
}
.success {
	color: green;
	font-weight: bold;
}
.vote {
	width: 45px;
	vertical-align: top;
	text-align: center;
}
.vote a {
	text-decoration: none;
}
.vote img {
	border: none;
	position: relative;
	top: 3px;
}
.item {
	border: 1px solid #f2f2f2;
	background-color: #FAFAFA;
}
.item span.title {
	color: #000000;
}
.item a {
	text-decoration: none;
	font-weight: bold;
}
.item p {
	margin: 4px 0px 4px 0px;
}
.utils a {
	font-weight: normal;
}
a.on, a:hover.on {
	color: black;
}
.found {	background-color: yellow; }
#rightbar p { margin: 0px; }
#rightbar label { margin: 0px; }
#rightbar h1 { margin-left: 0px; padding: 0px; }
#rightbar h2 { margin-left: 0px; padding: 0px; }
#rightbar h3 { margin-left: 0px; padding: 0px; }
#rightbar h4 { margin-left: 0px; padding: 0px; }
td {
	vertical-align: top; 
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
}
table { border-collapse: collapse; }
div#pagination {
	padding-left: 15px;
}
div#pagination#pagination a {
	text-decoration: none;
	font-weight: bold;
}
.cur_pagination {
	color:black;
}
#header h1#logo a {
	color: #CCC;
	text-decoration: none;
}
.standout {
	color: #660000;
}
form#sell select { width: 202px; }

div.images {
	margin: 0px; 
	padding: 0px;
	width: 458px; /* inner part of #main - form border - padding */
	border: 1px solid #f2f2f2;
	background-color: #FAFAFA;
	clear: both;
	position: relative; 
}
div.images div {
	float: left;
	text-align: center;
	width: 146px;
	height: 146px;
	border: none;
}