/*  
Theme Name: 397 Ways Theme
Theme URI: http://www.squawkfox.com
Theme URI: http://www.squawkfox.com
Description: The theme of 397 ways...  Copyright 2008 squawkfox.  All rights reserved.
Author URI: http://www.squawkfox.com
*/

/*
 * General Styles
 */

html {
}

body {
    font-family: Verdana,arial,helvetica,sans-serif;
    text-align: left;
    color: #111;
}

a {
    text-decoration: none;
    color: #346ba4;
}

a:hover {
    color: #56b9ff;
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

select, textarea {
    background-color: #f6f6f6;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

blockquote {
    margin: 20px 20px 15px 20px;
    padding: 10px 20px 1px 20px;
    background-color: #f3f3f3;
    clear: both;
}


/*
 * Header
 */

#main {
    border-left: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
}

#header {
    margin: 0 0 0 11px;
    padding: 0;
    background: url(images/book_header.png) no-repeat top left;
    height: 85px;
}

#header a:hover {
    text-decoration: none;
    color: white; /* To avoid dotted outline of img when clicked. */
}

#header h1 {
    padding: 0;
    margin: 0;
    height: 85px;
    cursor: pointer;

    /* Hide text, show only the image. */
    text-indent: -9000px;
    overflow: hidden;
}

/*
 * Top Nav bar
 */

#top-nav {
    list-style-type: none;
    padding: 0 20px 0 0;
    margin: 0 10px 0 11px;
    background: url(images/navbar.png) bottom left no-repeat;
    height: 25px;
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size: 0.8em;
    font-weight: bold;
}

#top-nav li {
    display: block;
    float: left;
    margin: 0;
    padding: 2px 0 0 20px;
}

#top-nav a {
    text-decoration: none;
    color: #333;
}

#top-nav a:hover {
    text-decoration: underline;
}


.buyNowButton {
    margin: 40px 0 0 40px;
}

.buyNowButton img {
    border: none;
}

#buyBookLink {
    color: #eb2727 !important;
}


.quote {
    margin: 15px 0;
    padding: 0 0 0 60px;
}

#quote1 {
    background: url(images/numbering_1.gif) top left no-repeat;
}

#quote2 {
    background: url(images/numbering_2.gif) top left no-repeat;
}

#quote3 {
    background: url(images/numbering_3.gif) top left no-repeat;
}


/*
 * Page Footer
 */

#footer {
    border-top: 1px dotted #ccc;
}

#MainFooter {
    width: 919px;
    height: 60px;
    margin: 20px auto 0 auto;
    background: url(images/footer_gradient.png) top left no-repeat black; 
    font-size: 0.8em;
    color: white;
    text-align: center;
    padding-top: 40px;
}

#MainFooter a.amazonLink {
    font-weight: bold;
    color: #56b9ff;
    text-decoration: underline;
}


#MainFooter p {
    margin: 0;
    padding: 0;
}

#AuthorFooter p {
}

#BookFooter, #AuthorFooter {
    float: left;
    margin: 20px 0 20px 40px;
    width: 380px;
}

#MainFooter img {
    border: 1px solid #ccc;
    margin: 0 20px 0 0;
    float: left;
}


#ClosingFooter {
    border-top: 1px dotted #ccc;
    text-align: center;
    padding: 10px 50px;
    color: #222;
    font-size: 0.7em;
    clear: both;
}

#ClosingFooter p {
    padding: 0;
    margin: 0;
}


/*
 * Post Styles
 */

.post h2, .post-wide h2 {
    line-height: 1em;
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size: 1.4em;
    font-weight: bold;
    padding: 10px 30px 0pt 22px;
    margin: -3px 0 5px 0;
    color: #111;
}

.post h2 {
    width: 484px;
}

.post-wide h2 {
    width: 850px;
}




.post h2 a, .post-wide h2 a {
    color: #111;
}

.post h2 a:hover, .post-wide h2 a:hover {
    text-decoration: none;
    color: #A40020;
}

.post h3 {
    border-collapse: separate;
    font-size: 130%;
    padding: 15px 0 10px 0; 
    margin: 0 0 0 0;
    line-height: 1em;
    color: #eb2727;
}

.post h4 {
    font-size: 110%;
    padding: 15px 0 0 0; 
    margin: 0;
}

.post p {
    padding: 0;
    margin: 0 0 1em 0;
}

.post ol li {
    margin: 10px 0;
}

.subscribe {
    clear: both;
    margin-top: 10px;
    margin-left: 22px;
    margin-right: 22px;
    padding: 10px;
    font-size: 12px;
    border: 1px solid #999;
    /*background-color: #DDEEFF;*/
    background-color: #e5f2f8;
}

.subscribe a {
    font-weight: bold;
    text-decoration: underline;
}

.subscribe form {
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
 }

.subscribe img {
    padding-top: 4px;
    vertical-align: top;
}

.shareList {
    font-size: 10px;
    text-align: center;
    color: #333;
    margin: 15px 10px 0 22px;

    padding: 0 0 15px 0;
    border-bottom: 1px dotted #ccc;
}

.shareList span {
    margin: 0 5px;
}

.postheader, .postfooter {
    line-height: 1em;
    color:#999999;
    margin-bottom: 0;
    padding-bottom: 5px;
}

.postfooter ul, .postheader ul {
    font-family: Helvetica,Arial,sans-serif;
    font-size: 0.7em;
    font-weight: normal;
    margin: 0 0 0 22px;
    padding: 0;
    text-transform: uppercase;
    list-style-type: none;
}

.postheader li, .postfooter li {
    margin: 0 5px 0 0;
    padding: 0;
    display: inline;
}

.postheader li a, .postfooter li a {
    color: #346ba4;
}

.postheader li a:hover, .postfooter li a:hover {
    color: #56b9ff;
    text-decoration: underline;
}

.comments a, .postfooter a {
    color: #999;
}

.postfooter ul {
    padding: 0;
    margin: 0;
}

.entry, .postfooter {
    margin-left: 22px;
    margin-right: 15px;
}

.entry {
    font-size: 12px;
    line-height: 1.6em;
    margin-top: 10px;
    overflow: hidden;
}

.entry img {
    border: 1px solid #999;
    margin: 5px 0 10px 0;
    clear: both;
}

.entry img.wp-smiley, .entry img.inlineImage {
    border: none;
    padding: 0;
    margin: 0 1px;
    clear: none;
}


.entry table {
    border: 2px solid #888;
    margin: 10px 1px 20px 1px;
    width: 99%;
    border-collapse: collapse;
    line-height: 1.2em;
}

.entry table td, .entry table th {
    padding: 2px 4px;
    border: 1px solid #ccc;
    border-collapse: collapse;
}

.entry table th {
    font-weight: bold;
    color: #333;
    background-color: #e5f2f8;
    padding: 2px 4px;
    border: 1px solid #888;
}


.entry a {
    /*font-weight: bold; */
    text-decoration: underline;
}

.entry a:hover {
    text-decoration: underline;
}


/*
 * Comment Styling
 */

.nocomments {
    margin-top: 20px;
}

#commentArea {
    font-size: 12px;
    padding: 0;
    margin: 0 22px 0 22px;
}

#commentArea h3 {
    font-size: 130%;
    font-weight: bold;
    margin: 20px 0 0 0;
    padding: 0;
}

#commentArea ol li {
    list-style-type: none;
}


.commentAreaItem {
    clear: both;
}


/* Styling for individual comments */

.commentlist ol {
    margin: 0;
    padding: 0;
}

.commentlist li {
    list-style-type: none;
    padding: 15px 0 8px 0;
    margin: 10px 0; 
    background-color: #f3f3f3;
    clear: both;
}

.commentlist p {
    margin: 0 0 8px 0;
}

.commentAuthor {
    font-size: 110%;
    font-weight: bold;
    color: #333;
}

.commentDate {
    color: #999;
    text-transform: uppercase;
    padding-left: 10px;
    font-size: 80%;
}

.loggedInComment {
    background-color: #e5f2f8 !important;
}

.commentGravatar {
    float: left;
    margin-left: 20px;
    margin-bottom: 10px;
    border: 1px solid #999;
}

/* NOTE: look in ie-all-hacks.css for additional IE-only styling.  */
.commentAttribution, .commentBody {
    clear: right;
    float: right; 
    width: 360px;
    padding-right: 10px;
    overflow: hidden;
    margin: 0 !important;
}

.commentAttribution {
    padding-bottom: 5px;
}

.commentBody {
    line-height: 1.6em;
}

.commentBody li {
    list-style-type: circle !important;
    padding: 0 0 0 5px;
    margin: 0 0 0 20px;
    background-color: transparent;
}


/* Trackbacks/pings */

.trackbacklist {
    padding-top: 1px;  
    padding-bottom: 2px;
}

.trackbacklist ol {
    padding: 0;
    margin: 11px 0 0 0;
    list-style-type: disc;       
}

.trackbacklist li {
    padding: 0 !important;
    margin: 4px 0 !important;
}

.trackbacklist a {
    font-weight: normal;
    text-decoration: none;
}


.pingDate {
    color: #999;
    font-size: 80%;
    text-transform: uppercase;
}

/* Styling for comment entry form */
.commentForm p {
    margin: 10px 0;
}

.commentForm textarea {
    width: 100%;
}


/*
 * Nav for bottom of page
 */

#navigation {
    font-size: 0.7em;
    padding: 20px;
}

.align_left {
    float: left;
}

.align_right {
    float: right;
}

#navigation a:hover {
    text-decoration: underline;
}


/*
 * 'ShareThis'
 */
.stbutton {
    font-size: 12px;
    margin-left: 22px;
}

#sharethis_0 {
}


/*
 * Related Posts Plugin
 */
.relatedposts {
    font-size: 12px;
    margin: 5px 22px;
    padding: 15px 0;
    line-height: 1.6em;
}

.relatedposts ul {
    margin: 0;
    padding: 0;
}

.relatedposts li {
    margin: 0 0 0 30px;
    padding: 0;
}

.relatedposts h3 {
    font-size: 130%;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
}

.relatedposts a {
    font-weight: normal;
    font-style: italic;
    text-decoration: none;
}

.relatedposts a:hover {
    color: #56b9ff;
}

/*
 * Summary Box for Reviews
 */

.entry .reviewbox {
    color: #333;
    width: 250px;
    font-size: 85%;
    border: none;
    border-top: 1px solid #bbb;
    background-color: white;
    padding: 0;
    margin: 3px 9px 5px 5px;
    display: inline;
    float: left;
    clear: both;
    border-collapse: collapse;
    line-height: 1.2em;
}

.entry .reviewbox td, .entry .reviewbox th {
    border: none;
    vertical-align: top;
    background-color: #f3f3f3;
    border-bottom: 1px solid #bbb;
    padding-top: 4px;
    padding-bottom: 4px;
}

.entry .reviewbox th {
    padding-left: 9px;
    font-weight: bold;
    text-align: right;
}

.entry .reviewbox td {
    padding-left: 3px;
}

.entry .reviewbox img {
    border: none;
    padding: 0;
    margin: 0;
}



/*
 * Header box for series
 */

/* Main Box -- table to deal with Wordpress HTML mangling */
.entry .SeriesHeading {
    float: left;
    clear: both;
    border: 1px solid #ccc;
    padding: 0;
    margin: 5px 10px 5px 3px;
    width: 225px;
    font-weight: bold;
    line-height: 1em;
    border-collapse: collapse;
}

.entry .SeriesHeading td, .entry .SeriesHeading th {
    border: none;
    vertical-align: top;
    background-color: white;
    text-align: left;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: #333;
}

.entry .SeriesHeading th {
    font-size: 110%;
    font-weight: bold;
    padding: 10px 4px 4px 10px;
    color: #333;
}

.entry .SeriesHeading td {
    font-size: 100%;
    font-weight: normal;
    padding-bottom: 4px;
}

.entry .SeriesHeading a {
    font-weight: bold;
    text-decoration: underline;
    color: #346ba4;
}

.entry .SeriesHeading a:hover {
    color: #56b9ff;
}

.entry .SeriesHeading ol, .entry .SeriesHeading ul {
    margin: 0;
    padding: 0;
}


.entry .SeriesHeading li {
    margin: 4px 4px 4px 30px;
    padding: 0;
}

.entry .SeriesHeading li.current, .entry .SeriesHeading li.current a {
    color: #333;
    font-weight: bold;
    background: url(images/shoe.gif) no-repeat left;
    padding-left: 20px;
}


#ArchivePage {
    margin-left: 22px;
    font-size: 12px;
}

#ArchivePage ul {
    margin-left: 0;
    padding-left: 25px;
    list-style-type: none;
}

.srg_switcher {
    display: block;
    margin-bottom: 15px;
}

/*
 * Calculator-specific styling
 */

.calculator {
    font-size: 12px;
    border: 1px solid #777;
    margin: 15px 0;
    padding: 0 0 15px 10px; /*15px 0px 15px 10px*/;
}

.calculator table {
    margin: 0 0 10px 0;
    padding: 0;
    width: 99%;
}

.calculator table th, .calculator table td {
    padding: 2px 4px;
}

.calculator div {
    margin-top: 10px;
}

.calculator input {
    margin: 0;
}

.calculator h3 {
    margin: 10px 0;
    padding: 0;
    clear: both;
}

.calculator table input, .calculator table select{
    margin: 0;
    background-color: white;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.calculator p {
    margin: 10px 0;
    width: 95%;
}

#EntryTable, #ResultsTable {
    margin: 10px 0;    
}

.calculator td.description {
    width: 50%;
    padding-left: 20px;
}

.calculatorSummary {
    margin: 20px 10px 10px 10px;
    /*font-size: 120%;*/
    font-weight: bold;
}

.calculatorSummary strong {
    font-weight: bold;
    color: #A40020;
}

.calculator .requiredFieldFlag {
    font-weight: bold;
    color: #A40020;
}


#calculateButton {
    float: right;
    margin: 0;
    margin-bottom: 15px;
    padding: 0px 5px;
    font-weight: bold;
/*    margin-right: expression("25px"); */
}


.calculator .invalidTextInput {
    background-color: #edd;
}


