/*
 * Blog content styling for the public frontend.
 * Keep this scoped so it does not alter the rest of the site.
 */

.blog-content {
    font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin-top: 20px;
}

.blog-content p {
    margin: 0 0 1em;
    text-align: left;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

.blog-content h1 {
    font-size: 2em;
}

.blog-content h2 {
    font-size: 1.5em;
}

.blog-content h3 {
    font-size: 1.17em;
}

.blog-content h4 {
    font-size: 1em;
}

.blog-content h5 {
    font-size: 0.83em;
}

.blog-content h6 {
    font-size: 0.67em;
}

.blog-content blockquote {
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
    margin: 0 0 1em;
}

.blog-content a {
    color: #0782c1;
}

.blog-content ol,
.blog-content ul,
.blog-content dl {
    padding: 0 40px;
    margin: 0 0 1em;
}

.blog-content hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
}

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

.blog-content img.right {
    border: 1px solid #ccc;
    float: right;
    margin-left: 15px;
    padding: 5px;
}

.blog-content img.left {
    border: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    padding: 5px;
}

.blog-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    -webkit-tab-size: 4;
    tab-size: 4;
}

.blog-content .marker {
    background-color: yellow;
}

.blog-content span[lang] {
    font-style: italic;
}

.blog-content figure {
    text-align: center;
    border: solid 1px #ccc;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 10px 20px;
    display: inline-block;
}

.blog-content figure > figcaption {
    text-align: center;
    display: block;
}

.blog-content a > img {
    padding: 1px;
    margin: 1px;
    border: none;
    outline: 1px solid #0782c1;
}

.blog-content table {
    border-collapse: collapse;
}

.blog-content td,
.blog-content th {
    padding: 0.25rem;
    vertical-align: top;
}
