/*
THEME NAME:SSU Publishing
THEME URI:
DESCRIPTION:Custom Theme for St. Stephen Publishing
VERSION:0.5
AUTHOR:Soma Design
AUTHOR URI:http://somadesign.ca/
*/

/* Modified Eric Meyer reset styles http://meyerweb.com/eric/tools/css/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,ol,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;}
ol,ul { list-style:none; }
ins { text-decoration:none; font-style: italic;}
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }
strong {font-weight:bold;}
em {font-style:italic;}


/*
 * The Fell Types are digitally reproduced by Igino Marini. www.iginomarini.com
* 
*/

@font-face {
	font-family: 'IMFELLGreatPrimerPRORegular';
	/*src: url('fonts/FeGPrm27C.eot');*/
	src: local('IM FELL Great Primer PRO Regular'), local('IM_FELL_Great_Primer_PRO_Roman'), url('fonts/FeGPrm27C.otf') format('opentype');
}

/* Basics */
body {font: 10px/1.5 'Helvetica Neue',Arial,FreeSans,sans-serif; color:#333; background:#fff url(images/body-bg.jpg) repeat;}
h1,h3,h4,h5,h6,.sidebar {font-family:'Courier New',courier,FreeMono,monospace; font-weight:normal;}
h2 {font-family:'IMFELLGreatPrimerPRORegular','hoefler text','georgia',serif; font-weight:normal;}
h1,h2,h3,h4,h5,h6 {line-height:1;}


/* Layout */
#wrapper {width:960px; margin:30px auto 20px; position:relative;}
#header {position:absolute; width:150px; height:60px; top:30px; left:35px;}
#container {margin-left:230px;}
.sidebar {position:absolute; top:150px; left:10px; width:200px;}

/* Header */
#header h1 a {height:60px; width:100%; background-image:url(images/logo.gif);}
#header h1 a:hover {opacity:.7;}

/* Container */
#container {width:729px; min-height:360px; background:url(images/page-container-bg.png) no-repeat top left; position:relative; padding-bottom:20px;}
body.home #container {height:713px; background:url(images/container-bg.png) no-repeat;}
#container .bottom {width:100%; height:20px; position:absolute; bottom:-6px; background:url(images/page-container-bottom-bg.png);}

/* Sidebar */
.sidebar h3 {display:none;}
.sidebar ul li li {padding-left:25px;}
.sidebar .current_page_item {background:url(images/sidebar-current.png) no-repeat left top;}
.sidebar a {padding-left:5px; font-size:1.4em; text-decoration:none; color:#000; display:block; height:2em;}
.sidebar a:hover {background:url(images/sidebar-a-hover.png) no-repeat left 18px;}

/* Nested Menus */
.sidebar ul li li ul {padding:0 0 1em; position:relative; left:5px; top:-3px; display:none;}
/*.sidebar ul li li:hover ul {display:block;}*/
.sidebar ul li li ul li {line-height:1.1; padding:5px 0 0 20px; width:100%; background-position:left 2px !important;}
.sidebar ul li li ul li a {height:1.5em; font-size:1.2em;}
.enhanced .sidebar ul li li ul li a span {top:15px;}
.sidebar ul li li.current_page_item ul, .sidebar ul li li.current_page_parent ul {display:block;}
.sidebar ul li li.hover {background:url(images/sidebar-expand.png) no-repeat 5px 10px;}

/* Content */
#content {width:630px; height:370px; position:relative; top:40px; left:50px;}
.page #content {height:auto; padding-bottom:50px; left:60px; width:620px;}

/* Secondary */
#secondary {width:645px; position:absolute; top:490px; left:40px; height:195px;}
#secondary .box {width:275px; height:100%; overflow:hidden;}
#secondary h4 {margin:0 0 1.5em; height:15px;}
#news h4 {background-image:url(images/news-h4.png);}
#about h4 {background-image:url(images/about-h4.png);}
#secondary h4 a {border-bottom:1px solid transparent; height:100%; text-decoration:none;}
#secondary h4 a:hover {border-color:#555;}
#secondary p, #secondary li {font-size:1.1em; margin:0 0 .5em;}
#secondary ul li {list-style-type: disc; margin-left:15px;}
#news {float:left;}
#about {float:right;}

/* Homepage Specific */
#promo .promo-link img {padding:2px 22px 22px 2px; background: url(images/promo-img-bg.png) no-repeat left top; display:block; position:absolute; z-index:4; left:10px; top:0; -moz-transform:rotate(-4deg); -webkit-transform:rotate(-4deg); transform:rotate(-4deg);}
.home #content .post {margin-left:290px; padding-top:45px; position:relative; z-index:5;}
.home h2.entry-title {font-size:3em;}
.home h2 a {text-decoration:none; color:#333;}
.home .entry-content {font-size:1.2em; margin:20px 0;}
.home .entry-content p {margin:1em 0;}

.endorsement {font-size:1.2em; }
#buy-promo {position:absolute; width:133px; height:53px; bottom:0; right:80px; z-index:6;}
#buy-promo a {height:100%; background-image:url(images/a-buy.png);}
#buy-promo a:hover {background-position:left bottom;}
.edit-link a {background-image:url(images/edit.png); height:16px; width:16px; position:absolute; top:-20px; right:-20px; display:block; text-indent:-999em;}

/* Book Pages */
.page #promo {float:left; position:relative; height:435px; width:270px; margin-bottom:1.5em;}
.page #promo .promo-link img {left:5px;}
.page #promo .promo-link img.hover {-moz-transform:rotate(0deg);}
.page #buy-promo {}
.page .entry-title {font-size:3em; margin:0 0 1em;}
.page-template-books-php .entry-title {width:348px; float:left; margin-top:1em;}
.entry-content p {font-size:1.2em; margin:1em 0;}
.entry-content blockquote {padding:0 2em; border-left:1px solid #aaa; margin-left:2em;}

/* Footer */
#footer {display:none;}

/* Contact Form */
form.cform {float:left; width: 360px;}
.cform ol li {padding-bottom:3px;}
.cform label {display:block; float:left; clear:left; width:60px; font-size:1.1em; padding-right:10px; text-align:right;}
.cform input.single {width:150px;}
.cform textarea {width:250px; height:125px; overflow:auto;}
.cform textarea {width:250px; height:125px; overflow:auto;}
.cform p.cf-sb {margin:.5em 0 0 70px;}
.reqtxt, .emailreqtxt {padding-left:5px;}
.linklove, .cf_hidden {display:none;}
.cf_li_err, .failure {color:#A90000;}
#usermessage2a {margin:0 0 1em 70px; font-size:1.1em; font-style:italic; letter-spacing:.1em;}

/* Audio Player */
object {display:block;}

/* Enhanced Styles (Progressive Enhancement) */
.enhanced .sidebar a:hover {background-image:none;}
.enhanced .sidebar a {position:relative; z-index:5;}
.enhanced .sidebar a span {background: url(images/sidebar-a-hover.png) no-repeat; position:absolute; width:0; height:5px; display:block; left:0; top:18px; z-index:4;}

/* Helper Styles */
.ir, .ir a {text-indent:-9999em; display:block; background-repeat:no-repeat; background-position:top left;}
.clear {display:block; clear:both;}
.alignright,img.alignright{float:right; margin:.4em 0 0 1em;}
.alignleft,img.alignleft{ float:left; margin:.4em 1em 0 0;}
.aligncenter,img.aligncenter{display:block;margin:1em auto;text-align:center;}


/* sIFR 3 Styles */
@media screen { 
.sIFR-flash { visibility:visible !important;margin:0;padding:0; }
.sIFR-replaced,.sIFR-ignore { visibility:visible !important; }
.sIFR-alternate {position:absolute;left:0;top:0;width:0;height:0;display:block;overflow:hidden; }
.sIFR-replaced div.sIFR-fixfocus { margin:0pt;padding:0pt;overflow:auto;letter-spacing:0px;float:none; }
.sIFR-active.home .entry-content {margin-top:14px;}
}

@media print {
.sIFR-flash { display :none !important;height :0;width :0;position :absolute;overflow :hidden; }
.sIFR-alternate { visibility :visible !important;display :block !important;position :static !important;left :auto !important;top :auto !important;width :auto !important;height :auto !important; }
}
