/*  
Theme Name: RGB
Theme URI: http://xuyiyang.com/wordpress-themes/rgb/
Description: A crsip, simple and highly customizable theme for WordPress.
Version: 1.1
Author: Xu Yiyang
Author URI: http://xuyiyang.com/

The theme is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

This theme uses the wonderful Sweetie Icons by Joseph North:
http://sweetie.sublink.ca/
*/

/* General */
*,html {
	margin:0;
	padding:0;
}
body {
	font:62.5% "Lucida Grande", Segoe UI, Verdana, Arial, sans-serif;
	text-align:center;
}
fieldset, img {
	border:0;
	outline:0;
}
hr, #searchform br, .counter {
	display:none;
}
a, a:link, a:active, a:visited {
	text-decoration:none;
	color:#396EB5;
}
a:hover {
	text-decoration:underline;
	color:#388A3D;
}
p {
	margin:0 0 10px;
}
ol li {
	list-style:decimal outside;
}
acronym, abbr, span.caps {
	cursor:help;
}
acronym, abbr {
	border-bottom:1px dashed #ddd;
}
blockquote {
	border-left:3px solid #ddd;
	margin:20px;
	padding-left:10px;
}
cite, ins {
	text-decoration:none;
}
code, pre, kbd {
	font:1em 'Courier New', Courier, sans-serif;
}
small {
	font:.8em Arial, Helvetica, sans-serif;
	color:#aaa;
}
strike, del {
	color:#aaa;
	text-decoration:line-through;
}
label {
	cursor:pointer;
}
h1, h2, h3, h4 {
	font-family:"Trebuchet MS", "Tahoma", sans-serif;
	text-transform:uppercase;
}
h1 {
	text-align:left;
	padding:42px 0 5px 20px;
	font-size:2em;
}
h2 {
	margin:5px 0;
	font-size:1.7em;
}
h3, h4 {
	margin:15px 0 0;
	font-size:1.3em;
}
/* Container */
#container {
	position:relative;
	margin:0 auto;
	font-size:1.2em;
	width:900px;
}
#content {
	width:900px;
	margin:0 auto;
}
/* Header and Navigation */
#header {
	margin:10px auto;
	line-height:1.2em;
	color:#fff;
	width:900px;
}
#header a {
	color:#fff;
}
.description {
	text-align:left;
	padding:5px 0 5px 22px;
	font-size:1em;
}
#nav {
	display:block;
	height:32px;
	margin:0 auto !important;
	margin:0;
	padding:0;
	text-align:left;
	letter-spacing:0.15em;
	text-transform:uppercase;
	width:900px;
	list-style:none;
}
#nav li {
	float:left;
	padding:0;
	margin:0;
}
#nav li a {
	display:block;
	line-height:32px;
	padding:0 8px;
	text-decoration:none;
	font-size:.9em;
	font-weight:300;
}
#nav li a:hover {
	color:#fff;
}
li.current_page_item a {
	color:#fff !important;
}
/* Search */
#search {
	position:absolute;
	display:block;
	width:300px;
	right:18px;
	line-height:1em;
}
#nav #search:hover {
	background:none;
}
.searchinput {
	font:.9em "Lucida Grande", Segoe UI, Verdana, Arial, sans-serif;
	width:236px;
	height:16px;
	margin:4px 0 0;
	padding:3px 3px 1px 3px;
	font-size:.9em;
}
.searchinput:focus, .searchinput:hover {
	border:1px solid #EB4835;
}
#searchsubmit {
	color:#fff;
	position:absolute;
	font:.8em "Trebuchet MS", "Tahoma", sans-serif;
	width:60px;
	height:22px;
	margin:4px 0 0 6px;
	border:1px solid #388A3D;
	text-transform:uppercase;
	cursor:pointer;
	background:#5FA163;
}
#searchsubmit:hover {
	border:1px solid #EB4835;
	background:#EF6C5D;
}
/* Primary Content and Entries */
#primary-content {
	float:left;
	text-align:left;
	font-size:1.2em;
	line-height:1.6em;
	margin:0 10px;
	width:540px;
	display:inline;
	overflow:hidden;
}
#primary-content ul, #primary-content ol {
	margin:8px 0;
}
.entry ul li {
	list-style-image:url(images/bg_li.png);
}
.entry li{
	margin:0 5px 0 30px;
}
.pagetitle {
	margin-top:15px;
	text-align:center;
}
.entry {
	text-align:left;
	padding:10px 8px;
}
.entry-header {
	font-size:1.7em;
	font-weight:400;
	margin:0;
	padding:3px 0;
	width:400px;
}
.entry-date {
	text-align:left;
	color:#aaa;
	margin:0 0 10px;
	border-bottom:1px dashed #ddd;
}
.entry-cmt {
	float:right;
	font-size:1em;
	font-weight:700;
	padding:5px 8px;
	margin:-20px 2px 2px 2px;
	border:1px dashed #ddd;
	text-transform:uppercase;
	cursor:pointer;
}
.entry-footer {
	color:#aaa;
	text-align:left;
	margin:0 0 20px;
	line-height:1.2em;
	padding:4px 0;
	border-bottom:1px dashed #ddd;
}
.entry-footer a {
	color:#aaa;
}
/* Sidebar */
#sidebar {
	float:left;
	line-height:1.2em;
	margin:13px 15px !important;
	margin:13px 0;
	width:304px;
	text-align:left;
	font-size:1em;
}
#sidebar h2 {
	font-size:1.3em;
	font-weight:400;
	margin:10px 2px 0 7px;
	padding:2px 0;
}
#sidebar ul {
	list-style:none;
}
#sidebar li {
	width:100%;
}
#sidebar ul ul li {
	width:92%;
	margin:0 8px;
}
#sidebar ul ul li a, #sidebar ul ul li a:link, #sidebar ul ul li a:visited {
	display:block;
	width:100%;
	padding:4px;
	text-decoration:none;
	border-bottom:1px solid #ddd;
}
#sidebar ul ul li a:hover {
	text-decoration:none;
	border-bottom:1px solid #ccc;
}
.intro {
	font-size:.9em;
	width:90%;
	margin:8px 4%;
	padding:0 0 15px 0;
	border-bottom:1px dashed #ddd;
	line-height:1.4em;
}
#sidebar ul ul {
	margin:0;
	padding:0 0 10px;
}
/* Shelf Elements */
#shelf {
	position:fixed !important;
	position:absolute;
	z-index:300;
	left:0;
	bottom:0 !important;
	bottom:auto;
	width:100%;
	min-width:900px;
	font-size:1.3em;
	background:url(images/bg_shelf.png) transparent repeat !important;
	background:#1a1a1a;
	overflow:hidden;
	clear:both;
}
#toggle {
	text-align:left;
	list-style:none;
	display:none;
}
#toggle h2 {
	color:#fff;
	font-size:1.3em;
	text-transform:uppercase;
	margin:10px 2px 0;
}
#toggle ul {
	list-style:none;
	margin:5px 0;
}
#toggle li {
	float:left;
	width:21%;
	margin-left:1.8% !important;
	margin-left:1.5%;
	padding:0 4px 6px 4px;
	display:inline;
}
* html #toggle li {
	width:20%;
}
#toggle ul li {
	width:100%;
	padding:0 8px;
	margin:2px 0;
}
#toggle ul li a, #toggle ul li a:link, #toggle ul li a:visited {
	display:block;
	color:#ddd;
	padding:2px 0;
	white-space:nowrap;
	border-bottom:1px solid #ddd;
	text-decoration:none;
}
#toggle ul li a:hover {
	color:#ccc;
	border-bottom:1px solid #ccc;
}
#toggle li.tags {
	width:45%;
}
#toggle li.tags a {
	color:#ddd;
}
#toggle li.tags a:hover {
	color:#ccc;
	background:none;
	text-decoration:underline;
}
a.open, a.close {
	font-size:.9em;
	z-index:500;
	color:#fff !important;
}
/* Footer */
#footer {
	clear:both;
	height:55px;
	margin:0 auto;
	width:900px;
}
#footer p {
	text-align:center;
	font-size:1em;
	line-height:1.5em;
	padding:12px 0 0;
}
/* Comments and Trackbacks */
.comment-section {
	margin:30px 10px;
	text-align:left;
}

#leavecomment {
	margin:30px 25px 20px 0 !important;
	text-align:center;
	color:#aaa;
	font-size:1.8em;
}
.section-title {
	font-size:1.6em;
	font-weight:400;
	text-align:center;
	margin:5px 25px 5px 0;
}
#commentform {
	margin:15px 0;
}
#authorinfo {
	width:100%;
}
input#author, input#email, input#url, textarea#comment {
	font:.9em "Lucida Grande", Segoe UI, Verdana, Arial, sans-serif;
	border:1px solid #388A3D;
	padding:1px;
}
#commentform input:focus, #commentform textarea:focus, #commentform input:hover, #commentform textarea:hover {
	border:1px solid #EB4835;
}
textarea#comment {
	width:99%;
}
#commentform #submit {
	float:right;
	width:60px;
	height:22px;
	margin:0 0 0 10px;
	border:1px solid #388A3D;
	padding:2px;
	text-transform:uppercase;
	cursor:pointer;
	color:#fff;
	background:#5FA163;
	font:.7em "Trebuchet MS", "Tahoma", sans-serif;
}
#commentform #submit:hover {
	border:1px solid #EB4835;
	background:#EF6C5D;
}
.togglecomments {
	margin:0 0 0 8px;
	font-size:.8em;
}
.allcomments {
	padding:0 0 0 18px;
	background:url(images/tag2.png) left center no-repeat;
}
.recentonly {
	padding:0 0 0 18px;
	background:url(images/tag3.png) left center no-repeat;
	display: none;
}
.comment-header {
	text-align:left;
	margin:2px;
	font-size:1.6em;
}
.comment-content {
	margin:10px;
}
#commentlist .comment-content ul li, #pinglist .comment-content ul li {
	list-style-image:url(images/bg_li.png);
}
#commentlist .comment-content li, #pinglist .comment-content ul li {
	margin:0 5px 0 30px;
}
.comment-footer {
	text-align:left;
	margin:0;
}
#commentlist, #pinglist {
	list-style:none;
}
#commentlist li, #pinglist li {
	margin:10px 0;
	list-style:none;
	padding:4px 0;
	line-height:1.8em;
	border-bottom:1px dashed #ddd;
}
#commentlist .comment-content li, #pinglist .comment-content li {
	border:0px;
}
#commentlist li img {
	padding:0;
	border:0;
}
#commentlist li span.gravatar {
	float:right;
	border:1px solid #aaa;
	width:32px;
	height:32px;
}
#commentlist li .counter, #pinglist li .counter {
	display:none;
}
/* Images */
img {
	border:0;
}
p img {
	border:0;
	max-width:100%;
	padding:2px;
}
img.center, img[align="center"] {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
img.alignright, img[align="right"] {
	padding:4px;
	margin:0 0 2px 7px;
	display:inline;
}
img.alignleft, img[align="left"] {
	padding:4px;
	margin:0 7px 2px 0;
	display:inline;
}
img.noborder {
	border:0 !important;
}
.feedlink {
	background:url(images/rss.png) no-repeat center right;
}
/* Text align */
.center {
	text-align:center;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}
.item {
	text-align:right;
}
/* Float */
.floatright {
	float:right;
}
.floatleft {
	float:left;
}
/* Miscellaneous */
.navigation {
	display:block;
	font-size:.9em;
	text-align:center;
	padding:10px 0;
}
.alert {
	font-size:.8em;
	color:#EB4835;
	background:#FFFF99;
	text-align:center;
	margin:10px auto;
	padding:3px;
}
.metacmt {
	background:url(images/comment.png) left center no-repeat;
	padding:2px 0 2px 20px;
}
.metacat {
	background:url(images/tag1.png) left center no-repeat;
	padding:2px 0 2px 16px;
}
.metatag {
	color:#aaa;
	background:url(images/tag2.png) left center no-repeat;
	padding:0 0 0 16px;
}
.metaedit {
	background:url(images/edit.png) left center no-repeat;
	padding:2px 0 2px 17px;
}
.clear {
	clear:both;
}