/*    GARRETKEIZER.COM: screen master
    -------------------------------
    Author:        Ethan Marcotte (http://ethanmarcotte.com/)
    Version:    20150725
    Copyright:    (c) 2015 Garret Keizer. All rights reserved.
*/

/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,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; }
body { line-height:1; }
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:'';content:none; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }

/*-
    SELF-CLEARING FLOATS
*/

.section:after,
.intro:after,
.promo-books:after,
.promo-main .wrap:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.section,
.intro,
.promo-books,
.promo-main .wrap {
    zoom: 1;
}

/*-
    BASE STYLES
*/

body {
    background: #E7E1D9 url("../../img/bg.gif");
    color: #2F2F2F;
    font: normal 100%/1.5 "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2", Cambria, Georgia, serif;
}
a {
    color: #DA4D27;
    text-decoration: underline;
}
a:hover,
a:focus {
    color: #F94625;
    text-decoration: none;
}
abbr,
acronym {
    cursor: help;
}
input.text,
textarea {
    border: 1px solid #7C7C7C;
    border-color: #7C7C7C #7C7C7C #C3C3C3 #C3C3C3;
}
img {
    max-width: 100%;
}
hr,
.skip {
    left: -1000em;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 0;
}
.w {
    white-space: nowrap;
}
figure {
    margin: 0;
}

table {
    margin-bottom: 1.5em;
}
th {
    background: url( "../../img/div.png" ) repeat-x 0 100%;
    text-align: left;
}
th,
td {
    padding: 0.5em 1em 0.5em 0;
}
th:last-child,
td:last-child {
    padding-right: 0;
}

/*-
    LAYOUT
*/

.sect-home #site {
    background: url("../../img/bg-dark.gif") repeat-x 0 21px;
}
.inner {
    margin: 0 auto;
    width: 90%;
}

/*-
    HEADER
*/

.header {
    padding-top: 21px;
}
.header p {
    background: url("../../img/bg-photo.jpg");
    float: left;
    width: 31.4444444%;                                /* 283px / 900px */
    margin: 62px 3.888888888888888888% 20px 2.33333333%;    /* 31px / 900px; 21px / 900px */
}
.header img {
    display: block;
    left: 5px;
    position: relative;
    top: -5px;
}
.header h1 {
    background: url("../../img/logo.png") no-repeat 0 53px;
    padding: 53px 0 14px;
    height: 76px;
    margin-left: 37.4444444%;    /* 337px / 900px */
    text-indent: -1000em;
}

/*-
    INTRO
*/

.intro {
    background: url("../../img/bg-intro.gif");
    line-height: 1.625;
    margin-bottom: 1.5em;
}
.intro div {
    background: url("../../img/div.gif") repeat-x;
    padding-right: 1.77777778%;            /* 16px / 900px */
    padding-left: 37.4444444%;            /* 337px / 900px */
    padding-top: 15px;
    margin-bottom: 1em;
}
.intro b {
    font-size: 1.3125em;                /* 21px / 16px */
    line-height: 1.23809523809523809523;    /* 26px / 21px */
    font-weight: normal;
}

/*-
    MAIN PROMO
*/
.promo-main {
    color: #FFF;
    position: relative;
    padding: 1em 1.66666667% 0;        /* (30 / 2) /900 */
    margin: 3em auto;
}
@media screen and (min-width: 37.5em) {
    .promo-main:before,
    .promo-main:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 10px;
    }
    .promo-main:before {
        left: -10px;
    }
    .promo-main:after {
        right: 0;
    }
}
@media screen and (min-width: 50em) {
    .promo-main:before,
    .promo-main:after {
        width: 5.51724138%;            /* (96/2)/870 */
    }
    .promo-main:before {
        left: -5.51724138%;
    }
    .promo-main:after {
        left: 100%;
        right: auto;
    }
}
.promo-main h1,
.promo-main h2 {
    color: #FFF;
    font: bold 13px/1.0 Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.promo-main h2 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}
.promo-main h2 cite {
    font-style: inherit;
}
/* Hed */
.promo-hed {
    margin: 50px 0;
    margin: 3.125rem 0;
    text-align: center;
}
/* Cover */
.promo-cover {
    text-decoration: none;
    display: block;
    margin: 0 2em 2.5em;
    max-height: 23em;
    text-align: center;
}
.promo-cover:hover,
.promo-cover:focus {
    text-decoration: underline;
}
.promo-cover img {
    width: 28.73563218%;                /* 250/870 */
    max-width: 100%;
}
@media screen and (min-width: 52em) {
    .promo-cover {
        left: 50%;
        margin: 0;
        margin-left: -14.36781609%;            /* (250/2) / 870 */
        position: absolute;
        overflow: hidden;
        width: 28.73563218%;                /* 250/870 */
    }
    .promo-cover img {
        margin: 0 auto;
        max-width: 250px;
        position: relative;
        width: 100%;
    }
}
@media screen and (min-width: 60em) {
    .promo-cover {
        bottom: 0;
    }
}
@media screen and (min-width: 75em) {
    .promo-cover img {
        box-shadow: 0px 7em 2em -0.5em rgba(0, 0, 0, 0.25);
    }
}
.promo-title {
    font-size: 1.4em;
}
@media screen and (min-width: 52em) {
    .promo-title {
        position: absolute;
        left: -1000em;
    }
}
/* Cols */
.promo-main .group,
.promo-main .group-alt {
    margin-bottom: 50px;
    margin-bottom: 3.125rem;
}
@media screen and (min-width: 37.5em) {
    .promo-main .group,
    .promo-main .group-alt {
        min-height: 20em;
    }
    .promo-main .group {
        float: left;
    }
    .promo-main .group-alt {
        float: right;
    }
    .promo-main .p-eq {
        width: 49.5%;
    }
}
.promo-main .inner {
    margin: 0 auto;
    padding: 1em;
    max-width: 24em;
    width: auto;
}
@media screen and (min-width: 52em) {
    .promo-main .group .inner,
    .promo-main .group-alt .inner {
        max-width: inherit;
        margin: 0;
        padding: 0;
    }
    .promo-main .group .inner {
        padding-right: 38.16091954%;    /* 166 / (870 / 2) */
    }
    .promo-main .group-alt .inner {
        padding-left: 38.16091954%;        /* 166 / (870 / 2) */
    }
}
/* Description */
.promo-desc {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;                /* 24/16 */
    margin-bottom: 1em;
}
/* Priority links (Buy, &c) */
.promo-act {
    font-size: 14px;
    font-size: 0.875rem;            /* 14 / 16 */
    margin-bottom: 1.5em;
}
.promo-act strong {
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFF;
}
/* Quotes */
.promo-blurb {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.7142857143;        /* 24/14 */
    margin-bottom: 1.5em;
}
.promo-main .promo-blurb {
    font-style: italic;
}
.promo-main .promo-blurb cite {
    font-style: normal;
}
.promo-blurb + .promo-act {
    margin-top: 2.25em;
}
.promo-blurb address {
    text-align: right;
}
.promo-blurb address cite {
    font-style: normal;
}
.promo-blurb address:before {
    content: "— ";
}
.promo-main address cite {
    font-style: normal;
}
.promo-main address em {
    display: block;
}
.promo-main .info-more:before {
    color: #FFF;
    content: "» ";
    font-style: normal;
}

/* Variant: “Getting Schooled” */
.bk-promo-schooled,
.bk-promo-schooled:before,
.bk-promo-schooled:after {
    background-color: #3A3F4B;
    color: #EDE7DF;
}
.bk-promo-schooled a {
    font-weight: inherit;
    color: inherit;
}

/* Variant: “The World Pushes Back” */
.bk-promo-worldpushesback,
.bk-promo-worldpushesback:before,
.bk-promo-worldpushesback:after {
    background-color: #423830;
    color: #EDE7DF;
}
.bk-promo-worldpushesback a {
    font-weight: inherit;
    color: inherit;
}

/*-
    CONTENT
*/

.content,
.footer {
    margin: 0 auto;
    width: 96.666666666666666666%;        /* 870px / 900px */
}
.content {
    font-size: 0.8125em;                /* 13px / 16px */
    line-height: 1.53846153846153846153;    /* 20px / 13px */
    margin-bottom: 2em;
}
.content .section {
    float: left;
    margin-right: 1.14942529%;            /* 10px / 870px */
    width: 24.137931%;                    /* 210px / 870px */
}
.section-hed {
    background: #893019;
    color: #FFF;
    font: normal 0.769230769em/1.0 Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;    /* 10px / 13px */
    letter-spacing: 0.275em;
    margin-bottom: 15px;
    padding: 0.95em 10px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}
.section-intro,
.content li {
    background: url("../../img/div.png") repeat-x 0 100%;
    padding: 0 10px 14px;
    margin-bottom: 10px;
}
.section-intro {
    padding-left: 0;
    padding-right: 0;
}
/*
    Books
*/
.books {
    margin: 1em 3px 2em;
    text-align: center;
}
.books a {
    display: block;
}
.books img {
    max-width: auto;
}
li.book,
li.book li {
    background: none;
    padding: 0;
    margin-bottom: 0;
}
li.book {
    box-sizing: border-box;
    margin: 0 0 2em;
    padding: 0 1em;
    vertical-align: top;
}
@media (min-width: 27em) {
    li.book {
        display: inline-block;
        margin-bottom: 1em;
        vertical-align: top;
        width: 49%;
    }
}
@media (min-width: 45em) {
    li.book {
        width: 32%;
    }
}
@media (min-width: 64em) {
    li.book {
        width: 17%;
    }
}
.book h3 {
    line-height: 1.38461538461538461538;    /* 18px / 13px */
}
.book cite {
    display: block;
    font-size: 1.15em;
    font-weight: normal;
    margin-bottom: 0.5em;
    padding-top: 0.5em;
}
.enhanced .book {
    position: relative;
    z-index: 1;
}
/* Buy link pop-ups */
.enhanced .book ul {
    left: 50%;
    margin-left: -50%;
    opacity: 0;
    position: absolute;
    top: 100%;
       -moz-transform: -moz-translateY( -3em );
        -ms-transform: -ms-translateY( -3em );
         -o-transform: -o-translateY( -3em );
    -webkit-transform: -webkit-translateY( -3em );
            transform: translateY( -3em );
       -moz-transition: opacity 0.2s, -moz-transform 0.2s;
        -ms-transition: opacity 0.2s, -ms-transform 0.2s;
         -o-transition: opacity 0.2s, -o-transform 0.2s;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
            transition: opacity 0.2s, transform 0.2s;
    width: 100%;
    z-index: 10;
}
.enhanced .book ul:before {
    content: "Buy it online at:";
    display: block;
    text-align: center;
}
.enhanced .book-active {
    z-index: 10;
}
.enhanced .book-active ul {
    background: #CCC;
    border: 2px solid #FFF;
    border-radius: 0.5em;
    opacity: 1;
    -moz-transform: -moz-translateY( 0 );
     -ms-transform: -ms-translateY( 0 );
      -o-transform: -o-translateY( 0 );
 -webkit-transform: -webkit-translateY( 0 );
         transform: translateY( 0 );
    padding: 0.45em 0.25em;
    box-shadow: 0 0.25em 0.2em rgba( 0, 0, 0, 0.2 );
}
/* Formatting for buy links */
.book li {
    float: left;
    width: 50%;
}
.book li:nth-child( 2n ) {
    text-align: left;
}
.book li:nth-child( 2n + 1 ) {
    text-align: right;
}
.book li:nth-child( 2n + 1 ):after {
    color: #A0A0A0;
    content: "/";
    margin: 0 0.5em;
}
.book li:nth-child( 2n + 1 ):last-child {
    clear: both;
    text-align: center;
    width: 100%;
}
.book li:nth-child( 2n + 1 ):last-child:after {
    margin: 0;
}
.book li:last-child:after {
    content: "";
}
.book li a {
    display: inline;
}
/* Talks listing */
.content .article {
    float: none;
    margin: 2em auto;
    width: inherit;
    max-width: 40em;
}
.plain {
    margin-bottom: 3em;
}
.plain li {
    background: none;
    display: inline;
    margin-bottom: 0;
    padding: 0;
}
.plain li:after {
    content: ", ";
}
.plain li:last-child:after {
    content: none;
}


/*
    Writings
*/
.writings dl:before {
    content: "»\00a0\00a0";
    float: left;
}
.writings dt,
.writings dd {
    padding-left: 1em;
}
/*
    Links
*/
.links li:before {
    color: #B0581E;
    content: "∞\00a0";
    font-weight: bold;
    float: left;
}
.links p:before {
    content: "|\00a0";
    float: left;
}
.links li ol,
.links li ul {
    margin-top: 10px;
}
.links li li {
    background: none;
    padding-bottom: 0;
}
.links li li:before {
    content: "";
    float: none;
}

/* Schedule */
dl.schedule {
    margin: 0.5em 0;
    text-align: center;
}
dl.schedule dt {
    font-style: italic;
}
dl.schedule dd {
    margin-bottom: 1em;
}
dl.schedule dd:last-child {
    margin-bottom: 0;
}

/*
    Contact
*/
.content div.contact {
    margin-right: 0;
}
.contact h2 {
    background: #B0581E;
}
.contact a {
    color: #893019;
}
.contact a:hover,
.contact a:focus {
    color: #DA4D27;
}
.contact p {
    padding: 0 10px;
    margin-bottom: 1em;
}
.adr {
    font-size: 0.923076923em;    /* 12px / 13px */
    line-height: 1.66666667;        /* 20px / 12px */
    margin: 1.5em;
}

/*-
    FOOTER
*/

.footer {
    background: url("../../img/bg-dark.gif");
    font-size: 0.75em;                        /* 12px / 16px */
    margin-left: -5.555555555555555555%;        /* 50px / 900px */
    padding: 20px 0 20px 5.555555555555555555%;    /* 50px / 900px */
    text-align: right;
}
.footer p {
    padding-right: 2.22222222%;                /* 20px / 900px */
}
.footer cite {
    font-style: normal;
}
.footer a {
    font-weight: bold;
}

/*
    THE RESPONSIVE BITS
*/

@media (max-width: 700px) {
    body {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }
    .sect-home #site {
        background: none;
    }
    .header {
        background: url("../../img/bg-dark.gif") repeat-x;
        padding: 15px 0;
    }
    .header h1 {
        background-position: 0 0;
        padding: 0;
        margin: 0 auto;
        width: 281px;
    }
    .inner {
        width: 100%;
    }
    .header p {
        position: absolute;
        left: -1000em;
    }
    .intro div {
        padding: 15px 10px 1px;
        padding-left: 2.33333%;    /* 21px / 900px */
    }
    .content .section {
        float: none;
        width: auto;
        margin: 0 0 2em;
    }
}
@media (max-width: 950px) {
    .header p {
        overflow: hidden;
        text-align: center;
        padding-bottom: 5px;
    }
    .header img {
        position: static;
        margin-left: -15%;
        max-width: 300px;
    }
}
@media (min-width: 790px) {
    .intro div {
        font-size: 1.1em;
    }
}
@media (min-width: 1050px) {
    .intro div {
        font-size: 1.15em;
        line-height: 1.8;
        padding-top: 20px;
    }
}
@media (min-width: 1190px) {
    .intro div {
        font-size: 1.2em;
        padding-top: 25px;
    }
}
@media (min-width: 1235px) {
    .intro div {
        font-size: 1.25em;
        line-height: 1.65;
    }
}
