/* REPLACE IMG-RESPONSIVE WITH IMG-FLUID GLOBALLY AFTER MIGRATION 
use this shim in the meanwhile
*/

h2.spacer {
    clear: both;
    padding-top: 8px;
    border-bottom: 2px solid #ddd;
}

.book-blurb-container {
    margin: 0 5% 0 5%;
}

.book-header-blurb-container {
    margin: 0 10% 0 10%;
}

.archive-post-title small {
    font-size: .75rem
}

.disqus-comment-count {
    font-size: revert;
    margin-left: .33rem;
}

td,
th {
    padding: 2px 8px 2px 8px;
}

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

@font-face {
    font-family: 'bebas_neueregular';
    src: url('/img/fonts/bebasneue-regular-webfont.woff2') format('woff2'), url('/img/fonts/bebasneue-regular-webfont.woff') format('woff');
}

a {
    text-decoration: none;
    color: #337ab7;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .ytplayer {
        width: 360px;
        height: 200px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .ytplayer {
        width: 480px;
        height: 268px;
    }
}

@media (max-width: 992px) {

    .screenshot-double img {
        width: 100% !important;
    }

    .screenshot img {
        width: 100% !important;
    }

    .figure-standard.figure-screenshots img {
        width: 100% !important;
        max-height: unset;
    }
}

.blog-post.title {
    font-weight: 700;
    margin-top: 0;
}

.blog-post.excerpt {
    font-style: italic;
}

.blog-post.attributation {
    font-size: .75rem;
}

.blog-post.attributation .author-name {
    font-weight: bold;
}

.blog-post.attributation .publication-date {
    font-weight: bold;
}

.boxcenter {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

body {
    background-color: #fcf6ef;
}

#homepage-cards .card-body h2 {
    font-weight: bold;
}

.footer {
    width: 100%;
    height: 64px;
    background-color: #f5f5f5;
    padding-top: 24px;
    margin-top: 24px;
}

.book-header {
    min-height: 100px;
    background-color: black;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
}

.book-item {
    min-height: 450px;
    text-align: center;
    color: white;
    padding: 1rem;
    padding-top: 2rem;
}

.boxcenter h2 {
    font-style: italic;
}

.boxcenter h5 {
    padding-top: 1rem;
}

.book-blurb {
    text-align: left;
}

.book-item img {
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 75%);
    border: 1px solid white;
}

.book-title {
    font-size: 4rem;
    font-family: 'bebas_neueregular';
    line-height: 3.5rem;
    margin-bottom: .75rem;
}

.category-header-title {
    text-align: center;
    color: white;
    padding: 1rem;
    padding-top: 2rem;
}

.category-header-description {
    text-align: left;
    color: white;
}

.category-header-description a {
    color: yellow;
}

.book-item p {
    margin-left: 2rem;
    margin-right: 2rem;
}

.book-item a {
    color: yellow;
}

.book-lineup {
    width: 100%;
    margin: auto;
    text-align: center;
}

.book-lineup img {
    width: 23%;
    filter: drop-shadow(2px 4px 6px black);
    margin-bottom: 8px;
}

.nav-item {
    padding-left: .66rem;
}

.nav-link.active {
    font-family: 'bebas_neueregular';
    font-size: 1.1rem;
}

.dropdown-header {
    font-size: .75rem;
    padding-left: .6rem;
}

li.divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}


.amazon-product a img {
    width: 80%;
    margin-bottom: 1em;
}

.amazon-right {
    float: right;
    margin: 0 0 1rem 1rem;
    z-index: 100;
    position: relative;
    background-color: white;
    width: 20%;
}

.amazon-img.amazon-right a img,
.amazon-img.amazon-left a img {
    width: 100%;
}

.amazon-left {
    float: left;
    margin: 0 1rem 1rem 0;
    width: 20%;
}

.book-img-post {
    width: 25%;
    margin: auto;
    float: right;
    position: relative;
    z-index: 10;
    display: block;
}

.book-img-summary {
    // Not sure if needed anymore
    width: 25%;
    margin-left: 8px;
    float: right;
}

.sidebar-book {
    width: 100%;
    padding-bottom: 12px;
}

.sidebar-book img {
    width: 85%;
    filter: drop-shadow(2px 4px 6px black);
    margin-bottom: 1.1em;
}

.card-sidebar {
    font-size: .85rem;
    margin-bottom: .75rem;
    background-color: #f5f5f5;
    line-height: 1.1rem;
}


/* Figure and caption styles */


/*
    Standard figure is for single images, like book grabs.
    It may be possible to use them for wide photos with proper max width settings.
    */

.figure-standard {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.figure-standard img {
    max-height: 33vh;
    margin: auto;
    display: inline;
}

.figure-standard figcaption {
    font-size: .85em;
    font-weight: bold;
    width: 66%;
    margin: auto;
    margin-top: 8px;
}

.figure-standard.figure-screenshots img {
    width: 48%;
    margin: .5em 2px .5em 2px;
    height: auto;
    max-height: unset;
}

.figure-standard.figure-screenshots figcaption {
    margin-top: unset;
}

figure.figure-standard.figure-right {
    float: right;
    margin: 0 0 16px 16px;
    max-width: 33%;
}

.link-next-post {
    text-align: right;
}


.purchase-link {
    font-size: .8rem;
    line-height: 1rem;
    margin-top: 8px;
    margin-left: 15%;
    margin-right: 15%;
}

blockquote {
    line-height: 1.3rem;
    margin: 0 2rem 0 2rem;
    border-left: .5rem solid #e2e2e2;
    padding-left: .5rem;
}

thead tr:nth-child(odd) {
    background-color: #d6d6d6;
}

table {
    border: 1px solid #c0c0c0;
    margin-bottom: 1em;
}

tr:nth-child(odd) {
    background: #f1f1f1;
}

tr:nth-child(even) {
    background: #e3e3e3;
}

/* Dark theme */

@media (prefers-color-scheme: dark) {
    .alert a {
        color: #0dbce2;
    }

    .card {
        color: #ffffffb0;
    }

    .alert-success {
        color: #bbd5c9;
        background-color: #262f2b;
        border-color: #badbcc;
    }

    .alert-primary {
        color: #bacce9;
        background-color: #2c323c;
        border-color: #b6d4fe;
    }

    body {
        background: #222;
        color: #ffffffb0;
    }

    .well.widget {
        background: #222;
        color: #ffffffc0;
    }

    .dropdown-menu {
        background: #222;
        color: #ffffffc0;
        border-color: #666;
    }

    .dropdown-menu>li>a {
        color: #dbdbdb;
    }

    .alert-info {
        color: #ffffff;
        background-color: #223f4e;
        border-color: #bce8f1;
    }

    .footer {
        background: #333;
        color: #ffffffb0;
    }

    input {
        background: #333;
        color: #ffffffb0;
    }

    .btn:hover {
        color: #fff;
    }

    .card-sidebar {
        font-size: .85rem;
        margin-bottom: .75rem;
        background-color: #333;
    }

    thead tr:nth-child(odd) {
        background-color: #111
    }

    table {
        background-color: #333
    }

    tr:nth-child(odd) {
        background: #222;
    }

    tr:nth-child(even) {
        background: #333;
    }

    .amazon-right {
        background-color: unset;
    }
}