﻿/*  
Theme Name: Win
Theme URI: http://www.domety.com/
Description: Domety.com专用主题
Author URI: http://www.domety.com
Version: 1.0.0
Tags: black, blue, green, dark, two-columns, two-columns, threaded-comments,  right-sidebar, translation-ready
.
Released under the <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
.
*/

* {margin: 0px; padding: 0px;}
body {color:#808080; font-size:14px; font-family:'Microsoft YaHei','Lucida Grande', Verdana, Arial,'宋体', Sans-Serif; background:#fff; }
p { margin:5px 0px; }
strong { font-style:oblique; font-size:18px; }
small { font-size:12px; font-style:italic; }
a { text-decoration:none; color: #007EC4; }
a:hover { color:#147; }
ol, ul { list-style: none; }
img { padding:3px; border:1px solid #D7D7D7; }
input, textarea,blockquote { padding:2px; border:1px solid #7C98B1; background:#f1f1f1; font-size:12px; line-height:14px; }
blockquote { color:#808080; padding:10px; border:1px solid #D7D7D7; margin-bottom:15px; }

pre { display:block; border-left: 5px solid #ccc;
	margin:1.5em 1em 1em 2em;
	padding-left: 5px;
	font-size:12px;
	color:#808080;
	/*overflow:scroll;*/
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap:break-word;
	word-break:break-all;
}


table {
	border-collapse: collapse;
	border-spacing: 0;
}

.aligncenter {
	margin-left:auto;
	margin-right:auto;
}

.wrap {
	position:relative;
	width:980px;
	margin:0 auto;
}

#header {
	height:100px;
	margin-bottom:40px;
	background:#F1F1F1;
	border-bottom:2px solid #7C98B1;
}

#header h1 {
	width:200px;
	float:left;
	padding:10px 20px;
}

#header h1 a {
	display:block;
	width:164px;
	height:82px;
	text-indent:-2000px;
	background:url(./imgs/Logo.png) no-repeat top left;
}

#serchform {
	position:absolute;
	top:5px;
	right:5px;
	font-size:12px;
}

#mainNav {
	font-family:'Lucida Grande', Verdana, Arial,'宋体', Sans-Serif;
	font-size:16px;
	font-weight:bold;
	position:relative;
	top:67px;
	padding:10px;
}

#mainNav li{
	display:inline;
	padding:2px;
}

#mainNav li ul {
	position:absolute;
	left:-10000px;
	top:35px;
	width:950px;
	text-align:center;
	background:#E0E0E0;
	padding:10px 20px 5px 10px;
}

#mainNav li:hover ul,
#mainNav li.sfhover ul,
#mainNav .current-cat-parent ul,
#mainNav .current_page_parent ul{
	left:0px;
}

#mainNav li a , .button {
	padding:5px;
	border:1px solid #7C98B1;
	color: #FFFFFF;
	background:#7C98B1;
}
#mainNav .current-cat-parent a,
#mainNav .current_page_parent a,
#mainNav li a:hover {
	color:#7C98B1;
	background:#E0E0E0;
	border-bottom:2px solid #E0E0E0;
}

#mainNav .current-cat-parent ul li a,
#mainNav .current_page_parent ul li a{
	border-bottom:2px solid #fff;
}
#mainNav li ul li a {
	color:#7C98B1;
	padding: 5px;
	border:none;
	background:none;
}

#mainNav .current-cat a,
#mainNav .current_page_item a,
#mainNav li ul li a:hover{
	color:#0085c9;
	background:#fff;
	border-bottom:2px solid #fff;
}

#mainNav .diylink a {
	background-color:#147;/*#007EC4;*/
}

#posts {
	width:710px;
	float:left;
	padding:1px;
	margin-bottom:10px;
	overflow:hidden;
}

#posts h2 {
	font-size:20px;
	position:relative;
	padding:5px 0px;
	top:0px;
	z-index:1;
}

#posts h2 a {
	padding:5px;
	border:1px solid #7C98B1;
	border-bottom:1px solid #fff;
}

.category {
	float:right;
	position:relative;
	top:15px;
	right:10px;
}

.post {
	margin-bottom:15px;
	padding:10px 10px 0px 10px;
	border:1px solid #7C98B1;
}

.post .postcontent {
	color:#2D2D2D;
	font-size:16px;
	line-height:150%;
	min-height:200px;
	border-bottom:1px solid #7C98B1;
}

.post .postcontent p {
	margin:20px 5px;
	text-indent:32px;
}

.post .postcontent blockquote p,.post .postcontent pre {
	text-indent:0px;
}

/*
.post .postcontent ol {
	padding-left:63px;
	list-style: decimal;
}

.post .postcontent ul {
	padding-left:64px;
	list-style:circle;
}
*/

.post .postcontent .thumbnail {
	font-size:12px;
	text-align:center;
	float:right;
	padding-left:12px;
}

.post .postcontent .thumbnail img{
	width:200px;
}

.postmeta {
	text-align:right;
	padding:3px 0px;
}

.currentposition {
	font-size:12px;
	position:relative;
	top:-5px;
}

.relatedPosts {
	padding:10px;
	float:left;
	border:1px solid #7C98B1;
	background:#f1f1f1;
}

.relatedPosts li {
	display:block;
	width:340px;
	float:left;
	overflow:hidden;
}

.postcomment {
	float:left;
}

.page-numbers {
 /*float:right;*/
 font-size:1.5em;
 text-align:center;
 margin-bottom:10px;
}
.page-numbers li{
 display:inline;
 padding:2px 5px;
}
.page-numbers li a{
 padding: 2px 5px;
 border:1px solid;
}
.page-numbers .current a{

 background:#7C98B1;
}

#sidebar {
	width:255px;
	float:right;
	overflow:hidden;
}

#feed {
	margin-bottom:60px;
	/*margin-left:70px;*/
}

#feed img {
	border:none;
	float:left;
}

#sidebar h2 {
	color:#808080;
	font-size:18px;
	text-align:center;
}

#sidebar li {
	margin-bottom:20px;
	background:#f1f1f1;
}

#sidebar ul {
	padding:0px 5px 15px 5px;
}

#sidebar ul li {
	margin:5px 0px;
	padding:5px;
	border:none;
	border-bottom:1px solid #D7D7D7;
	font-size:12px;
}

.ad li {
	padding:0px;
	border:none;
}

.lastComments li {
	display:block;
	line-height:1.5em;
	height:1.25em;
	overflow:hidden;
}

#sidebar h2 {
	margin-bottom:5px;
	border-bottom:1px solid #7C98B1;
}

#comments h2 {
	text-align:right;
	border-bottom:1px solid #7C98B1;
	margin-bottom:10px;
}

#comments .comment {
	float:left;
	margin-bottom:5px;
	padding:5px 5px 5px 10px;
	border:1px solid #7C98B1;
	width:97%;
}

#comments .comment .author img {
	float:left;
	margin-right:10px;
}

#comments .comment .floor {
	float:right;
}

.date {
	color:#9DA191;
}

#comments .comment .author .date {
	float:left;
}

#comments .comment .messageBox {
	color:#4B4B4B;
	margin-left:10px;
	float:left;
	padding:1px;
}

#comments .comment .links {
	float:right;
}

#comments .children {
	list-style:none;
}

#comments .children .comment {
	border:1px dashed #7C98B1;
	border-top:1px solid #7C98B1;
	margin-bottom:5px;
}

.commentNavigation {
	text-align:center;
	margin: 20px 0px;
}

.commentNavigation a {
	border:1px solid #7C98B1;
}

.commentNavigation .current {
	border:1px solid #7C98B1;
	background:#7C98B1;
}

#superlinks li {
	display:block;
	float:left;
	height:64px;
	width:300px;
	padding:5px;
	border:1px solid #D7D7D7;
	margin:10px 5px;
	overflow:hidden;
}

#superlinks li .title {
	padding-left:50px;
	height:44px;
	overflow:hidden;
}

#superlinks li .title .linkrss a {
	float:right;
	display:block;
	text-indent:-5000px;
	width:18px;
	height:18px;
	background:url(./imgs/Rss.png) no-repeat left bottom;
}

#superlinks li .title .linkrss a:hover {
	background:url(./imgs/Rss.png) no-repeat left top;
}

#footer {
	border-top:2px solid #7C98B1;
	text-align:center;
}

#footer img {
	border:none;
}

.clear {
	clear:both;
}

.button {
	padding:2px;
}
