/*===== CSS RESET =====*/

/* Thanks to http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}


/*===== GENERAL =====*/

body {
font: 0.8em Helvetica, Arial, Sans-serif;
color: #303030;
background: #666666;
background-image: url('images/bg.gif');
background-repeat: repeat-y;
background-position: center;
}

a:link {
color: #ff9933;
text-decoration: none;
}

a:visited {
color: #ff9933;
text-decoration: none;
}

a:hover {
}

a:active {
}

img {
padding: 10px;
}

.userpic {
display: block;
margin: 0 auto 20px auto;
}

.friendpic {
margin: 0 auto;
}

p {
margin-bottom: 15px;
}

h1 {
font-weight: bold;
font-size: 1.7em;
font-variant: small-caps;
padding: 240px 0 0 20px;
}

h2 {
margin-bottom: 20px;
font-size: 1.9em;
font-weight: bold;
color: #0099ff;
}

h3 {
margin-bottom: 15px;
font-size: 1.4em;
font-weight: normal;
}

h4 {
margin-bottom: 10px;
margin-top: 10px;
font-size: 1.2em;
font-weight: bold;
color: #66ccff;
}

h4 a:link
{
color: #66ccff;
}
h4 a:visited
{
color: #66ccff;
}

strong {
font-weight: bold;
}

/*===== TOP LEVEL =====*/

#container
{
width: 800px;
margin: 0 auto;
margin-top: -10px;
background: #ff9933;
}

#header
{
height: 200px;
width: 800px;
margin: -150px 0 0 0;
background: url('images/banner.png');
background-repeat: no-repeat;
}

#content{
font-size: 0.9em;
line-height: 1.1em;
text-align: justify;
}

#maincontent {
float: right;
width: 545px;
padding: 25px 0 0 25px;
background: #ffffff;
min-height: 500px;
}

#sidebar {
float: left;
width: 200px;
height: 100%;
padding: 25px 15px;
background: #ff9933;
}
#sidebar a
{
color: #ffffff;
}
#sidebar a:hover
{
text-decoration: underline;
}
#sidebar h3
{
color: #ffffff;
font-size: 2em;
text-transform: lowercase;
}

#content a:hover,#subcontent a:hover
{
}

#content ul,#content ol
{
margin: 0 5px 16px 35px;
}

.mccomp {
margin-bottom: 10px;
padding: 20px;
border-bottom: 3px solid #BFBEB3;
height: 100%;
background: #ffffff;
}

.mccomp:after {
content: "";
display: block;
height: 0;
clear: both;
}

.sidebarcomp {
margin-bottom: 30px;
}

.friendbox {
float: left;
margin-right: 10px;
margin-bottom: 10px;
text-align: center;
width: 100px;
}

.viewall {
clear: both;
text-align: right;
padding: 10px 0;
float: right;

}

.updatefriendsbox {
width: 90px;
text-align: center;
float: right;
background: #EFEFEF;
padding: 5px;
margin: 0 0 10px 20px;
border: 1px solid #DFDFDF;
}

#loggedin {
width: 800px;
height: 100px;
color: #ffffff;
text-align: right;
padding: 10px;
font-size: 0.75em;
margin: 0 auto 10px auto;
background-image: none;
background-position: top center;
background-repeat: no-repeat;
}

#loggedin a {
color: #B5D6DF;
}


/*===== FOOTER =====*/


#footer{
clear: both;
width: 800px;
padding: 5px 0;
margin: 0;
font-size: 0.7em;
color: #768895;
background: #000000;
text-align: center;
}

#footer a
{
color: #AF4F12;
background-color: inherit;
font-weight: bold;
}

/*===== OTHERS =====*/

.clear
{
clear: both;
}

.small
{
font-size: 0.85em;
line-height: 1.4em;
}

.ital
{
font-style: italic;
}

.hide
{
display: none;
}

.textcenter
{
text-align: center;
}

.textright
{
text-align: right;
}

.important
{
color: #AF4F12;
background-color: inherit;
font-weight: bold;
font-size: 1.1em;
}

hr
{
margin: 20px;
background-color: #9F9F9F;
color: #9F9F9F;
height: 2px;
border: 0;
}

.error {
color: #BF0000;
font-weight: bold;
}

/*===== BOX =====*/

.totheright
{
float: right;
width: 400px;
margin: 0 0 0 20px;
}

.centerbox
{
width: 400px;
margin: 0 auto;
}

.box
{
margin: 0 0 10px 0;
padding: 10px 10px 10px 10px;
border: 4px double #c0c0c0;
background-color: #DFFAFF;
color: #505050;
line-height: 1em;
}

.box td
{
padding: 5px;
text-align: center;
}

.box table
{
color: inherit;
background-color: #FFF1AF;
margin: 10px auto;
width: 340px;
border: 1px dashed #DF8A37;
}


/*===== FORMS =====*/

label
{
display: block;
margin: 15px 15px 3px 0;
}

input.text, input[type="text"], input[type="password"]
{
background: #EFEFEF;
border: 1px solid #9F9F9F;
color: #53576F;
padding: 3px;
margin: 5px 5px 5px 0;
font: 1em "Lucida Sans Unicode", "Lucida Grande", Helvetica, Arial, Sans-serif;
}

input.button, input[type="submit"], input[type="reset"], input[type="button"]
{
/*display: block;*/
background: #CFCFCF;
color: #4C686F;
border: 1px solid #9F9F9F;
margin: 5px 5px 5px 0;
font: 1em "Lucida Sans Unicode", "Lucida Grande", Helvetica, Arial, Sans-serif;
padding: 3px 5px;
}

input.checkbox
{
}

select
{
background: #EFEFEF;
border: 1px solid #9F9F9F;
color: #53576F;
padding: 3px;
margin: 5px 5px 5px 0;
font: 1em "Lucida Sans Unicode", "Lucida Grande", Helvetica, Arial, Sans-serif;
}

textarea
{
background: #EFEFEF;
border: 1px solid #9F9F9F;
color: #53576F;
font-size: 1.2em;
padding: 5px;
margin: 5px 5px 5px 0;
font: 1em "Lucida Sans Unicode", "Lucida Grande", Helvetica, Arial, Sans-serif;
}


.formdiv {
margin: 0 auto;
}

.mccomp .formdiv
{
width: 512px;
}

.sidebarcomp .formdiv
{
width: 212px;
}


/*===== NAVBAR =====*/

#navbar
{
height: 35px;
width: 800px;
margin: -25px 0 0 0;
font: 18px Tahoma;
background: #ffffff;
background-image: url('images/nav.png');
background-repeat: repeat-y;
background-position: right;

}

#navbar ul
{
padding: 8px 0 5px 0;
text-align: right;
}

#navbar li
{
display: inline;
padding: 4px 15px;
margin-right: 10px;
}

#navbar li a {
color: #ff9933;
text-decoration: none;
text-transform: uppercase;
font-size: 0.8em;
}

#navbar li a:hover {
color: #ff2a00;
}

/*===== FRIENDS =====*/

.friendsviewpic {
float: left;
}

.viewfriendscomp {
margin-bottom: 10px;
padding: 10px;
height: 100%;
background: #ffffff;
border-bottom: 1px solid #BFBEB3;
}

.viewfriendscomp:after {
content: "";
display: block;
height: 0;
clear: both;
}


/*===== INBOX =====*/

table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid #DFDFDF; padding: 3px; vertical-align: top; }

.inbox-sendercol { width: 20%; }
.inbox-subjectcol { width: 30%;}
.inbox-bodycol { width: 30%; }
.inbox-datecol { width: 15%; }
.inbox-checkboxcol { width: 5%; }

span.paginator {
border: 1px solid #9F9F9F;
padding: 2px 5px;
background: #DFDFDF;
margin: 2px;
}

a.unreadmsg {
font-weight: bold;
}

.friendrequestbox {
width: 90px;
text-align: center;
float: right;
background: #EFEFEF;
padding: 5px;
margin: 0 0 10px 20px;
border: 1px solid #DFDFDF;
}


/*===== SEARCH =====*/
.searchfriend {
float: left;
width: 150px;
margin: 0 15px 15px 0;
padding: 10px;
text-align: center;
border: 1px solid #9F9F9F;
}


/*===== BAR ON TOP =====*/

input.loginbutton {
font-size: 1em;
display: inline;
}

input.logintf {
font-size: 1em;
}
