/* Target post content specifically to override Tachyons .serif class */
article .serif p,
article .serif h2,
article .serif h3,
article .serif h4,
article .serif h5,
article .serif h6,
article .serif li,
article .serif {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Fallback for any post content containers */
.nested-copy-line-height p,
.nested-copy-line-height h2,
.nested-copy-line-height h3,
.nested-copy-line-height h4,
.nested-copy-line-height h5,
.nested-copy-line-height h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

article.mw8 {
    max-width: 76rem;
}

header.bg-top {
    position: relative;
    background-position: center;
}

.image-attribution {
    background-color: rgba(255,255,255,0.5);
    padding: 1px 6px 3px 6px;
}

.image-attribution a {
    color:  #001229;
    font-size: 0.8em;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
}

.histropedia-logo {
    height: 70px;
}

iframe {
    width: 100%;
}

img.inline-icon {
    display: inline-block;
    width: auto;
    height: 1em;
}

img.size-thumbnail {
    width: 200px;
    height: auto;
}

img.size-medium {
    width: 400px;
    height: auto;
}

.image-attribution {
    position: absolute;
    right:0px;
    bottom: 0px;
}

.image-card-container {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: flex-start;
}

.image-card-container img {
    flex: 0 0 250px;
}

.image-card-container div {
    flex: 1 0 54%;
    padding-left: 10px;
}

.image-card-header {
    margin: 0px;
    font-weight: bold;
}

.image-card-container li {
    font-size: 0.9em;
}

.btn {
    display: inline-block;
    cursor: pointer;
    margin: 6px;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}


.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

pre.prettyprint {
    background-color: #f5f5f5;
    font-size: 0.8em;
    padding: 10px;
    overflow-y: hidden;
    overflow-x: auto;
}
