@font-face {
	font-family: "TF2 Build";
	src: local("TF2 Build"), url('fonts/TF2Build.ttf');
}


html, body {
	margin: 0;
	padding: 0;
	background-color: #2A2725;
	color: #EBE2CA;	
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
}

a:link, a:visited, a:hover, a:active {
	text-decoration: none;
	color: #c94f39;
}

a img {
	border:none;
}

hr {
	background-image:url('images/rule-dot');
	background-repeat:repeat-x;
	height:9px;
	border:0;
	padding:0;
	margin:10px 0;
}

h2 {
	color: #ece3cb;
}

.clear {
	clear: both;
}

.debug {
	font-family:"Courier New", Courier, monospace;
	color: #0F0;
	background: #000;
	max-width:100%;
}

.debug .one {
	background: #0F0;
	color: #000;	
}

/* BEGIN Header */
#header {
    height: 70px;
    padding: 20px 30px 20px 20px;
    background-color: #2b2724;
    border-bottom: 4px solid #766860;
    background-image: url('images/bg_header.jpg');
    background-repeat: repeat-x;
	margin-bottom: 20px;
	position:relative;
}

#avatar-box {
	background-repeat:no-repeat;
	background-position: center center;
	float: left;
}

#title {
	float: left;
}

#title h1 {
	margin: 0;
	color:#c8bba2;
	font-family: "TF2 Build";
}

#title h2 {
	margin-top: 0;
	font-size: 28px;
}

ul#languages {
	float: right;
	margin:20px 25px 0 0;
	position:absolute;
	right:0;
	top:0;
}

ul#languages li{
	list-style: none;
	display:inline-block;
}

ul#menu {
	float: right;
	margin:0 20px 0 0;
	position:absolute;
	right:0;
	bottom:0;
}

ul#menu li{
	background-color: #2A2725;
	
	font-family: "TF2 Build";
	font-size: 20px;
	
	list-style: none;
	display:inline-block;
	
	padding: 10px;
	margin-left: 5px;
	
    border: 4px solid #766860;
    border-bottom: 0;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
}

ul#menu li a{
	color:#c8bba2;
}

/* END Header */

/* BEGIN Wrapper */
#wrapper {
	margin-left: 10px;
}	
/* END Wrapper */

/* BEGIN Backpack Stuff */
.backpack {
	width: 986px;
	padding: 0;
}

.page {
	clear: both;
}

.invalid-items {
}
/* END Backpack Stuff */

/* BEGIN Item Stuff */
.item {
	position: relative;
	float: left;
	margin: 0px;
	background-position: center center;
	overflow: visible;

	width: 92px;
	height: 73px;
	margin-left: 4px;
	margin-right: 2px;
	margin-bottom: 6px;
	background-image: url('images/cell.png');
	background-repeat: no-repeat;
	background-position: 0 0;
}

.item:hover {
	background-position: 0 -73px;
}

.item-overlay {
	position:absolute;
	padding-left:5px;
	padding-top:1px;
	min-width:4.5em;
	height:1.4em;
	font-family:arial, helvetica, sans-serif;
	color:#c94f39;
	font-size:11px;
	top:49px;
	right:5px;
	background:black;
	text-align:left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	z-index:3;	
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;
	cursor:inherit;	
}

.item img {
	position:absolute;
	top: -8px;
	left: 2px;
	width: 87px;
	height: 87px;
}
/* END Item Stuff */

/* BEGIN Item Info */
.item-info {
	display:none;
	padding: 20px;
	background-color: #000000;
	position: absolute;
	z-index: 9999;
	text-align: center;
	width: 250px;
	-moz-border-radius: 10px;
	-moz-box-shadow: 0px 0px 22px black;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: 0px 0px 16px black;
}

.item-name {
	font-weight:bold;
	color: #B2B2B2;
}

.item-title {
	color: #766b5e;
}

.class-icons {
	margin: 5px 0;
}

.class-icons img {
	width: 24px;
	height: 24px;
}

.class-icons .disabled {
	opacity:0.25;
}

/* END Item Info */

/* BEGIN Qualities */
.item.quality-unique {
	background-image: url('images/cell-yellow.png');
}

.item.quality-vintage {
	background-image: url('images/cell-blue.png');
}

.quality-unique .item-name {
	color: #FFD800;	
}

.quality-vintage .item-name {
	color: #476291;	
}

.quality-community .item-name {
	color: #70B04A;	
}

.quality-developer .item-name {
	color: #A50F79;	
}

.quality-unusual .item-name {
	color: #874FAD;	
}


/* END Qualities */

/* BEGIN Attributes */
.attribute-positive {
	color: #99CCFF;	
}

.attribute-neutral {
	color: #EBE2CA;	
}

.attribute-negative {
	color: #FF4040;	
}
/* END Attributes */

/* BEGIN Pagination */
.navigation {
	position: relative;
	float: right;
	margin: 0px;
	margin-top: 12px;
}

.navigation-button {
	background: url('images/square-buttons.png');
	background-repeat: no-repeat;
	width: 43px;
	height: 43px;
	display:inline-block;
	cursor:pointer;	
}

.navigation-button#prev{
	background-position: 0 0;	
}

.navigation-button#prev:hover{
	background-position: 0 -43px;
}

.navigation-button#prev.disabled{
	cursor:inherit;	
	background-position: 0 -86px;
}

.navigation-button#next{
	background-position: -43px 0;
}

.navigation-button#next:hover{
	background-position: -43px -43px;
}

.navigation-button#next.disabled{
	cursor:inherit;	
	background-position: -43px -86px;
}

.navigation-page {
	background: url('images/page-number.png');
	background-repeat: none;
	width: 88px;
	height: 43px;
	display:inline-block;
}
/* END Pagination */

/* BEGIN Pagination */
#bottom {
	font-size:12px;
	color:#847668;
}

#bottom p {
	margin: 1px;	
}
/* END Attributes */

