/* main tags */
body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #91A6BE url(images/table_bg.gif) left top repeat-y;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px; 
	color: #303A43;
}

table, img { border: 0; }
form { display: inline; }
ul { margin-top: 0; margin-bottom: 0; }
label:hover { color: red; }

/* main table */
#wrapper {
	border: 0;
	padding: 0 5px;
	margin: 0;
	height: 100%;
	width: 990px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 980px;
}

/* header */
#header {
	width: 980px;
	height: 40px;
	background-image: url(images/logo_bg.gif);
}

/* search bar */
#search {
	float: right;
	padding-top: 15px;
	padding-right: 8px;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
}
#search input {
	margin: 0;
	padding: 0; 
	border: solid 1px #3F5772;
	background-color: #C7D2DE;
	color: #536578;
	vertical-align: middle;
}
#search input:hover {
	background-color: #CED8E3;
	border-color: #000;
}
#search input:focus {
	background-color: #E0E0E0;
	border-color: #000;
}
#search .input-text {
	width: 100px;
	height: 20px; /* for IE 5.x */
	voice-family: "\"}\""; 
	voice-family: inherit;
	height: 18px;
	font-size: 12px;
}
#search .input-submit {
	height: 18px;
	font-size: 11px;
}
* html #search .input-submit {
	height: 20px; /* for IE */
}
/* global navigation */
#location {
	background-image: url(images/loc_bg.gif);
	color: #E5EAF0;
	font-size: 11px;
	white-space: nowrap;
	font-weight: bold;
	padding: 4px 3px 0 3px;
	height: 22px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	height: 18px;
}
#location a, #location a:visited {
	color: #E5EAF0;
	text-decoration: none;
}
#location a:hover, #location a:active {
	color: #FFF;
	text-decoration: underline;
}
#location-navbar {
	float: left;
}
#location-contact {
	float: right;
}

h1.loc-navbar { 
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

/* navbar */
#navbar {
	float: left;
	width: 190px;
}

#navbar ul {
	padding: 0;
	margin: 0;
}

#navbar li {
	list-style: none;
	margin: 0;
	padding: 0;
}

* html #navbar li { display: inline; } /* IE 5.x bug fix */

#navbar li.spacer {
	display: block;
	width: 190px;
	height: 8px;
	background: url(images/nav_top.gif) left bottom no-repeat;
}

#navbar li a {
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
	text-decoration: none;
	background: url(images/nav_item.gif) top left;
	padding-left: 9px;
	padding-top: 4px;
	color: #3A4653;
	font-weight: normal;
	font-size: 11px;
	width: 190px;
	height: 22px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 181px;
	height: 18px;
}

#navbar li a:hover { 
	background-position: bottom left;
}

#navbar li.active a {
	background-image: url(images/nav_item_active.gif);
}

#navbar li.section a {
	background-image: url(images/nav_section.gif);
	padding-top: 5px;
	padding-left: 18px;
	height: 24px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 172px;
	height: 19px;
}

/* content */
#content {
	float: right;
	padding: 5px 5px 5px 0;
	/* border: solid 1px green; */
	width: 780px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 770px;
}

.column-left {
	width: 380px;
	float: left;
}

.column-right {
	float: right;
	padding-left: 4px;
	border-left: solid 2px #D4DEE8;
	width: 391px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 380px;
}

.text, .text2 {
	margin: 5px 0;
	text-align: left;
	color: #435262;
	font-size: 11px;
	border: solid 1px #4B6686;
	padding: 4px;
	background: #F0F0F0 url(images/bg_text.gif) top left repeat-x;
	width: 770px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 760px;
}
.text:hover, .text2:hover {
	border-color: #263648;
}

.text {
	clear: both;
}

.text2 {
	width: 380px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 370px;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

.text h1, .text2 h1, .text h3, .text2 h3, .text h4, .text2 h4 {
	color: #435262;
	margin: 3px;
	padding: 0;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
}
.text h1:hover, .text2 h1:hover {
	color: #263648;
}

.text a, .text2 a {
	color: #BB1515;
	text-decoration: none;
}

.text a:visited, .text2 a:visited {
	color: #650D0D;
}

.text a:hover, .text2 a:hover, .text a:active, .text2 a:active {
	color: #FF0000;
	text-decoration: underline;
}

.text-clear {
	width: 780px;
	clear: both;
}

/* forms for admin control panel. fuck IE because our admins use normal browsers */
.text-row {
	margin: 0;
	padding: 3px 5px;
	border-top: dotted 1px #000;
	width: 760px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 747px;
	border-left: solid 2px transparent;
	border-right: solid 1px transparent;
}
.text-row:hover {
	background-color: #F8F8F8;
	border-left: solid 2px red;
	border-right: solid 1px #374C63;
}
.text-row-noborder {
	border-top: none;
}
.text-row:first-child {
	border-top: none;
}
.text-row-clear {
	width: 760px;
	clear: both;
}
.text-row-text {
	width: 280px;
	float: left;
	padding-top: 3px;
}
.text-row-input {
	width: 450px;
	float: right;
	padding: 0 5px;
	border-left: solid 1px #CCC;
	vertical-align: middle;
}
.text-row:hover .text-row-input {
	border-color: #374C63;
}
.text-row-input input {
	margin: 0;
	padding: 0; 
}
.text-row-input input[type="text"], .text-row-input textarea, .text-row-input select {
	width: 457px;
	border: solid 1px #4B6686;
	background-color: #F0F0F0;
	color: #435262;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.text-row-input input[type="submit"] {
	border: solid 1px #4B6686;
	background-color: #F0F0F0;
	color: #435262;
	height: 20px;
}
.text-row-input textarea {
	height: 100px;
	margin: 0;
	padding: 0;
}
.text-row-input input[type="text"]:hover, .text-row-input textarea:hover, .text-row-input select:hover, .text-row-input input[type="submit"]:hover {
	border-color: #666;
	background-color: #F8F8F8;
}
.text-row-input input[type="text"]:focus, .text-row-input textarea:focus, .text-row-input select:focus, .text-row-input input[type="submit"]:focus {
	border-color: #000;
	background-color: #FFF;
	color: #000;
}
.text-row-input input[type="text"].admin-inline {
	width: 40px; 
	height: 14px; 
	text-align: right; 
	font-size: 10px;
}
.text-row-input input[type="submit"].admin-inline {
	width: 50px;
	height: 14px;
	font-size: 10px;
}
/* item */
.item {
	background: url(images/item_bg.gif) no-repeat top center;
	width: 380px;
	margin: 0;
	height: 195px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	margin: 4px 0;
	height: 187px;
}
.item-left {
	float: left;
}
.item-right {
	float: right;
}
.item-empty {
	width: 380px;
	height: 195px;
}
.item-title {
	text-align: center;
	padding: 10px 0 0 0;
	margin: 0;
	font-weight: bold;
	color: #E3EAF1;
	font-size: 11px;
	width: 380px;
	height: 30px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	height: 20px;
}
.item-title a {
	color: #E3EAF1;
	text-decoration: none;
}
.item-title a:visited {
	color: #D4DBE2;
	text-decoration: none;
}
.item-title a:hover, .item-title a:active {
	color: #FFF;
	text-decoration: underline;
}
.item-screenshot {
	float: left;
	padding: 4px 6px;
	width: 158px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 150px;
}
.item-data {
	float: right;
	width: 218px;
	font-size: 11px;
	color: #536578;
	padding-top: 3px;
}
.item-data a, .item-data a:visited {
	color: #536578;
	text-decoration: underline;
}
.item-data a:hover, .item-data a:active {
	color: #FF0000;
	text-decoration: none;
}
.item-links {
	clear: both;
	width: 380px;
	padding-top: 2px;
	color: #F0F0F0;
	text-align: center;
}
.item-links a, .item-links a:visited {
	text-decoration: none;
	font-weight: bold;
	color: #E8E8E8;
}
.item-links a:hover, .item-links a:active {
	text-decoration: underline;
	color: #FFF;
}
.item:hover .item-data {
	color: #354A62;
}
.item:hover .item-title, .item:hover .item-title a, .item:hover .item-title a:visited, .item:hover .item-links, .item:hover .item-links a, .item:hover .item-links a:visited {
	color: #FFF;
}
.item:hover .item-data a, .item:hover .item-data a:visited {
	color: #354A62;
}
.item:hover .item-data a:hover, .item:hover .item-data a:active {
	color: #FF0000;
}

/* rate */
div.rate {
	height: 170px;
	padding-top: 10px;
}

ul.rate {
	padding: 0;
	margin: 10px 0 0 140px;
}

ul.rate li {
	list-style: none;
	margin: 0;
	padding: 3px 0;
	text-align: left;
	font-size: 11px;
}

* html ul.rate li { display: block; } /* IE 5.x bug fix */

ul.rate li input {
	margin-right: 5px;
	height: 11px;
}

.rate-button {
	text-align: center;
	padding-top: 5px;
	padding-bottom: 10px;
}
.rate-button input {
	border: solid 1px #4B6686;
	background-color: #F0F0F0;
	color: #435262;
}
.rate-button input:hover {
	border-color: #666;
	background-color: #F8F8F8;
}
.rate-button input:focus, * html .rate-button input {
	border-color: #000;
	background-color: #FFF;
	color: #000;
}

/* votes */
div.votes {
	height: 170px;
	padding-top: 10px;
}

div.votes table {
	margin-top: 15px;
	margin-left: 5px;
	padding: 0;
	border: 0;
}

div.votes table td {
	padding-top: 5px;
	font-size: 10px;
}

.votes-text { 
	width: 95px; 
}
.votes-img { 
	width: 175px; 
	white-space: nowrap; 
}
.votes-text2 { 
	white-space: nowrap;
	width: 80px;
}

.votes-total {
	text-align: center;
	padding-top: 15px;
}

/* comments */
.comment {
	margin: 5px;
	padding: 0;
	border: solid 1px #C7D2DE;
	background-color: #F4F4F4;
	width: 760px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 748px;
}
.comment-about {
	padding: 4px;
	background-color: #F2F2F2;
	border-left: solid 2px #354A62;
	border-bottom: dashed 1px #E0E0E0; 
	font-size: 10px;
	font-style: italic;
	color: #000;
}
.comment-about h1, .comment-about h2, .comment-about h3 {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #000;
}
.comment-author, .comment-time {
	font-style: normal;
	font-weight: bolder;
	color: #435262;
}
.comment-id {
	color: #F2F2F2;
	float: right;
}
.comment-text {
	padding: 4px;
	font-size: 11px;
	color: #263648;
}
.comment-text:first-line {
	color: #000;
}
.comment-smilie:first-line {
	color: #263648;
}
.comment:hover {
	border-color: #8DA4BE;
	background-color: #FFF;
}
.comment:hover .comment-about {
	border-left-color: red;
	background-color: #F8F8F8;
}
.comment:hover .comment-id, * html .comment-id {
	color: #435262;
}
.add-comment {
	clear: both;
	padding: 3px 5px;
	border-top: dotted 1px #CCC;
	width: 760px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 750px;
}
.add-comment-username, .add-comment-message {
	width: 200px;
	float: left;
}
.add-comment-input, .add-comment-textarea {
	float: right;
	width: 500px;
}
.add-comment-button {
	padding-left: 250px;
}
.add-comment input, .add-comment textarea {
	border: solid 1px #4B6686;
	background-color: #F0F0F0;
	color: #435262;
}
.add-comment input:hover, .add-comment textarea:hover {
	border-color: #666;
	background-color: #F8F8F8;
}
.add-comment input:focus, .add-comment textarea:focus, * html .add-comment input, * html .add-comment textarea {
	border-color: #000;
	background-color: #FFF;
	color: #000;
}
.add-comment-input input {
	width: 498px;
	font-size: 11px;
}
.add-comment textarea {
	width: 498px;
	height: 100px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

/* smilies */
div.smilie {
	position: relative;
	padding: 3px 0;
	border-top: 1px dotted #C7D2DE;
}
* html div.smilie { border-top: 1px solid #C7D2DE; }
div.first-smilie {
	border-top: none;
}
* html div.first-smilie { border-top: none; }
span.smilie { 
	display: block;
	float: left;
	color: #FF0000;
}
.smilie-item { color: #FF0000; }
span.smilie-desc {
	display: block;
	margin-left: 40px;
}
