/**
 * Serviceability check form (rocket-internet-commerce widget) on the Check Availability page.
 */

.page-id-565 .current-menu-item,
.page-id-565 .elementor-widget-woocommerce-menu-cart {
	display: none !important;
}

.rocket-widget-input-group {
	text-align: center;
}

#serviceability-check-form .autoComplete_wrapper > input {
	background-image: url("../images/search.svg");
	border: rgba(1, 62, 84, .3);
}

#serviceability-check-form .autoComplete_wrapper > input:focus {
	box-shadow: 0 0 10px 5px var(--ri-color-yellow);
}

#serviceability-check-form .autoComplete_wrapper > ul {
	z-index: 9999;
}

#serviceability-check-form .autoComplete_wrapper > ul > li mark {
	color: var(--ri-color-teal);
}

#serviceability-check-form .autoComplete_wrapper > ul > li:hover {
	background-color: rgba(1, 62, 84, .15);
}

#rocket-serviceability-check-address {
	width: clamp(370px, 40vw, 530px);
	border-color: #000;
	border-radius: 0;
	color: var(--ri-color-teal);
}

#rocket-serviceability-check-address::placeholder {
	color: var(--ri-color-teal);
	font-family: var(--ri-font-chillax);
}

#serviceability-check-form-submit {
	margin: 0 0 0 10px;
	padding: 15px 20px;
	border-radius: 0;
	background-color: var(--ri-color-yellow);
	color: var(--ri-color-teal);
	font-family: var(--ri-font-chillax);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

#serviceability-check-form-submit:hover {
	transform: scale(1.1);
	transition: all 0.2s ease-in-out;
}

#rocket-widget-message {
	margin-top: 4rem;
	color: var(--ri-color-white);
	font-family: var(--ri-font-chillax);
	font-size: 20px;
	text-align: center;
}

#rocket-widget-message a {
	display: inline-flex;
	justify-self: center;
	margin-top: 1rem;
	padding: 15px 20px;
	background-color: var(--ri-color-yellow);
	color: var(--ri-color-teal);
	font-family: var(--ri-font-chillax);
	font-size: 16px;
	font-weight: 700;
	transition: all 0.2s ease-in-out;
}

#rocket-widget-message a:hover {
	transform: scale(1.1);
	transition: all 0.2s ease-in-out;
}

@media (max-width: 540px) {
	#rocket-serviceability-check-address {
		width: 100%;
	}

	#serviceability-check-form-submit {
		margin: 0;
	}

	#serviceability-check-form-submit:hover {
		transform: scale(1.025);
		transition: all 0.2s ease-in-out;
	}

	.rocket-widget-input-group .autoComplete_wrapper,
	#serviceability-check-form-submit,
	#rocket-widget-message {
		float: left;
		width: 100%;
		padding-bottom: 15px;
	}
}
