/*
Theme Name: St Oswald (child of twenty twenty)
Author: Tim Sparks
Description: A child theme for twenty twenty for St Oswald's Church
Text Domain: stoswald
Template: twentytwenty
Version: 1.02

*/

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,.editor-styles-wrapper .wp-block-post-title{
    font-family: "Cormorant";
}

.entry-content h1, .entry-content h2, .entry-content h3 {
    margin: 3rem auto 1rem;
}

.category-magazine figure.featured-media {
    display: none;
}


.ttt {
    margin: auto;
    text-align: center;
}

/* search button */
span.toggle-text {
    font-family: 'open sans';
}

.header-inner .toggle svg {
    color: #138572;
}

body:not(.overlay-header) .toggle-inner .toggle-text {
    font-family: 'open sans';
}

/*--------*/

@media (min-width: 700px){
.archive-header {
     padding: 4rem 0; 
}
}

@media (min-width: 700px){

	.post-inner {
		padding-top: 4rem;
	}

}

@media (min-width: 1000px){
	.header-titles {
		flex-wrap: nowrap;
	}

}

.entry-content h2 {
    margin-top: 0px;
}


.super-simple-slider-container .super-simple-slider .slide img.slide-image {
	height: 250px;
	width:auto;
	object-fit:cover;
	margin:auto;
}

@media (min-width: 700px){
	.super-simple-slider-container .super-simple-slider .slide img.slide-image {
		height: 400px;
	}
}

.front-page-buttons .wp-block-image {
    border-radius: 16px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.front-page-buttons .wp-block-image img {
    width: 380px;
    padding: 0;
    margin: 0;
	object-fit: cover;
    height: 253px;
}

.front-page-buttons .wp-block-image figure {
    margin: 0;
    position: relative;
}

.front-page-buttons .wp-block-image figcaption {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
     /* Fallback color */
    background: rgba(0, 0, 0, 0.6); /* Black background with 0.5 opacity */
    border-radius: 10px;
    font-family: 'Cormorant';
    font-weight: bold;
    font-size: x-large;
    overflow: auto;
    width: 75%;
}

.front-page-buttons .wp-block-image figcaption a {
    color: white;
    text-decoration: none;
    padding: 18px;
    display: block;
	text-align: center;
	transition: 0.5s;
}

.front-page-buttons .wp-block-image a:hover+figcaption a {
    background: black;
}

.front-page-buttons .wp-block-image figcaption a:hover {
    background: black;
}

.front-page-buttons .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.front-page-buttons .wp-block-image {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* about us - who we are */
.post-95 .wp-block-group:not(.has-background):not(.alignwide):not(.alignfull) {
    margin: 2em auto;
}

.post-95 .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter){margin:0 auto;}

/* calendar */ 

.home .post-meta-wrapper.post-meta-edit-link-wrapper {
    display: none;
}

.front-page-buttons .wp-block-image figcaption {
    color: white;
}

.front-page-buttons .wp-block-image figcaption p {
    margin: 0;
    text-align: center;
}

.front-page-buttons .wp-block-image figcaption p strong {
    font-weight: bold;
}

.front-page-buttons .wp-block-image figcaption p {
    font-weight: normal;
}

.front-page-buttons .wp-block-image figcaption ul.simcal-events {
    margin: 0;
    padding: 0;
}

.front-page-buttons .wp-block-image figcaption .simcal-calendar {
    margin: 0;
    padding: 0;
}

table.simcal-calendar-grid {
    background: white;
}

@media only screen and (max-width: 700px) {
	.front-page-buttons .wp-block-group {
		display: block;
	}
	
	.front-page-buttons .wp-block-image figure,.front-page-buttons .wp-block-image img{
		width:100%
	}
}

.singular .entry-header {
    padding: 1rem 0;
}

.header-inner {
    padding: 1em 0;
}

/* footer */
.footer-widgets.column-two.grid-item .widget .widget-content figure {
    text-align: right;
    margin: 0 !important;
}

/* footer */
@media only screen and (max-width:600px){
	.footer-widgets.column-two.grid-item .widget .widget-content figure {
    text-align: left;
    margin: 0 !important;
	}
}

.footer-widgets.column-two.grid-item .widget .widget-content figure img {
    display: inline;
}

/* book of remembrance */

.book_of_remembrance ul{
    list-style-type: none;
	margin:0;
}

.book_of_remembrance {
    font-size: medium;
}

.book_of_remembrance ul li {
    padding: 0;
    margin: 0;
}

.book_of_remembrance li .name {
    font-weight: bold;
}

.book_of_remembrance li .years,.book_of_remembrance li .notes {
    font-style: italic;
    /*padding-left: 0.5em;*/
}

.book_of_remembrance .day,.text {
    display: inline-block;
}

.book_of_remembrance .day {
    min-width: 15%;
    padding-right: 3%;
}

.book_of_remembrance .text {
    max-width: 70%;
    vertical-align: top;
}

/* what christians believe */

.wcbposts img {
    object-fit: cover;
    /* width: 100%; */
    height: 350px;
}