/* Embed MailChimp CSS. Source: https://cdn-images.mailchimp.com/embedcode/slim-10_7.css */

/* MailChimp Form Embed Code - Slim - 12/15/2015 v10.7 */
#mc_embed_signup form {display:block; position:relative; text-align:left; padding:10px 0 10px 3%}
#mc_embed_signup h2 {font-weight:bold; padding:0; margin:15px 0; font-size:1.4em;}
#mc_embed_signup input {border:1px solid #999; -webkit-appearance:none;}
#mc_embed_signup input[type=checkbox]{-webkit-appearance:checkbox;}
#mc_embed_signup input[type=radio]{-webkit-appearance:radio;}
#mc_embed_signup input:focus {border-color:#333;}
#mc_embed_signup .button {clear:both; background-color: #aaa; border: 0 none; border-radius:4px; letter-spacing:.03em; color: #FFFFFF; cursor: pointer; display: inline-block; font-size:15px; height: 32px; line-height: 32px; margin: 0 5px 10px 0; padding:0; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: auto; transition: all 0.23s ease-in-out 0s;}
#mc_embed_signup .button:hover {background-color:#777;}
#mc_embed_signup .small-meta {font-size: 11px;}
#mc_embed_signup .nowrap {white-space:nowrap;}
#mc_embed_signup .clear {clear:none; display:inline;}

#mc_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
#mc_embed_signup input.email {font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif; font-size: 15px; display:block; padding:0 0.4em; margin:0 4% 10px 0; min-height:32px; width:58%; min-width:130px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#mc_embed_signup input.button {display:block; width:35%; margin:0 0 10px 0; min-width:90px;}

#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}


/* Main CSS below */

body {
    padding-bottom: 50px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600
}

h1 {
    margin-top: 0;
    font-size: 2.25rem
}

h2 {
    font-size: 2rem
}

h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .3px
}

h3:first-child {
    margin-top: 0 !important
}

h4 {
    font-size: .93rem;
    margin-bottom: .1rem;
    line-height: 1.1
}

hr {
    border-top: 1px solid #000;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem
}

html {
    font-size: 14px
}

@media screen and (min-width:1200px) {
    html {
        font-size: 16px
    }
}

body {
    font-family: palatino linotype, book antiqua, Palatino, serif;
    font-size: .9rem
}

p:last-child {
    margin-bottom: 0
}

.text-white {
    color: #fff
}

.lead {
    font-size: 1.25rem
}

blockquote {
    border-left: none;
    margin-bottom: 1rem;
    padding-top: 0;
    padding-bottom: 0
}

blockquote,
blockquote p {
    font-size: .9rem
}

.no-bullet {
    list-style: none;
    padding-left: 0
}

ul {
    padding-left: 1.25rem
}

dt {
    font-weight: 700
}

a {
    text-decoration: underline
}

img {
    max-width: 100%;
    height: auto
}

.col-site-header {
    padding: 0 30px 15px 30px;
}

.site-header {
    margin-top: 15px;
    background-color: #f0f0f0;
}

.site-header__title {
    letter-spacing: .25px;
    font-family: sans-serif;
    color: #3e3e3e;
}

.site-header__title h2 a {
  color: inherit;
  text-decoration: none;
}

.site-header__affiliations {
    margin-bottom: 15px;
    display: none
}

.site-header__affiliation-logo {
    width: 75px;
    margin-top: 10px;
    height: auto;
    float: left
}

.site-header__affiliation-logo+.site-header__affiliation-logo {
    margin-left: 10px
}

@media screen and (min-width:1200px) {
    .site-header__affiliations {
        display: inline-block;
        float: right
    }
}

@media screen and (min-width:768px) {
    .site-header>.row {
        position: relative
    }

    .site-header__title {
        position: absolute;
        left: 0;
        top: 96px;
        transform: translateY(-108px);
        width: 100%;
        padding-left: 15px;
        padding-right: 45px
    }

    .site-header__job-title {
        margin-top: 1.5rem;
        line-height: 150%
    }
}

@media screen and (min-width:992px) {
    .site-header__title {
        padding-left: 30px;
        padding-right: 60px;
        transform: translateY(-82px)
    }
}

.updates {
    padding-bottom: 0.5rem
}

.updates h3 {
    padding-top: 1.5rem
}

.updates {
    padding-left: 15px;
    padding-right: 15px
}

.section-header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center
}

.section-header h2 {
    margin-top: .5rem;
    margin-bottom: 0
}

.selected-papers {
    padding-bottom: 3rem
}

.selected-papers h3,
.everything-else h3,
.about h3 {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem
}

.everything-else {
    padding-top: 3rem
}

article {
    margin-bottom: 1rem;
    display: block;
    overflow: hidden
}

article p+footer {
    margin-top: -6px
}

article footer {
    color: #aaa
}

@media screen and (min-width:1200px) {
    article footer {
        font-size: .85rem
    }
}

.book__cover,
.header__image {
    display: inline-block;
    float: left;
    width: 25%;
    margin-right: 15px;
    margin-bottom: 15px
}

.header__image {
    width: auto;
    margin-right: 10px;
    margin-bottom: 5px
}

.book__cover img,
.header__image img {
    width: 100%;
    height: auto
}

.embed-responsive {
    margin-bottom: .5rem
}

.well {
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 12px
}

.well:last-child {
    margin-bottom: 0 !important
}

.bg-gray {
    background-color: #d3d3d3
}

.bg-gray-light {
    background-color: #e5e5e5
}

.bg-gray-lighter {
    background-color: #fafafa
}

@media only screen and (min-width:992px) {
    .about>.row>div {
        padding-left: 0;
        padding-right: 0
    }

    .about .well {
        margin-bottom: 2%
    }

    .well-bio,
    .well-crucial-considerations {
        width: 96%;
        margin-left: 2%
    }

    .well-background,
    .well-contact {
        position: relative;
        width: 96%;
        height: 100%;
        top: 0;
        left: 2%
    }

    .wrap-well-background,
    .wrap-well-contact {
        position: relative;
        width: 100%;
        height: 100%
    }
}

@media only screen and (min-width:992px) {
    .row-table {
        display: table
    }

    .row-table [class*=col-] {
        float: none;
        display: table-cell;
        vertical-align: top
    }
}

.selected-papers h3:not(:first-child),
.everything-else h3:not(:first-child) {
    border-top: 1px dashed #aaa;
    padding-top: 3px;
    display: inline-block
}

@media only screen and (max-width:992px) {
    .selected-papers .col-md-4:not(:first-child) h3 {
        border-top: 1px dashed #aaa;
        padding-top: 3px;
        display: inline-block
    }
}

.selected-papers .col-md-4,
.everything-else .col-md-4 {
    text-align: center
}

.selected-papers article,
.selected-papers blockquote,
.everything-else article,
.everything-else blockquote {
    text-align: left
}

@media only screen and (min-width:992px) {

    .selected-papers .col-md-4:nth-child(2),
    .everything-else .col-md-4:nth-child(2) {
        border-left: 1px dashed #aaa;
        border-right: 1px dashed #aaa
    }
}

@media screen and (min-width:1400px) {
    .container {
        width: 1370px
    }
}

@media screen and (min-width:1600px) {
    .container {
        width: 1570px
    }
}


img {
    vertical-align: bottom;

}



/* Only display continuation arrows when there are two columns */
@media (max-width: 991px) {
    .display-cont-with {
        display: none;
    }

    .display-cont-from {
        display: none;
    }
}

@media (min-width: 992px) {
    .display-cont-with {
        display: inherit;
        text-align: right;
    }

    .display-cont-from {
        display: inherit;
        text-align: left;
    }
}

/* allow margin between link and embedded video */
.embed-responsive {
    margin-top: 8px;
}

/* Mailchimp signup */
/* Changes the style of the overall form */
#mc_embed_signup {
    background: #fafafa;
    clear: left;
    color: #000000;
    padding: 0px !important;
    text-align: center;
    font-family: sans-serif
}

#mc_embed_signup form {
    padding: 0 0 0 0 !important
}

/* Styles the form field */
#mc_embed_signup_scroll {
    background: #fafafa;
    color: #000000;
    padding: 0px 3px 0px 0px !important;
    text-align: center;
}

/* Styles the text in the form field */
#mc_embed_signup input.email {
    font-family: sans-serif !important;
    font-size: .9rem !important
}

/* Styles button wrapper */
#mc_embed_signup clear {
    height: 100% !important
}

/* Styles the subscribe button */
#mc_embed_signup input.button {
    color: #ffffff !important;
    margin: 0 auto;
    clear: both;
    float: right !important;
    font-size: .9rem !important;
    font-family: sans-serif !important;
}

#mc_embed_signup button {
    background-color: #e5e5e5 !important;
    font-size: .9rem !important;
}


.header__image img {
    width: 72px;
    height: auto
}


.lex img:last-child {
    display: none;
}

.lex:hover img:last-child {
    display: block;
}

.lex:hover img:first-child {
    display: none;
}

.lex {
    margin-top: 8px;
    margin-bottom: 8px;
}


/* Adjust column heights and poem positioning when multi-column. This used to be done
in JavaScript but is more robust through pure CSS. */

#onthebank {
    position: relative;
    bottom: 30px;
    margin: 30px;
    text-align: left;
}

@media screen and (min-width: 992px) {
    #bio .row {
        display: flex;
    }

    #onthebank {
        position: absolute;
    }
}

.container-press .col,
.container-press a + a {
    margin-top: 15px;
}

.container-press .press-images a {
    display: block;
}
