/* @override http://storynory.cachefly.net/style.css */

/*
/*THEME NAME: Storynory
THEME URI: http://blog-relations.com
DESCRIPTION: A minimalistic, hopefully elegant, theme based on a grid.
VERSION: 1
AUTHOR: Hugh Fraser aka Bertie
AUTHOR URI: http://blog-relations.com
TAGS: minimalistic, elegant, grid

udated 28 Deceber 10, added image address to each of navigation sprites to see if it improves performance



	Colors 

	Purple links  				#4b0082
	green  /original		 	#007100
	yellow / fiary 				#ffff00
	#ccc / classic		 		#0000ff
	dark purp 	/ed				#4b0082
	light purp	/jnr		    #ef83ef

    Typography 
    
	14px baseline 21
	
	baseline = font size * line height 
	eg 21 = 14 * 1.5
	
	Line height = baseline / font size
	eg 1.5 = 21 / 14


 */

/* =Reset
----------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,  ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	}
	
#wrapper{
 	text-align: left
	}
		
body {
	text-align: center;
	line-height: 1;
	font-size: 62.5%; /*10px*/
	font-family:  "helvetica neue", helvetica, arial, sans-serif;
	background: #fff;
	}	

 ul {
	list-style: none;
	}

a  {
	text-decoration: none;
	}

	blockquote:before, blockquote:after,
	q:before, q:after {
	content: '';
	content: none;
	}

table {
	border-collapse: separate;
	border-spacing: 0;
	}

img {
	display: block;
	}

#container:after,#wrapper:after,.clearfix:after {
	content: ""; 
	display: block; 
	height: 0; 
	clear: both; 
	}

.clear,#footer, ol.commentlist {
	clear: both
	}
	
em {
	font-style: italic;
	}
	
	
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
	
	
/* = Skip to content
	----------------------------------------------- */	
	



	
/* =Links
----------------------------------------------- */

a {
	color: #4b0082;
	text-decoration: underline;
	}

a:hover {
	text-decoration: underline;
	color: blue;
	}

h2 a {
   text-decoration: none;
	}
	
	
/* =header typography
----------------------------------------------- */

h1 {
	background: url(http://storynory.cachefly.net/web-banner.jpg) no-repeat top left;
	display: block;	
	width: 948px;
	height: 300px;
	clear: both;
	}

h1 span {
	display: none;
	}


/* =Article Typography
----------------------------------------------- */

.article p {
	font-size: 1.4em;
	line-height: 1.5;
	margin-bottom: 1.5em;
	}

p.byline {
	font-size: 1.05em;
	line-height: 2em;
	margin-bottom: 2em;
	}
	
span.comment {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.75;
	float: right;
	position: relative;
	left:20px;
	
	}
	
	h2 {
	font-size: 3em;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 1px;
	float:left;
    color: #007100;	
    width: 100%;
	}
	
 h2.single {
    width: 360px;
 	padding-bottom: 0.7em;
	position: relative;
}	
	
.article h2 a {
	color: #007400;
	text-decoration: none;

	}

ul,ol {
clear: both;	
	
}

	
.article ul li {
	list-style: disc;	
	
}	
	
.article li {
	font-size: 1.4em;
	line-height: 1.5;
	margin-bottom: 1.5em;
	}	

/* =defintion list
----------------------------------------------*/

dt,
dd {
	font-size: 1.28em;
	line-height: 1.5625;
}

   dt 
	{ 
	float: left; 
	clear: left; 
   text-align: left; 
   	font-weight: bold; 
   	 } 
       
 dd 
	{
	margin: 0 0 0 110px; 
    padding: 0 0 0.5em 0;
     }
     


/* =Comments List Typography
----------------------------------------------- */

 ul.commentlist {
	font-size: 1.4em;
	line-height: 1.5;
	margin-bottom: 1.5em;
	padding-left: 20px;

	}

 ul.commentlist li {
  padding: 1.5em 10px;;
  }


.odd {
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
	background: #feefff;
    }
    
   .byuser {
	padding-left: 40px;
	padding:6em 0 1.5em 40px;
	margin: 0.725em 0;
 }

    .comment-author-matthew {
    	background: #dfffe6 url(http://storynory.cachefly.net/bertie100.png) no-repeat top right;
    	}

.comment-author-natasha {
	background: #dfffe6 url(http://storynory.cachefly.net/thumbs/mermaid.png) no-repeat top right;
	}

/* =General Sidebar Typography and Archive boxes
----------------------------------------------- */



h3   { 
    float: left;
	font-size:2em;
	line-height:1.05;
	padding:  1.05em 0;
	font-weight: 400;
	letter-spacing: 1px;
	width: 100%
    }
    
h3.archives,    
#bar1 h3 {
	padding:  1.05em  0px;
	color: #ffefef;	
	}

ul.archives li,	
#bar1 ul li
 {
	font-size: 1.2em;
	line-height: 1.75;
	padding: 0.6em 20px;
	}	
	
	
li.descrip img {
	float: left;
}	

ul.archives a,
#bar a{
	display: block;
	width: 100%;
}	

ul.archives a:hover,
#bar a:hover, #archives a:hover {
	background: #efefef;
}


/*general sidebar background images etc */

ul.archives,	
#bar1 ul {
    clear: both;
    float: left;
	padding: 0 0  21px;
	margin-bottom: 4.2em;
	zoom: 1;
	}

ul.archives li,
#bar1 li {
	background: white;	
	border-left: 1px solid ;
	border-right: 1px solid;
	}

	
/* = Sidebar 1 Background Images
----------------------------------------------- */

h3.archives,
ul.archives,
#bar1 h3, 
#bar1 ul {
	background-image: url(http://storynory.cachefly.net/box260.png);
	background-repeat: no-repeat;
	}	
	
h3.archives,	
#bar1 h3 {
	width: 220px;
	padding-left: 20px;
	padding-right: 20px;
}	

#bar1 ul,
#bar2 dl {
width: 259px;
}


ul.archives li	
#bar1 ul li {
	width: 218px;
	float: left;
	border-left: 1px solid;
	border-right: 1px solid;
	}

h3.classic-authors-for-children { background-position: 0 0;  } 
ul.classic-authors-for-children  {background-position: 0 bottom; } 

h3.educational-and-entertaining-stories{ background-position: -309px 0; }
ul.educational-and-entertaining-stories { background-position: -309px bottom;  }

ul.fairy-tales { background-position: -618px bottom;  } 
#bar1 h3.fairy-tales, /*to over-ride sidebar setting for color */
h3.fairy-tales { background-position: -618px 0; color: #333; }

 
h3.original-stories-for-children { background-position: -927px 0;  } 
ul.original-stories-for-children  { background-position: -927px bottom;  } 






/* =Sidebar 2 Background Images
----------------------------------------------- */


#bar2 h3, #bar2 ul {
 
    background-repeat: no-repeat;
    width: 160px;
    float: left;
	}


#bar2 h3 {
	clear: both;
	width: 100px;
	padding-left: 30px;
	padding-right: 30px;
	}

#bar2 ul {
	margin-bottom: 2em;
	}

#bar2 h3.classic-authors-for-children { background-position: 0 0;  } 
#bar2 h3.educational-and-entertaining-stories { background-position: -210px 0;  } 
#bar2 h3.fairy-tales   { background-position: -420px 0;  } 
#bar2 h3.original-stories-for-children { background-position: -630px 0;  } 

#bar2 ul.classic-authors-for-children { background-position: 0 bottom;  } 
#bar2 ul.educational-and-entertaining-stories { background-position: -210px bottom;  } 
#bar2 ul.fairy-tales  { background-position: -420px bottom;  } 
#bar2 ul.original-stories-for-children { background-position: -630px bottom;  } 





/* = header colors on single pages
----------------------------------------------- */

h2.educational {
	color: #4b0082
}

h2.fairy-tales {
	color: #ffff00;
}

h2.original {
 color: #007100
}

h2.classic {
  color: #0000ff;
}





/* =Navigation Typography
----------------------------------------------- */
.navigation {
	font-size: 1.4em;
	line-height: 1.5;
	}

ul#nav {

	display: block;
	width: 940px;
	padding: 10px 0 40px 0px;
	}

ul#nav li {
	float: left;
	display: block;
	padding: 0 10px 5px 35px;
	margin-left: 5px;
	background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-repeat: no-repeat;
	background-position: top left;
	}

#nav li.none {
	background-image: none;
	padding: 0;
	margin: 0
	 }

/* =image sprite positions */	
 
#nav li.authors {
    background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-position: 0 0;
	} 
	
#nav li.edu { 
    background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-position: 0 -82px; 
	} 
	
#nav li.fairytales{ 
	background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-position: 0 -164px;
	} 
	
#nav li.jnr{ 
     	background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	 background-position: 0 -246px;
	 } 

#nav li.latest { 
    	background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-position: 0 -328px;
	} 
	
#nav li.original {
    background-image: url(http://storynory.cachefly.net/icon-sprites.png) ;
	background-position: 0 -410px;
	} 


#nav a {
	float: left;
	display: block;
	padding: 5px 5px 2px 10px;
	font-size: 1.4em;
	line-height: 1.5;
	}

#nav .active {
	background-color: white;
	font-weight: bold;
	}


	
/* =homepage Typography	
----------------------------------------------- */

.home h2 {
	width: 100%;
	padding: .7em 0 .7em 0;
	}
	
h5 {
    clear: both;
	float: left;
}

.home h2.first {
	padding-top: 0;
	}

ul.homelatest,ul#homelatest {
	float: left;
	clear: both;
	width: 100%;
	}

ul.homelatest li,ul#homelatest li {
	display: inline;
	float: left;
	margin-right: 10%;
	}
	
	ul.homelatest h5,ul#homelatest h5{
	display: block;
	width: 100px;
	text-align: left;
	line-height: 
	}
	

	
	
/*home page images
------------------------------------------------*/

ul.homelatest img, ul#homelatest img{
	margin-bottom: .5em;
	}	
	

img.front {
margin-right: 40px;

}

	
/* = ArhcivesTypography
----------------------------------------------- */	
#content.archives h2 {
	

}

	
/* =Miscalanious Typography
----------------------------------------------- */



h6 {
	font-size:1em;
	line-height:1;
	margin:1.6em 0 .8em;
	}	

/* =Images
----------------------------------------------- */

	#bar img {
float: left;
padding: 0 10px 2em 0;
}	



.article img {
	float: left;
	padding: 0 10px 10px 0;

}




/* = floating
----------------------------------------------- */
.left {
	float: left;
	}
	
img.left {
	margin-right: 20px;

}	
	
.right {
	float: right;
}

.centre {
	margin-left:auto;
	margin-right:auto;
	display: block;
	clear: both;
}

.floatnone {
	float: none;
}
	
/* =Objects	
Height of player is 24px

----------------------------------------------- */


object.player {
	margin: .875em 0;
	padding: 0;
	height: 2.4em;
	}


/* =Forms
----------------------------------------------- */


form {
	font-size: 1.4em;
	line-height: 1.5;
	margin-bottom: 1.5em;
   }

#commentform {
}

#commentform legend {
  font-size: 1.6em;
  line-height: 2;
   }

#commentform textarea  {
	padding:.725em 10px;
	margin: .725em 0;
	width: 455px;
}

#s {
font-size: 1em;

}

	/* =Structure
----------------------------------------------- */
#top {
width: 100%;
font-size: 1.2em;
text-align: left;
padding: .5em;
background: #0000ff;
color: white;


}    
    
    
#wrapper {
	position: relative;
    zoom:1;
	width: 980px;
	margin: auto;
	}

#header {
	width: 100%;
	padding:  0 ;
	}
	
#container {
	position: relative;
	float: left;
	clear: both;
	width: 980px;
	margin-top: -140px;	

	}

#content,#bar1,#bar2 {
	display: inline;
	overflow: hidden;
	}
		
#content {
	float: left;
	width: 480px;
	margin-left: 200px;
	margin-right: 40px;
	} 		
		
#bar1 {
	float: left;
	width: 260px;
	margin-top: 4.2em;
	margin-left: 0px;
	}

#bar2 {
display: block;
	float:left;
	margin-top: 8px;
	margin-left: -980px;
	}

#footer {
	padding: 2.1em 0;
	}
	
	
/* =Single Post Structure
----------------------------------------------- */

#respond {
	width: 100%;
	overflow: hidden;
	clear: both;
	}


.article {
    float: left;
	margin-bottom: 4.2em;
	width: 480px;
	zoom:1; /*has layout*/
	clear: both;
	}

.article p {
text-align: justify;
}
	
	
/* = Archive, Category, Taxonomy Pages Structure
	----------------------------------------------- */	
.archives h2 {
	width: 480px;
	}
	

/* =Archives Structure

----------------------------------------------- */	

#archives{

	float: left;
	width: 960px;
	}



#col1,#col2,#col3 {
	display: inline; /*fixes double margin float bug* */
	width: 260px;
	margin-right: 60px;
	}
	
#col1 ul li,
#col2 ul li,
#col3 ul li {
width: 218px;

	}	

#col1 {
	float: left;
	}

#col2 {
	float: left;
	}

#col3{
	float: left;
	}
	
ol {
list-style: decimal;
}

/* =images
----------------------------------------------- */
.attachment-thumbnail,
.imgleft {
clear: both;
float: left;
}

div.category_summary {
float: right;
width: 340px;

}

img.icon {
float: left;
padding: 0 10px 10px 0;
}

/*pagenavi*/
/*
Default style for WP-PageNavi plugin

http://wordpress.org/extend/plugins/wp-pagenavi/
*/

.wp-pagenavi {
	clear: both;
	margin-bottom: 20px;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
	font-size: 16px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}


a.player {
display: block;

padding: 5px 0 10px 40px;
height: 20px;
background: url(http://storynory.cachefly.net/play.png) no-repeat  top left;;

}

   #audiobutton {

    line-height: 15pt;

    border: 3px solid #333;

    -webkit-border-radius: 16px;

    opacity: 0.5;

    font-size: 16pt;

    color: white;

    background-color: #007100;

    cursor: pointer;

    text-align: center;

    z-index: 1;

    opacity:.5;

    }
    
    
 
.sundayMorning-bubble *,
#sundayMorning-menu * {
    padding:0; margin:0;
    outline:none; border:none;
    width:auto; height:auto;
    font:1.1em "Trebuchet MS", Tahoma, sans-serif;
}

.sundayMorning-bubble {
    background:  #ccc;
    position:absolute;
    color:#000;
    z-index:1000;
}
.sundayMorning-bubble span {
    background: #ccc;
    display:block;
    padding:19px 30px 18px 30px;
    margin-left:-25px;
    overflow:hidden;
    white-space:nowrap;
}
.sundayMorning-bubble b {
    color:#000;
    font-weight:bold;
}

#sundayMorning-menu {
    position:absolute; top:200px; left:200px;
    background: #ccc;
    width:150px;
    margin:-35px 0 0 -15px;
    padding-top:30px;
    z-index:1000;
}
#sundayMorning-menu ul {
    display:block;
    background: #ccc;
    padding:0 0 25px 0;
    overflow:hidden;
}
#sundayMorning-menu li  {
    list-style:none;
    padding:0 8px 0 10px;
}
#sundayMorning-menu a {
    display:block;
    padding:4px 20px;
    text-decoration:none;
    color:#000;
}
#sundayMorning-menu a:hover {
    background gray;
    color:#000;
    font-weight:bold;
}
#sundayMorning-menu a.sundayMorning-close {
    display:block;
    text-indent:-5000px;
    position:absolute;
    top:13px; right:8px;
    width:13px; height:13px;
    padding:0;
    background:gray;
}
#sundayMorning-menu a.sundayMorning-close:hover {
    background:#ccc;
}

ul.gallery { list-style: none}

 tt {display: block; width: 60px; float: left}   
 

 #adsense1, #adsense2 {
 clear: both;
 float: left;
 }
 
.adblock {
margin-bottom: 2em;

} 

#bar2 ul {

color: 	#007100;
float: left;
width: 120px;
padding-left: 5px;
font-family:   Arial, sans-serif;
font-size: 1.3em;
line-height: 1.3;
margin-bottom:2em;

}

ul#sponsor h4 {
letter-spacing: 0.6px;
}

ul#sponsor h4 a {
 color: 	#007100;
}

a.soundcloud-dropbox:hover {color: #1896D1 !important; background-color: transparent !important; background-position: -200px 0 !important;}*html a.soundcloud-dropbox {background-image: none !important; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='(http://a1.soundcloud.com/images/dropbox_square_white.png?a838d2)', sizingMethod='crop') !important;}
