﻿/*   
Theme Name:jQ
Theme URI:http://devolux.org/jq
Description:WordPress theme with two columns, four widget areas and loads of jQuery functions (dropdown navigation, font resizing and more). The theme options include a movable sidebar, custom colours, excerpts on index pages, category or page navigation, different font and colour schemes. 
Author:Devolux
Author URI:http://devolux.org/
Version:2.4
Tags:two-columns, fixed-width, theme-options, custom-colors, blue, green, dark
.
Released under the <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
.
*/

/*       ###############################
         BASIC TAGS
         ############################### */

* {margin:0; padding:0;}
body {font-size: 14px; color:#c1c1c1; background-color: #000; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif,'微软雅黑'; }
h1, h2, h3, h4, h5, h6 {margin:10px 0 0 0;}
p {margin:0px 0px 20px 0px;}
a {outline:none; text-decoration:none; color:#fc0;}
a:hover { text-decoration: underline;}
a img {border:none;}

/*       ###############################
         BASIC LAYOUT
         ############################### */

div#outline {width:998px; margin:0 auto;}
#top_left{ background: url(images/top1.jpg) no-repeat; width: 489px; height: 225px; float: left; }
#top_right_top, #top_right_bottom, #description{	width: 509px; float: left; }
#top_right_top{ background: url(images/top2.jpg) no-repeat; height: 145px; }
#top_right_bottom{ background: url(images/top3.jpg) no-repeat; height: 44px; }
#description{ background: url(images/top_bg.jpg) no-repeat; height: 36px; }

#nav  li{ float: left;  margin: 12px; list-style:none;  }
#nav li a{ color: #c1c1c1; }
#nav li a:hover, #nav .current_page_item a{
	color: #fc0; 
}
div#content {clear:both; background:#202020 url(images/page_bg.gif) repeat-y;}
.rand{
	margin: 15px 5px!important;
}
.rand li{
	width: 250px; float: left; list-style: none; line-height: 25px;
}

div#left, .single #left, .error404 #left {width:565px; margin:0 0 0 80px; float:left; padding:0 0 10px 0;  _margin: 0 0 0 40px; line-height: 20px;}
#left blockquote{ background: url(images/q_start.gif) no-repeat; margin: 5px 10px; padding: 10px 10px 10px 20px; color: #999;}
.page #left, .single #left, div#relate{ width: 837px;}
div#left .pagebar{ margin: 10px 20px; }
.single_content ul, .single_content ol, .excerpt ol, .excerpt ul{
	margin: 10px 40px;
}
div#relate{
	margin: 0 0 0 80px; background-color: #202020;
}
div#relate h3{
	color: #00B32B; 
}
div#relate a{ color: #c1c1c1; }
div#relate a:hover{ text-decoration: underline; }
div#relate ul{
	list-style: none; margin: 10px 0;
}
div#relate ul li{
	padding: 3px 0;
}
div#rand_post, div#most_comments, div#most_read{
	width: 266px; float: left; border-top: 1px dotted #ccc;
}
div#rand_post{
	margin: 0 0 0 20px; _margin: 0 0 0 10px;
}
div#most_read li span, div#most_comments li span{
	font-size: 10px; color: #666;
}
div#right {width:250px; margin:0; float:left; padding:10px 0 10px 20px;}
div#left, div#right{
	background: url(images/bbg.jpg) repeat-x; 
}

p#toggle-all {float:right; width:100px; margin:0; padding:0;}

div.headline {margin:20px 0 0 20px;}
div.excerpt {padding:0 0 5px 0; border-bottom:dotted 1px #ccc; margin:0 0 0 20px;}

div.post-single {margin:0 0 20px 0;}

div.preview {float:right; background:url(img/preview.png) no-repeat; margin:15px 0 0 0;}
div.preview a {display:block; width:20px; height:20px; color:#ccc !important; font:normal 14px Verdana, serif;}

div.date {position:absolute; width:60px; height:60px; padding:10px 0; margin:0 0 0 -80px; background:#fff; -moz-border-radius:5px;-webkit-border-radius: 5px;}

div.single_content {clear:both; margin:0 0 20px 0px;}
div.alert{ text-align: center; color: #f66; font-size: 16px; }

div#appendix {clear:both; background:#000 url(images/footer.jpg) no-repeat 80px 0; padding:50px 30px 0 85px; color: #666;}
div#appendix p{ float: left;}
div#appendix .footer{
	float: right; margin: 17px 60px 0 0; _margin:17px 30px 0 0; 
}
div.app_widget {float:left; width:280px; padding:0px 0px 0px 30px;}
div#appendix div.widget {padding:20px 0 0 0;}



/*       ###############################
         NAVIGATION
         ############################### */

div#nav ul {float:left; list-style:none;}

div#nav li {float:left;}
div#nav li a {display:block; margin:0; padding:11px 16px 10px 16px; color:#f5f5f5; text-decoration:none; font:bold 12px Helvetica, sans-serif; border-left:1px solid #222;}
div#nav li a:hover {background:#111; color:#215c97;}

ul#mail_rss a {text-decoration:underline !important;}

/*       ###############################
         WIDGETS
         ############################### */

.widget, .linkcat { padding:25px 15px 0 15px !important; margin:5px 0; }

div#right ul, div#appendix ul, .linkcat {list-style:none; padding:0;}
div.widget h4, .linkcat h4{ font-size: 14px; margin:0; padding: 0 0 0 20px; color: #00b32b; background: url(images/nav_bg.jpg) no-repeat; height: 44px; line-height: 44px; }
div.widget a{display:block; padding:3px 0px; color:#a1a1a1; _display: inline; }
div.widget a:hover {color:#666; text-decoration:underline; }
div.w_comments a{ display: inline; }
div.w_comments ul{ margin: 0 15px 0 0; }
div.widget li, .blogroll li{padding:0 0 0 20px; margin:0; }
.linkcat .blogroll{ margin: 0; padding: 0; }
.blogroll a{ color: #a1a1a1; display: block; padding: 3px 0; }
div.widget li li {padding:0 0 0 20px; margin:0; background:none; border-top:none; border-bottom:none;}

div#tag_cloud div{
	padding: 3px 20px!important;
}
div#tag_cloud a {display:inline;}

.textwidget, .textwidget a {font: italic 120% Georgia, serif !important;}
.textwidget p {margin: 0; padding: 0;}

/*calendar*/
table#wp-calendar {margin:0 0 10px 0; border-collapse:collapse; text-align:center; font-size:14px;}
table#wp-calendar a {font:normal 14px Verdana;}
table#wp-calendar caption {padding:0 0 5px 0;}
table#wp-calendar th {font:bold 14px Verdana;}
table#wp-calendar th, td {width:30px; height:30px;}

/*       ###############################
         TEXT
         ############################### */

div#blog-line h1 a { color:#fff;}
div#blog-line h1 {padding:20px 0 0 0; margin: 45px 0 0 0 ; font-size: 20px;}

div#left a {color:#fc0;}
div#left a:hover { text-decoration:underline;}
div#left h2.page_headline {margin:10px 0;color:#00b32b; font-size: 16px;}
div#left h2 a, .single #left h2{color:#00b32b; font-size: 16px; }
div#left h2 a:hover {text-decoration:underline;}

div.excerpt {font-size:14px;}
div.single_content { padding: 0 20px; margin: 15px 0;}

p#font-resize a {display:inline; font:18px bold Verdana, sans-serif; padding:0px 5px;}

p.previous-posts {margin:50px 0 0 20px; float:left;}
p.next-posts {margin:50px 0 0 0; float:right;}
div.date {font:normal 14px Georgia; text-align:center; color:#666;}
p.date-month {margin:2px 0 15px 0; color:#999; font:normal 32px Georgia;}

p.tag_info {margin:0; font-size: 12px;}
p.post_info { color: #6b6b6b; font-size: 12px; margin: 5px 0; }

p.offset {margin:5px 0;}

p.wp-bookmark {margin:0;}
.wp-logo {float:left;}
div#credits {margin:0 0 0 65px; padding:5px 10px; height:46px; border:1px solid #ccc; -moz-border-radius:10px;-webkit-border-radius: 10px; font:120% normal Georgia, serif;}
a#totop {float:right; font:bold 120% Verdana, sans-serif;}

.category-link {background:url(img/page.png) no-repeat;}
.comment-link {background:url(images/comments.png) no-repeat;}
.tag-link {background:url(images/tag.png) no-repeat;}
a.comment-link, .tag-link a{
	color: #00b32b!important; 
}
.hide-link {float:right; padding:1px 0 0 0; }
.tag-link, .hide-link{ _float: left; }
.info-icon {padding:3px 0 3px 20px; margin:0; background-position:0px 4px;}
 
.clear {clear:both;}

/*      ##################################
           COMMENTS
        ################################## */

div.comment {margin:0 0 20px 0; padding:5px 20px; }
div.comment ul, div.comment ol{ list-style: none; }
.comment-author { margin: 5px 0; }
.children{ margin: 5px 0 0 75px!important; }
.children li{ margin: 0; border-top: 1px dotted #ccc; border-bottom: none; padding: 10px 0; }
.children .even{ border-top: 1px dotted #ccc; border-bottom: none; }
.children .even .reply{ display:none; }
.byuser, .even{  border-bottom:1px dotted #ccc;  padding: 15px 0;}
.avatar {float:left; margin:0 10px 0 0; border:5px solid #eee;-moz-border-radius:5px;-webkit-border-radius: 5px;}
.thread-alt{ background-color: #303030; border-bottom: 1px dotted #ccc; }

div.comment-body{ margin:0 20px; }
.children .comment-body{ margin: 0; }
div.comment-body p{ margin: 8px 0 10px 57px; }
.reply{ margin: 0 80px; }
h2#comment-header {margin:40px 0 0 0 !important; border-bottom:1px dotted #ccc; padding:0 0 5px 0;}
#respond h2 {margin:20px 0 10px 0 !important;}

#commentform .face{
	margin: 0 0 5px 0;
}

/*        ##################################
           FORMS
        ################################## */

label {display:block; font-size: 14px; }
.text, .codetxt {width:350px; margin:0 0 10px 0; padding:5px; background:url(img/bg-form-text.gif) repeat-x left top #fff; border:1px solid #ccc;}
textarea {width:450px; height:150px; margin:0 0 10px 0; padding:5px; background:url(img/bg-form-text.gif) repeat-x left top #fff; border:1px solid #ccc; -moz-border-radius:5px;}
.submit {width:auto; padding:5px 20px; margin:5px 0; color:#fff; background:#333; border:1px solid #333; -moz-border-radius:5px;-webkit-border-radius: 5px; cursor: pointer;}
input {-moz-border-radius:5px;-webkit-border-radius: 5px; margin:0 5px 0 0;}

/*        ##################################
           SEARCHFORM
        ################################## */

input#search {width:120px; padding:2px; background-color: #FFF; border:1px solid #ccc;}
#search-submit {padding:4px; color:#fff; background:#333 url(images/search.jpg) no-repeat; border:none; cursor: pointer; width: 27px; height: 23px; }
div#right div#searchform {padding: 0 0 0 30px;}
p.not-found {padding: 0 0 0 20px; margin:0;}

h2.archive-title { margin: 3px 0 0 20px; color: #c1c1c1; font-size: 18px;}

/*        ##################################
           WORDPRESS CSS
        ################################## */

img.alignright {float:right; margin:0 0 30px 30px;}
img.alignleft {float:left; margin:0 50px 30px 0;}
img.aligncenter {display:block; margin-left:auto; margin-right:auto;}
a img.alignright {float:right; margin:0 0 30px 30px;}
a img.alignleft {float:left; margin:0 50px 30px 0;}
a img.aligncenter {display:block; margin-left:auto; margin-right:auto;}

.aligncenter, div.aligncenter {display:block; margin-left:auto; margin-right:auto;}
.alignleft {float:left;}
.alignright {float:right;}
.codetxt {width:50px;}
.code input{ width: 50px; float: left; }
.code img{ float: left;  margin: 0 10px; }
/*       ###############################
         CLEARFIX
         ############################### */

.clearfix:after {content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0;}
.clearfix {display:inline-block;}
html[xmlns] .clearfix {display:block;}
* html .clearfix {height:1%;}
.clear {clear:both;}
