/* The Trnava template class and media query leave desktop 0.4.48 untouched. */
@media (max-width: 780px) {
	html.gb-popup-scroll-lock,
	body.gb-template-city-trnava.gb-popup-scroll-lock {
		height: 100% !important;
		overflow: hidden !important;
		overscroll-behavior: none !important;
	}

	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.jet-popup--show-state,
	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-popup-open,
	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open {
		position: fixed !important;
		inset: 0 !important;
		width: 100% !important;
		max-width: none !important;
		height: 100vh !important;
		min-height: 100vh !important;
		margin: 0 !important;
		overflow: hidden !important;
		touch-action: pan-y !important;
	}

	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.jet-popup--show-state > .jet-popup__inner,
	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-popup-open > .jet-popup__inner,
	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open > .jet-popup__inner {
		position: absolute !important;
		inset: 0 !important;
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		max-height: 100% !important;
		padding: max(10px, env(safe-area-inset-top)) 10px max(24px, env(safe-area-inset-bottom)) !important;
		overflow-x: hidden !important;
		overflow-y: scroll !important;
		-webkit-overflow-scrolling: touch !important;
		overscroll-behavior-x: none !important;
		overscroll-behavior-y: contain !important;
		touch-action: pan-y !important;
	}

	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open .jet-popup__container {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 auto !important;
		overflow: visible !important;
		transform: none !important;
	}

	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open .jet-popup__container-inner,
	html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open .jet-popup__container-content {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}
}

@media (max-width: 780px) {
	@supports (height: 100dvh) {
		html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.jet-popup--show-state,
		html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-popup-open,
		html.gb-popup-scroll-lock body.gb-booking-form-site.gb-template-city-trnava .jet-popup.gb-trnava-scroll-fix-open {
			height: 100dvh !important;
			min-height: 100dvh !important;
		}
	}
}
