/* Services: prevent the active tab content and gallery from being clipped. */
body.page-id-1189 .tab-content,
body.page-id-1189 .tab-pane,
body.page-id-1189 .awb-tab-pane-inner {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

body.page-id-1189 .tab-pane.active {
	min-height: 560px !important;
	padding-top: 12px;
	padding-bottom: 24px;
}

body.page-id-1189 main .fusion-image-carousel,
body.page-id-1189 main .fusion-image-carousel .awb-swiper,
body.page-id-1189 main .fusion-image-carousel .awb-swiper-wrapper,
body.page-id-1189 main .fusion-image-carousel .fusion-carousel-wrapper {
	min-height: 150px !important;
	height: 150px !important;
	max-height: none !important;
	overflow: hidden !important;
}

body.page-id-1189 main .fusion-image-carousel img {
	display: block !important;
	width: 100% !important;
	height: 145px !important;
	object-fit: cover;
}

/* Quarry galleries: give every legacy Avada slider a stable visible frame. */
.trn-quarry-page main .fusion-image-carousel,
.trn-quarry-page main .fusion-image-carousel .awb-swiper,
.trn-quarry-page main .fusion-image-carousel .awb-swiper-wrapper,
.trn-quarry-page main .fusion-image-carousel .fusion-carousel-wrapper,
.trn-quarry-page main .flexslider:not(.tfs-slider) {
	min-height: 130px !important;
	height: 130px !important;
	max-height: none !important;
	overflow: hidden !important;
}

.trn-quarry-page main .fusion-image-carousel img,
.trn-quarry-page main .flexslider:not(.tfs-slider) img {
	display: block !important;
	width: 100% !important;
	height: 115px !important;
	object-fit: contain;
}

/* The contact map should meet the browser edges without container margins. */
.trn-map-row {
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	overflow: visible !important;
}

.trn-map-row > .fusion-builder-row,
.trn-map-row .fusion-row {
	max-width: none !important;
	width: 100% !important;
}

body.page-id-15 #wd-map2 {
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 calc(50% - 50vw) !important;
	border: 0 !important;
}

.trn-map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 20px;
	background: #f4f4f4;
	color: #282828;
	font-size: 14px;
}

.trn-map-legend strong {
	margin-right: 4px;
}

.trn-map-legend a {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 3px;
	background: #ffc72c;
	color: #252525 !important;
	font-weight: 600;
	text-decoration: none;
}

/* Keep the shared quote/contact form clean and consistent. */
.forminator-ui.forminator-custom-form[data-form-id="2140"] {
	max-width: 920px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.forminator-ui.forminator-custom-form[data-form-id="2140"] .forminator-button-submit {
	min-width: 150px;
}

.trn-turnstile-wrap {
	min-height: 70px;
	margin: 8px 0 18px;
}
