/* -----------------------------------------------*/
/* To be migrated to master stylesheet * /

/* Locations listing -page card button icons */
.c-search-list__item-actions a.directions-link::after,
.c-search-list__item-actions a.phone-link::after {
	font-weight: 500;
}

/* Location page get directions link */
.c-location-data__address a::before {
	font-weight: 500;
}

/* Fifty-Fifty, inlined buttons in dark mode */
.c-fifty-fifty--dark-mode .c-fifty-fifty__content .s-richtext a.button,
.c-fifty-fifty--dark-gradient .c-fifty-fifty__content .s-richtext a.button {
	background-color: #ffffff;
	border: 1px solid #f9f9f9;
	color: #333 !important;
}

.c-fifty-fifty--dark-mode .c-fifty-fifty__content .s-richtext a.button:hover,
.c-fifty-fifty--dark-gradient .c-fifty-fifty__content .s-richtext a.button:hover {
	border: 1px solid #fff;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), #830065;
	color: #fff !important;
	outline: none;
}

/* Featured icons wonky sizing (Stretching) */
.c-feature-routing__card-icon img {
	width: auto;
}

@media screen and (min-width: 1024px) {
	.c-feature-routing.c-feature-routing-4 .c-feature-routing__card {
		max-width: 220px;
	}
}
/* Photo caption - Reduced padding */
figcaption .s-richtext {
	padding: 16px 0;
}

/* Full-width callout box */
.c-callout {
	flex: 1;
}

/* Routing Card button positioning */
.c-routing-card__content p {
	flex: 1;
}

p.c-routing-card__action {
	display: flex;
	align-items: flex-end;
}

/*  Accordions are bigger than the current setting - Increasing max-height */
.c-accordion__content.active {
	max-height: 1500px;
}

/* Hero - Fixing when it is too big. */
@media screen and (min-width: 1024px) {
	.c-hero::after {
		display: block;
		padding: 0 0 25px 0;
	}
}
@media screen and (min-width: 1024px) {
	.c-hero__content {
		position: relative;
		transform: none;
	}
}

@media (max-width: 769px) {
	/* Removes dead space above content header */
	section > .c-section {
		padding-top: 0;
	}

	/* Global site search - Search icon style */
	button.js-yext-submit.yxt-SearchBar-button {
		border-top: 1px solid #434343;
		border-right: 1px solid #434343;
		border-bottom: 1px solid #434343;
	}
}
