/*
Theme Name: Harrison Genealogy
Theme URI: https://henryharoldharrison.name
Author: Julio Lopez for Brian Harrison
Author URI: https://juliolopez.ca
Description: A WordPress theme for Brian Harrison's genealogy sites
Text Domain: harrison-genealogy
Version: 1.3.4
License: GNU General Public License v2 or later
*/

body {
    margin: 0;
}

a {
    text-decoration: none;
    color: blue;
}

hr {
    clear: both;
    width: 100%;
}

.heading {
    background-color: white;
    overflow: hidden;
    min-width: 320px;
}

.breadcrumbs {
    margin: 5px 0 5px 20px;
    font: 11px sans-serif;
    color: #898989;
}

.relation {
    margin: 0 0 10px 0;
    font: 11px sans-serif;
    color: #898989;
}

h1 {
    font: 18px sans-serif;
    color: black;
    margin: 0;
    padding: 10px 0 10px 20px;
}

@media (min-width: 576px) {
    h1 {
        font-size: 23px;
    }
}

.navhead {
    display: none;
}

h2 {
    font: 20px sans-serif;
    color: black;
    text-align: left;
    margin: 25px 0 25px 0;
    padding: 0;
}

h3 {
    clear: both;
    font: 18px sans-serif;
    color: black;
    text-align: left;
    margin: 20px 0 20px 0;
}

h4 {
    font: 14px sans-serif;
    color: black;
    text-align: left;
    font-weight: bold;
}

p {
    font: 14px sans-serif;
    color: black;
    line-height: 150%;
}

ul {
    list-style: none;
}

.links {
    margin: 20px 0 20px 0;
    padding: 0;
}

.links li {
    line-height: 150%;
}

.norms {
    list-style: disc outside;
    line-height: 150%;
}

.plain {
    list-style-type: none;
    line-height: 150%;
}

.menu {
    padding: 0;
    margin: 0 20px 5px 20px;
    background: white;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    font: 12px sans-serif;
    color: #898989;
    min-width: 280px;
    max-width: 768px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.menu li {
    padding: 0 15px;
    margin: 0.25rem 0;
    background: white;
    border-right: 1px solid #898989;
}

.menu li:first-of-type {
    padding-left: 0;
}

.menu li:last-of-type {
    padding-right: 0;
    border-right: none;
}

.menu li a {
    text-decoration: none;
    text-align: center;
    color: #898989;
    display: block;
    padding: 0;
}

.nav {
    min-height: 25px;
    padding: 0;
    margin: 0.5rem 20px;
    font: 14px sans-serif;
    max-width: 768px;
    display: flex;
    flex-direction: column;
}

.nav li {
    padding: 10px 0 10px 20px;
    margin: 0;
    border-bottom-width: 4px;
    border-bottom-style: solid;
}

@media (min-width: 460px) {
    .nav {
        flex-direction: row;
        justify-content: flex-start;
    }

    .nav li {
        padding: 2px 0 3px 20px;
        margin: 0;
        border-bottom-width: 4px;
        border-bottom-style: solid;
        width: 100%;
    }
}

.nav li a {
    text-decoration: none;
    text-align: left;
    color: black;
    display: block;
    padding: 0;
}

.text {
    font: 14px sans-serif;
    color: black;
    margin: 5px 20px 0 20px;
    width: 90%;
}

.tree {
    font: 11px sans-serif;
    color: black;
    text-align: left;
}

.tree dt {
    clear: both;
    text-align: left;
    padding: 0.35rem 0 0.25rem 0
}

.tree dl {
    list-style-type: none;
    margin: 0 0 50px 0;
}

.tree dd {
    float: left;
    border: 1px solid #898989;
    margin: 2px;
    padding: 2px 5px 2px 5px;
}

.mainthumb {
    clear: left;
    float: left;
    margin: 0 10px 10px 0;
    border: 1px solid #808080;
}

.mainthumb figure {
    margin: 0 !important;
}

.mainthumb figure img {
    display: block;
}

.post-content section#images .mainthumb {
    float: none;
}

.docthumb {
    margin: 0 10px 10px 0;
    border: 1px solid #808080;
}

.transcript p {
    clear: both;
    font: 14px sans-serif;
    color: black;
}

.transcript td {
    font: 14px sans-serif;
    color: black;
    width: 200px;
    border: 1px solid #808080;
    text-align: center;
    padding: 5px;
}

.timeline td {
    border: 1px solid #808080;
    padding: 5px;
    text-align: left;
}

.date {
    width: 150px;
}

.transcript .form {
    font: 14px sans-serif;
    color: #808080;
}

/*.transcript table tr:first-child td {
    font: 14px sans-serif;
    color: #808080;
}*/

.transcript .cform {
    font: 14px sans-serif;
    color: #808080;
}

.gravescript {
    font: 14px sans-serif;
    color: black;
    text-align: center;
    max-width: 415px;
    border: 1px solid #808080;
}

.gravescript .grave-caps {
    text-transform: uppercase;
    font-size: 12px;
}

.gravescript .grave-mid {
    font-size: 15px;
}

.gravescript .grave-big {
    font-size: 16px;
}

.treemap {
    margin: 25px 0 25px 0;
}

.transcript dl {
    list-style-type: none;
    margin: 0;
    width: 660px;
}

.transcript dt {
    border-top: 3px solid #898989;
    font-weight: bold;
    margin: 5px;
    padding: 5px;
}

.transcript dd {
    border-top: 1px solid #898989;
    line-height: 1.5;
    margin-left: 10px;
    padding: 5px;
}

.transcript span {
    font-weight: bold;
}

.sites dl {
    list-style-type: none;
}

.sites dd {
    line-height: 150%;
    margin-bottom: 15px;
}

.clear {
    clear: both;
}

ul.conventional {
    list-style-type: disc;
}

ul.conventional li {
    margin-bottom: 10px;
}

.transcript th {
    color: #898989;
    border: 1px solid #898989;
}

.single.single-research_notes article header,
.single.single-hc_articles article header {
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

#details ul {
    padding-left: 0;
}

#details ul li {
    margin: 0.5rem 0;
}

#details ul li .detail-notes {
    margin-left: 3rem;
}

#details ul li .detail-notes p {
    margin: 0.15rem 0;
    font-style: italic;
    line-height: normal;
}

#details ul li .detail-notes p:first-of-type {
    margin-top: 0.5rem;
}

#details ul li .detail-notes p:last-of-type {
    margin-bottom: 0;
}

.svg-tree {
    min-width: 280px;
    width: 100%;
    height: auto;
}

.bitmap-tree {
    min-width: 280px;
}

body.post-type-archive-source_documents .source_documents.multi-column .links .source-documents-list,
body.tax-source_document_types .source_documents.multi-column .links {
    display: block;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    -moz-column-gap: 4%;
    -webkit-column-gap: 4%;
    column-gap: 4%;
}

@media (min-width: 576px) {
    body.post-type-archive-source_documents .source_documents.multi-column .links .source-documents-list,
    body.tax-source_document_types .source_documents.multi-column .links {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 992px) {
    body.post-type-archive-source_documents .source_documents.multi-column .links .source-documents-list,
    body.tax-source_document_types .source_documents.multi-column .links {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 1400px) {
    body.post-type-archive-source_documents .source_documents.multi-column .links .source-documents-list,
    body.tax-source_document_types .source_documents.multi-column .links {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

body.post-type-archive-source_documents .source_documents .links .source-documents-list.collapsed {
    display: none;
}
