/* Mobile navigation: hamburger instead of the "Select menu item" dropdown. */
body.responsive_menu .top_panel_style_1 .content_wrap {
	width: 100% !important;
	max-width: 100%;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

body.responsive_menu .top_panel_style_1 .top_panel_menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	padding: 0 0 8px;
	box-sizing: border-box;
	text-align: right;
}

body.responsive_menu .top_panel_style_1 .menu_main_responsive_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 4px 0 8px auto !important;
	padding: 0 !important;
	float: none !important;
	position: relative;
	font-size: 0 !important;
	line-height: 0;
	color: #fff;
	text-align: center;
	background: transparent;
	border: 0;
}

body.responsive_menu .top_panel_style_1 .menu_main_responsive_button:before {
	content: '\e8ba';
	font-family: fontello;
	font-size: 28px;
	line-height: 1;
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
}

body.responsive_menu .menu_main_responsive {
	clear: both;
	flex: 0 0 100%;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	margin: 0;
	padding: 0 !important;
	overflow: visible !important;
	background: #111;
	text-align: left;
	box-sizing: border-box;
}

body.responsive_menu .menu_main_responsive ul {
	margin: 0;
	padding: 0;
	background: #1b1b1b;
}

body.responsive_menu .menu_main_responsive li {
	display: block;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.responsive_menu .menu_main_responsive li > a,
body.responsive_menu .menu_main_responsive li li > a {
	display: block;
	padding: 14px 18px;
	color: #fff;
	font-size: 16px;
	line-height: 1.3;
	text-transform: none;
}

body.responsive_menu .menu_main_responsive li > a:hover,
body.responsive_menu .menu_main_responsive li.current-menu-item > a,
body.responsive_menu .menu_main_responsive li.current-menu-ancestor > a {
	background: #2a2a2a;
	color: #fff;
}

body.responsive_menu .menu_main_responsive .open_child_menu {
	color: #fff;
}

/* Home slider: the parent stylesheet pushes the caption below the slide on phones. */
@media (max-width: 767px) {
	.revslider-initialised .sc_property.sc_property_style_property-6,
	.slider_engine_revo .sc_property.sc_property_style_property-6 {
		padding-top: 0 !important;
		font-size: 14px !important;
	}

	.revslider-initialised .sc_property.sc_property_style_property-6 .sc_pr_t1,
	.slider_engine_revo .sc_property.sc_property_style_property-6 .sc_pr_t1,
	.revslider-initialised .sc_property.sc_property_style_property-6 .sc_pr_t1 a,
	.slider_engine_revo .sc_property.sc_property_style_property-6 .sc_pr_t1 a {
		width: auto !important;
		max-width: 92vw !important;
		white-space: normal !important;
	}

	.slider_engine_revo rs-module-wrap,
	.slider_engine_revo rs-module {
		max-width: 100% !important;
	}

	/* Keep the black header in its own row so it does not cover the photo. */
	body.home.top_panel_over .top_panel_wrap {
		position: relative;
	}

	/* Logo layer is sized for a much taller slide. Fit it inside the photo. */
	.slider_alias_revsliderHome1 rs-layer-wrap:has(> rs-layer[data-type="image"]) {
		width: auto !important;
		height: 72% !important;
		max-width: 80% !important;
		max-height: 72% !important;
		left: 50% !important;
		top: 50% !important;
		right: auto !important;
		bottom: auto !important;
		transform: translate(-50%, -50%) !important;
	}

	.slider_alias_revsliderHome1 rs-layer[data-type="image"] {
		width: auto !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
		left: auto !important;
		top: auto !important;
		transform: none !important;
	}

	.slider_alias_revsliderHome1 rs-layer[data-type="image"] img {
		width: auto !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
	}

	/* Property caption spans the slide and stays centered. */
	.slider_alias_revsliderHome1 rs-layer-wrap:has(> rs-layer[data-type="text"]) {
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: auto !important;
		top: 50% !important;
		bottom: auto !important;
		margin: 0 !important;
		text-align: center !important;
		transform: translateY(-50%) !important;
	}

	.slider_alias_revsliderHome1 rs-layer[data-type="text"] {
		position: relative !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 auto !important;
		white-space: normal !important;
		text-align: center !important;
		transform: none !important;
	}

	.slider_alias_revsliderHome1 .sc_property_wrap,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 {
		width: 100% !important;
		font-size: 8px !important;
		padding-top: 0 !important;
		text-align: center !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_property_item {
		display: inline-block !important;
		width: auto !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
		float: none !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_h1 {
		border-width: 4px !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_h2 {
		padding: 0.7em 1.1em !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t1,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t1 a,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t2,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_h1,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_h2,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_f1,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_f12 {
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
		float: none !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t1,
	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t1 a {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		font-size: 18px !important;
		line-height: 1.15 !important;
		white-space: normal !important;
		text-align: center !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_t2 {
		font-size: 14px !important;
		padding-bottom: 0.45em !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_f11 {
		border-left-width: 4px !important;
		border-right-width: 4px !important;
	}

	.slider_alias_revsliderHome1 .sc_property.sc_property_style_property-6 .sc_pr_f12 {
		font-size: 16px !important;
		padding: 0.35em 0.8em !important;
	}
}

/* Slider arrows are turned off below 1024px. Show them on the side edges only while hovered. */
@media (max-width: 1023px) {
	.slider_alias_revsliderHome1 .tparrows,
	.slider_alias_revsliderHome1 .tparrows.tp-forcenotvisible {
		display: block !important;
		width: 36px !important;
		height: 36px !important;
		top: 50% !important;
		margin: 0 !important;
		background: transparent !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		z-index: 1000 !important;
	}

	.slider_alias_revsliderHome1 .tp-leftarrow.tparrows {
		left: 4px !important;
		right: auto !important;
		transform: translateY(-50%) !important;
	}

	.slider_alias_revsliderHome1 .tp-rightarrow.tparrows {
		left: auto !important;
		right: 4px !important;
		transform: translateY(-50%) !important;
	}

	.slider_alias_revsliderHome1:hover .tparrows,
	.slider_alias_revsliderHome1:hover .tparrows.tp-forcenotvisible {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}

	.slider_alias_revsliderHome1 .uranus.tparrows:before {
		width: 36px !important;
		height: 36px !important;
		line-height: 36px !important;
		font-size: 22px !important;
		color: #fff !important;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
	}
}
