/*
Theme Name: Windows 7 Home
Theme URI: http://www.windows7home.net/
Description: Designed by <a href="http://www.windows7home">Jason Ji</a>.
Version: 1.0
Author: Jason Ji
Tags: Windows 7 Home

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

body {
	width: 1000px;
	margin: auto;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
  background:#2b5db5 url(images/sitebg.gif) repeat-x;
 /* background: url(img/sitebg.gif) repeat-x;*/
}

/* Basic Tag Elements */

a {
	text-decoration: none;
	outline: none;
/*	color: #000;*/
    color: #003371;
	}
	
	a:hover {
		text-decoration: underline;
		}

img { 
	border: 0;
	}

h1 {
	margin: 0;
	font-size:28px;
	line-height: 32px;
	}
	
	h1 a {
		text-decoration: none;
		}

	h1 a:hover {
		color: #D71F24;
		text-decoration: none;
		}	

/* Header Elements */

#header {
	background-color: #fff;
	float: left;
	margin-top:5px;
	}
	
	#header .roundtop { 
    background:url(images/lcorner.png) no-repeat;margin-left:0px;border:0px;padding:0px;width:20px;float:left;
    }
    #header .roundbottom {
    background:url(images/rcorner.png) no-repeat top right;margin-left:0px;border:0px;padding:0px;width:17px;float:right;
}
#header img.corner {
   width: 17px;
   height: 6px;
   border: none;margin:0px;
   display: block !important;
}



#title {
	float: left;
	font-size: 24px;
	margin: 17px 0 0 0px;
	padding: 0;
	text-transform: uppercase;
	display: inline;
	}
	
	#title a {
/*		color: #fff; */
		color: #003371;
		}
	
	#title a:hover {
		color: #D71F24;
		text-decoration: none;
		}			
		
#description {
	margin:0 0 20px 10px;
	clear: left;
	float: left;
	font-size: 12px;
	text-transform: uppercase;
	padding-left: 20px;
	color: #003371;
	display: inline;
	}
			
				
#navigation {
	clear: left;
	float: left;
	width: 998px!important;
	width: 996px;
	height: 35px;
	margin-left: 1px;
	margin-right: 1px;
	background: url(images/menubg.png)  repeat-x;
/*  background-color: red; */
	}

	#navigation ul {
		/*padding: 0px 0 0 10px;
		margin-top: 10px; */
		margin-top: 10px;padding-left: 0px;float: left; display: inline
		}
	
	#navigation li {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		list-style-type: none;
		float: left;
		font-size: 12px;
		}
	
	#navigation a {
		color: #fff;
		padding: 10px;
		}
		
		#navigation a:hover {
			color: #111;
			text-decoration: none;
			}

#navigation ul ul {
	display: none;
	}
	
	#navigation ul li:hover ul {
		display: block;
		position: absolute;
		margin: 9px 0 0 10px;
		background-color: #111;
		padding: 0 10px 10px;
		}
		
	#navigation ul ul li {
		clear: left;
		border: 0;
		border-bottom: 1px solid #ccc;
		margin: 0;
		padding: 6px 0;
		}
		
	#navigation ul ul li a {
		color: #fff;
		font-size: 10px;
		padding: 0;
		margin: 0;
		}
	
	#navigation ul ul li a:hover {
		color: #E61F24;
		text-decoration: underline;
		}

#header-search {
	float: right;
	margin-top: 7px;
	padding: 0 20px 0 ;
	}
#searchform    {
      
      display: inline
}
				
/* Main Elements */
	
#mainwrapper {
	float: left;
	margin: 0;
	padding: 0;
	background-color: #fff;
	width: 1000px;
	display: inline;
	}

#content {
	padding: 15px 0 0;
	float: left;
	background-image: url(images/mainline.png);
	background-repeat: repeat-y; 
	}
	

/* Left Content Elements */

#leftcontent {
	float: left;
	width: 590px;
	margin: 0;
	padding: 0 30px 0 15px; 
	line-height: 16px;
	display: inline;
	}
	
	#leftcontent h5 {
		margin: 0;
		padding: 0;
		text-transform: uppercase;
		color: #D71F24;
		margin-bottom: 8px;
		font-size: 12px;
		}
	
	#leftcontent h3 {
		text-transform: uppercase;
		margin: 0 0 3px;
		padding: 0;
		line-height: 18px;
		}
	
.featured {
	float: left;
	}	
	
.more-link {
	font-size: 11px;
	color: #D71F24;
	}	

#lower {
	background-image: url(images/lines.png);
	background-repeat: repeat-y;	
	float: left;
	clear: both;
	margin: 0 0 10px;
	padding: 5px 0 0;
	}

		
h1.catheader {
	margin: 0 0 30px 5px;
	text-transform: uppercase;
	}
	
.date {
	font-size: 11px;
	text-transform: uppercase;
	font-color: #111;
	}
	
.postdate {
	font-size: 11px;
	font-color: #111;
	font-style: italic;
	margin: 10px 0 0;
	}
	
.comments {
	font-color: #111;
	}	
	
.tags {
	font-size: 10px;
	}	
	
.author {
	float: left;
	margin: 10px 0 8px;
	font-size: 11px;
	}	
	
.topics {
	margin: 10px 0 8px ;
	float: right;
	font-size: 11px;
	}
	
	.topics a, .author a {
		color: #D71F24;
		}
	
.entry {
  clear: both;
	border-top: 1px solid #aaa;
	}
	/* added by Jason to set thumblnail  */
.entry a img {
    float: right;
   }	

.lowercomments {
	clear: both;
	float: left;
	border: 1px solid #aaa;
	background-color: #b2def1;
	padding: 5px;
	font-size: 11px;
	margin-bottom: 25px;
	}
	
.lowerposts {
	clear: both;
	float: left;
	margin: 10px 0 30px;
	padding: 10px;
	width: 565px;
	border-top: 1px solid #D71F24;
	border-bottom: 1px solid #D71F24;
	background-color: #efd2d3;
	}	
	
	.lowerposts a {
		font-size: 11px;
		}
		
	#leftcontent .leftlower h3, #leftcontent .rightlower h3 {
		margin: 0 0 10px;
		text-transform:none;
		}
	
	.leftlower {
		float: left;
		width: 250px;
		}
	
	.rightlower {
		float: left;
		width: 300px;
		}
		
		.rightlower ul {
			padding: 0;
			margin: 0;
			}
			
		.rightlower li {
			padding: 3px 0;
			border-bottom: 1px solid #aaa;
			list-style-type: none;
			}
	
		.rightlower a {
			font-size: 12px;
			}
					
/* Comment Elements */

h3#comments {
	text-transform: none;
	padding-bottom: 5px;
	}
	
.commentlist {
	list-style-type: none;
	padding: 0;
	margin: 0;
	}		
	
	.commentlist li {
		float: left;
		clear: both;
		width: 565px!important;
	  width: 560px;
		border-top: 1px solid #aaa;
		padding: 0 10px;
		background-color: #eee;
		}
		
	.commentlist li.alt {
		background-color: #fff;
		}
		
	.authorcomment {
		background: url(images/bavota.png) no-repeat;
		float: left;
		width: 89px;
		height: 97px;
		}
			
	.comment-info {
		clear: both;
		float: left;
		width: 120px;
		}	
			
	.comment-text {
		margin-left: 140px;
		}			
			
#responder {
	float: left;
	clear: both;
	padding-top: 30px;
	display: inline;
	}		

/* Sidebar Elements */

#sidebar {
	float: left;
	width: 360px;
	margin-top: 0px!important;
	margin-top: 11px;
/*	padding-bottom: 20px;*/
	display: inline;
	}

	#sidebar ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
		}
		
	#sidebar ul li {
		padding-left: 15px;
		margin: 2px 0;
		font-size: 13px;
		}
	
	#sidebar h2 {
		font-size: 14px;
		border-top: 1px solid #aaa;
		border-bottom: 1px solid #aaa;
		padding: 8px 0 5px; 
		}

#sideads {
	margin: 0 0 0 10px;
	}
		
.sideads {
	width: 150px;
	height: 150px;
	margin: 0 10px 10px;
	float: left;
	background: #ccc;
	border: 1px solid #aaa;
	text-align: center;
	}
	
	.sideads img {
		width: 150px;
		height: 150px;
		}

.side-widget-wide {
	width: 325px;
	float: left;
	margin: 0 0 0 20px;
	text-align: center;
	}
	
	.side-widget-wide a {
		color: #D71F24;
		}
		
	.side-widget-wide h2 {
		margin: 0;
		}

.side-widget {
	width: 150px;
	float: left;
	margin: 0 0 0 20px;
	display: inline;
	}
	
	.side-widget a {
		font-size: 12px;
		}
		
#lowerads {
	clear: both;
	float: left;
	}
	
	#lowerads img {
		width: 154px;
		float: left;
		margin: 15px 0 0 15px;
		border: 1px solid #aaa;
		padding: 2px;
		}
		
#tip {
	background: url(images/tip.png) no-repeat;
	height: 265px;
	padding: 15px 0 0 25px;
	margin: 0 0 0 16px;
	}

#tip h3 {
	color: #fff;
	}
	
#sidebar h3 {
	font-size: 18px;
	padding: 0;
	margin: 0;
	}
	
.redarrow {
	color: #E61F24;
	font-size: 12px; 
	vertical-align: middle;
	}	
	
.tip-post {
	width: 290px;
	padding-top: 5px;
	color: #fff;
	}
	
	.tip-post h1 {
	margin: 10px 0 0;
	line-height: 28px;
	font-size: 24px;
	}
	
	.tip-post a {
		color: #E61F24;
		font-weight: normal;
		}

.sidebuttons {
	margin: 0 0 10px 16px;
	}	
	
.sidelists {
	clear: left;
	width: 325px;
	margin: 0 0 20px 20px;
	padding-top: 5px;
	}
	
	.sidelists h3 {
		margin: 0;
		}
		
	.sidelists li {
		font-size: 12px;
		line-height: 14px;
		padding: 1px 0;
		}
		
	.sidelists a {
		/*color: #D71F24;*/
		}

	
/* Post Elements */
	
h1.catheader {
	margin: 0 0 30px;
	color: #D71F24;
	font-weight: normal;
	}	
	
#single {
	padding-left: 10px;
	}	
	
.posts {
	border-bottom: 1px solid #aaa;
	margin-bottom: 20px;
	}
	
.post {
	padding-bottom: 10px;
	}	
	
	.post img {
		margin: 0 15px 10px 0;
		max-width: 505px;
		}
		
.ind-post {
	padding: 20px;
	margin-bottom: 10px;
	float: left;
	width: 560px!important;
	width: 510px;
	background: url(images/line.png) no-repeat;
	}	
	
	.ind-post img {
		float: left;
		margin: 15px 15px 10px 0;
		max-width: 560px!important;
		max-width: 510px;
		}
		
	.ind-post h1 {
		font-size: 24px;
		line-height: 26px;
		}
	
#tags {
	font-size: 11px;
	color: #cc6666;
	border-top: 2px solid #eee;
	margin-top: 20px;
	padding: 10px 0;
	line-height: 12px;
	clear: left;
	}
	
	#tags a {
		color: #cc6666;
		font-size: 11px;
		}	

#postmetadata {
	color: #aaa;
	font-size: 8px;
	line-height: 10px;
	}
	
	#postmetadata a {
		color: #cc6666;
		font-size: 8px;
		}
	
.meta {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	}	

.storycontent {
	margin-bottom: 10px;
	padding-bottom: 10px;
	}
	
	.storycontent a {
		color: #D71F24;
		}

/* Footer Elements */

#footer {
	clear: both;
	float: left;
	width: 1000px;
	padding: 20px 0;
	text-align: center;
	font-size: 11px;
	background: url(images/footer.png) repeat-x;
	border-top: 1px solid #aaa;
	}
			
/* Other Elements */

.red, .entry a {
	color: #D71F24;
	}
	
#tagcloud {
	width: 400px;
	text-align: center;
	margin: 30px auto;
	}	
	
#tagcloud a {
	color: #D71F24;
	}	
	
	
/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

#today {
	color: #D71F24;
	}

#wp-calendar {
	margin: auto;
	}
	
img#wpstats{display:none}
.cattitle {color: #003371}

.imagead {
    position: relative;
    left: 110px;
    top: 0px;

   }	
.topad {
    position: relative;
    left: 150px;
    top: 0px;

   }	