@media(max-width: 1125px) {
	.main-navigation ul ul li.menu-item-has-children {
		width: 100%;
		border: none!important;
	}

	.main-nav>ul>li:hover:last-child>ul {
		display: block;
	}
}

@media (max-width: 1050px) {
	form.mpForm {
		position: relative;
	}

	.input-switcher {
		position: absolute;
		right: 8px;
		top: 0;
		height: 120px;
		border-top-right-radius: 10px;
		border-bottom-right-radius: 10px;
		border-right: 1px solid #dddddd;
		border-top: 1px solid #dddddd;
		border-bottom: 1px solid #dddddd;
	}

	.wbtm_start_point {
		margin-bottom: 0!important;
	}

	[name="bus_start_route"] {
		border-bottom: 0;
		border-bottom-left-radius: 0!important;
		border-bottom-right-radius: 0!important;
	}

	[name="bus_end_route"] {
		border-top: 0!important;
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
	}

	.inputList.wbtm_journey_date {
		margin-left: 0!important;
		margin-right: 0!important;
		text-align: center;
		justify-content: space-between;
	}

	.inputList.wbtm_journey_date .fdColumn {
		width: 100%;
	}

	.inputList.wbtm_return_date {
		margin-left: 0!important;
		margin-right: 0!important;
		text-align: center;
		justify-content: space-between;
	}

	.inputList.wbtm_return_date .fdColumn {
		width: 100%;
	}

	/* Return-ticket ("Edasi-tagasi") toggle on mobile: it sat cramped between the
	   journey-date box above and the return-date box / search button below, and the
	   18px checkbox was a hard tap target. Give the row vertical breathing room and
	   enlarge the tap area — the whole label toggles the box, so a min-height + padding
	   on the label grows the hit zone to a comfortable ~44px. !important is needed
	   because WBTM's global stylesheet zeroes inputList margins (.wbtm_search_area
	   .inputList) and label padding (div.wbtm_style label) at higher specificity;
	   flex-shrink:0 stops the flex row from squeezing the checkbox below 24px. */
	.inputList.wbtm_return_toggle {
		margin-left: 0 !important;
		margin-top: 12px !important;
		margin-bottom: 12px !important;
	}

	.wbtm_return_toggle_label {
		padding: 10px 6px !important;
		gap: 12px;
		min-height: 44px;
	}

	.wbtm_return_toggle_label input[type="checkbox"] {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
	}

	.wbtm_style .themeButton, .wbtm_style [class*=_themeButton] {
		margin-left: 0;
		/* font-size: 22px; */
	}

	body div#ui-datepicker-div {
		margin-left: -20px;
	}
}

@media(max-width: 875px) {
	div#primary-menu>ul>li>a {
		padding: 38px 8px;
	}
}


.wbtm_style.wbtm_container {
	padding: 10px;
	padding-top: 30px;
}
