/* Theme */
:root {
    --link-color: #5b1865;
    --background-color: #f6f2ff;
    --site-max-width: 1192px;
}

/* Base */
body {
    background-color: var(--background-color);
    font-family: "Lato", Arial, sans-serif;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

a {
    color: var(--link-color);
    transition: all 0.2s;
}

a:hover {
    color: var(--link-color);
    text-decoration: none;
}

img,
iframe {
    max-width: 100%;
}

pre {
    box-sizing: border-box;
    width: 100%;
    padding: 7px;
    border: 1px solid #e3edf3;
    border-radius: 0;
    background: var(--background-color);
    color: #333;
    font-family: monospace, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre;
    overflow: auto;
    margin-bottom: 0;
}

/* Layout */
.card,
.card-footer,
.navbar,
.footer,
.alertbar {
    background-color: var(--background-color) !important;
}

.main-content {
    min-height: 300px;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.site-content {
    min-height: 60vh;
    padding-top: 1.5rem;
    margin-top: 57px;
    transition: all 0.4s;
}

section {
    margin-bottom: 20px;
}

section.recent-posts {
    margin-bottom: 0;
}

.mainheading {
    padding: 1rem 0;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.lead {
    font-size: 1.1rem;
}

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

    .container {
        max-width: 80%;
    }
}

/* Navigation */
.mediumnavigation {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.15);
    transition: top 0.2s ease-in-out;
}

.mediumnavigation .navbar-brand {
    font-weight: 500;
}

.mediumnavigation .navbar-brand img {
    max-height: 30px;
    margin-right: 5px;
}

.mediumnavigation .nav-item {
    font-size: .9rem;
}

.dropdown-menu {
    font-size: .9rem;
}

.mediumnavigation .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0.5rem 0 0;
}

.mediumnavigation .form-control {
    min-width: 180px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 30px;
    font-size: .9rem;
}

.form-control::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control:-moz-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control::-moz-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .bd-search {
        padding-left: .5rem;
    }
}

@media (max-width: 991px) {
    .page-navigation {
        text-align: center;
        line-height: 2;
    }
}

/* Section Header */
.section-title h2 {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 500;
}

.section-title span {
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: -1px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.44);
}

/* Post Cards */
.listfeaturedtag {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.listfeaturedtag .wrapthumbnail {
    flex: 0 0 auto;
    height: 100%;
}

.listfeaturedtag .card,
.card-footer {
    border: 0;
}

.listfeaturedtag h2.card-title,
.listrecent h2.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}

.listfeaturedtag h4.card-text,
.listrecent h4.card-text {
    color: rgba(0, 0, 0, 0.44);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.card .img-fluid,
.featured-box-img-cover {
    width: 100%;
}

.featured-box-img-cover {
    height: 100%;
    max-height: 100%;
    object-fit: cover;
}

.maxthumb {
    max-height: 300px;
    overflow: hidden;
}

.mb-30px {
    margin-bottom: 30px;
}

@media (max-width: 999px) {
    .featured-box-img-cover {
        height: 359px;
    }
}

@media (max-width: 991px) {
    .featured-box-img-cover {
        width: 100%;
        height: auto;
    }

    .listfeaturedtag .card {
        height: auto;
    }

    .listfeaturedtag .wrapfooter {
        position: relative;
        margin-top: 30px;
    }
}

/* Post Meta */
.wrapfooter {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: .9rem;
}

.author-thumb {
    width: 30px;
    height: 30px;
    margin-right: 13px;
    border-radius: 100%;
    border: .5px solid rgba(0, 0, 0, 0.05);
}

.author-thumb-sm {
    width: 24px;
    height: 24px;
    border-radius: 100%;
}

.author-meta {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

span.post-name,
span.post-date,
span.author-meta {
    display: inline-block;
}

span.post-date {
    color: rgba(0, 0, 0, 0.44);
}

span.post-read-more {
    display: inline-block;
    float: right;
    margin-top: 8px;
    align-items: center;
}

span.post-read-more a {
    color: rgba(0, 0, 0, 0.44);
}

span.post-read-more a:hover {
    color: rgba(0, 0, 0, 0.8);
}

/* Post Layout */
.mainheading h1.sitetitle {
    font-family: Lora;
    font-weight: 700;
}

.mainheading h1.posttitle {
    margin-bottom: 1rem;
    font-weight: 700;
}

.link-dark {
    color: rgba(0, 0, 0, 0.8);
}

.featured-image {
    display: block;
    margin-bottom: 2rem;
}

figcaption p {
    margin: 0;
}

.article-post {
    color: rgba(0, 0, 0, 0.8);
    font-family: Merriweather;
    font-size: 1rem;
    line-height: 2;
}

.article-post p,
.article-post blockquote {
    margin: 0 0 2rem;
}

.article-post ol,
.article-post ul {
    margin-bottom: 1.5rem;
}

.article-post ol ol,
.article-post ul ul {
    list-style: disc;
    margin-bottom: 0;
}

.article-post .h1,
.article-post .h2,
.article-post .h3,
.article-post .h4,
.article-post .h5,
.article-post .h6,
.article-post h1,
.article-post h2,
.article-post h3,
.article-post h4,
.article-post h5,
.article-post h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

blockquote {
    padding: 0 20px;
    border-left: 4px solid rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
    font-size: 1.25rem;
}

.toc ul {
    list-style: decimal;
    font-weight: 400;
}

#comments {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.post-template .col-md-12 {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.flex-first {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
}

@media (min-width: 768px) {
    .flex-md-unordered {
        -webkit-box-ordinal-group: 1;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }

    .flex-first {
        -webkit-box-ordinal-group: 0;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
}

/* Taxonomy */
ul.tags {
    margin: 0 0 3rem;
    padding-left: 0;
    list-style: none;
}

ul.tags li {
    display: inline-block;
    font-size: 1rem;
}

ul.tags li a {
    padding: 5px 10px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
}

ul.tags li a:hover {
    background: rgba(0, 0, 0, 0.07);
}

/* Alert Bar */
.alertbar {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    padding: 14px 0;
    box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.0785);
}

.alertbar form {
    display: inline-block;
}

.alertbar input[type="email"] {
    height: 34px;
    margin-left: 5px;
    margin-right: -10px;
    padding: 3px 5px 3px 10px;
    border: 1px solid #ddd;
    border-right: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.alertbar input[type="submit"] {
    height: 34px;
    padding: 4px 10px;
    border: 1px solid var(--link-color);
    border-radius: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: var(--link-color);
    color: rgba(255, 255, 255, 1);
    fill: rgba(255, 255, 255, 1);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 999px) {
    .alertbar {
        position: relative !important;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-right: 14px !important;
        box-shadow: none !important;
    }

    .alertbar span,
    .alertbar form {
        display: block;
    }

    .alertbar form {
        margin-top: 20px;
    }

    .alertbar input[type="email"] {
        display: block;
        margin-right: 0 !important;
        margin-bottom: 10px;
        border-right: 1px solid #ddd !important;
    }

    .alertbar input[type="submit"] {
        border-radius: 3px !important;
    }

    #comments {
        margin-right: 15px;
    }
}

/* Footer */
.footer {
    position: relative;
    margin: 6rem 0 0 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: rgba(0, 0, 0, 0.44);
    font-size: .9rem;
}

@media (max-width: 999px) {
    .footer {
        margin-top: 4rem;
        margin-bottom: 0;
    }
}

/* Pagination */
.bottompagination span.navigation {
    display: block;
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: .9rem;
    text-align: center;
}

span.navigation {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.pagination {
    display: block;
}

.pointerup {
    margin-bottom: -17px;
    margin-left: 49%;
    font-size: 30px;
}

.pointerup i.bi {
    color: #eaeaea;
}

/* Lazy Images */
.lazyimg {
    display: block;
    border: 0 none;
    outline: 0 none;
    background: #f2f2f2;
    opacity: 1;
    transition: opacity 0.25s;
}

.lazyimg[data-src],
.lazyimg[data-srcset] {
    opacity: 0;
}

/* Share */
.share-section button {
    border-radius: 30px;
}
