/*
Theme Name: Suffusion-X
Description: Child theme for suffusion
Author: Ashod Nakashian
Template: suffusion
*/

@import url("../suffusion/skins/minima/skin.css");


body {
	font-family: constantia, 'hoefler text', 'palatino linotype', serif;
}

#wrapper {
	width: expression(document.body.clientWidth >= 1400 ? "90%" : "auto") !important;
	min-width: 750px;
}

#main-col {
    z-index: 10;
}

#content {
    min-width: 500px;
}

#sidebar, #sidebar-b, #sidebar-shell-1 {
	width: expression(document.body.clientWidth < 600 ? "25%" : document.body.clientWidth > 1200 ? "35%" : "25%") !important;
}

.sidebar-shell {
    font-size: 1.0em;
    line-height: 1.0em;
}

.pullout-font-resizer {
    color: #AAA;
}

.meta-pullout {
    font-size: 0.9em;
    line-height: 2.0em;
}

.fontResizer {
    float: right;
}

.entry a {
	text-decoration: none;
	border-bottom:1px dotted #888;
}

.entry a:hover {
	text-decoration: underline;
	border-bottom:1px none #888;
}

.entry,
.entry.p,
.entry > div > p,
.entry > p,
.non-wp-entry  {
    font-size: 120%;
    line-height: 1.6em;
}

div.booklisting a{
	text-decoration: none;
	border-bottom:1px none #888;
}

h1, h2 {
	text-shadow: #E8E8E0 2px 2px 1px;
	font-weight: bold;
}

h3, h4 {
	text-shadow: #E8E8E0 1px 1px 0.5px;
	font-weight: normal;
}

h5, h6 {
	text-shadow: #E8E8E0 1px 1px 0.5px;
	font-weight: bold;
}

h6 {
    font-size: 120%;
}

#header {
	background: url() no-repeat top left;
}

.posttitle {
	font-size: 250% !important;
}

.blogtitle {
	text-shadow: #EEE 3px 3px 2px;
	font-size: 300% !important;
}

div.blogtitle a {
	text-decoration: none;
}

.blogtitle a {
	text-decoration: none;
	border-bottom: 0px;
}

.description {
	text-shadow: #EEE 2px 2px 1px;
}

code {
	overflow: visible;
}

.entry p:first-child {
	text-indent: 0;
}

.entry > div > p:first-child:first-letter,
.first-post .entry > p:first-child:first-letter {
	font-size: 4.5em;
	line-height:.70em;
}

.entry > div > p:first-child:first-letter,
.entry > div.firstparagraph > p:first-letter,
.entry > p:first-child:first-letter {
	font-size: 3.0em;
	float:left;
	background:#555 url(images/stripes.png) repeat;
	color:#fff;
	margin:.05em .1em 0 0;
	padding:.1em;
	line-height:.75em;
}

/* Webkit + Hoefler = Odd leading. Or at least different. */
body.webkit.set-in-hoeflertext .entry > div > p:first-child:first-letter {
	padding:.2em .1em 0;
}

.dbx-group {
	width: expression(document.body.clientWidth < 600 ? "25%" : document.body.clientWidth > 1200 ? "35%" : "25%") !important;
}

.dbx-toggle 
{
    display:block;
    width:20px;
    height:20px;
    padding:0;
    margin:0;
    border:none;
    background:url(/wp-content/themes/suffusion-x/images/toggle.gif) no-repeat;
    position:absolute;
    top:14px;
    right:3px;
}
	
.dbx-toggle-open 
{
    background-position:0 0;
}

.dbx-toggle-closed 
{
    background-position:0 -20px;
}

.dbx-toggle-hilite-open 
{
    background-position:-20px 0;
}

.dbx-toggle-hilite-closed 
{
    background-position:-20px -20px;
}

//////// TOC ////////

div.toc {
	padding: 1em;
	border: 1px solid #ccc;
	font-size: .75em;
}
div.toc.toc-left {
	max-width: 22em;
	float: left;
	margin: 5px 5px 5px 0;
}
div.toc.toc-right {
	max-width: 22em;
	float: right;
	margin: 5px 0 5px 5px;
}

div.toc a.toc-header {
	display: block;
	background-color: #f8f8ec;
	border-top: 1px solid #fcfcfc;
	border-left: 1px solid #fcfcfc;
	border-bottom: 1px solid #f0f0e0;
	border-right: 1px solid #f0f0e0;
	color: #777;
/** Styling regarding TOC title: **/
	padding: 1px 2px;
	text-align: left;
	font-size: 1.25em;
	font-weight: bold;
}

div.toc a.toc-header:hover {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #fcfcfc;
	border-right: 1px solid #fcfcfc;
}
div.toc ul {
	list-style: none;

	margin: 0;
	padding: 5px;
	background-color: #fcfcfc;
	overflow: hidden;
	white-space: nowrap;
}
div.toc.auto-collapse ul {
	display: none;
}

div.toc li a {
	text-decoration: none;
	border: 0 none;
	color: #777;
}
div.toc li.toc-level-1 {
	font-weight: bold;
}
div.toc li.toc-level-2 {
	font-weight: bold;
	padding-left: .25em;
}
div.toc li.toc-level-3 {
	padding-left: .5em;
}
div.toc li.toc-level-4 {
	padding-left: .75em;
}
div.toc-sig {
	font-size: 5px !important;
	color: eee !important; 
	text-decoration: none !important;
}