/* 
  HTML5 ✰ Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

nav ul { list-style:none; }

blockquote, q { quotes:none; }

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

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }
 

/* 
 * minimal base styles 
 */


body, select, input, textarea { 
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 
  color: #444; 
  /* set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */   
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }


ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

.alignleft {
  float:left;
}

img.alignleft {
  margin:0 1em 0.5em 0;
  border:2px solid white;
}

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; } 

small { font-size: 85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align: top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
 
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
 
/* webkit browsers add a 2px margin outside the chrome of form elements */  
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301 
   Also: hot pink. */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; } 

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }



/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 

.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }



 /* Primary Styles
    Author: 
 */


body { background: url(/img/bg.gif) repeat-y top center #fff; font-family: sans-serif; }
#wrap { background: url(/img/container_shadow.png) repeat-y top center transparent;}
#banner {width:960px;max-width:960px; margin: 0 auto;}
#content {width:956px; max-width:956px; margin:0 auto; /*background: url(/img/bg_content.png) repeat top left transparent;*/}
footer {background:url(/img/footer_line.png) repeat-x top left transparent;}

#logo img {display:block;}
p {margin:0.75em 0; line-height:1.4;}

#nav-main {
  /*background:url(/img/bg_content.png) repeat top left #e0dca1;*/
  background-color:#e0dca1;
}

#like-button {
  position:absolute;
  right:0;
  top:6px;
}

#nav-main {
  height:36px;
}

#nav-main ul{
  padding:0;
  /*height:36px;*/
  width:100%;
  background:url(/img/nav_bg.gif) no-repeat top left #e0dca1;
}

#nav-main ul ul {
  background:none;
  background-color:white;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	top:			36px; /* match top ul list item height */
}

.feature-row {
  z-index:-100;
}

/*#nav-main ul li {
  display:inline-block;
  margin:0;
}*/

.textshadow #nav-main ul li.current-menu-item a {
  -moz-text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
  -webkit-text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
  text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
}

.sf-menu li {
  background:none;
}

.sf-menu a {
  border:none;
}

.sf-menu li li {
  background:inherit;
  border:none;
}

#nav-main ul.sf-menu ul li {
  padding-left:0px;
  
  margin-left:0;
}

#nav-main ul.sf-menu ul li a {
/*display:inline-block;
width:100%;*/
/*padding:10px 2.0em 0 0.3em;*/
background-color:transparent;
}

.boxshadow #nav-main ul.sf-menu ul {
  box-shadow:0px 10px 10px #888;
  padding-right:24px;
}

#nav-main ul li {
  height:36px;
  /*padding:10px 1.0em 0 1.0em;*/
  margin-left:6px;
}

#nav-main ul li a {
  border:none;
}

#nav-main a:hover, #nav-main li:hover {
  background:white;

}

#nav-main ul.sf-menu ul a:hover {
    text-decoration:underline;
}

#nav-main ul li#menu-home {
  margin-left:0;
}

/*#nav-main ul.sf-menu li#menu-contact {
  width:113px;
}

#nav-main li#menu-contact a {
  width:113px;
}*/

.sf-sub-indicator {
  right:0;
}

.sf-menu a.sf-with-ul {
  padding-right:1.0em;
}

#nav-main ul li a {
  display:inline-block;
  vertical-align:12px;
  color:#6c5b3b;
  font-weight:normal;
  font-family: trajan-pro,sans-serif;
  text-decoration:none;
  font-size:130%;
  font-variant:small-caps;
  padding-bottom:6px;
  padding-top:12px;
}

header {
  position:relative;
}

div#nav-shadow {

  width:956px;
  height:10px;
  position:absolute;
  top:218px;
  left:2px;
  z-index:-100;
  background:url(/img/nav_shadow.png) repeat 0 0 transparent;
}

#nav-main ul li#menu-home a {
  padding-left:1.8em;
}

#main {
  padding:20px 20px 5px 20px;

}

.archive #main, .page #main, .single #main {
  padding-bottom:20px;
}

#content {
  border:2px solid white;
  border-top:none;
}


#content footer {
  background:none;

}

#content footer a {
    color:black;
}

.page #main, .archive #main, .category #main, .single #main {
  width:600px;
  float:left;
}

.page #main section, .archive #main section, .category #main section, .single #main section {
  margin-right:0;
  width:100%;
}

#sidebar, #recommends {
  width:256px;
  float:left;
  padding:20px;
  margin-top:20px;
}

#sidebar {
  margin-bottom:20px;
}

#recommends a.read-more {
  margin-left:0;
}

.book-nav {
  margin-top:10px;
}

.book-nav a[rel='prev'] {
  float:left;
}

.book-nav a[rel='next'] {
  float:right;
}

.pod {
  background:url(/img/bg_content.png) repeat top left transparent;
  border:2px solid #ddd;
  float:left;
  margin-right:16px;
}

.pod.last {
  margin-right:0;
}

.pod .content {
    padding:14px 18px 18px 18px;
}

.feature-row {
  margin-bottom:18px;
}

.boxshadow .pod {
  -moz-box-shadow:0 0 7px #aaa;
  -webkit-box-shadow: 0 0 7px #aaa;
  box-shadow:0 0 7px #333;
  border:2px solid white;
}

footer#content-info {
  position:relative;
}

.boxshadow footer#content-info .content {
  box-shadow: 0 -5px 10px #aaa;
}

footer#content-info .content {
  width:916px;
  margin:0 auto;
  padding:22px;
  background:url(/img/footer_bg.jpg) no-repeat top left #6b6b6b;
  min-height:260px;
  
}

footer#content-info p.copy {
  color:white;
}

footer#content-info div#footer-line {
  height:20px;
  width:100%;
  background:url(/img/footer_line.png) repeat-x top left transparent;
  position:absolute;
  top:0;
}

div#footer-cap {
  height:20px;
  background:url(/img/footer_cap.png) no-repeat top center transparent;
}

footer#content-info section {
  color:white;
  float:left;
  width:31.2590975254731%;
  margin-right:18px;
  border-right:1px solid #ddd;
  min-height:260px;
}

footer#content-info #footer-links {
  border:none;
}

footer#content-info section h1 {
  font-size:130%;
  font-weight:normal;
}

section#welcome {
  width:375px;
  height:223px;
}

section#welcome div.text {
  float:right;
  width:56%;
}

section#welcome h1 {
  margin-bottom:0;
  font-size:130%;
}

section#welcome div.text p {
  margin-top:3px;
}

section#welcome img {
  float:left;
  width:129px;
  border:2px solid white;
}

.boxshadow section#welcome img {
  -moz-box-shadow: 0 0 7px #000;
  -webkit-box-shadow: 0 0 7px #000;
  box-shadow: 0 0 7px #000;
}

section#welcome a.read-more {
  margin-left:0;
}

div#promo {
  width:517px;
  padding:0;
  height:223px;
  border:2px solid #fff;
}

section#news-teaser {
  width:516px;
  height:560px;
  position:relative;
}

section#twitter {
  width:376px;
  height:298px;
  position:relative;
}

section#twitter .header img {
  vertical-align:5px;
}

section#twitter .header h1 {
  height:18px;
}

section#twitter .header span {
  vertical-align:12px;
  margin-left:6px;
}

section#books {
  height:312px;
  width:516px;
  position:relative;
}

section#articles {
  width:376px;
  height:312px;
  position:relative;
}

section#videos {
  width:376px;
  height:560px;
  position:relative;
}

section#videos iframe {
  width:340px;
  height:234px;
}

section#videos a.video_thumb {
  width:106px;
  display:block;
  float:left;
  margin-right:7px;
  margin-bottom:3px;
}

section#videos a.video_thumb img {
  width:100%;
}

.widget ul li {
  margin-bottom:2px;
}

.widget h3 {
  margin-bottom:9px;
}

div.entry-content iframe {
  width:100%;
}

ul.books-box {
  margin-top:9px;
  margin-left:35px;
  width:420px;
}

ul.books-box li {
  float:left;
  margin-left:28px;
  width:113px;
}

ul.books-box li a.buybutton {
  margin-left:3px;
  text-align:center;
}

ul.books-box li a.buybutton img {
  border:none;
}

div.audio-player {
  clear:both;
  margin-bottom:1em;
}

ul.books-box li img {
    border:2px solid #fff;
}

.boxshadow ul.books-box li img {
  -moz-box-shadow: 0 0 10px #ccc;
  -webkit-box-shadow: 0 0 10px #ccc;
  box-shadow: 0 0 10px #ccc;
}

ul.books-box li:first-child {
  margin-left:0;
}

section.pod div.header {
  background-color:#676565;
  color:white;
  padding:5px 12px 4px 12px;
  height:24px;
}

section.pod h1 {
  font-size:160%;
  font-weight:normal;
  
  color:#310702;
  margin-bottom:0.555555555555556em;
}

section.pod div.header {
  border-bottom:3px solid #4b2621;
}

section.pod div.header h1 {
  font-size:130%;
  color:white;
  margin:0.2em 0 0 0;
}

.futura h1, .futura h2, .futura h3 {
  font-family: trajan-pro,sans-serif;
  letter-spacing:0.05em;
  font-weight:normal;
  /*color:red;*/
}

li.more_latest {
  padding-top:9px;
}

li.more_latest a {
  font-weight:bold;
}

ul.flaglist li {
  float:left;
  margin:0 6px 3px 0;
}

a.read-more {
  padding-right:16px;
  background:url(/img/more_arrows.png) no-repeat right 2px transparent;
  text-decoration:none;
  font-weight:bold;
  color:#d13322;
}

section#news-teaser a.read-more {
  margin-left:0.5em;
}

h2 {
  font-family: trajan-pro,sans-serif;
  color:#000;
  font-size:130%;
  font-weight:normal;
  margin-top:3px;
}

h2 a:link, h2 a:hover, h2 a:visited {
  color:#000;
  text-decoration:none;
}

div.entry {
  margin-bottom:1em;
}

div.info {
  float:left;
  /*width:111px;*/
  margin:0 1em 1em 0;
}

div.info div.thumbnail img {
  /*width:111px;*/
}

div.with-thumbnail div.thumbnail {
  /*width:69px;*/
  float:left;
}

div.with-thumbnail div.thumbnail img {
  /*width:69px;*/
}

article.category-news div.thumbnail {
  /*width:111px;*/
}

article.category-books div.thumbnail img, article.category-news div.thumbnail img {
  /*width:111px;*/
}

div.thumbnail {
  border:1px solid white;
}

div.thumbnail img {
  display:block;
}

body.category-news div.with-thumbnail div.entry-content, body.archive div.with-thumbnail div.entry-content {
  width:440px;
  
}

div.entry-content p {
  margin-top:0;
}

article header {
  margin-bottom:1.0em;
}

.category article {
  border-bottom:1px solid #ccc;
  margin-bottom:1em;
}

body.category-books div.with-thumbnail div.entry-content {
  width:435px;
}

body.category-books div.with-thumbnail div.thumbnail {
  width:111px;
}

#sidebar article {
  margin-bottom:2em;
  border-bottom:none;
}

body.single div.thumbnail, body.archive div.info div.thumbnail {
  float:left;
  /*margin:0 12px 6px 0;*/
}

.search .pod {
  float:none;
}

.boxshadow div.thumbnail {
  -moz-box-shadow: 0 0 10px #ccc;
  -webkit-box-shadow: 0 0 10px #ccc;
  box-shadow: 0 0 10px #ccc;
}

div.with-thumbnail div.entry-content {
  width:399px;
  float:right;
}

footer.section-click {
  background-image:none;
  position:absolute;
  bottom:1px;
  right:1px;
  height:31px;
}

footer.section-click {
  display:block;
  height:31px;
  overflow:hidden;
}

footer.section-click a {
  display:inline-block;
  height:31px;
}

footer.section-click span {
  display:inline-block;
  padding:0.55em 6px 0 1em;
  font-family: trajan-pro,sans-serif;
  color:#333333;
  font-size:110%;
  /*vertical-align:9px;*/
  background:none #e0dca1;
  height:31px;
  vertical-align:top;
}

.ie7 footer.section-click a:link, .ie7 footer.section-click a:visited, .ie7 footer.section-click a:hover {
  text-decoration:none;
}

.ie7 footer.section-click span {
  padding-top:0.15em;
  
}

ul {
  margin:0;
}

ul li {
  list-style-type:none;
  margin:0 0 1em 0;
  padding:0;
}

footer a:link, footer a:visited, footer a:hover {
  color:white;
}

footer ul {
  margin-top:1em;
}

footer ul li {
  margin-bottom:0.3em;
}

#sidebar h3 {
  font-size:150%;
}

#signup_widget input {
    
    border: medium none;
    color: #444466;
    font-style: italic;
    font-weight: bold;
    padding: 6px;
    background:url(/img/form_input_bg.png) repeat-x top left transparent;
}

#signup_widget input[type='submit'] {
  color:#444466;
  border:1px solid #ddd;
  padding:5px;
}

#signup_widget input#email {
    border: 1px solid #ddd;
}



/*
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override. 
 */

@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
  
}

@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
  
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
  
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust 
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

