/*
Theme Name: Rin
Theme URI: http://www.brokenkode.com/rin/
Description: Nebula flavoured Rin
Version: 1.0 
Author: Khaled Abou Alfa
Author URI: http://www.brokenkode.com/
Ported to CPG by: Billy Bullock
Porter URL: http://www.billygbullock.com


Rin Credits -
Rin is an extension of the original Manji theme. The development was
done by Khaled Abou Alfa and Joshua. Originally released 30th January 2005.

Original Manji Credits -
The Manji template designed by Khaled Abou Alfa (www.brokenkode.com) 
and Root (www.atthe404.com/blog); Root is currently offline. Please go read the
FAQ on www.brokenkode.com/board for further information.

Joshua (aka Alphaoide) has been helping complete this project in the wake of 
Root's disappearance.

Also a big shout out to Franchesco Anselmo & David Prince for their invaluable 
support.

Also I've got to thank the wordpress forums for all the little help in solving 
loads of questions we had when creating this theme.


License -
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Theme for blogging software. Initially released for Wordpress.
Copyright (C) 2004 khaled abou alfa.

This program is free software; you can redistribute it and/or modify it under 

the terms of the GNU General Public License as published by the Free Software 
Foundation, version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 

PARTICULAR PURPOSE. See the GNU General Public License for more details.
*/


/* <<<<<<<<<<<<<<<<<<<<<<<<<< Structural Layout >>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
body {
 background: #fff;
 margin:  0;
 padding: 0;
 text-align: center; /* IE hack Part 1 */ 
}


/*---------------------------- Site Navigation -------------------------------*/
#hnav {
 width: 750px;
 margin: 8px auto;
 height: 23px;
 background: #d9d7da url(images/navgradient.jpg) repeat-x top;
 border-bottom: 1px solid #ccced2;
 border-left: 1px solid #f5f6f7;
 border-right: 1px solid #ccced2;
}


#header {
 float: left;
 width: 235px;
 margin: 0px;
 padding: 0px;
 text-align: left;
 height: 20px;
}


#hmenu {
 margin: 2px 5px 0 0;
 text-transform:lowercase;
 text-align: right;
 float: right;
 width: 460px;
}


#masthead {
 background: url(images/main2.jpg);
 width: 750px;
 height: 300px;
 margin: 0 auto;
 padding: 0;
 border-top: 0px solid #b8e4e7;
 border-right: 0px solid #86c9cf;
 border-bottom: 0px solid #00527f;
 border-left: 0px solid #86c9cf;
}


/*------------------------------- Main Body ----------------------------------*/
#container {
 width: 750px;
 margin: 10px auto;
 background: #f5f6f7;
 border-left: 1px solid #864B2D;
 border-right: 1px solid #864B2D;
 font-family: Verdana,  Arial, Helvetica, sans-serif;
 font-size: .70em;
 text-align: left; /* IE hack Part 2 */
 border-top: 15px solid #864B2D;
 border-bottom: 15px solid #864B2D;
}


#topcontentdouble {
 float: right;
 width: 500px;
 height: 27px;
 background: #f5f6f7 url(images/header_whole2.gif) no-repeat right top;
 margin: 9px 10px 0 0;
 display: inline;
}


#topcontent {
 width: 730px;
 background: #f5f6f7 url(images/header_whole.gif) no-repeat top;
 margin: 9px auto 0 auto;
 height: 27px;
}


#content {
 float: right;
 width: 500px;
 background: #ffffff;
 margin:  0 10px 0 0;
 display: inline;
}


#bottomcontentdouble {
 display: inline;
 float: right;
 width: 500px;
 background: #f5f6f7 url(images/bottom_whole2.gif) no-repeat -40px 0;
 margin: 0 10px 9px 0;
 height: 27px;
}

#singlecontent {
 width: 730px;
 background: #ffffff;
 padding-top:0;
 margin:  0 auto;
}


.post {
 margin-top: 0px;
 margin-left: 10px;
 margin-right: 20px;
 margin-bottom: 80px;
}


.singlepost {
 margin: 0px 105px 80px 105px;
}


#bottomcontent {
 width: 730px;
 background: #f5f6f7 url(images/bottom_whole.gif) no-repeat top;
 margin: 0px auto 0px auto;
 padding-bottom: 9px;
 height: 27px;
}


.meta {
 font-size: .9em;
 line-height: 18px;
}


.feedback {
 float: right;
 font-size: 1.0em;
 line-height: 35px;
}


.author {
 width: 200px;
 float: right;
 text-align: right;
}


/*---------------------------- Page Navigation -------------------------------*/
.postnavigation {
 height: 45px;
}


.left {
 float: left;
 padding-left: 105px;
}


.right {
 float: right;
 padding-right: 105px; 
}


.leftdouble {
 float: left;
 padding-left: 10px;
}


.rightdouble {
 float: right;
 padding-right: 10px; 
}


/* ------------------------------ Sidebars -----------------------------------*/
#sidebar {
 position: relative;
 float: left;
 width: 225px;
 margin: 0 0 0 10px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 1.0em;
 text-align: left; /* IE hack Part 2 */
 display: inline;
}


#sidebar ul {
 position: relative;
}

#sidebar ul li {
 list-style-type: none;
 list-style-image: none;
}

#sidebar ul, #sidebar ul li {
 margin: 0;
 padding: 0;
 
}

#sidebar ul li ul{

 background: #fff;
 margin: 0 5px 0 0;
 padding: 10px 5PX 15px 5px;
}

#sidebar h2 {
 background: url(images/navgradient.jpg) repeat-x top;
 height: 16px;
 margin: 10px 5px 0 0px;
 padding:  8px 0 1px 5px;
 color: #8B9198;
 border-bottom: 1px solid #fff;
}


/*
The following is the fix
for 3-pixel-jog bug in IE 
*/
/* Hide from IE5-mac. Only IE-win sees this. \*/
 
* html #content {
 /*margin-right: 7px;*/
}
 
* html #sidebar {
 height: 1%;
}
/* End hide from IE5/mac */


#sidebar ul li ul li{
 margin: 4px 10px 4px 10px;
 display: block;
 background: url(images/bullet.jpg) no-repeat;
 padding: 0 0 0 18px;

}


#sidebar ul li ul li a{
 display: block;
 height:1%; /* IE WIN */
}


#sidebar ul li ul li a:hover{
 background: #F0F0F0;
 text-decoration: none;
}


#sidebar ul li ul li ul {
 margin: 0;
 padding: 0;
}


/* ------------------------------ Comments -----------------------------------*/
#response {
 margin: 0px 110px;
}


#commentlist {
 padding: 0px 10px 0px 10px;
 margin-left: 10px;
 margin-right: 10px;
 color: #7b7b7b;
 list-style-type: none; 
 text-align: justify;
}


#commentlist li  p{
 padding: 0px;
 margin: 8px 0px 0px 0px;
}


.commentname {
 width: 220px;
 float: left;
 font-size: 0.9em;
 margin: 0;
 padding: 0  0 2px 0;
}


.commentinfo{
 width: 250px;
 float: right;
 text-align: right;
}


.commenttext {
 clear: both;
 padding-top: 0px;
 margin-top: 0px;
 margin-bottom: 70px;
 border-top: 1px solid #e4ebef;
 text-align:left; 
 line-height:16px;
}


/* ----------------------------- Comment Form ------------------------------- */
h2#postcomment {
 background: #FFFFFF url(images/comments.gif) no-repeat center top; 
 margin: 40px 0px 0px 0px;
 padding: 0 0 20px 10px;
}


#commentform {
 background: #f5f6f7; 
 padding: 1px 20px;
 margin-top: 0px;
 margin-bottom: 0px;
}


#commentboxes {
 width: 200px;
 float: left;
 color: #7b7b7b;
 font-size: 0.9em;
}


p.instructions {
 margin: 14px 0 0 200px;
 color: #7b7b7b;
 font-size: 0.9em;
 text-align: justify;
 border-left-width: 1px;
 border-left-style: solid;
 border-left-color: #864B2D;
 padding-left: 15px;
 position: relative;
}


#inputbox {
 clear: both;
 color: #7b7b7b;
 font-size: 0.9em;
}


#button{
 padding-top: 0.5em;
}


#commentsbottom {
 background: #FFFFFF url(images/commentsdown.gif) no-repeat center top; 
 margin: 0;
 padding: 0;
 height: 22px;
}


/* --------------------------- 'Sidebar' Structure -------------------------- */
#menu {
 width: 750px;
 height: 45px;
 background: #F0F0F0 url(images/bottomgradient.jpg) repeat-x top;
 border-top: 1px solid #d1d4d9;
 border-right: 1px solid #864B2D;
 border-bottom: 2px solid #864B2D;
 border-left: 1px solid #d1d4d9;
}


#searchform {
 float: left;
 margin-top: 12px;
 padding-left: 20px;
}


#topimage {
 margin: 2px 0 0 0; 
 cursor: pointer;
 width: 60px;
 height: 40px;
 background: url(images/topbutton.gif) no-repeat top;
 float: right;
 padding-right: 9px;
 padding-top: 3px;
}


#topimage a{
 display:block;
 height:100%;
 overflow:hidden;
 text-decoration:none;
}


/* ------------------------------- Credits ---------------------------------- */
#footer {
 margin: 10px auto;
 width: 750px;
 font-size: .8em;
}


#footer p {
 margin-top: 0;
}


.clearer {
 clear: both;
 line-height: 0px;
}


/*------------------------------ H Menu Styling ----------------------------- */
#top { 
 display: inline;
 list-style-type: none;
}


#hnav ul li{
 display: inline;
}


#hnav ul li a {
 color: #919191;
 text-decoration: none;
 padding: 5px 0px 5px 30px;
 font-size: 0.7em;
 font-family: Arial, Verdana, Helvetica, sans-serif;
 font-weight: normal;
}


#hnav ul li a:hover {
 color: #bfbfbf;
}



/* <<<<<<<<<<<<<<<<<<<<<<<<<<<<< Typography >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
/* ------------------------------- General ---------------------------------- */
a {
 color: #000000
;
 text-decoration: none;
}


a:hover {
 color: #990000;
 text-decoration: underline;
}


top a {
 border: 0;
 text-decoration: none;
}


blockquote {
 background: #f5f6f7;
 padding: 10px 20px;
}


code {
 font-family: Arial, Verdana, Helvetica, sans-serif;
 font-size: 1.0em;
}


h1 a {
 margin: 0;
 padding: 0;
 text-decoration: none;
 color: #6f6f6f;
}


h2 {
 color: #000000;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1.1em;
 margin-bottom: 0px;
 margin-top: 40px;
 margin-left: 10px;
}


.singlepost h2{
 margin-top: 0px;
}


h3 {
 text-align: left;
 color: #000000;
 margin: 0;
 margin-top: 3px;
 padding: 0;
 font-size: 0.9em;
 line-height: 26px;
 font-weight: normal;
}


/* ------------------------------Site Navigation ---------------------------- */
#blogtitle {
 margin: 0;
 padding: 5px;
 font-family: Arial, Helvetica, sans-serif;
 font-weight: normal;
 font-size: 0.7em;
}


#blogtitle a{
 font-weight: bold;
}


#blogtitle a:hover{
 color: #bfbfbf;
 font-weight: bold;
 text-decoration: none;
}


/* -------------------------------- Main Body ------------------------------- */
.post, .singlepost{
color: #3f3f3f;
 text-align: left;

}


.posted {
 color: #555555;
}


.title a  {
 text-align: left;
 height: 20px;
 color: #444444;
 display: block;
 text-decoration: none;
 font-size: 1.6em;
 padding-top: 8px;

}


.title a:hover {
 color: #000000;
}


.storycontent {
 border-bottom: 1px solid #864B2D;
 padding: 0px 0px 5px 0px;
 font: 1.1em Arial, Helvetica, sans-serif;
 line-height: 18px;
 overflow:auto;
}

.singlepost p {
 margin-top: 0;
}

.singlepages p {
 color: #3f3f3f;
 text-align: left;
 margin: 0px 105px 80px 105px;
 line-height: 20px;
 font: 1.2em Arial, Helvetica, sans-serif;
}


.storycontent a {
 text-decoration: none;
}


.storycontent a:hover {
 text-decoration: underline;
}


.storycontent a:visited {
 color: #000000;
}


/* ----------------------------- Page Navigation ---------------------------- */
.left a{
 color: #990000;
 font-size: 0.9em;
}


.right a{
 font-size: 0.9em;
 color: #990000;
}


.leftdouble a{
 color: #990000;
 font-size: 0.9em;
}


.rightdouble a{
 font-size: 0.9em;
 color: #990000;
}


/* -------------------------------- Comments ------------------------------- */
.commentauthor {
 font-weight: bold;
 font-size: 1.2em;
 padding: 0 0 2px 0;
 margin: 0;
 color: #000000;
}


.commentauthor a{
 font-weight: bold;
 margin: 0;
 padding: 0 20px 0 0;
 background: url(images/icon.jpg) no-repeat top right;
}


.commentdate {
 font-size: 0.8em;
 text-align: right;
 line-height: 18px;
 padding: 0;
 margin: 0;
}


#nocomment, #commentsclosed {
 text-align: center;
 color: #7b7b7b;
 font-size: 1.1em;
}


/* ------------------------------ Comments Form ----------------------------- */
#comment  {
 width: 465px;
}


#comment, #author, #url, #email, #press{
 background: #e7e9ed;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1.1em;
 color: #7b7b7b;
 padding: 1px 2px 1px 1px;
}


#comment, #author, #url, #email{
 border: 1px solid #864B2D;
}


#comment:hover, #author:hover, #url:hover, #email:hover{
 border: 1px solid #7b7b7b;
}


#comment:focus, #author:focus, #url:focus, #email:focus{
 background: #FFFFFF;
 border: 1px solid #000000;
 color: #7b7b7b;
 padding: 1px 2px 1px 1px;
}


#commentboxes p {
 margin: 0;
 padding-bottom: 0.9em;
}


h2#comments{
 margin-bottom:40px;
}


p.feeds {
 float: right;
 margin-top: -1.8em;
 font-size: 0.9em;
}


p.feeds a, p.feeds a:hover  {
 text-decoration: none;
}


p.feeds a:hover {
 color: #000000;
}


#inputbox {
 clear: both;
 color: #7b7b7b;
 font-size: 0.9em;
}


#inputbox a {
 color: #7b7b7b;
}


#inputbox a:hover {
 color: #FFFFFF;
}


p.inputbox {
 margin: 0;
 padding-bottom: 10px;
}


p.pages {
 margin: 0;
 padding: 40px 40px;
 padding-top: 0;
 text-align: center;
}


p.pages a {
 color: #000000;
}


/* -------------------------------- Credits --------------------------------- */
p.credits {
 padding: 0px 0px;
 text-align: center;
 margin: 10px 0px; 
 color: #9e9e9e;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 0.8em;
}


p.wordpress {
 margin: 0;
 padding: 0;
 border-bottom-width: 1px;
 border-bottom-style: solid;
 border-bottom-color: #864B2D;
}


/* --------------- Search/Archives/Categories Results Pages ------------------*/
.searchresult {
 padding: 30px 0 0 0;
 margin:0;
}


.searchresult a{
 color: #000000; 
}


.searchinfo {
 font-size: .9em;
 line-height: 18px;
 padding: 0 0 2px 0;
 color: #000000;
 margin: 0 ;
}


.searchdetails {
 font-size: .9em;
 line-height: 18px;
 padding: 0 0 2px 0;
 color: #000000;
 margin: 0 ;
 border-bottom: 1px solid #864B2D;
}


/*--------------------------- 'Comment Edit' Buttons ------------------------ */
#ed_toolbar {
 background: #864B2D; 
 border: 1px solid #864B2D;
 padding-left: 5px;
}


#ed_bold {
 background: url(images/bold.gif) no-repeat top;
 height: 22px;
 width: 22px;
 border: 0px none;
}


#ed_italic {
 background: url(images/italic.gif) no-repeat top;
 height: 22px;
 width: 22px;
 border: 0px none;
 margin-left: 5px;
}


#ed_link {
 background: url(images/link.gif) no-repeat top;
 height: 22px;
 width: 22px;
 border: 0px none;
 margin-left: 5px;
}


#ed_close{
 background: url(images/close.gif) no-repeat top;
 height: 22px;
 width: 22px;
 border: 0px none;
 margin-left: 25px;
}

/* 
This piece of code is for clearing
the floats without structural markup
Don't modify it
*/
.clearfix:after {
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
}

.clearfix {
 display: inline-table;
}

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


