/*
Theme Name: Ocean Mist
Theme URI: http://www.tenbytwenty.com/
Description: XHTML 1.1 valid theme with a flexible, elastic grid layout and fully customisable colour scheme.
Version: 2.0
Author: Ed Merritt
Author URI: http://www.edmerritt.com/
Tags: blue, custom header, custom colour scheme, elastic width, two columns, widgets, SEO friendly, accessible, default colour schemes, 
*/




/*Yankl's Super Experimental Additions */




    /* General */
      /*Header*/
#header p{
	text-align:right
}


/*Body*/
body {font-size:72%}
div.entry p{font-size:120%}


.pageH1{
	font-size: 200%;
        margin-bottom:0}

/*PDF Icon*/
a[href$=".PDF"], a[href$=".pdf"] {
	padding: 2px 2px 2px 20px;
	background: url("images/pdficon_small.gif") left center no-repeat;
}

/* Sidebar */

div#subCol ul li h2, div#subCol ul li ul {
text-align: right;
}

li#wpng-calendar div#wpng-cal-widget-events h2, li#wpng-calendar div#wpng-cal-widget-events ul {
text-align: left;
}

/*Images*/
#content img {border:0; padding:0}





/*************** Blog ********************/

.yidquote {
font-family:monospace;
}

/*.entry {
text-align:right
}*/
.yiddish-content h1, .yiddish-content p{
text-align:right
}

#headline {
padding:4em 0 0; 
margin:0; 
text-align:center; 
font-size:1.3em;
}

#mainCol div[dir="rtl"] ul {
margin: 0px 2em 1em 0px;
}

/* Bio Images*/

div.bios img{
border: 1px solid #aaa; 
padding: 4px; 
float: left; 
margin: 10px 8px 5px 0; 
width: 100px;
}

div.bios h1{font-size:1.2m; margin-bottom:1em}
div.bios h2{font-size:1em;font-weight:bold;display:inline;}


#content div.yid.bios img{ 
float: right; 
margin: 0.5em 0px 0.5em 1em; 
}

/*
div.biobox{
margin-top:0.5em
} 
*/


/* Calendar Loading Image Fix*/
.wpng-cal-image{
	margin-top:20x;
border:0;
background-color:transparent}




/*Calendar Adjustment*/
#wpng-cal-widget-events{
	margin-left:1em;}




#wpng-cal-widget-events ul {
	list-style-type:disc;
margin-bottom:0;padding-bottom:0
}
#wpng-cal-widget-events ul li{
	margin-bottom:.5em;
font-size:1.2em;
display:list-item
}


/******Right-Aligning Yiddish Tabs*********/




#nav {left:auto; right: 0; margin-left:auto; margin-right: 2em;} /*brings all tabs to the right*/




/* Specific drop down menus align right:*/




#nav .page-item-7 ul li {
	text-align:right
}
#nav .page-item-7 ul {
right:0
}
#nav .page-item-43 ul li {
	text-align:right
}
#nav .page-item-43 ul {
right:0
}








/* On-page Table of Contents */
#toc ul
{margin-left:0;
padding-left: 0}




#toc ul li
{
margin: 0;
padding: 3px 15px;
text-align: center;
list-style-type:none;
display:inline;
text-transform:capitalize;
font-weight:bold;
border-left: 2px solid gray;
}




#toc li:first-child
{border-left: 0}




/***********************/
/*
/* Changes for TOC Plug-in */

div.toc {
	border: 1px solid #ccc;
	font-size: 1em;
}
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: .4em;
}
div.toc li.toc-level-3 {
	padding-left: .6em;
}
div.toc li.toc-level-4 {
	padding-left: .75em;
}




/* Specifically for Bios */
div.toc.bios{
	border:0
}

div.toc a.toc-header {
display:none}

div.toc.bios ul{
	padding:4px
;width:40em}

div.toc.bios li.toc-level-1 {
	font-weight: bold;
font-size:1.2em;
clear:left;
padding-top:.4em
}
div.toc.bios li.toc-level-1 a{
color:rgb(52, 68, 76)
}
div.toc.bios li.toc-level-2{
	float:left;
width:20em;
font-weight:normal;
padding-left:0}


div.toc.bios li.toc-level-2 a, a:visited{
	color: #7f1d1d
}

div.toc.bios li.toc-level-2 a:hover{
	color: #c40000
}

/* http://www.communitymx.com/content/article.cfm?cid=27f87 */



/*************Yiddish Break*****************/
.ybreak {
text-align:center;
font-size:110%;
border-style:solid;
border-width:thin;
}

.ybreak .name {
font-size:large;
}

.ybreak .dates {
font-weight:bold;
}