/*
Theme Name: Yeehaw & Yarns
Author: Shortie Designs
Author URI: https://shortiedesigns.com
Description: A custom theme for Yeehaw & Yarns
*/

*,
*::before,
*::after {
	box-sizing: border-box;
	background-repeat: no-repeat;
	position: relative;
}

body, html {
	position: static;
}

a {
	color: inherit;
	transition: .3s ease all;
}

a:hover {
	text-decoration: none;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

p:last-child {
	margin-bottom: 0;
}

iframe {
	max-width: 100%;
}

.site-footer {
	padding-top: var(--wp--preset--spacing--x-small);
	padding-bottom: var(--wp--preset--spacing--x-small);
}

.site-footer__attribution {
	font-family: Cooper BT;
	font-size: .8rem;
}

.wp-block-button__link,
.wp-block-button__link.has-primary-background-color {
	border: 4px solid var( --wp--preset--color--primary );
}

.wp-block-button__link:hover,
.wp-block-button__link.has-primary-background-color:hover {
	background-color: var( --wp--preset--color--secondary ) !important;
	color: var( --wp--preset--color--primary );
}

.wp-block-button__link.has-secondary-background-color {
	border: 4px solid var( --wp--preset--color--secondary );
	color: var( --wp--preset--color--primary );
}

.wp-block-button__link.has-secondary-background-color:hover {
	background-color: var( --wp--preset--color--primary ) !important;
	color: var( --wp--preset--color--secondary );
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link.has-primary-background-color {
	border: 4px solid var( --wp--preset--color--primary );
	background: none !important;
	color: var( --wp--preset--color--primary );
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link.has-primary-background-color:hover {
	background-color: var( --wp--preset--color--primary ) !important;
	color: var( --wp--preset--color--secondary );
}

.wp-block-button.is-style-outline .wp-block-button__link.has-secondary-background-color {
	border: 4px solid var( --wp--preset--color--secondary );
	background: none !important;
	color: var( --wp--preset--color--secondary );
}

.wp-block-button.is-style-outline .wp-block-button__link.has-secondary-background-color:hover {
	background-color: var( --wp--preset--color--secondary ) !important;
	color: var( --wp--preset--color--primary );
}

.wp-block-button.is-style-outline .wp-block-button__link.has-small-font-size {
	border-width: 2px;
}

.acf-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.5 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: -1;
	visibility: hidden;
	opacity: 0;
	transition: .3s ease all;
	flex-direction: column;
}

.acf-popup--open {
	z-index: 3;
	visibility: visible;
	opacity: 1;
}

.acf-popup__header {
	width: 80%;
	max-width: var( --wp--style--global--content-size );
	text-align: right;
}

.acf-popup__header a {
	color: #fff;
	text-decoration: none;
	line-height: 1;
	padding: 4px;
	display: inline-block;
	font-size: 1rem;
}

.acf-popup__header a:hover {
	opacity: .5;
}

.acf-popup__header a .dashicons {
	width: 32px;
	height: 32px;
	font-size: 32px;
}

.acf-popup__inner {
	width: 80%;
	height: 80%;
	background-color: #fff;
	max-width: var( --wp--style--global--content-size );
	overflow: auto;
	padding: 2rem;
}

.acf-popup__inner--mobile {
	display: none;
}

.acf-popup__inner--mobile.acf-popup__inner--desktop {
	display: block !important;
}

@media ( max-width: 768px ) {
	.acf-popup__inner--desktop {
		display: none;
	}
	.acf-popup__inner--mobile {
		display: block;
	}
}

.instagram-media.instagram-media-rendered {
	min-width: 0 !important;
}

.eventkoi-front div[data-display="calendar"] > .relative div[class="w-full min-w-0"] {
	display: none;
}

.eventkoi-front div[data-display="calendar"] > .relative div[role="radiogroup"] {
	display: none !important;
}

.eventkoi-front div[data-display="calendar"] > .relative button[aria-controls="timezone-listbox"] {
	display: none !important;
}

.eventkoi-front div[data-display="calendar"] > .relative > div[class="flex absolute right-1 top-1 gap-1"] {
	z-index: 2;
}

.eventkoi-front div[data-display="calendar"] > .relative > div[class="flex absolute right-1 top-1 gap-1"] > button:first-child {
	display: none !important;
}

.eventkoi-front div[data-display="calendar"] > .relative div[data-event-popover="true"] a[href] {
	pointer-events: none !important;
}

.eventkoi-front div[data-display="calendar"] > .relative div[data-event-popover="true"] div.flex > button:last-child {
	display: none !important;
}

.eventkoi-front div[data-display="calendar"] > .relative .ek-mobile-only > div:last-child > button {
	display: none !important;
}

.eventkoi-front div[data-display="list"] > .relative > .py-4 {
	display: none;
}

.eventkoi-front div[data-display="list"] > .relative button[aria-controls="timezone-listbox"] {
	display: none !important;
}
