/*
 * Calls to action higher up the page: two buttons in the home page hero and a bar fixed to the
 * bottom of the screen on phones, which takes over from the hero buttons there. Both open the
 * existing contact panels (custom.js).
 */

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
}

.hero-cta .contact-btn {
	min-width: 300px;
	border: 0;
}

.mobile-cta-bar {
	display: none;
}

@media only screen and (max-width: 767px) {
	/* The bottom bar holds the same buttons on phones. */
	.hero-cta {
		display: none;
	}

	.mobile-cta-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 998;
		display: flex;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, .2);
	}

	.mobile-cta {
		flex: 1 1 50%;
		height: 52px;
		padding: 0 10px;
		border: 0;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		background-color: #000;
		cursor: pointer;
	}

	/* Dark enough for white text to pass WCAG AA (5.1:1). */
	.mobile-cta + .mobile-cta {
		background-color: #6e6e6e;
	}

	/* The bar replaces the side tab on phones; the tab's panels stay in use. */
	.sticky-img-block {
		display: none;
	}

	body {
		padding-bottom: 52px;
	}
}
