/*
Theme Name: Postdiluvian 2022
Text Domain: Postdiluvian 2022
Version: 2.0
Description: Custom template for Postdiluvian and J. D. Wise
Tags: Postdiluvian
Author: J. D. Wise
*/

html,
body {
	border: none;
	margin: 0;
    padding: 0;
    color: var(--main-color);
    font-size: 16px;
    line-height: 28px;
    text-align: justify;
    font-family: var(--body-font);
    position: relative;
}

.force-sans-serif {
    font-family: Arial, Helvetica, sans-serif;
}

.text-center {
    text-align: center;
}

.text-center > * {
    text-align: center;
}

.text-center img {
    margin: 0 auto;
}



@media (max-width: 750px) {
    body {
        font-size: 14px;
        line-height: 24px;
    }

    .constrain-image img,
    img.constrain-image {
        max-width: 50%;
    }
}

@media (max-width: 400px) {
    .constrain-image img,
    img.constrain-image {
        max-width: 100%;
    }
}


svg,
img,
embed,
object {
	display: block;
	height: auto;
	max-width: 100%;
}

body {
    background-color: var(--main-bg-color);
}

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

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

a:hover img {
    filter: brightness(120%);
}

input,
textarea {
    font-family: var(--body-font);
    font-size: 14px;
    padding: 5px;
    border: 1px solid var(--input-focus);
}

input:focus,
textarea:focus {
    outline-color: var(--input-border);
}

h1, h2 {
    font-family: var(--header-font);
    font-weight: normal;
    text-align: left;
    line-height: 1.25em;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--main-color-header);
}

h1 a, h2 a {
    color: var(--blog-title-color);
}

blockquote {
    position: relative;
    padding: 0em 1.7em;
    /* background-color: white; */
    /* border-radius: 0.5em; */
    quotes: "\201C""\201D""\2018""\2019";
    z-index: 1;
    /* box-shadow: 4px 4px 7px #ccc; */
    margin: 1em auto;
    max-width: 650px;
    text-align: right;
    border-left: 7px solid #ddd;
}

blockquote:before {
    position: absolute;
    left: 10px;
    top: 75px;
    color: #ccc;
    content: open-quote;
    font-size: 12em;
    z-index: 2;
    mix-blend-mode: multiply;
    opacity: 0.33;
}

blockquote cite {
    font-style: normal;
    font-size: 0.75em;
}

blockquote * {
    z-index: 10;
    text-align: left;
}

blockquote p:first-child {
    margin-top: 0px;
}

blockquote p:last-child {
    margin-bottom: 0px;
}

@media (max-width: 750px) {
    blockquote {
        padding: 1em;
        max-width: 300px;
    }
    blockquote:before {
        top: 50px;
        font-size: 9em;
    }
}

.big-page-title {
    text-align: center;
    font-variant: small-caps;
    font-size: 2em;
}

#page_wrapper {
    position: relative;
    background-color: var(--main-bg-color);
}

body.admin-bar #page_wrapper {
    margin-top: 32px;
}

#not_found {
    font-family: var(--header-font);
    font-weight: normal;
    margin: 1em 0;
    font-size: 2em;
}

.page_width {
    position: relative;
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0px auto;
    height: 100%;
    min-height: calc(100vh - 450px);
}

.page_width_only {
    position: relative;
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0px auto;
    height: 100%;
}

.page_width_not {
    position: relative;
    padding: 0px 20px;
    margin: 0px auto;
    height: 100%;
}

.header-text-main {
    opacity: 0;
}

.header-text-main img {
    max-height: 20em;
    width: auto;
    margin: 0 auto;
}

#header-mobile .header-text-main {
    justify-self: center;
    align-self: center;
}

#header-mobile .header-text-main img {
    max-height: 10em;
    width: auto;
    margin: 0 auto;
}

.header-text-second {
    opacity: 0;
}

.header-text-second img {
    margin-left: -0.5em;
    max-height: 2em;
    height: auto;
    width: auto;
}

.header-text-main,
.header-text-second,
#site-nav #header_menu a,
#site-nav-mobile a {
    text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.33);
}

#site-logo img,
#site-logo-mobile img {
    -webkit-filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.33));
    filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.33));
}

/*header*/

#header,
#header-mobile-wrapper {
    position: fixed;
    z-index: 9999;
    background-color: var(--header-bg-color);
    width: 100%;
}

#header {
    height: 450px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* overflow: hidden; */
}

#header .header-bg-darken {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
}

#header-mobile-wrapper .header-bg-darken {
    background-color: rgba(0, 0, 0, 0.5);
}

#header-mobile-wrapper {
    display: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#header-mobile {
    position: relative;
    height: 200px;
    overflow: hidden;
}

#header_main {
    display: flex;
    overflow: hidden;
}

#site-header {
    flex-grow: 1;
    min-width: 280px;
    height: 100%;
}

#main_title {
    position: relative;
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

#main_title:hover {
    filter: brightness(120%);
}

#main_title a {
    display: block;
    width: 100%;
    height: 100%;
}

#header-text,
#header-text-mobile {
    display: flex;
    color: var(--header-text-color);
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    user-select: none;
}

#header-text-mobile {
    align-items: center;
}

#header-text h1,
#header-text-mobile h1 {
    text-align: center;
    font-size: 4em;
    margin: 0px;
    padding: 0px;
    letter-spacing: 0.02em;
    color: var(--header-text-color);
}

#header-text-mobile h1 {
    font-size: 2.75em;
}

#header-text h2,
#header-text-mobile h2 {
    text-align: center;
    font-size: 2em;
    margin: 0px;
    padding: 0px;
    padding-bottom: 20px;
    letter-spacing: 0.02em;
    color: var(--header-text-color);
}

#header-text-mobile h2 {
    font-size: 1.75em;
    padding-bottom: 5px;
}

#site-logo,
#site-logo-mobile {
    position: absolute;
    top: 0px;
    width: 50%;
    height: 100%;
    max-height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0px;
    padding: 0px;
    user-select: none;
}

#site-logo-mobile {
    width: calc(100% - 20px);
    padding: 0px 10px;
    max-height: 60px;
}

#site-logo #site-logo-image-container,
#site-logo-mobile #site-logo-image-container {
    flex-grow: 0;
    height: 100%;
    padding: 10px 0px;
    position: relative;
    vertical-align: middle;
}

#site-logo #site-logo-image-container img,
#site-logo-mobile #site-logo-image-container img {
    max-height: 50px;
    height: calc(100% - 20px);
    width: auto;
    margin-right: 20px;
    opacity: 0.9;
    object-fit: contain;
}

#site-logo-mobile #site-logo-image-container img {
    margin-right: 10px;
}

#site-logo #site-logo-image-container a:hover img,
#site-logo-mobile #site-logo-image-container a:hover img {
    opacity: 1.0;
}

#site-logo h1,
#site-logo-mobile h1 {
    color: var(--header-text-color);
    text-align: left;
    font-size: 1.75em;
}

#site-logo-mobile h1 {
    text-align: center;
    width: 100%;
    font-size: 1.33em;
}

#site-logo-mobile .header-text-second {
    width: 100%;
    text-align: center;
}

#site-logo-mobile .header-text-second img {
    margin: 0 auto;
}

#site-logo a,
#site-logo-mobile a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#site-logo-mobile a {
    justify-content: left;
}

#site-nav-mobile {
    position: absolute;
    right: 0px;
    height: 100%;
    display: none;
    color: var(--nav-color-mobile);
    text-align: center;
    align-items: top;
    justify-content: center;
}

#site-nav-mobile .site-nav-mobile-link-wrapper {
    display: flex;
    height: 100%;
    max-height: 60px;
    align-items: center;
}

#site-nav-mobile a {
    display: block;
    /* margin-top: -10%; */
    font-size: 24px;

    color: var(--nav-link-mobile);
}

#site-nav {
    position: relative;
    flex-grow: 2;
    height: 100%;
}

#site-nav #header_menu {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    max-height: 90px;
    font-family: var(--menu-font);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 2px;
    user-select: none;
}

#site-nav #header_menu a {
    color: var(--header-text-color);
}

#site-nav #header_menu a:hover {
    color: var(--header-text-hover);
}

#site-nav #header_menu ul {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#site-nav #header_menu ul li {
    padding: 0px;
    font-size: 1em;
    position: relative;
}

#site-nav #header_menu ul li a {
    display: block;
    padding: 10px 0px;
    padding-left: 30px;
}

#site-nav #header_menu ul li ul {
    display: none;
    position: absolute;
    height: auto;
    left: 0px;
    background-color: var(--main-bg-color);
    /* border: 1px solid var(--header-bg-color); */
    box-shadow: 4px 4px 8px 0 rgba(2, 18, 60, 0.2);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
}

#site-nav #header_menu ul li:hover ul {
    display: block;
}

#site-nav #header_menu ul li ul li {
    padding: 0px;
    margin: 0px;
    text-align: center;
    font-size: 0.8em;
}

#site-nav #header_menu ul li ul li a {
    display: flex;
    align-items: center;
    overflow: visible;
    width: max-content;
    margin: 0px;
    padding: 7px 15px;
    color: var(--header-bg-color);
}

#site-nav #header_menu ul li ul li a:hover {
    background-color: var(--header-bg-color);
} 


#site-nav #header_menu ul li ul li:first-child a {
    /* border-top-left-radius: 5px;
    border-top-right-radius: 5px; */
}

#site-nav #header_menu ul li ul li:last-child a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#site-nav #header_menu ul li ul li img.menu-image {
    max-height: 32px;
    width: auto;
    margin: 0px;
    padding: 0px;
    flex-basis: content;
}

#site-nav #header_menu ul li ul li a:hover img.menu-image {
    filter: brightness(250%);
}

#menu-mobile {
    display: none;
    position: fixed;
    right: 0px;
    z-index: 99001;
    width: 0%;
    overflow: hidden;
    padding: 30px 0px;
    background-color: var(--header-bg-color);
    /* padding-bottom: 10px; */
}

#mobile_menu_bg {
    position: fixed;
    z-index: 99000;
    background-color: rgba(0, 0, 0, 0.5);
    width:100%;
    height:100%;
    opacity: 0;
}

@media (max-width: 750px) {
    #menu-mobile {
        display: block;
        height: 100%;
        width: 0%;
        opacity: 0;
    }
    #menu-mobile.open_mobile_menu {
        opacity: 1;
        width: 65%;
        max-width: 250px;
    }
}

#menu-mobile ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#menu-mobile ul a {
    display: block;
    padding: 7px 15px;
    padding-left: 30px;
    color: var(--nav-link-mobile);
    font-family: var(--menu-font);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: 2px;
}

#menu-mobile ul a:hover {
    color: var(--nav-link-hover-mobile);
    background-color: var(--nav-link-bg-hover-mobile);
}

#menu-mobile ul ul a {
    padding-left: 45px;
}

@media (max-width: 470px) {
    #header-text-mobile h1 {
        font-size: 2.25em;
    }
    
    #header-text-mobile h2 {
        font-size: 1.25em;
    }

}

@media (max-width: 390px) {
    #menu-mobile ul a {
        font-size: 1.2em;
        padding: 7px 10px;
        padding-left: 20px;
    }

    #menu-mobile ul ul a {
        padding-left: 30px;
    }
}

@media (max-width: 350px) {
    #menu-mobile ul a {
        font-size: 1em;
        padding: 5px 10px;
        padding-left: 15px;
    }

    #menu-mobile ul ul a {
        padding-left: 20px;
    }
}

#menu-mobile ul a img.menu-image {
    max-height: 32px;
    width: auto;
    margin: 0px;
    padding: 0px;
    filter: brightness(250%);
}

#menu-mobile ul a:hover img.menu-image {
    filter: none;
}

.open_mobile_menu_button {
    cursor: pointer;
}

@media (max-width: 760px) {
    #site-nav #header_menu ul li {
        /* padding-left: 10px; */
    }
}

.wp-block-column p:first-child {
    margin-top: -0.4em;
}

@media (max-width: 750px) {
    #header {
        display: none;
        overflow: hidden;
    }
    #header-mobile-wrapper {
        display: block;
    }
    #header_main {
        margin: 0px;
        padding: 0px;
    }
    #site-header {
        flex-grow: 5;
    }
    #site-nav-mobile {
        display: flex;
        flex-grow: 1;
        min-width: 50px;
        flex-basis: 0;
        overflow: hidden;
    }
    #site-nav {
        flex-grow: 1;
        min-width: 50px;
        flex-basis: 0;
        overflow: hidden;
    }
    #site-nav #header_menu {
        display: none;
    }
    #main_title {
        background-position: center center;
    }

    .wp-block-column {
        margin-bottom: 20px;
    }

    .wp-block-column p:first-child {
        margin-top: unset;
    }

    .wp-block-column:last-child {
        margin-bottom: 0px;
    }
}

/*Footer*/

#footer {
    text-align: center;
    padding: 35px 0px;
    margin-top: 40px;
    background-color: var(--root-dark-color);
    color: var(--header-text-hover);
}

/*content*/

#mobile-margin {
    margin: 0px;
    height: 1px;
    display: none;
}

.full_width_image {
    padding-top: 450px;
    background-color: black;
}

.full_width_image .bg_image {
    height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 2000px;
    margin: 0px auto;
}

#content {
    padding-top: 450px;
}

#content.no_content_padding {
    padding-top: 0px;
}

#content article {
    margin-top: 0px;
}

@media (max-width: 750px) {
    #mobile-margin {
        display: block;
    }
    #content {
        padding-top: 200px;
    }
    #content article {
        margin-top: 0px;
    }
    .full_width_image {
        padding-top: 69px;
    }
    .full_width_image .bg_image {
        height: 200px;
    }
}

.book-title {
    text-align: center;
    font-variant: small-caps;
    font-weight: normal;
    margin: 0px;
    padding: 0px;
}

h1.book-title {
    font-size: 2.25em;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

h2.book-title {
    font-size: 1.15em;
    letter-spacing: 1px;
}

/*blog*/

.page_header_content {
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-template-page-favorites .page_header_content {
    margin-top: 0px;
    margin-bottom: 0px;
}

.favorite_entry {
    display: inline-block;
    text-align: center;
    width: 150px;
    height: auto;
    padding: 10px;
}

.favorite_entry.empty_favorite {
    height: 1px;
    margin: 0px;
    padding: 0px;
}

#favorites_container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    row-gap: 20px;
    column-gap: 20px;
}

#favorites_container::after {
    content: "";
    flex: auto;
}

.favorite_entry .favorite_link {

}

.favorite_entry .wp-block-image {
    position: relative;
    margin: 0px;
    border-radius: 10px;
}

.favorite_entry .favorite_link .wp-block-image img {
    transition: filter 0.2s ease-in-out;
}

.favorite_entry .favorite_link:hover .wp-block-image img,
.favorite_entry .favorite_link:focus .wp-block-image img,
.favorite_entry .favorite_link:active .wp-block-image img {
    filter: contrast(1.5) brightness(0.5);
}

.favorite_entry .category_label{
    position: absolute;
    display: inline-block;
    left: 0px;
    top: 0px;
    font-size: 0.75em;
    color: #eee;
    font-weight: normal;
    padding: 0px;
    padding-left: 7px;
    padding-right: 5px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    transition: visibility 0s, all 0.2s ease-in-out;
}

.favorite_entry .favorite_link:hover .category_label,
.favorite_entry .favorite_link:focus .category_label,
.favorite_entry .favorite_link:active .category_label {
    visibility: visible;
    opacity: 1;
    font-size: 1.2em;
    color: white;
    font-weight: bold;
    background-color: transparent;
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    top: 50%;
    left: 50%;
}

.favorite_entry a {
    transition: color 1.25 ease-in-out;
}

.favorite_entry .favorite_title {
    margin-top: 5px;
    font-size: 1.1em;
}



#archive_container {

}

#archive_container hr {
    border: none;
    height: 0.5px;
    background-color: var(--hr-color);
    /* margin: 35px 0px; */
    margin: 5px 0px;
}

.archive_entry {
    margin: 0px;
    margin-bottom: 90px;
}

.archive_entry:last-child {
    margin-bottom: 25px;
}

.archive_excerpt {

}

/* .home .blog_entry .blog_content img,
.home .blog_entry .blog_content .wp-block-image {
    display: none;
} */

.blog_entry .blog_header,
.blog_excerpt .blog_header {
    display: flex;
}

.blog_excerpt {
    display: flex;
}

.blog_excerpt .excerpt-column {
    padding: 10px;
}

.blog_entry h1.blog_title {
    font-size: 2.25em;
    margin: 0px;
    margin-bottom: 5px;
}

.blog_excerpt h1.blog_title {
    font-size: 1.75em;
    margin: 0px;
    margin-bottom: 5px;
}

.blog_excerpt .wp-block-image img {
    max-width: 150px;
}

.blog_excerpt .wp-block-image img:hover {
    filter: brightness(120%);
}

.blog_entry .blog_title a,
.blog_excerpt .blog_title a {
    color: var(--blog-title-color);
}

.blog_entry .blog_title a:hover,
.blog_excerpt .blog_title a:hover {
    color: var(--blog-title-hover);
}

.blog_entry h2.blog_date,
.blog_excerpt h2.blog_date {
    font-size: 0.85em;
    font-family: var(--body-font);
    font-weight: bold;
    margin: 0px;
    color: var(--blog-subtitle-color);
}

.blog_entry .blog_categories,
.blog_excerpt .blog_categories {
    flex-grow: 1;
}

.blog_entry .blog_categories ul,
.blog_excerpt .blog_categories ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-end;
    list-style: none;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.blog_entry .blog_categories ul li,
.blog_excerpt .blog_categories ul li {
    font-size: 0.85em;
    line-height: 1.6em;
    padding-left: 10px;
}

@media (max-width: 750px) {
    .blog_entry .blog_header,
    .blog_excerpt .blog_header {
        display: block;
        max-height: none;
    }
    .blog_entry .blog_categories ul,
    .blog_excerpt .blog_categories ul {
        display: block;
        height: auto;
        margin-top: 5px;
    }
    .blog_entry .blog_categories ul li,
    .blog_excerpt .blog_categories ul li {
        padding-left: 0px;
    }
    .blog_excerpt {
        display: block;
    }
    .blog_excerpt .excerpt-column {
        padding: 0px 10px;
    }
    .blog_excerpt .excerpt-column.excerpt-image {
        padding-top: 10px;
    }
    .blog_excerpt .excerpt-column.excerpt-info {
        padding-bottom: 10px;
    }
}

.book_excerpt {

}

.book_excerpt .excerpt_title {
    margin: 50px 0px;
    text-align: center;
}

.book_excerpt .excerpt_content {
    margin: 0px auto;
    margin-top: 20px;
    max-width: 800px;
    background-color: var(--excerpt-background);
    padding: 40px 65px;
    border: 1px solid var(--excerpt-border);
}

.book_excerpt .excerpt_content h1 {
    font-size: 1.25em;
}

.book_excerpt .excerpt_content p {
    padding: 0px;
    margin: 0px;
    text-indent: 7%;
    font-size: 0.9em;
    line-height: 1.75em;
}

@media (max-width: 750px) {
    .book_excerpt .excerpt_content {
        padding: 20px 30px;
    }
}

.favorites_page {
    margin-top: 50px;
    margin-bottom: 50px;
    min-height: 200px;
}






.navigation-pagination {
    display: flex;
    margin-top: 30px;
}

.navigation-pagination .nav-previous {
    flex-grow: 1;
    text-align: left;
    flex-basis: 0;
}

.navigation-pagination .nav-next {
    flex-grow: 1;
    text-align: right;
    flex-basis: 0;
}

.navigation-pagination .all-page-numbers {
    flex-grow: 2;
    text-align: center;
    flex-basis: 0;
}


/* page columns */

.columned_page {
    display: flex;
    
    margin-top: 30px;
}

.columned_page > div {
    margin: 0px 15px;
}

.columned_page > div:first-child {
    margin-left: 0px;
}

.columned_page > div:last-child {
    margin-right: 0px;
}

.columned_page .large_column {
    flex-grow: 3;
    flex-basis: 0;
}

.columned_page .small_column {
    flex-grow: 1;
    flex-basis: 0;
}

@media (max-width: 750px) {
    .columned_page {
        display: block;
    }
    .columned_page > div {
        margin: 0px;
    }
    .columned_page > div:not(:first-child) {
        margin-top: 40px;
    }
}

.sidebar_title {
    font-size: 1.5em;
    margin: 0px;
    padding: 0px;
    margin-bottom: 1em;
    font-variant: small-caps;
}

figure.wp-block-image {
    margin: 20px 0px;
}

pre.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-group.has-background {
    padding: 10px 20px;
}

.wp-block-group.has-background p {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.wp-block-columns > *:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.wp-block-button__link {
    border-radius: 5px;
    background-color: var(--button-color);
    color: var(--button-color-text);
}
    
a.wp-block-button__link:hover {
    background-color: var(--button-color-hover);
    color: var(--button-color-text);
}


/* Recent blogs */
.recent_blog_list {
    text-align: left;
    min-width: 100px;
}

.recent_blog_list .month_year_header {
    font-size: 1.2em;
    margin: 0px;
    margin-bottom: 1.33em;
    color: var(--blog-list-month-year-color);
    font-family: var(--body-font);
    min-width: 200px;
}

.recent_blog_list .month_year_header a {
    color: var(--blog-list-month-year-color);
}

.recent_blog_list .recent-blog-entry {
    display: flex;
    align-items: center;
    margin-bottom: 1.4em;
}

.recent_blog_list .recent-blog-entry .blog-thumbnail {
    flex-grow: 0;
    width: 90px;
    margin-right: 15px;
}

.recent_blog_list .recent-blog-entry .blog-thumbnail .thumbnail-image-div {
    width: 90px;
    height: 55px;
    background-color: var(--blog-list-thumbnail-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 2px 2px 4px 0 rgba(2, 18, 60, 0.2);
}

.recent_blog_list .recent-blog-entry .blog-thumbnail .thumbnail-image-div.no_thumbnail {
    background-size: var(--blog-thumbnail-size);
}

.recent_blog_list .recent-blog-entry .blog-thumbnail .thumbnail-image-div:hover {
    filter: brightness(110%);
}

.recent_blog_list .recent-blog-entry .blog-titles {
    flex-grow: 1;
    vertical-align: middle;
    padding-bottom: 2px;
}

.recent_blog_list .recent-blog-entry h1 {
    font-size: 1.2em;
    line-height: 1em;
    margin: 0px;
    margin-bottom: 5px;
}

.recent_blog_list .recent-blog-entry h2 {
    font-size: 0.85em;
    line-height: 1em;
    margin: 0px;
    color: var(--blog-list-subtitle);
    font-family: var(--body-font);
}

.recent_blog_list .no_blog_posts {
    margin: 30px 0px;
}

.recent_blog_list a {
    color: var(--blog-list-link-color);
}

.recent_blog_list a:hover {
    color: var(--blog-list-link-hover);
}

.recent_blog_list #menu-books {
    list-style: none;
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
}

.recent_blog_list #menu-books li {
    display: block;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.recent_blog_list #menu-books li img {
    padding: 0px;
    max-width: 200px;
}

.recent_blog_list #menu-books li img:hover {
    filter: brightness(120%);
}

.recent_blog_list #menu-books li .menu-image-title {
    display: block;
    padding: 0px;
    margin-bottom: 10px;
}

.recent_blog_list #menu-books li .menu-item-description {
    font-size: 0.85em;
    text-align: justify;
}

/* footer */

.blog_footer {
    display: flex;
    font-size: 0.85em;
}

.blog_footer .footer_column {
    flex-grow: 1;
}

.blog_footer .footer_column.left {
    text-align: left;
}

.blog_footer .footer_column.right {
    text-align: right;
}


/* COMMENTS */

#comment_wrapper {
    
}

#comment_wrapper h1.comment_title {
    font-size: 1.75em;
}

@media (max-width: 750px) {
    #comment_wrapper h1.comment_title {
        font-size: 1.5em;
    }

    #comment_wrapper {
        width: auto;
    }
}

@media (max-width: 400px) {
    #comment_wrapper h1 {
        font-size: 1.25em;
    }
}

#comments {
    padding-top: 40px;
    margin-bottom: 20px;
}

#comments.no-comments {
    padding-top: 10px;
}

#comments h1 {
    font-size: 1.25em;
}

#comments h2 {
    font-size: 0.75em;
}

#comments .comment {
    border-bottom: 1px solid var(--comment-separator-color);
    padding-bottom: 15px;
    margin-top: 15px;
}

#comments .comment:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}


#comments .comment.even {
    
}

#comments .comment-body {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

#comments .comment-left {
    margin-right: 20px;
    flex: none;
}

#comments .comment-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#comments .comment-head {
    display: flex;
    flex-direction: row;
    padding-top: 2px;
}

#comments .comment-name {
    color: var(--comment-color);
    flex-grow: 1;
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

#comments .comment-datetime {
    text-align: center;
    font-size: 0.85em;
}

@media (max-width: 750px) {
    #comments .comment-head {
        display: block;
    }
    #comments .comment-name {
        margin-bottom: 0px;
        font-size: 0.85em;
    }
    #comments .comment-datetime {
        text-align: left;
    }
    #comments .comment-author {
        max-width: 40px;
    }
}

#comments .comment-datetime a {
    color: var(--comment-date-color);
}

#comments .comment-datetime a:hover {
    color: var(--comment-date-hover);
    text-decoration: none;
}

#comments .comment-date {
    margin-bottom: 4px;
}

#comments .comment-content {
    font-size: 0.85em;
    flex-grow: 1;
    line-height: 1.75em;
}

#comments .comment-content p {
    margin: 0px;
    /* margin-bottom: 1em; */
}

#comment_wrapper .styled-separator {
    display: none;
}

#comment_wrapper .comments-pagination {
    font-size: 0.75em;
    display: flex;
    flex-direction: row;
}

#comment_wrapper .comments-pagination .nav-previous,
#comment_wrapper .comments-pagination .all-page-numbers,
#comment_wrapper .comments-pagination .nav-next {
    flex-grow: 1;
}

#comment_wrapper .comments-pagination .nav-previous {
    text-align: left;
    width: 33%;
}

#comment_wrapper .comments-pagination .all-page-numbers {
    text-align: center;
    width: 34%;
}

#comment_wrapper .comments-pagination .nav-next {
    text-align: right;
    width: 33%;
}

/* RESPOND */

#respond {
    padding: 20px;
}

#respond h1 {
    font-size: 1.25em;
}

#respond h2 {
    font-size: 0.75em;
}

#respond p {
    font-size: 0.75em;
    margin: 0px;
}

#respond p.logged-in-as {
    font-size: 0.85em;
}

#respond form label {
    font-size: 0.85em;
}

#respond .logged-in-as a {
    padding-left: 20px;
    text-decoration: none;
}

#respond .logged-in-as a:hover {
    text-decoration: underline;
}

#respond .logged-in-as a:first-child {
    padding-left: 0px;
}

#respond .comment-respond {
    position: relative;
}

#respond .comment-form-author {
    display: inline-block;
}

#respond .comment-form-email {
    margin-left: 20px;
    display: inline-block;
}

#respond .comment-form-comment {
    position: relative;
    margin-top: 15px;
}

#respond .comment-form-comment textarea {
    width: 100%;
    resize:vertical;
    min-height: 100px;
    box-sizing: border-box;
}

#respond .comment-reply-title {
    display: none;
    margin: 0px;
    font-size: 1em;
    margin-bottom: 15px;
}

#respond.comment-respond {
    background-color: var(--comment-respond-bg);
    border: 1px solid var(--comment-respond-border);
    padding: 20px 15px;
}

#respond .form-submit {
    margin-top: 10px;
    text-align: right;
}

#respond .form-submit input {
    padding: 10px 20px;
}

#respond .form-submit textarea {
    padding: 7px 12px;
}

#respond .form-submit .submit {
    cursor: pointer;
    font-family: var(--menu-font);
}

@media (max-width: 640px) {

    #respond .comment-form-author {
        display: block;
    }
    
    #respond .comment-form-email {
        margin-left: 0px;
        display: block;
        margin-top: 15px;
    }

    #respond .comment-form-author input,
    #respond .comment-form-email input {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }

}

/* plugin specific */

.blog_content .wpforms-container {
    margin-top: 20px;
}

.blog_content .wp-block-embed-youtube {
    text-align: center;
}

.blog_content .wp-block-latest-posts {
    margin: 15px 0px;
}

.blog_content .wp-block-latest-posts li > a {
    color: var(--blog-title-color);
    font-size: 1.5em;
}

.blog_content .wp-block-latest-posts li > a:hover {
    color: var(--blog-title-hover);
}

.wp-block-latest-posts__featured-image.aligncenter {
    margin-bottom: 0px;
}

.wp-block-latest-posts__post-excerpt {
    font-size: 1em;
    line-height: 1.75em;
}

.wp-block-latest-posts__post-date {
    font-size: 0.75em;
    line-height: 1em;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
    font-weight: bold;
    color: var(--blog-subtitle-color);
}

@media (min-width: 600px) {
    .blog_content .wp-block-latest-posts li > a {
        font-size: 1.25em;
    }
    .wp-block-latest-posts__post-date {
        margin-top: 0;
    }

    .blog_content .wp-block-latest-posts {
        margin: 30px 0px;
    }

    .wp-block-latest-posts__post-excerpt {
        font-size: 0.9em;
    }

    .wp-block-latest-posts.columns-3 li {
        position: relative;
        margin-left: 1.5em;
        margin-right: 0px;
        padding-right: 1.5em;
        width: calc(33.33333% - 2em - 1.33333px);
    }

    .wp-block-latest-posts.columns-3 > li:after {
        content: "";
        background: var(--comment-separator-color);
        position: absolute;
        top: 10%;
        right: 0px;
        height: 70%;
        width: 1px;
    }
    
    .wp-block-latest-posts.columns-3 > li:nth-child(3n):after {
        content: none;
    }

    .wp-block-latest-posts.columns-3 li:nth-child(3n+1) {
        margin-left: 0px;
    }
    
    .wp-block-latest-posts.columns-3 li:nth-child(3n) {
        padding-right: 0px;
    }
}

