/*
 Theme Name:   The Gathering Child Theme
 Description:  A custom child theme for thegatheringlafayette.org
 Author:       Christine Hack
 Template:     twentytwentyfive
 Version:      1.0.0
*/

:root {
	--wp--custom--carousel-block--navigation-sides-offset: 50px;
}

body {
	overflow-x: hidden;
}

.wp-site-blocks header {
    position: fixed;
    width: 100vw;
    z-index: 999;
}

footer.wp-block-template-part {
	margin-top: 0px;
}

.hidden {
	visibility: hidden;
	height: 0;
	margin: 0;
}

@media screen and (min-width: 851px) {
	.circle-text-container svg {
		width: 40%;
	}
}

@media screen and (max-width: 850px) {
	.circle-text-container svg {
		width: 80%;
	}
}

.gathering-custom-tab-button a {
	border-width: 0;
	border-style: none;
	background: none;
}

.gathering-custom-tab-button a.selected {
	border-bottom-style: solid;
	border-bottom-width: 2px !important;
}

.modal-popup {
	position: fixed;
	height: 100vh;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,.8);
	top:0;
	left:0;
	z-index: 1;
}

.modal-popup .modal-contents {
	background-color: #ffffff;
}

.modal-popup .modal-contents .wp-block-group {
	display: flex;
	justify-content: space-between;
}

.modal-popup .title-bar .wp-block-heading, .modal-popup .title-bar p {
	margin: 0;
}

.donate-form-content {
	max-height: calc(100vh - 300px;);
	overflow: scroll;
}

details.gathering-custom-details {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

details.gathering-custom-details summary {
	background: transparent none;
	border-color: currentcolor;
	border-width: 1px;
	border-style: solid;
	padding: calc(1rem - 1px) calc(2.25rem - 1px);
	border-radius: 1px;
	align-self: flex-start;
}

/* .em-list-widget.em-events-widget {
	max-width: var(--wndb--container) !important;
	width: 100%;
	display: grid;
	gap: calc(var(--wndb--gap--xl) * var(--wndb--gap--scale-factor));
	grid-template-columns: repeat(3, minmax(0, 1fr));
} */

.homepage-events-widget .em.em-list-widget .em-item .em-item-date {
	display: none;
}

.homepage-events-widget .em.em-list-widget .em-item .wp-block-post-featured-image {
    max-height: 250px;
    overflow: clip;
}

.homepage-events-widget .em.em-list-widget {
    height: 100%;
    margin-top: 0;
}

.homepage-events-widget .em.em-list-widget .em-item.em-block-list-event {
    height: 100%;
}

.homepage-events-widget .em.em-list-widget .em-item .em-item-info {
    flex-grow: 1;
}

.em-modal-content.em-list-widget.em-events-widget {
	display: flex;
}

.ministry-page .em-list-widget.em-events-widget {
	display: unset;
}

.ministry-page .em.em-list-widget .em-item.em-block-list-event {
	display: flex;
	flex-direction: row;
	background-color: none;
	box-shadow: none;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px !important;
	flex-wrap: wrap;
}

.ministry-page .em.em-list-widget .em-item>* {
	padding: 0 !important;
}

.ministry-page .em.em-list-widget .em-item .em-item-info .text-small {
	font-size: 16px;
}

.em.em-list-widget .em-item.em-block-list-event {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	box-shadow:var(--wp--preset--shadow--natural);
	letter-spacing: -0.1px !important;
}

h3.wp-block-events-manager__title {
	display: none;
}

.em.pixelbones h3 a {
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.588), 20px) !important;
	color: var(--wp--preset--color--custom-dark) !important;
	letter-spacing: -.1px !important;
}

.em .text-small {
	font-size: 13px;
}

.em.em-list-widget .em-item.em-block-list-event .em-item-info {
	border-left: none;
	padding: 0 var(--wp--preset--spacing--30);
}

.em.em-list-widget .em-item.em-block-list-event .em-item-actions {
	padding-top: 0;
	padding-left: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
}

.em.pixelbones button.em-event-add-to-calendar.input:not([data-nostyle]), .em.pixelbones .wp-block-button.is-style-outline a.wp-block-button__link.wp-element-button {
	border-radius: 0 !important;
	color: var(--wp--preset--color--custom-buttons-and-links) !important;
	border-color: var(--wp--preset--color--custom-buttons-and-links) !important;
	font-family: var(--wp--preset--font-family--inter) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-style: inherit !important;
	font-weight: 400 !important;
	padding: calc(0.5rem - 1px) calc(1rem - 1px) !important;
	text-transform: none !important;
	height: auto !important;
	line-height: initial !important;
	margin-bottom: 0px !important;
}

.em.pixelbones button.em-event-add-to-calendar.input:not([data-nostyle]) {
	padding-right: 38px !important;
}

.em button.input.em-event-add-to-calendar .em-icon-calendar {
	display: none !important;
}

.ministry-page .em.pixelbones .em-item.em-event figure.wp-block-post-featured-image,
.ministry-page .em.pixelbones .em-item.em-event .em-item-date-recurrence,
.ministry-page .em.pixelbones .em-item.em-event .em-item-name,
.ministry-page .em.pixelbones .em-item.em-event .em-item-description{
	display: none;
}

.em.em-item .em-item-meta .em-item-meta-line.em-event-location .location-full-line {
	grid-column-start: 2;
}

#em-wrapper.em {
	max-width: 1175px;
}

.em.em-view-container {
	max-width: unset;
}

.wp-block-cb-carousel-v2 .cb-button-next,
.wp-block-cb-carousel-v2 .cb-button-prev,
.wp-block-cb-carousel-v2 .cb-button-next:hover,
.wp-block-cb-carousel-v2 .cb-button-prev:hover {
	color: #fff;
}

.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet,
.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active,
.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet:hover,
.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active:hover {
	background-color: #fff;
}

div.wp-block-query.gathering.custom-query .wp-block-post .post-info {
	justify-content: space-around;
}

div.wp-block-query.gathering.custom-query .wp-block-post .post-info .wp-block-post-excerpt {
	flex-grow: 1;
}
