/*
 Theme Name:   GeneratePress - Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme, mainly for custom CSS.
 Author:       Dave Warfel
 Author URI:   https://davewarfel.com
 Template:     generatepress
 Version:      1.0
*/

/*** VARIABLES ***/
:root {
	--rounded-s: 8px;
	--rounded-m: 15px;
	--rounded-l: 24px;
}

body.single-competitions {
	scroll-behavior: smooth;
}

.bg-gradient-light {
	background-color: var(--white);
	background-image:
		linear-gradient(0deg, #fff, rgba(255,255,255,0) 15%, rgba(255,255,255,0)),
		radial-gradient(at 54% 59%, hsla(191,22%,95%,1) 0px, transparent 50%),
		radial-gradient(at 0% 0%, hsla(191,23%,95%,1) 0px, transparent 50%),
		radial-gradient(at 45% 24%, hsla(180,49%,90%,1) 0px, transparent 50%),
		radial-gradient(at 40% 39%, hsla(191,23%,95%,1) 0px, transparent 50%),
		radial-gradient(at 83% 84%, hsla(181,33%,85%,1) 0px, transparent 50%);
	background-repeat: no-repeat;
	background-size: 100% 800px;
}

.site {
	min-height: 80vh;
}

.inside-header {
	max-width: 1550px;
	margin-inline: auto;
}

/* .site-main p:last-child:last-of-type {
	margin-bottom: 0;
} */

/* Links, in article content */
.inside-article a:not(.btn) {
	color: var(--primary-700);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-color: var(--primary-700);
	transition: all 120ms ease-in-out;
}

.inside-article a:hover:not(.btn) {
	color: var(--primary-900);
	text-underline-offset: 2px;
	text-decoration-color: var(--primary-900);
}

/* Buttons */
button,
a.button,
a.wp-block-button__link:not(.has-background) {
	border-radius: 6px;
	line-height: 1;
	padding: 9px 16px;
	font-weight: 600;
}

.entry-meta {
	font-size: 90%;
	font-weight: 500;
	letter-spacing: -0.02em;
}
.entry-content .message {
	padding: 1rem 1.5rem;
	margin-bottom: 1.5em;
	background: #fff;
	border-top: 5px solid #ffeb3b;
	box-shadow: 0 8px 12px rgba(0,0,0,0.07);
}
.entry-content .highlight {
	padding: 1px 3px;
	background: #ffeb3b;
	font-weight: bold;
}
.wp-caption .wp-caption-text {
	padding:  6px 4px 4px;
	opacity: 0.5;
	font-weight: 500;
}
abbr, acronym {
	border-color: currentcolor;
}
abbr[title] {
	text-decoration: none;
}

/* h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
} */

h2 a,
h3 a,
h4 a {
	font-weight: inherit;
}

ol, ul {
	margin: 0 0 1.5em 2em;
}

ol ol,
ol ul,
ul ol,
ul ul {
	margin-top: 10px;
}
.entry-content li {
	line-height: 1.3;
	margin-bottom: 12px;
}
.text.positive {
	color: #2e7d32;
}
.text.negative {
	color: #d32f2f;
}
.text-pretty {
	text-wrap: pretty;
}
.text-balance {
	text-wrap: balance;
}
.text-strikethrough-red {
	text-decoration: line-through;
	text-decoration-color: red;
}

.text-gradient {
	background-image: linear-gradient(45deg, #4848e8 0%, #f70de7 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

/*** Highlighter Text (.gb-highlight) ***/
.gb-highlight {
	
}

.flex {
	display: flex;
}
.flex-center {
	align-items: center;
	justify-content: center;
}

figure {
	margin-bottom: 1.5em;
}
figcaption,
.wp-block-image figcaption {
	font-size: 0.9em;
	color: #999;
	padding-inline: 3px;
}
table {
	background: #fff;
	margin-bottom: 0.25em;
}
thead th, th {
	background: #000;
	color: #fff;
	text-align: inherit;
}
table.striped tr:nth-child(odd) {
	background: #f4f4f4;
}
code, kbd, tt, var {
	padding: 1px 5px 3px;
	background: #fff;
	border: 1px dotted rgba(0,0,0,0.2);
	font-family: 'Roboto Mono', monospace;
	font-size: 95%;
	color: #d81b60;
	letter-spacing: -0.02em;
}
pre {
	background: #222;
}
pre code {
	padding: 0;
	background: transparent;
	border: 0;
	color: #fff;
}
.button-group .button {
	margin-right: 8px;
}

hr.wp-block-separator {
	border: 0;
}

/* Forms */
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
	border-radius: 4px;
}

/* GeneratePress Site CSS */

/* Site Header */
.site-header {
	border-bottom: 1px solid black;
}
@media (max-width: 1024px) {
	.site-header .header-image {
		width: 130px;
		margin-block: 6px;
	}
}

/* Sub-menu effect */
.main-navigation ul ul {
	left: auto;
	transition: opacity 70ms ease-in-out, transform 100ms ease-in-out;
	transform: translate(-4px, -4px);
	height: auto;
	border: 1px solid black;
	border-bottom: 2px solid black;
	box-shadow:
		0px 15px 22px -3px rgba(41,69,70,0.1),
		0px 10px 15px -3px rgba(41,69,70,0.1),
		0px 5px 8px -3px rgba(41,69,70,0.15);
	padding: 0;
}
@media (max-width: 1024px) {
	.main-navigation.toggled .main-nav ul ul.toggled-on {
		margin-bottom: 15px;
	}
}


.main-navigation .main-nav ul ul li {
	border-bottom: 1px solid black;
}

.main-navigation:not(.toggled) ul li:hover>ul,
.main-navigation:not(.toggled) ul li.sfHover>ul {
	transform: translate(-4px, 0);
	overflow: hidden;
}

.slideout-navigation.do-overlay .slideout-menu .sub-menu li a {
	display: block;
}

/* Footer widget icons */
.footer-widget-1 {
	text-align: center;
}

.footer-icons a {
	padding: 5px;
	display: inline-block;
}

/* Center off canvas close button */
@media (max-width: 768px) {
	.slideout-navigation.do-overlay .slideout-exit {
		text-align: center;
	}
} /* End GeneratePress Site CSS */

/**
 * WS Form
 */
/* Tooltips */
body .wsf-form [data-wsf-tooltip]::after {
	text-align: left;
	border: 1px solid #ddd;
	box-shadow: 0 1px 3px rgba(0,0,0,0.09);
}

/* Readonly Fields */
body .wsf-form input[type=text].wsf-field[readonly],
body .wsf-form input[type=text].wsf-field[readonly]:hover,
body .wsf-form input[type=text].wsf-field[readonly]:focus {
	background: #eee !important;
	border-color: #ddd !important;
	color: #888;
	box-shadow: none;
	pointer-events: none;
}
body .wsf-form .discount input[type=text].wsf-field[readonly],
body .wsf-form .discount input[type=text].wsf-field[readonly]:hover,
body .wsf-form .discount input[type=text].wsf-field[readonly]:focus {
	color: var(--wsf-field-invalid-feedback-color);
	font-weight: 600;
}
body .wsf-form .cart-total input[type=text].wsf-field[readonly],
body .wsf-form .cart-total input[type=text].wsf-field[readonly]:hover,
body .wsf-form .cart-total input[type=text].wsf-field[readonly]:focus {
	color: var(--wsf-form-color-success);
	font-weight: 600;
	background: #d7f7dd !important;
	border: 2px solid var(--wsf-form-color-success) !important;
}

/* Numbered Steps/Tabs */
.wsf-form ul.wsf-group-tabs.wsf-steps {
	background: #f9f9f9;
	padding: 1.5rem 0.5rem;
}

/**
 * FacetWP
 */

/* Hide "enable map filtering" button */
.facetwp-map-filtering { 
	display: none; 
}
/* Remove default bottom margin on all facets */
body .facetwp-facet {
	margin: 0;
}

/* Checkboxes & Radios */
body .facetwp-checkbox,
body .facetwp-radio {
	padding: 3px 10px 3px 34px;
	margin: 1px;
	background-position: 12px 50%;
	border-radius: 4px;
}
body .facetwp-checkbox:hover,
body .facetwp-radio:hover {
	background-color: #f7f8f9;
}
body .facetwp-checkbox.checked .facetwp-display-value,
body .facetwp-radio.checked .facetwp-display-value {
	font-weight: 600;
	color: #4848e8;
}
/* Indented checkboxes -aka- taxonomy children */
body .facetwp-depth {
	margin: 0;
}
body .facetwp-depth .facetwp-checkbox {
	padding-left: 46px;
	background-position: 24px 50%;
}
/* Checkbox & Radio Counters */
.facetwp-counter {
	color: #aaa;
}
/* Proximity Facet */
body .facetwp-facet.facetwp-type-proximity,
body .facetwp-type-date_range {
	display: flex;
	background: rgba(0,0,0,0.07);
	padding: 0.4rem;
	border-radius: 4px;
	margin-block: 1rem;
}
body .facetwp-facet input.facetwp-location {
	min-width: unset;
	max-width: 226px;
}
/* Reset Button Facet */
.facetwp-type-reset {
	text-align: center;
}
/* Date Range Facet */
body input[type="text"].facetwp-date {
	max-width: 150px;
}
/* Pager Facet: Page Numbers */
.facetwp-pager .facetwp-page {
	display: inline-block;
	min-width: 40px;
	padding: 9px 12px;
	border: 1px solid #ddd;
	font-size: 1.2rem;
	font-weight: 600;
	color: #222;
	text-decoration: none;
	text-align: center;
	line-height: 1;
}
.facetwp-pager .facetwp-page:last-child {
	margin: 0;
}
.facetwp-pager .facetwp-page:hover,
.facetwp-pager .facetwp-page:focus {
	background: #fff;
	border-color: #4848e8;
	color: #4848e8;
	text-decoration: none;
}
.facetwp-pager .facetwp-page.active {
	background: #fff;
	border-color: #4848e8;
	color: #4848e8;
	box-shadow: inset 0 0 0 1px #4848e8;
}
/* Pager Facet: Page Count */
.facetwp-facet-pager_page_count {
	color: #aaa;
	font-size: 1rem;
}

/* Autocomplete Facet */
.fcomplete-wrap {
	border-radius: 0 6px 6px 6px;
	box-shadow: 0 8px 22px rgba(0,0,0,0.2);
	overflow: hidden;
	/* Was showing up behind the main results list titles */
	z-index: 5;
}
.fcomplete-result {
	border-bottom: 1px solid #eee;
}
.fcomplete-result:last-child {
	border-bottom: 0;
}
.fcomplete-result:hover {
	color: #1616ba;
}
input[type="text"].facetwp-autocomplete {
	border-radius: 6px 0 0 6px;
}
input[type="button"].facetwp-autocomplete-update {
	border-radius: 0 6px 6px 0;
}

/* Map Facet */
/* .gm-style-iw is the info window container */
.gm-style .gm-style-iw {
	min-width: 200px !important;
	border-radius: 4px;
	font-family: var(--gp-font--outfit);
	font-size: 15px;
	font-weight: 500;
	color: #525252;
}
/* My Own Container Class */
.gm-container {
	padding-top: 10px;
}
/* Close Button */
.gm-style-iw-chr {
	position: absolute;
	top: 0;
	right: 0;
}
.gm-style-iw-chr button {
	display: flex !important;
	width: 36px !important;
	height: 36px !important;
	justify-content: center !important;
	align-items: center !important;
}
.gm-style-iw-chr button span {
	margin: 0 !important;
}
/* Map Info Window Content */
.gm-style-iw p {
	line-height: 1.25;
	margin-bottom: 2px;
}
.gm-style .gm-style-iw .gm-title {
	color: #222;
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.02rem;
}
.gm-location svg {
	margin-right: 0.25rem;
}
.gm-container .gm-date {
	display: inline-block;
	padding: 4px 10px;
	margin-bottom: 10px;
	background: #222;
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.02rem;
	word-spacing: 3px;
	line-height: 1;
}
.gm-container .btn {
	display: block;
	margin-top: 8px;
	font-weight: 600;
}