/**
 * WordPress-specific styles and theme overrides
 *
 */
/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide {
	margin-left: -10%;
	margin-right: -10%;
	max-width: 120%;
	width: 120%;
}

.alignfull {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	max-width: 100vw;
	width: 100vw;
}

/* ==========================================================================
   WordPress Captions
   ========================================================================== */

.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	display: block;
	width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--body-color);
	padding: 0.5rem 0;
	text-align: center;
}

/* ==========================================================================
   Screen Reader Text
   ========================================================================== */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   Error Page
   ========================================================================== */

.th-error-wrapper {
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.error-number {
	font-size: 150px;
	font-weight: 900;
	color: var(--theme-color);
	line-height: 1;
	margin-bottom: 1rem;
}

.error-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.error-text {
	max-width: 500px;
	margin: 0 auto 2rem;
	color: var(--body-color);
}

/* ==========================================================================
   Site Title (when no logo)
   ========================================================================== */

.site-title {
	font-family: var(--title-font);
	font-weight: 700;
	color: var(--title-color);
	text-decoration: none;
}

.footer-wrapper .site-title {
	color: #fff;
}

/* ==========================================================================
   Header Overrrides
   ========================================================================== */

.header-default .header-button {
	border-left: none;
}

.menu-area .site-title {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0 100px;
	text-align: center;
	color: #fdd40e;
}

/* ==========================================================================
   Custom Logo
   ========================================================================== */

.custom-logo {
	margin-bottom: 0;
}

.custom-logo img {
	position: relative;
	z-index: 11;
	height: 95px;
	width: auto;
}

@media screen and (min-width: 1200px) {
	.custom-logo img {
		height: 145px;
	}
}

.footer-logo .custom-logo img {
	height: 100px;
}

/* ==========================================================================
   Header Logo Shrink on Scroll
   ========================================================================== */

.header-default .header-logo {
	position: absolute;
	top: 0;
	padding-top: 0;
	padding-bottom: 0;

	border-right: none;
}

.header-logo .custom-logo img {
	transition: transform 0.2s ease;
}

.sticky-wrapper.shrink .header-logo .custom-logo img {
	transform: scale(0.625);
	transform-origin: center top;
}

/* ==========================================================================
   Modal (Magnific Popup)
   ========================================================================== */

.mfp-container .mfp-content {
	cursor: pointer !important;
	width: 98% !important;
	margin: auto !important;
	background: #fff;
	padding: 40px 20px;
	margin-top: 40px !important;
	margin-bottom: 40px !important;
}

.mfp-container .mfp-content h1#modal-title {
	text-align: center;
}

.mfp-container .mfp-content .btn-wrap .btn,
.modal-title {
	text-align: center;
}

@media only screen and (min-width: 768px) {
	.mfp-container .mfp-content {
		width: 80% !important;
	}
}

/* ==========================================================================
   Store Locator Search Form
   ========================================================================== */

#address_search {
	gap: 20px;
}

#searchForm {
	padding: 20px 0;
}

#searchForm input[type="text"].label_text {
	width: 82% !important;
}

#searchForm label {
	min-width: 17% !important;
	text-align: right !important;
	vertical-align: middle !important;
}

#search_box #search_box_header,
#results_box #results_box_header {
	background: #f41e1e !important;
}

#searchForm input#addressSubmit.slp_ui_button,
#searchForm #search_box #search_box_form input#addressSubmit {
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	background: #f41e1e !important;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

#searchForm input#addressSubmit.slp_ui_button:hover,
#searchForm #search_box #search_box_form input#addressSubmit:hover {
	background: #a31518 !important;
}

#results_box #results_box_output span.location_name {
	color: #000 !important;
	font-size: 18px;
}

#addy_in_radius,
#searchForm .search_item {
	align-items: center;
}

#addy_in_address label,
#searchForm .search_item label {
	margin-bottom: 0;
}

#searchForm #addy_in_radius,
#searchForm #addy_in_address {
	padding-bottom: 0 !important;
}

@media only screen and (min-width: 768px) {
	#searchForm #addy_in_radius,
	#searchForm #addy_in_address {
		margin: 0;
	}
}

#searchForm #radius_in_submit {
	display: block !important;
	float: none !important;
}

@media only screen and (min-width: 768px) {
	#searchForm #radius_in_submit {
		margin-right: 10px;
		float: right !important;
		display: inline-block !important;
	}
}

/* ==========================================================================
   Store Locator Results
   ========================================================================== */

#results_box #results_box_output .results_row_left_column {
	width: 30% !important;
}

#results_box #results_box_output .results_row_center_column {
	width: 35% !important;
}

#results_box #results_box_output .results_row_right_column {
	width: 35% !important;
}

div.sl_leftcol {
	width: 54% !important;
}

div.sl_rightcol {
	width: 45% !important;
}

@media (max-width: 1000px) {
	div.sl_leftcol,
	div.sl_rightcol {
		width: 100% !important;
	}
}

#tagalong_box,
#slp_tagline {
	display: none;
}

/* ==========================================================================
   Gravity Forms
   ========================================================================== */

.ginput_container.ginput_container_consent {
	margin-top: 20px;
}

.gform_button[type="submit"] {
	width: auto;
	padding: 0 40px;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	background-color: var(--theme-color);
	border: 2px solid var(--theme-color);
	transition: all 0.3s ease;
}

.gform_button[type="submit"]:hover {
	background: #fff;
	color: var(--title-color);
	border: 2px solid var(--title-color);
}
