/*Remove all padding and borders*/

* {
padding:0; 
margin:0; 
font-family:Lucida,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","Trebuchet MS",Arial,sans-serif;
line-height: 140%;
}

img {border:0;}


/* Restore padding and formatting for lists, p, h1, h2*/

li {
padding-left:0.3em; 
margin-left:1.5em;
padding-bottom:0.3em;
}

p {margin-bottom:1em;}

h1,h2,h3,h4 {
margin-top:0.4em;
margin-bottom:0.4em; 
}

/* Set up the body and the basic container div for each page */

body {
background:#cccccc url(chess.jpg) 930px 0 no-repeat;
}

#container {
position:relative;
background-color:white;
width:870px; 
margin-top:-3px;
margin-left:0; 
margin-right:auto;
padding: 15px 30px 50px 30px;
font-size:0.9em;
}


/* top navbar */

#navlist {
display:block;
text-align:center;
padding-top:5px;
width:930px; 
height:30px;
margin-left:0; 
margin-right:auto;
list-style-type: none;
background-color:#444444;
font-size:medium;
}

#navlist h1 {
font-size:medium;
}

#navlist h2 {
font-size:small;
font-weight:100;
}

#navlist * {
display:inline;
}
#navlist a {
padding:0 0.5em;
}

#navlist a:link, #navlist a:visited
{
color: #EEE;
text-decoration: none;
}

#navlist a:hover
{
background-color: #aaa;
color: #fff;
}





/*footers */

#footer,.boilerplate {
text-align:center;
padding-top:25px;
margin-top:10px;
clear:both;
}

#footer p {
padding-bottom:5px;
font-size:x-small;
}

.boilerplate {
background-color:#BFFFE4;
border: 2px solid #00B366;
padding:3px;
color:#000;
}

.gallery li {
float:left;
width:150px;
list-style-type:none;
margin: 0;
padding:0;
margin-left:10px;
margin-right:10px;
text-align:center;
}
.gallery img {
float:left;
margin-right:15px;
margin-bottom:10px;
}
div.friends {
clear:left;
}
ul.friends li a,.contactme {
font-size:larger;
}
.contactme {
margin-left:20px;
}
ul.friends li {
margin-bottom:5px;
}
.source {
color:#666;
font-size:smaller;
}
.source a {
color:#666;
text-decoration:none;
}
.source a:hover {
color:#888;
text-decoration:underline;
}

.shared {
clear:both;
}


.beta h2 {
clear:left;
-moz-border-radius:10px;
background-color:#444444;
margin:10px 0 10px;
padding: 2px 30px;
color:white;
}
.friends li {
list-style-type:none;
}
.about {
line-height:160%;
}
.nihao{
font-size:400%;
float:left;
padding-right:20px;
}

/* These are standard sIFR styles... do not modify */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important;
}

/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */


.sIFR-hasFlash h2.shiny {
	visibility: hidden;
	letter-spacing: -9px;
	font-size: 35px;
}

