/**
Theme Name: Meredith Rotary Fishing Derby
Author: FirstTracks Marketing
Author URI: https://firsttracksmarketing.com
Description: Custom child theme based off Astra theme framework using Gutenberg.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meredith-rotary-fishing-derby
Template: astra
*/



body, .ast-separate-container {
    background: #fafafa;
}

.site-footer {
    background-color: #0054a5;
}

ul {
    margin-left: 18px;
}

.is-style-outline>.wp-block-button__link:not(.has-background),
.wp-block-button__link.is-style-outline:not(.has-background) {
    background-color: #FFFFFF;
}


/* Events Calendar adjustments */
#tribe-events-pg-template,
.entry .entry-content .event-tickets .tribe-tickets__tickets-form,
.event-tickets .tribe-tickets__tickets-form {
    max-width: 1240px;
}

.ast-separate-container .ast-article-single:not(.ast-related-post) {
	background: transparent;
}
.ast-separate-container .ast-article-single {
	padding: 0;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
	border: 2px solid var(--ast-global-color-0);
	border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 235px;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
}

.tribe-events-event-meta.primary,
.tribe-events-event-meta.secondary,
.tribe-events-venue-map {
	width: 100%;
}

.tribe-events-back {
    display: none;
}

.tribe-common.event-tickets .tribe-common-c-btn,
.tribe-common.event-tickets a.tribe-common-c-btn,
.tribe-cart-backlink,
.tribe-checkout-backlink {
    background-color: var(--ast-global-color-0) !important;
    border-radius: 0;
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
	letter-spacing: 1px;
	line-height: 1;
    padding: 18px 22px;
	text-transform: uppercase;
}

.tribe-common.event-tickets .tribe-common-c-btn:hover,
.tribe-common.event-tickets a.tribe-common-c-btn:hover {
    background-color: var(--ast-global-color-1) !important;
}

.tribe-checkout-backlinks .tribe-checkout-backlink:not(:last-of-type),
.tribe-checkout-backlinks:not(:first-of-type) .tribe-checkout-backlink {
    display: none;
}

/* Hide built in email and name field so we can make email optional and create a new name field that is required */
.event-tickets .tribe-tickets__attendee-tickets-item.tribe-tickets__form .tribe-tickets__form-field.tribe-tickets__iac-field--name,
.event-tickets .tribe-tickets__attendee-tickets-item.tribe-tickets__form .tribe-tickets__form-field.tribe-tickets__iac-field--email {
    display: none;
}


/* Attendee modal */
.event-tickets .tribe-tickets__tickets-item-details-summary {
    display: none !important;
}

.event-tickets .tribe-tickets__tickets-item-details-content, .event-tickets .tribe-common .tribe-tickets__tickets-item-details-content.tribe-common-a11y-hidden {
    display: block !important;
    visibility: visible;
}

.entry-content .tribe-common .fishing-modal-event-desc {
    margin-bottom: 18px;
}
.entry-content .tribe-common .fishing-modal-event-desc ul {
    margin-left: 18px;
}
.entry-content .tribe-common .fishing-modal-event-desc ul>li {
    list-style-type: initial;
}
.entry-content .tribe-common .fishing-modal-event-desc ul>ul>li {
    list-style-type: circle;
}

.tribe-tickets__iac-email-disclaimer.tribe-common-b2 {
    display: none;
}


/* Attendee Registration page */
@media (min-width: 768px) {

	body.page-tribe-attendee-registration .tribe-tickets__registration {
    	max-width: unset !important;
	}

	body.page-tribe-attendee-registration .event-tickets .tribe-tickets__registration-actions,
	body.page-tribe-attendee-registration .tribe-common .tribe-tickets__registration-actions {
    	margin: var(--tec-spacer-7) auto var(--tec-spacer-6) !important;
	}

}

.tribe-cart-backlink {
    text-decoration: none;
}


/* Cart adjustments */
.cart .product-thumbnail {
    display: none;
}

.woocommerce-cart-form {
    display: flex;
    flex-direction: column-reverse;
}

.tribe-cart-backlink {
    width: fit-content;
    align-self: end;
	margin-bottom: 2em;
}


/* Checkout adjustments */
.tribe-checkout-backlinks {
    margin-bottom: 1em;
}

#wc_checkout_add_ons .form-row {
    display: flex;
}
#wc_checkout_add_ons .checkbox {
    margin-right: 12px;
}

.woocommerce-checkout .woocommerce-checkout-review-order .tribe-cart-backlink {
    margin-bottom: 0em;
    display: none;
}
.woocommerce-checkout .woocommerce-checkout-review-order .tribe-cart-backlink:first-of-type {
    display: block;
}


/* Thank you page adjustments */
.page.woocommerce-order-received .entry-header {
    visibility: hidden;
}

.woocommerce .woocommerce-order-details .tribe-attendee-meta tr:first-child,
.woocommerce .woocommerce-order-details .tribe-attendee-meta tr:last-child {
    display: none;
}


/* Homepage event alignment */
.home .tribe-tickets__tickets-wrapper > form {
    margin: 0 auto;
	max-width: 900px;
}


/* Media/content image shadow */
.wp-block-columns img {
    /* box-shadow: 20px 20px 0 0 #4175fc; */
	box-shadow: 20px 20px 0px 0px #fbbb18;
	-webkit-box-shadow: 16px 16px 0px 0px #fbbb18;
	-moz-box-shadow: 16px 16px 0px 0px #fbbb18;
}
