/*  
Theme Name: xjames
Theme URI: http://www.wpdesigner.com
Description: This is Xjemas's theme.
Version: 0.2
Author: Xjames
Author URI: http://www.wpdesigner.com/

*/

#wrapper{
	margin: 0 auto 0 auto;
	width: 750px;
	text-align: left
}

body{
	margin: 0; 
	font-family: Arial, Helvetica, Georgia, Sans-serif; 
	font-size: 12px; 
	text-align: center;
	vertical-align: top;
	background: #ffffff;
	color: #000000;
}

body, h1, h2, h3, h4, h5, h6, blockquote, p{
	margin: 0;
	padding: 0;
}

h1{
	font-family: Georgia, Sans-serif;
	font-size: 24px;
	padding: 0 0 10px 0;
}

a:link, a:visited{
	text-decoration: none;
	color: #000000;
}

a:hover{
	text-decoration: none;
	color: #ffa500;
}

p{
	padding: 10px 0 0 0;
}

/*shangxia start*/
#shangxia{position:fixed;top:45%;left:50%;margin-left:-450px;display:block;}
#shang{background:url(images/shang.gif) no-repeat;position:relative;cursor:pointer;height:32px;width:32px;margin:10px 0;}
#xia{background:url(images/xia.gif) no-repeat;position:relative;cursor:pointer;height:32px;width:32px;margin:10px 0;}
#comt{background:url(images/comt.gif) no-repeat;position:relative;cursor:pointer;height:32px;width:32px;margin:10px 0;}
/*shagnxia end*/

#header{
	float: left;
	width: 745px;
	background: url(images/banner.jpg) no-repeat; 
	height:125px;
}

/* menu start */

#menu{
	width:750px;
	margin:0 0 0 -40px;
}


#nav{
	background:#ffffff;
	font-size:14px;
        text-shadow:-1px 1px 1px #778899
}

#nav, #nav ul {
list-style: none;
line-height: 1;
}

#nav a, #nav a:hover {
display: block;
text-decoration: none;
border:1px solid #000000;
}

#nav li {
float: left;
list-style:none;
margin-right:-1px;
}

#nav a, #nav a:visited {
display:block;
font-weight:bold;
color: #000000;
padding:6px 12px;
}

#nav a:hover, #nav a:active, .current_page_item a, #home .on {
background:#d3d3d3;
text-decoration:none
}

#nav li ul {
position: absolute;
left: -999em;
height: auto;
width: 174px;
}

#nav li li {
width: 172px;
background: #ffffff;
margin-top:-1px;
}


#nav li li a, #nav li li a:visited {
font-weight:normal;
font-size:12px;
color:#000000;
text-shadow:0 0 0 #778899
}

#nav li li a:hover, #nav li li a:active {
background:#d3d3d3;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
left: auto;
}

a.main:hover {
background:none;
}
/*menu end*/


/* container start */
#container{
	float: left;
	width: 750px;
}

.post{
	border: 1px solid #000000;
	margin: 5px 0 5px 0;
	padding: 5px;
}

.post h2{
	font-family: Georgia, Sans-serif;
	font-size: 25px;
	color: #ffffff;
        text-shadow:-1px 2px 3px #778899
}

.entry{
	line-height: 18px;
}

p.postmetadata{
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	margin: 10px 0 10px 0;
	padding: 5px;
}

.title{
	border-bottom: 2px solid #000000;
	margin: 10px 0 10px 0;
	padding: 5px;
	background-color: #ffffff;
	color: #808000;
}

.navigation{
	padding: 10px 0 0 0;
	font-size: 12px;
	font-weight: bold;
	line-height: 24px;
}

#pre{
	float: left;
}

#next{
	float: right;
}

/* container end */

/* sidebar start */

.sidebar{
	float: left;
	width: 230px;
	background: #ffffff;
	margin: 5px 0 0 10px;
	display: inline;
	border: 1px solid #000000;
}

.sidebar ul{
	list-style-type: none;
	margin: 2px;
	padding: 10px;
}

.sidebar ul li{
	border-bottom: 1px solid #000000;
	padding: 10px;
	margin: 2px;
}

.sidebar ul li h2{
	font-family: Georgia, Sans-serif;
	font-size: 18px;
	margin: 10px 0 10px 0;
        text-shadow:-1px 2px 3px #778899
}

.sidebar ul ul li{
	padding: 0;
	line-height: 24px;
}

table#wp-calendar{
	width: 100%;
}

/* sidebar end */

/* footer start */

#footer{
	clear: both;
	float: left;
	width: 750px;
	padding:10px 0 0 0;
}

#footer p{
	line-height: 18px;
}
	
/* footer end */

/* comments start */

.comments-template{
	margin: 30px 0 0;
	border: 1px solid #000000;
	padding: 10px ;
	display: block;
}

.comments-template ol{
	margin: 0;
	padding: 0 0 15px;
	list-style: none;
	display: block;
}

.comments-template ol li{
	margin: 5px 0 0;
	line-height: 14px;
	padding: 5px;
	border-top: 1px solid #000000;
	display: block;
}

.comments-template h2, .comments-template h3{
	font-family: Georgia, Sans-serif;
	font-size: 14px;
}

.commentmetadata{
	font-size: 12px;
	display: none;
}

.comments-template p.nocomments{
	padding: 0;
}

.comments-template textarea{
	font-family: Arial, Helvetica, Georgia, Sans-serif;
	font-size: 12px;
	width: 450px;
}
/* comments end */

#tooltip {position:absolute;z-index:1000;max-width:250px;word-wrap:break-word;background:#000;text-align:left;padding:5px;min-height:1em;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
#tooltip p {color:#fff;font:12px 'Microsoft YaHei',Arial,宋体,Tahoma,Sans-Serif;}
#tooltip p em {display:block;margin-top:3px;color:#f60;font-style:normal;}
