/*
Theme Name: Shanghaieye new Theme
Theme URI: http://www.shanghaieye.net
Description: A custom theme developed for Computer Solutions
Version: 1.0
Author: Jerry Zhai
Author URI: http://www.shanghaieye.cn/
Tags: Computer Solutions custom theme

	Computer Solutions v1.0
	 http:/www.shanghaieye.cn/

	This theme was designed and built by Jerry Zhang, Computer Solutions China,

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

* {
	margin:0;
	padding:0;
	}


body {
	color: #555;
	margin:0px;
	background-color: #fff;
	background-image: url(images/bg.jpg);
	background-repeat: repeat-y;
	background-position: center 180px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 25px;
	padding-left: 0px;
	}

body, select, input, textarea {
	line-height:1.5em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}
#pagemain {
	width:930px;
	margin-right: auto;
	margin-left: auto;
}	
p {	margin: 15px 0;	}


hr {
	display: block;
	height:32px;
	background-image: url(images/red_star.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding-top: 40px;
	padding-bottom: 40px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	}

small {
	font-size: 0.9em;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 0px;
	}

#hometopimg img {
	width:110px;
	}
/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#000;
	text-decoration: underline; 
	} 
a:hover	{ 
	color:#ff0000;
	}

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #ff0000; 
	text-decoration: none;
	} 
.title:hover { 
	color: #ff0000; 
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {text-decoration:none;}

h4 a:link, h4 a:active, h4 a:visited  {text-decoration:none;}
#topheader {
	width: 100%;
	background-color: #fff;
}

#page { /*the main container*/
	width:880px;
	margin:0px;
	font-size:1em;
	background:#FFF;
	float: left;
	padding-top: 0px;
	padding-right: 25px;
	padding-bottom: 35px;
	padding-left: 25px;
	}
#header {
	width: 100%;
	height:120px;
	padding-top:35px;
	text-align:left;
	width:880px;
	padding-bottom: 25px;
	margin-right: auto;
	margin-left: auto;
}
#logo {
	float:left;
	width:253px;
	height:116px;
}
#logo h1{
	padding:0px;
	margin:0px;
}
#logo h1 a {
	background:transparent url(images/logo.gif) no-repeat scroll 0 0;
	display:block;
	height:116px;
	width:253px;
}
.h {
	display:none;
}
#menu {
	float:right;
	width:450px;
	height:18px;
	padding-top:83px;
}
#menubar {
	height:18px;
	padding:0;
	margin:0;
}
#menubar ul li{
	display: inline;
	float: left;
	width: 50px;
	font-size: 12px;
	font-weight: bold;
	color: #999999;
	padding-right: 5px;
	padding-right: 10px;
}
#menubar ul li a{
	text-decoration: none;
	color: #999999;
}
#menubar ul li a:hover{
	text-decoration: none;
	color:#FF0000
}
.here{
	text-decoration: none;
	color:#FF0000;
	font-weight: bold;
}
.bloglink {
	width:67px;
}
.bloglink a {
	display:block;
	height:18px;
	width:67px;
	background:url(images/blog.gif) bottom left no-repeat;
	padding-right:16px;
}
.bloglink a:hover {
	display:block;
	height:18px;
	width:67px;
	background:url(images/blog.gif) top left no-repeat;
	padding-right:16px;
}
.gallerylink { width:54px; }
.gallerylink a {
	display:block;
	height:18px;
	width:54px;
	background:url(images/gallery.gif) bottom left no-repeat;
	padding-right:16px;
}
.gallerylink a:hover {
	display:block;
	height:18px;
	width:54px;
	background:url(images/gallery.gif) top left no-repeat;
	padding-right:16px;
}
.storelink { width:45px; }
.storelink a {
	display:block;
	height:18px;
	width:45px;
	background:url(images/store.gif) bottom left no-repeat;
	padding-right:16px;
}
.storelink a:hover {
	display:block;
	height:18px;
	width:45px;
	background:url(images/store.gif) top left no-repeat;
	padding-right:16px;
}
.aboutlink { width:66px; }
.aboutlink a {
	display:block;
	height:18px;
	width:66px;
	background:url(images/about.gif) bottom left no-repeat;
	padding-right:16px;
}
.aboutlink a:hover {
	display:block;
	height:18px;
	width:66px;
	background:url(images/about.gif) top left no-repeat;
	padding-right:16px;
}

.contactlink { width:50px; }

.contactlink a {
	display:block;
	height:18px;
	width:50px;
	background:url(images/contact.gif) bottom left no-repeat;
	padding-right:16px;
}
.contactlink a:hover {
	display:block;
	height:18px;
	width:50px;
	background:url(images/contact.gif) top left no-repeat;
	padding-right:16px;
}
.language { text-align:right; }
.language a { text-decoration:none; color:#000; }
.language a:hover { text-align:center; text-decoration:none; color:#666; }
#contentmain {
	float:left;
	width:100%;
}
.navigation {
	width: 610px;
	padding-bottom:10px;
	float:left;
	}
/* Links in the sidebar */
.subnav {

}
.subnav li { /* .subnav is the categories list */
	background: #ddd;
	display:block;
	padding:0px;
	}

.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
	display:block;
	border-bottom: 1px solid #ccc;
	padding-top: 7px;
	padding-right: 5px;
	padding-bottom: 7px;
	padding-left: 32px;
	width:213px;
	}
.subnav li a:hover, .subnav li a:active {
	text-decoration:none!important;
	}
	
.subnav .cat-item-1	{
	background:url(images/right-1.gif) no-repeat left center;
}
.subnav .cat-item-2 {
	background:url(images/right-2.gif) no-repeat left center;
}
.subnav .cat-item-3 {
	background:url(images/right-3.gif) no-repeat left center;
}
.subnav .cat-item-4 {
	background:url(images/right-4.gif) no-repeat left center;
}
.subnav .cat-item-5 {
	background:url(images/right-5.gif) no-repeat left center;
}
.subnav .cat-item-6 {
	background:url(images/right-6.gif) no-repeat left center;
}	
	
	
	
#sidelist a:link, #sidelist a:active, #sidelist a:visited {text-decoration:none;}
#sidelist a:hover {text-decoration:underline;}
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#F4F4EC;
	color: #666;
	}
#sidelist .children li a:hover, #sidelist .children li a:active	{
	color:#000;
	text-decoration:none!important;
	}
/* Links in unordered lists */
.bullets li a { text-decoration:none!important;	}
.bullets li a:hover { text-decoration:underline!important;	}
/* How tags appear */
.tags a {text-decoration:none;}
.tags a:hover {text-decoration:underline;}
/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}
/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}
/******************************************
*   Images                         
******************************************/

/*** default image behaviour ***/


/*** WordPress specific image classes ***/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin: 4px 15px 5px 0;
}

.alignright {
float: right;
}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
}

.wp-caption img{
   padding:2px;
   border:1px solid #999;
}

.wp-caption img:hover{
   border:1px solid #333;
}

.wp-caption p.wp-caption-text {
   color:#666;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}


		
/******************************************
*   General Structure                         
******************************************/



#branding {/*where the logo sits*/
	width:625px;
	height:100px;
	padding-bottom:15px;
	background:url(images/backgrounds/bg_branding.png) no-repeat;
	}

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 250px;
	float:right;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:287px;
	border-right:1px solid #ddd;
	padding-right:18px;
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:277px;
	padding-left:18px;
	margin-top: -2px;
	}


		
/******************************************
*   Sidebar                         
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

#sidelist {
margin:0px;
padding:0px;
}
#sidelist li ul {
	padding-bottom: 20px;
}

#sidelist li {
	list-style:none;
	}
	
.bullets li {
	background-image: url(images/li.gif);
	background-repeat: no-repeat;
	background-position: left 5px;
	list-style-type: none;
	padding-left: 20px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	}
	
#sidelist .bullets li {
	background-image: url(images/li.gif);
	background-repeat: no-repeat;
	background-position: left 5px;
	padding-left: 20px;
	list-style-type: none;
	}

#sidelist .children {
	background:#F4F4EC;
	}

#sidelist .children li {
	background: #F4F4EC;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	
	}
#BrowseArchives ul a{
	margin-right: 15px;
}
	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-weight: regular;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #ff0000;
	font-size: 1.8em;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #ff0000;
	padding-bottom:8px;
	font-size:18px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	}

h3 {
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#ff0000;
	font-size: 1.2em;
	}

#sidebar h2, #sidebar h3 a {
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#fff;
	font-size: 0.9em;
	}

#sidebar h3, #sidebar h2 {
	font-size:13px;
	color:#FFFFFF;
	background-color: #FF0000;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 15px;
	margin-left: 0;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 5px;
	}

h3#respond {
	font-size:1.1em;
	border-top:1px solid #ccc;
	margin-top:25px;
	padding-top:20px;
	float: left;
	width: 610px;	
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
/******************************************
*   Content                        
******************************************/
img,a img{
	border:0;
	margin:0;
	padding:0;
	max-width:610px;
	width:expression(this.width>610?"610px":this.width);
}
#content {
	width:610px;
	float:left;
	
	}
#content a {
	color:#FF0000;
	text-decoration: none;
}	
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: #f8f8f8;
	padding:15px;
	}

.feature p, #rightcol p { margin:0;	}

#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	font-size:1.1em;
	font-weight:bold;
	color: #ff0000;
	letter-spacing:normal;
	}
		
#lead p {
	margin-bottom:10px;
	}
#skipposts {
	width:580px;
	float:left;
	padding-top: 0px;
	margin:0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	border-top:solid 1px #ddd;
	margin-top:5px;
}
#skipposts li {
	list-style-type: none;
	padding-top: 3px;
	padding-bottom: 3px;
	margin: 0px;
	padding-right: 0px;
	padding-left: 0px;
}
#leadarticle p {
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	margin: 0px;
	}
.read-on {
padding-top:5px;
}
.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#ff0000!important;
	text-decoration:none;
	}
	
.read-on a:hover {
	text-decoration:underline;
	}

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	width: 130px;
	margin-top: 3px;
	margin-right: 10px;
	margin-bottom: 4px;
	margin-left: 0;	
	}

#leftcol img {
	margin-bottom: 4px;
	margin-left:10px;
	display:block;
	width: 130px;
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #ddd;
	padding:12px 0;
	}	
	


/* Post Formatting */
#postbot {
	display: block;
	height:32px;
	background-image: url(images/red_star.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
.entry {
	padding-bottom:28px;
	float:left;
	width:610px;
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;	
	}	
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform { 	padding:16px 5px 0 0; 	}

.button {
	padding: 1px;
	background:#333;
	color:#fff;
	border:none;
	}

.button:hover {
	background:#666;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}



/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}
	
	
/******************************************
*   Footer                        
******************************************/
#wpcf {
	line-height: 25px;
	float:left;
}
.contactform input {
	float:left;
}
#footer {
	width: 930px;
	text-align:center;
	padding-top:15px;
	padding-bottom:15px;
	color:#333;
	float:left;
	font-weight: bold;
	background:#FFFFFF;
	}

#footer a {
	color:#333;
	font-weight: bold;
	}
