
/*
Theme Name: Special Olympics Northern California
Theme URI: https://example.com/sonorcal-block-theme
Author: Special Olympics Northern California
Author URI: https://example.com
Description: A custom full-site editing block theme for the Special Olympics Northern California website.
Version: 1.0.0
Text Domain: sonorcal-block-theme
Requires at least: 6.0
Requires PHP: 7.4
Template: twentytwentyfive
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/* =========================================
   THE EVENTS CALENDAR
========================================= */

body {
	--tec-font-family-sans-serif: 'Ubuntu', sans-serif;
	--tec-color-day-marker-current-month: #0063A5;
	--tec-color-day-marker-month: #0063A5;
	--tec-color-day-marker-past-month: #0063A5;
	--tec-color-background-events-bar-submit-button: #0063A5;
	--tec-color-text-events-title: #000000;
	--tec-color-background-primary-multiday: #0063A5;
	--tec-color-background-primary-multiday-hover: #0077b8;
	--tec-color-text-events-title-month-multiday: #fff;
	--tec-color-background-secondary-multiday: rgba(0, 99, 165, .8);
	--tec-color-background-secondary-multiday-hover: rgba(0, 119, 184, .8);
	--tec-color-text-day-of-week-month: #000;
	--tec-color-accent-primary: #0063A5;
	--tec-color-button-primary: #0063A5;
	--tec-form-color-accent-primary: #0063A5;
}

.tribe-common .tribe-common-h8,
.tribe-events .tribe-events-calendar-list__event-title {
	text-transform: initial;
}

.tribe-common .tribe-common-h4,
.tribe-common .tribe-common-h4 a {
	color: var(--tec-color-day-marker-month) !important;
}

.tribe-common button:hover,
.tribe-common button:focus {
	background-color: transparent !important;
	color: #0063A5 !important;
}
@media (min-width: 768px) {
    .tribe-events-back {
        margin-bottom: 2.275rem;
    }
}
.tribe-events-back a, .tribe-events-back a:visited {
    font-size: inherit;
    color: #0063A5;
    font-weight: 500;
}
.tribe-events-calendar-list__event-datetime {
	color: #0063A5 !important;
}

.tribe-events-calendar-list__event-date-tag {
	display: none;
}
.single-tribe_events .tribe-events-before-html {
    display: none;
}
.tribe-events-notices {
    display: none;
}
.single-tribe_events .tribe-events-single-event-title {
  color: #0063A5;
	margin-bottom: 30px;
}
.tribe-events-event-image {
    max-width: 600px;
}
.post-thumbnail img {
	aspect-ratio: 16 / 9 !important;
}
.cat_volunteer-opportunities .tribe-events-content p:last-child a {
	color: #fff !important;
	text-decoration: none !important;
	background-color: #6E2C90;
	font-size: 18px;
	padding: 15px 30px;
	border-radius: 100px;
	line-height: 3;
	font-weight: 500;
	margin: 10px 0;
}
.single-tribe_events .tribe-blocks-editor .tribe-events-event-meta .tribe-events-meta-group {
    width: 25%;
}
.details-footer {
	display: initial !important;
}
.single-tribe_events .tribe-blocks-editor .tribe-events-event-meta .tribe-events-meta-group {
    width: 25%;
}
ul.tribe-events-c-view-selector__list {
    display: none !important;
}
.tribe-events-meta-group.tribe-events-meta-group-details h3, 
.tribe-events-meta-group .tribe-events-single-section-title,
.tribe-events-meta-group.tribe-events-meta-group-venue h3 {
	font-size: 1.8rem !important;
	line-height: 1.64;
}
.tribe-events-meta-group.tribe-events-meta-group-venue {
    padding: 0;
}
.tribe-block__venue {
	border: 0;
	padding: 10px 0;
	display: flex;
	width: initial;
}
@media ( max-width: 767px ) {
.tribe-block__venue {
	border: 0;
	padding: 0;
	display: block;
	}
}
@media ( max-width: 767px ) {
	.tribe-events-meta-group {
    flex: initial;
	}
}
@media (min-width: 768px) {
	.tribe-events-meta-group {
	padding: var(--tec-spacer-7) 0 var(--tec-spacer-3) !important;
    }
}
.tribe-venue, .tribe-venue-location, .tribe-events-address {
	margin: 0;
	font-style: normal;
}
.tribe-block__venue .tribe-block__venue__map {
	min-height: 400px;
	align-items: flex-start;
}
.tribe-block__venue__map iframe {
	max-height: 400px !important;
	height: 400px;	
}
.single-tribe_events dl {
	font-size: 1.2rem !important;
}
.tribe-events-meta-group a, .tribe-events-event-meta a, .tribe-events-event-meta a:visited {
	font-size: 1.2rem;
	color: #0063A5;
}

.tribe-events-event-meta a:focus, .tribe-events-event-meta a:hover {
		color: #0063A5;
}
.events .start-date, .events .end-date, .events .post-excerpt, .events .coach {
	font-size: 16px;
	margin-bottom: 10px;
}
.tribe-events-content a {
	color: #013b82;
	text-decoration: underline !important;
	border-bottom: 0;
}
.tribe-events-content a:hover {
	color: #ec008c;
	text-decoration: none !important;
	border-bottom: 0;
}
.tribe-events-content a:active,
.tribe-events-content a:focus {
	color: #92278f;
	text-decoration: underline !important;
	border-bottom: 0;
}
.tribe-events-single-section.tribe-events-event-meta.secondary {
	width: 50%;
}
.tribe-events-content h4 {
	margin-bottom: 0;
}
.tribe-events-single a {
    color: #0063A5 !important;
}
.tribe-events-single a:hover {
    color: #ec008c;
}

.tribe-events-single-section.tribe-events-event-meta.primary.tribe-clearfix {
	width: 100%;
}
ul.tribe-events-c-top-bar__nav-list li {
    list-style: none;
}
.tribe-theme-genesis .site-inner {
	padding: 0;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding: 0px !important;
	width: 1260px !important;
}
.tribe-block__event-website a {
	color: #fff;
	background-color: #6E2C90;
	font-size: 18px;
	padding: 15px 30px;
	border-radius: 100px;
}
.tribe-block__event-website a:hover {
	color: #fff;
	background: linear-gradient(95.91deg, #6E2C90 37.14%, #CC2229 106.87%);
	text-decoration: none !important;
}
.tribe_events_cat-sports-registrations.tribe_events p a {
	color: #fff;
	background-color: #6E2C90;
	font-size: 18px;
	padding: 15px 30px;
	border-radius: 100px;
}
.tribe_events_cat-sports-registrations.tribe_events p a:hover {
	color: #fff;
	background: linear-gradient(95.91deg, #6E2C90 37.14%, #CC2229 106.87%);
	text-decoration: none !important;
}
.single-tribe_events #tribe-events-content.tribe-blocks-editor .tribe-events-event-meta {
	display: flex;
  flex: 1 1 40%;
}
.tribe-block.tribe-block__venue.tribe-clearfix.tribe-block__venue--has-map {
	border: 0;
}
.tribe-events-event-meta:before, .tribe-events-event-meta~div:not(.tribe-events-event-meta):not(.event-tickets) {
	padding-top: 10px;
  margin: 0;
}
.tribe-events-calendar-list__event-featured-image-wrapper img {
	width: 100%;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a, .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a {
    color: #0063A5 !important;
	font-size: 1.125rem;
	text-decoration: none;
    vertical-align: middle;
	font-weight: 500;
	position: relative;
}
li.tribe-events-nav-previous span, li.tribe-events-nav-next span {
    display: none;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg width='32' height='21' viewBox='0 0 32 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.0466 20.2584L3.66294 13.6891C1.89155 12.5684 1.78626 10.0229 3.45906 8.75973L14.0466 0.765029' stroke='%230063A5' stroke-linecap='round'/%3E%3Cpath d='M31.0466 20.2584L20.6629 13.6891C18.8915 12.5684 18.7863 10.0229 20.4591 8.75973L31.0466 0.765029' stroke='%230063A5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    font-size: 16px !important;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:hover:before {
    background: url("data:image/svg+xml,%3Csvg width='32' height='21' viewBox='0 0 32 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.0466 20.2584L3.66294 13.6891C1.89155 12.5684 1.78626 10.0229 3.45906 8.75973L14.0466 0.765029' stroke='%230063A5' stroke-linecap='round'/%3E%3Cpath d='M31.0466 20.2584L20.6629 13.6891C18.8915 12.5684 18.7863 10.0229 20.4591 8.75973L31.0466 0.765029' stroke='%230063A5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a::after,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover::after {
    display: inline-flex;
    width: 24px;
    height: 16px;
    margin-left: 6px;
    content: '';
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='33' height='21' viewBox='0 0 33 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.0469 0.765076L28.4306 7.33435C30.202 8.45503 30.3072 11.0006 28.6344 12.2637L18.0469 20.2584' stroke='%230063A5' stroke-linecap='round'/%3E%3Cpath d='M1.04688 0.765076L11.4306 7.33435C13.202 8.45503 13.3072 11.0006 11.6344 12.2637L1.04687 20.2584' stroke='%230063A5' stroke-linecap='round'/%3E%3C/svg%3E");
    transform: scaleX(1);
}
.tribe-events-sub-nav li a {
	background: none;
}
.cat_sports-registrations .tribe-events-single-event-description.tribe-events-content a {
    color: #fff;
		text-decoration: none !important;
    background-color: #6E2C90;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 100px;
    line-height: 3;
    font-weight: 500;
}
.cat_sports-registrations .tribe-events-single-event-description.tribe-events-content a:hover {
    color: #fff;
    background: linear-gradient(95.91deg, #6E2C90 37.14%, #CC2229 106.87%);
    text-decoration: none !important;
}
.single-tribe_events .site-inner {
    padding: 0;
}

/* Add to Calendar - outlined button */
.add-to-calendar,
.add-to-calendar a,
.add-to-calendar-button,
a.add-to-calendar-button,
.tribe-events .tribe-events-c-subscribe-dropdown__button {
    background-color: transparent !important;
    color: #0063A5 !important;
    border: 2px solid #0063A5 !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

/* Hover - fill with blue */
.add-to-calendar:hover,
.add-to-calendar a:hover,
.add-to-calendar-button:hover,
a.add-to-calendar-button:hover,
.tribe-events .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #0063A5 !important;
    color: #ffffff !important;
    border-color: #0063A5 !important;
}
/* End Events Calendar */ 