/* defaults */
* {
	margin:0;
	padding:0;
}

html {
	font-size:100%;
}

body {
	background:url(../img/backgrounds/main.png) repeat-x fixed #FFF;
	color:#000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:70%;
	line-height:1.5em;
	margin:10px 0;
	text-align:center;
}

#wrapper {
	background:#FFF;
	border:1px solid #CCC;
	margin:0 auto;
	text-align:left;
	width:768px;
}

/* headings, links, etc */

h1, h2, h3, h4, p, ul, ol, fieldset, dt, dd {
	margin-bottom:0.5em;
}

h1, h2, h3, h4, dt {
	color:#69F;
}

h1 {
	font-size:2em;
}

h2 {
	font-size:1.8em;
}

h3 {
	font-size:1.6em;
}

h4 {
	font-size:1.4em;
}

dt {
	cursor:pointer;
	font-size:1.2em;
	font-weight:bold;
}

a:link {
	color:#36C;
}

a:visited {
	color:#96C;
}

a:hover {
	color:#69F;
}

a img {
	border:0;
}

/* messages */

div.error {
	background:url(../img/icons/exclamation.png) no-repeat 5px 5px #FFF5F5;
	border:1px dotted #F33;
	color:#F33;
	margin-bottom:0.5em;
	padding:0.5em 0.5em 0 26px;
}

div.error ul {
	padding-top:0;
}

div.success {
	background:url(../img/icons/accept.png) no-repeat 5px 5px #F8FFF5;
	border:1px dotted #093;
	color:#093;
	margin-bottom:0.5em;
	padding:0.5em 0.5em 0 26px;
}

div.info {
	background:url(../img/icons/information.png) no-repeat 5px 5px #F5FAFF;
	border:1px dotted #06C;
	color:#000;
	margin-bottom:0.5em;
	padding:0.5em 0.5em 0 26px;
}

div.tip {
	background:url(../img/icons/lightbulb.png) no-repeat 5px 5px #FFFCF0;
	border:1px dotted #FC0;
	color:#000;
	margin-bottom:0.5em;
	padding:0.5em 0.5em 0 26px;
}

/* lists */

ul, ol {
	margin-left:1em;
	padding:0.5em;
}

/* forms */

form fieldset {
	border:1px dotted #BBB;
	clear:both;
}

form fieldset legend {
	background:#FFF;
	font-weight:bold;
	margin-left:1em;
	padding:0 0.5em;
}

form p {
	padding:0.5em 0;
}

form p.normal {
	padding:0 1em;
}

form label {
	float:left;
	width:13em;
	margin-right:1em;
	padding-top:0.1em;
	text-align:right;
}

form label em {
	color:#FF0000;
	font-style:normal;
}

form select#birthday {
	width:3em;
}

form select#birthmonth {
	width:8em;
}

form select#birthyear {
	width:5em;
}

form textarea {
	height:6em;
	width:30em;
}

form input {
	width:20em;
}

form input.auto {
	width:auto;
}

/* header */

#header {
	border-bottom:1px dotted #CCC;
	padding:0.5em;
	position:relative;
}

#header img {
	height:40px;
	width:160px;
}

#header #nav {
	position:absolute;
	right:0.5em;
	top:1.75em;
}

#header #nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
	float:left;
}

#header #nav ul li {
	float:left;
}

#header #nav ul li a {
	background:url(../img/backgrounds/nav.png) repeat-x #9CF;
	border-right:1px solid #FFF;
	color:#FFF;
	float:left;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	width:7em;
}

#header #nav ul li a:hover {
	background:url(../img/backgrounds/nav-over.png) repeat-x #39F;
	text-decoration:underline;
}

/* sub nav */

#subnav {
	background:url(../img/backgrounds/subnav-bar.png) repeat-x #EEE;
	border-bottom:1px dotted #ccc;
	height:16px;
	padding:4px;
}

#subnav a {
	color:#000;
}

#subnav a:hover {
	color:#999999;
}

#subnav a.dashboard {
	background:url(../img/icons/comment.png) no-repeat 0 50%;
	padding-left:18px;
}

#subnav a.favs {
	background:url(../img/icons/star.png) no-repeat 0 50%;
	padding-left:18px;
}

#subnav a.friends {
	background:url(../img/icons/user.png) no-repeat 0 50%;
	padding-left:18px;
}

#subnav a.sources {
	background:url(../img/icons/world_edit.png) no-repeat 0 50%;
	padding-left:18px;
}

#subnav a.viewprofile {
	background:url(../img/icons/user_go.png) no-repeat 0 50%;
	padding-left:18px;
}

#subnav a.editprofile {
	background:url(../img/icons/user_edit.png) no-repeat 0 50%;
	padding-left:18px;
}

/* footer */

#footer {
	border-top:1px dotted #CCC;
	clear:both;
	position:relative;
}

#footer p {
	margin:0;
	padding:0.5em;
}

#footer #feedback {
	position:absolute;
	right:0;
	top:0;
}

/* main */

#main {
	padding:1em;
}

/* life stream */

div.item {
	clear:both;
}

div.when {
	float:left;
	width:120px;
}

div.when p {
	text-align:center;
	width:88px;
}


div.what {
	margin-left:120px;
}

div.badge {
	border:1px solid #CCC;
	height:58px;
	line-height:0;
	margin:0 0 8px 20px;
	padding:4px;
	width:38px;
}

div.badge img.user {
	margin-bottom:4px;
}

div.badge img.fav {

}

div.badge img.source {
	margin-left:4px;
}

p.pageNav {
	clear:both;
}

img.thumb {
	border:1px solid #6699FF;
}

/* profile */

body#profile #main #info p span, .friendslistbox p span {
	float:left;
	font-weight:bold;
	width:8em;
	margin-right:1em;
	text-align:right;
}

body#profile #main #info p.about {
	margin-left:9em;
}

body#profile #main #info p.about span {
	margin-left:-9em;
}

#main p.avatar {
	float:right;
	margin:0 0 1em 1em;
}

#main p.avatar img, img.avatar {
	border:1px solid #CCC;
}

#main p.avatar a img, a img.avatar {
	border:1px solid #6699FF;
}

#main p.mini {
	float:left;
	margin:0 0.5em 0.5em 0;
	position:relative;
}

#main p.avatar a.remove {
	bottom:2px;
	display:block;
	position:absolute;
	right:2px;
}

#main p.avatar a.remove img {
	border:0;
}

/* friends list */

.friendslistbox {
	border:1px solid #CCC;
	height:72px;
	margin-bottom:5px;
	padding:4px;
	width:500px;
}

.friendslistbox img.pic {
	float:right;
}

.friendslistbox h4 {
	font-size:1.2em;
}

/* home page */
body#home .leftCol {
	float:left;
	width:520px;
}

body#home .rightCol {
	float:right;
	width:200px;
}

body#home form.home fieldset {
	padding:0.5em;
}

body#home form.home label {
	float:none;
	font-weight:bold;
	margin:0;
	padding:0;
	text-align:left;
	width:auto;
}

body#home form.home input {
	width:150px;
}

body#home form.home input.auto {
	width:auto;
}

/* friends deny and approve */
a.approve {
	color:#093;
}

a.deny {
	color:#F33;
}

/* misc */

.clear {
	clear:both;
}

.center {
	text-align:center;
}

p.optionalText {
	padding-bottom:0;
}

#player {
	margin:0 auto;
	text-align:center;
}

.filter {
	float:left;
	margin-right:3px;
	padding:2px;
	text-align:center;
}

.filter label {
	float:none;
	margin-right:0;
	padding-top:0;
	text-align:center;
	width:auto;
}

.filter input {
	width:auto;
}

#filterbutton {
	margin-top:10px;
}

form.contactUser label {
	width:6em;
}