/*
Theme Name: Rin
Theme URI: http://www.brokenkode.com/rin/
Description: Nebula flavoured Rin
Version: 1.1 
Author: Khaled Abou Alfa
Author URI: http://www.brokenkode.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.

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.
*/

/*
Content  ---------------------------------------------------------------------->
Version 1.1 released 3rd July 2005.

A: Universal Elements

B: Structure
   1: Header & Navigation
   2: Main Body (Index)
   3: Main Body (Posts)
   4. Post Additional Structure
   5: Page Navigation
   6: Sidebar
   7: Comments
   8: Comments Form
   9: Footer
   10: Credits

C: Site Typography
   1: General
   2: Main Body
   3: Page Navigation
   4: Comments
   5: Comment Form
   6: Credits
   7: Search/Archives/Categories Results Pages 
   8: Comment Edit Buttons
   9: Snippets formatting
   10: Sidebar and Resources formatting
   11: Tags, Images Positioning in posts

D: Hacks for IE
------------------------------------------------------------------------------->
*/


/* 
A: Universal Elements >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
body {
 background: #fff;
 margin:  0;
 padding: 0;
 text-align: center; /* IE hack Part 1 */ 
}


/*
B: Structure >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1. Header & Navigation ------------------------------------------------------>*/

#masthead {
 background: url(images/logo.gif) black;
 width: 750px;
 height: 75px;
 margin: 0px auto;
 padding: 0;
}

#header {
 float: left;
 width: 250px;
 height: 60px;
 margin: 15px 0 0 0;
 text-align: left;
 font-family: Arial, Helvetica, sans-serif;
 padding: 0 0 0 250px;
}

#header a {
 padding: 0;
 margin: 0;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 2.1em;
 color: #AAA;
 background: black;
}

#header a strong {
 color: #666;
}

#header a:hover {
 font-family: Arial, Helvetica, sans-serif;
 text-decoration: none;
 color: #666;
 background: black;
}

.nav2 {
 padding: 0;
 margin: 0;
 font-family: Arial, Helvetica, sans-serif;
 font-size: .70em;
 color: white;
}

.nav2 a{
 padding: 0;
 margin: 0;
 font-family: Arial, Helvetica, sans-serif;
 font-size: .70em;
}

/*
2. Main Body (Index) -------------------------------------------------------->*/
#container {
 width: 750px;
 margin: 20px auto;
 font-family: Arial, Helvetica, sans-serif;
 font-size: .70em;
 text-align: left; /* IE hack Part 2 */
}

#topcontentdouble {
 float: right;
 width: 500px;
 height: 15px;
 margin: 0;
 display: inline;
}

#content {
 float: right;
 width: 500px;
 margin: 0;
 display: inline;
}

#bottomcontentdouble {
 display: inline;
 float: right;
 width: 500px;
 margin: 0;
 height: 5px;
}

.post {
 margin: 0 0 35px 0;
 border-bottom: 1px dotted #222222;
}


/*
3. Main Body (Posts) -------------------------------------------------------->*/
#topcontent {
 width: 750px;
 margin: 9px auto 0 auto;
 height: 5px;
}

#singlecontent {
 width: 750px;
 padding:0;
 margin:  0 auto;
}

.singlepost {
 margin: 0px 125px 40px 125px;
}

#bottomcontent {
 width: 750px;
 margin: 0px auto 0px auto;
 padding-bottom: 9px;
 height: 15px;
}


/*
4. Additional Post Structure -----------------------------------------------> */

.feedback {
 float: left;
 font-size: .9em;
 line-height: 15px;
 margin: 0;
}

/*
5. Page Navigation ---------------------------------------------------------> */
.postnavigation {
 height: 25px;
}

.left {
 float: left;
 padding-left: 105px;
}

.right {
 float: right;
 padding-right: 105px;
}

.leftdouble {
 float: left;
 padding: 0;
}

.rightdouble {
 float: right;
 padding: 0;
}


/*
6. Sidebar -----------------------------------------------------------------> */
#sidebar {
 position: relative;
 float: left;
 width: 225px;
 margin: 0;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1em;
 font-weight: normal;
 text-align: left; /* IE hack Part 2 */
 display: inline;
}

.catz {
 font-weight: bold;
}

#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{
 margin: 0 5px 0 0;
 padding: 10px 5px 15px 5px;
}

#sidebar h2 {
 height: 16px;
 margin: 10px 5px 0 0px;
 padding:  8px 0 1px 5px;
 font-size: 1.3em;
 color: #333;
}

#sidebar ul li ul li{
  margin: 2px 10px 2px 10px;
 display: block;
 padding: 0 0 0 18px;
}

#sidebar ul li ul li a{
 display: inline;
	 background: white;
 height:1%; /* IE WIN */
}

#sidebar ul li ul li a:hover{
 background: #FFFFCC;
 text-decoration: none;
}

#sidebar ul li ul li ul{
 margin: 0;
 padding: 0;
}

#searchform {
 float: left;
 margin-top: 12px;
 padding: 0 0 0 5px;
 background: white;
}

#searchbutton, #submit {
 background: white;
 font-size: 1.1em;
 font-weight: bold;
}

/*
7. Comments ----------------------------------------------------------------> */
#response {
 margin: 0px 110px;
}

#commentlist {
 padding: 0px 10px 0px 10px;
 margin: 0 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: 0 0 5px 0;
 margin: 0 0 40px 0;
 text-align: left;
 line-height:16px;
 border-bottom: 1px dashed #CCC;
}


/*
8. Comment Form ------------------------------------------------------------> */
h2#postcomment {
 margin: 30px 0px 0px 0px;
 padding: 0 0 20px 20px;
}

#commentform {
 padding: 1px 20px;
 margin: 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: 1px solid #d5d7db;
 padding-left: 15px;
 position: relative;
}

#inputbox {
 clear: both;
 color: #7b7b7b;
 font-size: 0.9em;
}

#button{
 padding-top: 0.5em;
}


#commentsbottom {
 margin: 0;
 padding: 0;
 height: 22px;
}

/*
10. Credits ----------------------------------------------------------------> */
#footer {
 margin: 10px auto;
 width: 750px;
 font-size: .8em;
}

#footer p {
 margin-top: 0;
}

.clearer {
 clear: both;
 line-height: 0px;
}


/*
C: Typography >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1. General ------------------------------------------------------------------>*/
a {
 color: #333;
 text-decoration: none;
 background: #DDD;
}

a:hover {
 color: #333;
 text-decoration: none;
 background: #FFFFCC;
}

img {
 border: 0;
}

blockquote {
 background: #f5f6f7;
 padding: 10px 20px;
}

code {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1.0em;
}

h1 a {
 margin: 0;
 padding: 0;
 text-align: left;
 font-size: 1em;
 text-decoration: none;
 color: #666;
 font-weight: bold;
 font-family: Arial, Helvetica, sans-serif;
}

h1 a:hover {

 text-decoration: none;
 color: #CCC;
}

h2 {
 color: #333;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1.1em;
 margin: 20px 0 0 20px;
	 font-weight: bold;
}

.singlepost h2{
 margin-top: 0px;
}

h3 {

 text-align: left;

 color: #666;
 margin: 0;
 padding: 0;
 font-size: 0.9em;
 font-weight: normal;
}

h3 a {
 color: #333;
 font-size: 1.1em;
 font-weight: bold;
 background: white;
}

h3 a:hover {
 color: #333;
 font-size: 1.1em;
 font-weight: bold;
 background: #FFFFCC;
}

/*
3. Main Body ---------------------------------------------------------------> */
.post, .singlepost{
 color: #3f3f3f;
 text-align: left;
}

.posted {
 color: #555555;
}

.title a  {
 text-align: left;
 height: 20px;
 display: inline;
 text-decoration: none;
 font-size: 1.8em;
 font-weight: bold;
 padding: 0;
}

.storycontent {
 padding: 0;
 margin: 0;
 font: 1em Arial, Helvetica, sans-serif;
 line-height: 15px;
}

.singlepost p {
 margin-top: 0;
}

.singlepages p {
 color: #3f3f3f;
 text-align: left;
 margin: 0 0 30px 0;
 line-height: 20px;
 font: 1.2em Arial, Helvetica, sans-serif;
}


/*
4. Site Navigation ---------------------------------------------------------> */
.left a{
 font-size: 0.9em;
}

.right a{
 font-size: 0.9em;
}

.leftdouble a{
 font-size: 0.9em;
}

.rightdouble a{
 font-size: 0.9em;
}


/*
5. Comments ----------------------------------------------------------------> */
.commentauthor {
 font-weight: bold;
 font-size: 1.2em;
 padding: 0 0 2px 0;
 margin: 0;
 color: black;
}

.commentauthor a{
 font-weight: bold;
 margin: 0;

 padding: 0;
}

.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;
}


/*
6. Comments Form -----------------------------------------------------------> */
#comment  {
 width: 485px;
}

#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 #d5d7db;
}

#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 black;
 color: #7b7b7b;
 padding: 1px 2px 1px 1px;
}

#commentboxes p {
 margin: 0;
 padding-bottom: 0.9em;
}

h2#comments{
 margin-bottom:30px;
}

p.feeds {
 float: right;
 margin-top: -1.8em;
 padding; 0 25px 0 0;
 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: 0 40px 40px 40px;
 text-align: center;
}

p.pages a {
 color: #005D93;
}


/*
7. Credits -----------------------------------------------------------------> */
p.credits {
 padding: 0;
 margin: 0;
 text-align: left;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 0.8em;
}


/*
8. Search/Archives/Categories Results Pages --------------------------------> */
.searchresult {
 padding: 30px 0 0 0;
 margin:0;
}

.searchresult a{
 color: #000000;
 font-size: 1.8em;
 font-weight: bold;
}

.searchinfo {
 font-size: 1em;
	 font-weight: bold;
 line-height: 18px;
 padding: 0 0 2px 0;
 color: #000000;
 margin: 0 ;
}

.searchdetails {
 font-size: 1.6em;
 font-weight: bold;
 padding: 0 0 12px 0;
 color: #000000;
 margin: 0 ;
 border-bottom: 1px dotted #222222;;
}

/*
9. 'Comment Edit' Buttons --------------------------------------------------> */
#ed_toolbar {
 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;
}


/*
10. Calander for Archives --------------------------------------------------> */
#wp-calendar {

 empty-cells: show;
 margin: 10px auto 0;
 width: 520px;
}

#wp-calendar #next a {
 padding-right: 10px;
 text-align: right;
 background-color:  #fff;
}

#wp-calendar #prev a {
 padding-left: 10px;
 text-align: left;
 background-color:  #fff;
}

#wp-calendar a {
 display: block;
 background-color: #E0EAEF;
}

#wp-calendar a:hover {
 display: block;
 background-color: #CAEDFF;
}

#wp-calendar caption {
 text-align: center;
 width: 100%;
}

#wp-calendar td{
 padding: 3px 0;
 text-align: center;
}

#wp-calendar  th {
 padding: 3px 0;
 text-align: center;
 background-color: #f5f6f7;
}


/*
D: Hacks for IE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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 */


/* 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 */