html, body {
    height: 100%;
}

body {
    background-color: #eee;
    padding-top: 80px;
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 16px;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
}

.container>footer {
    margin-top: 20px;
}

.container>footer p {
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.2;
}

address {
    font-size: 12px;
}

a {
    color: #1144bb;
}

dd,
dt {
    line-height: 1.65;
}

.research {
    font-size: 200%;
}

.blogtitle {
    font-weight: 800;
    font-style: oblique;
    line-height: 2;
}


.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    background-color: #fff;
    padding: 20px;
    margin: 0 -20px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-header {
    background-color: #f5f5f5;
    padding: 20px;
    margin: -20px -20px 10px;
}

.topbar .btn {
    border: 0;
}

.linkicon {
    font-size: 24px;
}


.tag_box {
    list-style: none;
    margin: 0;
    padding: 5px 0;
    overflow: hidden;
}

.tag_box li {
    line-height: 28px;
}

.tag_box.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.tag_box.inline li {
    float: left;
}

.tag_box a {
    padding: 3px 6px;
    margin: 2px;
    background: #eee;
    color: #005F6B;
    border-radius: 3px;
    text-decoration: none;
}

.tag_box a span {
    vertical-align: super;
    font-size: 0.8em;
}

.tag_box a.active {
    background: #57A957;
    border: 1px solid #4C964D;
    color: #FFF;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .content {
        margin: 0 -10px;
        padding: 15px;
    }

    .page-header {
        margin: -15px -10px 10px;
        padding: 15px;
    }

    .linkicon {
        font-size: 20px;
    }
}

/* Additional specific rule for pre elements in content */
.content pre {
    background-color: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 6px !important;
    border: 1px solid #e9ecef !important;
    overflow-x: auto !important;
    font-size: 0.875rem !important;
    color: #495057 !important;
}

/* Make only the direct child row fill the full height of the content */
.content > .row {
    flex: 1;
}
