/*
Theme Name:	BCA - Twenty Twenty Child
Theme URI:	https://british-caving.org.uk
Description:	Child theme of twentytwenty wordpress theme for use on the BCA website
Author:	Ari Cooper-Davis
Author URI:	https://cooper-davis.net
Template:	twentytwenty
Version:	0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: child-theme
Text Domain:	bca_wp_theme
*/

/* Header settings */

#site-header {
	border-bottom: 5px solid #2c7f19;
}

.header-titles .site-description {
	display: none;
}

.overlay-header #site-header {
	background-color: #383e46;
}

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: white!important;
}

div.header-inner.section-inner {
	padding: 1rem 0;
}

/* Hero settings */

.cover-header {
	max-height: 55vh;
	margin-top: 8.0rem;
}

@media (min-width: 700px) {
	.cover-header {
		margin-top: 11.0rem;
	}
}

.cover-header-inner {
	padding: 0 0 50vh 0;
}

.header-titles-wrapper {
	text-align: left;
}

.site-description {
	font-size: 2rem;
	display: block;
	text-align: left;
}

h1.entry-title {
	text-align: left;
}

@media (min-width: 1220px) {
	h1, .heading-size-1 {
		font-size: 3.6rem;
	}
}

.to-the-content-wrapper {
	display: none;
}

.photo-credits {
	text-shadow: 0 0 10px black;
	margin: 1.5rem 1rem auto 1rem;
	z-index: 1;
}

.photo-credits-icon {
	border: 1px;
	display: none;
}

.photo-credits-icon:hover + .photo-credits-text {
	opacity: 1;
}

.photo-credits-text {
	display: inline;
	position: relative;
	margin-left: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease-out;

	color: black;
	background-color: #ffffffaa;
	text-shadow: none;
	border-style: solid;
	border-color: #ffffff00;
	border-width: thick;
	border-radius: 0.5rem;
}
/* Front page */

#events_head {
	margin-top: 0px;
}

.wp-post-title a {
	font-size: 30px;
	display: inline-block;
}

.wp-post-date {
	font-size:16px!important;
	font-style: italic;
}

.owl-item > .item > .item-inner > a.linked-image {
	float: left;
	margin: 0 2rem 0 0;
}	

.owl-item > .item > .item-inner {
	font-size: 1.75rem;
}


@media (max-width: 500px) {
		.owl-item > .item > .item-inner {
		font-size: 1.5rem;
	}
}

.news_head {
	padding-top: 0rem;
	margin-top: 0.5rem;
}

/* Content settings */

.entry-content {
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 87rem;
	width: calc(100% - 8rem);
}

.entry-content > .alignright, .entry-content > p .alignright, .entry-content > .wp-block-image .alignright {
	left: calc((100vw - 87rem) / 2 + 87rem + 4rem);
}

table {
	margin: 2rem 0;
}

.constitution-list {
	background-color: white;
	padding: 30px;
}

ol li strong {
	line-height: 2.5;
}

ol {
    counter-reset: item;
}

ol > li {
    counter-increment: item;
}

ol ol > li {
    display: block;
}

ol ol > li:before {
    content: counters(item, ".") ". ";
    margin-left: -20px;
}

ul.custom-event-shortcode {
	font-size: 17px;
}

.BlockedForCookiePreferences {
	margin-left: auto!important;
	margin-right: auto!important;
}

.crm-section .label {
	font-style: italic;
	font-weight: bold;
}

.official-documents > li {
	list-style: none;
}

#twitter-widget-0 {
	max-height: 550px;
}

h6.table-heading {
	margin-bottom: 0rem;
}

/* Posts page settings */
.article-flex-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.article-flex-item {
	max-width: 50rem;
	min-width: 25rem;
	margin: 30px 15px 0px 15px;
	padding: 30px 10px 30px 10px;
	background-color: #fff;
}

.entry-header-inner.section-inner.medium > h2 {
	font-size: 3.8rem!important;
}

.post .post-inner.thin .entry-content p : not(blockquote){
	font-size: 1.75rem;
}

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


/* Post */
.comment-meta > div {
	font-size: medium;
}

.comment-content.entry-content {
	font-size: medium;
}

.comment-reply-title {
	font-size: xx-large;
}

/* Material design icon sizes */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.material-icons-outlined.md-light { color: rgba(255, 255, 255, 1); }

/* Footer settings */

.footer-nav-widgets-wrapper {
	background-image: url(./images/footer-bgd.png);
	background-position: top right;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: #000!important;
}

#site-footer {
	background-color: #000!important;
}

#site-footer a {
	color: white;
}

.widget .footer-row {
	display: flex;
}

.widget .footer-column {
	flex: 50%;
}

.widget h6 {
	font-size: 16px;
	text-transform: uppercase;
	margin: 0;
}

.widget ul {
	list-style-type: none;
	margin: 10px 0px 0px 5px;
	padding: 0;
}

.widget li {
	margin-bottom: 3px;
	margin: 0;
	font-size: 14px;
	font-family: sans-serif;
}

.widget li a {
	color: white;
	text-decoration: none;
}

.footer-privacy-links {
	text-align: right;
	font-size: 14px;
	margin: 0rem 3rem;
}

/* Members area  */
.crm-title {
	display: none;
}

#crm-container {
	padding: 3rem;
	border: 0.2rem solid #d3d3d3;
}

#_qf_Edit_next {
	margin-top: 2rem;
}
#crm-profile-block .form-item {
	margin-top: 1.5rem;
}

label {
	margin-top: 1.5rem;
}

#submitButton {
	margin-top: 2rem;
}

#pwdMessage0 {
	font-weight: bold;
	color: red;
}

#pwdMessage1 {
	font-weight: bold;
	color: green;
}

/* Downloads */

.previous-issues > li {
	list-style: none;
}

.previous-issues > li:first-child {
	display: none;
}

.previous-issues {
	column-count: 3;
}

.official-documents {
	column-count: 3;
}

@media (max-width: 800px) {
	.previous-issues {
		column-count: 2;
	}
}

.latest-newsletter > li {
	list-style-type: none;
	text-align: center;
}

.latest-newsletter > li > a {
	border-radius: 0;
	letter-spacing: 0.0333em;
	border: 2px solid #2c7f19;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 1.7rem;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
}

.latest-newsletter > li > a:hover {
	text-decoration: underline;
}

/* Clubs */
#clubsMap {
	width: 100%;
	height: 75rem;
}

.clubsList {
	column-count: 3;
}

@media (max-width: 800px) {
	.clubsList {
		column-count: 2;
	}
}

@media (max-width: 500px) {
	.clubsList {
		column-count: 1;
	}
}

.clubsList > li {
	font-size: large;
}

/* CiviCRM Contributions Pages */

div#crm-container {
	padding: 0;
	border: none;
}

.price-set-option-content > label {
	display: contents;
}

.payment_processor-section > .content > label {
	display: inline-block;
}

.crm-section > .label > label {
	display: inline;
}

span.crm-price-amount-help-post.description {
	display: block;
	font-style: italic;
	margin-bottom: 1rem;
}

.recaptcha_label {
	display: none;
}

.crm-public-form-item {
	margin: 2rem 0rem;
}

.crm-public-form-item.crm-section.payment_processor-section {
	margin: 0rem;
}

input.crm-form-text {
	margin: 0 0 1rem 0;
}

