/*
Theme Name: CCW Blog
Theme URI: http://blog.mycolorway.com
Description: The theme for the blog of ccw
Version: 0.1
Tags: white, light, two-columns, left-sidebar, fixed-width, threaded-comments
Author: mycolorway.com
Author URI: http://www.mycolorway.com
License: All Rights Reserved
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/

/***** CSS Reset *****/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/***** General *****/

body {
    text-align: center;
    color: #333333;    
    font: normal 12px Arial, Helvetica, sans-serif, "微软雅黑", "宋体";
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #3399cb;
}

a:hover {
    background: #3399cb;
    color: #ffffff;
}

label, button {
    cursor: pointer
}

small {
    font-size: 10px;
}

.clear {
    clear: both;
    font-size: 0;
}

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

.clearfix {
    display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/***** Layout *****/

.wrapper {
    width: 960px;
    text-align: left;
    margin: 0 auto;
}

.wrapper .header {
    height: 40px;
    margin: 20px 20px 0;
    _display: inline;
}

.wrapper .nav {
    width: 160px;
    float: left;
    margin: 0 0 0 25px;
    _display: inline;
}

.wrapper .content {
    width: 746px;
    float: right;
    margin: 5px 20px 0 0;
    _overflow: hidden;
    _display: inline;
}

.wrapper .footer {
    float: right;
    width: 700px;
    text-align: right;
    padding: 10px 25px 20px 0;
    color: #999999;
}


/***** Header *****/

.header h1 {
    float: left;
}

.header h1 a {
    width: 155px;
    height: 32px;
    display: block;
    background: url(image/logo.png) no-repeat 0 0;
    text-indent: -999px;
    float: left;
}

.header h1 a:hover {
    background: url(image/logo.png) no-repeat 0 0;
}

.header .quotation {
    width: 746px;
    height: 40px;
    float: right;
    background: url(image/quotation-bg.png) no-repeat 0 0;
    position: relative;
}

.quotation .quotation-icon {
    width: 45px;
    height: 50px;
    background: url(image/quotation-head.gif) no-repeat 0 0;
    position: absolute;
    top: -20px;
    left: 10px;
    z-index: 1001;
    cursor: none;
}

.ie .quotation .quotation-icon {
    cursor: url(/wp-content/themes/ccwblog/image/s.cur), crosshair;
}

.quotation .quotation-content {
    float: left;
    padding: 10px 0 10px 60px;
    display: none;
    color: #666666;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    top: 10px;
    z-index: 1000;
    cursor: default;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: ignore;
}

.quotation .quotation-content .date {
    color: #999999;
    font-family: Verdana;
    font-size: 10px;
    margin-left: 5px;
}

.quotation-cursor {
    width: 64px;
    height: 32px;
    position: absolute;
    display: none;
    background: url(image/quotation-cursor.png) no-repeat right top;
    _background-image: url(image/quotation-cursor.gif);
    z-index: 1002;
    cursor: none;
}

.ie .quotation-cursor {
    cursor: url(/wp-content/themes/ccwblog/image/s.cur), crosshair;
}


/***** Navigation *****/

.nav li h2 {
    padding: 25px 0 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

.nav li h2 a {
    color: #333333;
}

.nav li h2 a:hover,
.nav li h2 a.current {
    color: #cc0000;
    background: none;
}

.nav li ul {
    width: 132px;
}

.nav li ul li {
    padding: 5px 0 5px 18px;
    border-bottom: 1px solid #cccccc;
    background: url(image/list-icon-arrow.gif) no-repeat 0 4px;
}

.nav li ul li a {
    font-weight: bold;
    color: #666666;
}

.nav li ul li a:hover,
.nav li ul li a.current {
    color: #cc0000;
    background: none;
}

.nav li ul li.expand {
    background: url(image/list-icon-varrow.gif) no-repeat 0 4px;
}

.nav .txtSearch {
    width: 100px;
    float: left;
    border: 1px solid #dddddd;
    padding: 2px;
    background: #fafafa;
}

.nav .btnSearch {
    width: 18px;
    height: 18px;
    float: left;
    padding-left: 5px;
}

/***** Content *****/

.content .content-top {
    height: 10px;
    font-size: 0px;
    background: url(image/content-top-bg.png) no-repeat 0 0;
}

.content .content-middle {
    background: url(image/content-middle-bg.png) repeat-y 0 0;
    padding: 10px 100px 30px 50px;
    position: relative;
}

.content .content-bottom {
    height: 10px;
    font-size: 0px;
    background: url(image/content-bottom-bg.png) no-repeat 0 0;
}

.content h3 {
    margin: 10px 0 5px 0;
    padding: 2px 0 1px 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
    color: #f18c0f;
}

.content h3 a {
    color: #f18c0f;
}

.content h3 a:hover {
    background: #f18c0f;
    color: #ffffff;
}

.content .intro-img {
    width: 765px;
    height: 210px;
    margin-top: 20px;
    position: relative;
    top: 0;
    left: -26px;
    background: url(image/intro-img.png) no-repeat 0 0;
}

.content .intro {
    margin: 8px 0 0 0;
    padding: 0 0 0 3px;
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
}

.content p {
    padding: 10px 0 5px;
    line-height: 1.8;
}

.content h4 {
    margin: 10px 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #f18c0f;
}

.content h4 a:hover {
    background: #f18c0f;
    color: #ffffff;
}

.content h2 {
    margin: 10px 0 20px 0;
    font-size: 24px;
    font-weight: bold;
}

.content .entry {
    margin: 10px 0 20px;
}

.content .entry ol,
.content .entry ul {
    padding: 10px 0 5px;
    line-height: 1.8;
}

.content .entry ol li,
.content .entry ul li {
    padding-left: 20px;
    background: url(image/dot-01.gif) no-repeat 8px 9px;
}


/***** Comments *****/
    
ol.commentlist { list-style:none; margin:0; padding:0; text-indent:0; }
ol.commentlist li { border:1px solid #ddd; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; height:1%; margin:0 0 10px; padding:10px; position:relative; }
ol.commentlist li.alt {}
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment {}
ol.commentlist li div.comment-author { padding:0 170px 0 0; }
ol.commentlist li div.vcard {}
ol.commentlist li div.vcard cite.fn { font-weight: bold; font-size: 14px; line-height: 25px; }
ol.commentlist li div.vcard img.avatar { border:4px solid #d5d5d5; float:left; margin-right:10px;}
ol.commentlist li div.vcard img.avatar-32 {}
ol.commentlist li div.vcard img.photo {}
ol.commentlist li div.vcard span.says {}
ol.commentlist li div.commentmetadata {}
ol.commentlist li div.comment-meta { font: 12px Arial, Verdana; color#aaa}
ol.commentlist li div.comment-meta a { color:#aaa; text-decoration:none; }
ol.commentlist li div.comment-meta a:hover { color:#333; background: none; }
ol.commentlist li div.commentbody {margin-top: 1em; font-size: 14px}
ol.commentlist li p {  margin:0 0 1em; }
ol.commentlist li ul { list-style:square; margin:0 0 1em; padding:0; text-indent:0; }
ol.commentlist li div.reply { margin-bottom: 7px }
ol.commentlist li div.reply a:hover { background:#c30; border:1px solid #c00; }
ol.commentlist li div.reply a { background:#999; border:1px solid #666; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; color:#fff; font:bold 9px/1 arial,sans-serif; padding:5px 6px 4px;  text-align:center; width:36px;color:#fff; text-decoration:none; text-transform:uppercase;}
ol.commentlist li ul.children { list-style:none; margin:1em 0 0; text-indent:0; }
ol.commentlist li ul.children li { }
ol.commentlist li ul.children li.alt {}
ol.commentlist li ul.children li.bypostauthor {}
ol.commentlist li ul.children li.byuser {}
ol.commentlist li ul.children li.comment {}
ol.commentlist li ul.children li.comment-author-admin {}
ol.commentlist li ul.children li.depth-2 { margin:0 0 .18em; }
ol.commentlist li ul.children li.depth-3 { margin:0 0 .18em; }
ol.commentlist li ul.children li.depth-4 { margin:0 0 .18em; }
ol.commentlist li ul.children li.depth-5 { margin:0 0 .18em; }
ol.commentlist li ul.children li.odd {}
ol.commentlist li.even { background:#fff; }
ol.commentlist li.odd { background:#f6f6f6; }
ol.commentlist li.parent { }
ol.commentlist li.pingback { }
ol.commentlist li.pingback.parent { }
ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}


/***** Comment Form *****/
#commentform input {width: 170px;	padding: 4px;	border:1px solid #ccc;	font-size:14px;	font-family:Georgia, Times;	}
#commentform {	margin: 5px 10px 0 0;	padding-bottom:30px; }
#commentform p label { width: 120px; display:block;float:left}
#commentform p {border-top:1px solid #eee; padding: 10px 0; margin:0;font-size: 14px}
#commentform textarea {	width: 70%;	padding: 2px;	border:1px solid #ccc;	padding: 4px;	font-family: Georgia, Times;}
.cancel-comment-reply {display: none;}
#commentform #submit {	margin-left: 120px;border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;border:1px solid #aaa; font-weight: bold; cursor: pointer;}
#commentform small, #commentform #submit {color:#333;text-transform: uppercase;font-family: arial;}
#commentform small {font-size:11px;font-weight: bold}	
#respond h3 { padding-top: 20px; margin-bottom: 10px; }


/***** Captions *****/

.wp-caption {	border: 1px solid #ddd;	text-align: center;	background-color: #fafafa;	padding-top: 5px;	margin: 5px 25px 25px 0px;	-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: 12px; line-height: 17px;	padding: 4px 4px 5px 0;	margin: 0;	}


/***** PREV NEXT NAV *****/

.alignleft {float:left;}
.alignright {float:right;}
.aligncenter, div.aligncenter {	display: block;	margin-left: auto;	margin-right: auto;}
.navigation, .comment-navigation {display: block;clear:both;}
.comment-navigation {margin-top: 15px;	padding-bottom: 5px;}		
.navigation a, .comment-navigation a { color: #666; background: #eee;padding: 5px 10px;-moz-border-radius: 3px;	-khtml-border-radius: 3px;	-webkit-border-radius: 3px;	border-radius: 3px;}
.navigation a:hover, .comment-navigation a:hover {background: #ddd;padding: 5px 10px;-moz-border-radius: 3px;	-khtml-border-radius: 3px;	-webkit-border-radius: 3px;	border-radius: 3px;}
.attachment a { border:0}
.navigation a img {border-radius:0; border:none}
.navigation-image a {border:none}