/***********************************************************************************************
	image-slideshow.css v8 (06.06.2026)
	- Carousel 380x220 - víc prostoru, fotka se nezdá ztracená
	- Flex centrování přesunuto na .panel (ne anchor) - spolehlivější
	- Force float:none na IMG - aby nešel do levého horního rohu
	- !important kdekoli kde potřeba přebít původní pravidla
***********************************************************************************************/

.stepcarousel {
	position: relative !important;
	overflow: hidden !important;
	width: 380px !important;
	height: 220px !important;
	border: none !important;
	float: left !important;
	background: #ffffff !important;
}

.stepcarousel .belt {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
}

.stepcarousel .panel {
	width: 380px !important;
	height: 220px !important;
	float: left !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

/* Klíčové: IMG nesmí být floatovaný, jinak flex centrování ignoruje */
html body .stepcarousel .panel a,
.stepcarousel .panel a {
	display: block !important;
	text-decoration: none !important;
	line-height: 0 !important;
}

html body .stepcarousel .panel a img,
html body .stepcarousel .panel img,
.stepcarousel .panel a img,
.stepcarousel .panel img {
	max-width: 360px !important;
	max-height: 200px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	border: 1px solid #fbd2bd !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	position: static !important;
	vertical-align: middle !important;
}

/* === THUMBNAIL STRIP === */
#dhtmlgoodies_slideshow {
	width: 312px;
	border: 1px solid #f1e5d5;
	height: 80px;
	float: right;
	margin-bottom: 20px;
}

#galleryContainer {
	height: 80px;
	position: relative;
	overflow: hidden;
	padding: 2px;
}

#arrow_left {
	position: absolute;
	padding: 0px 4px;
	left: -2px;
	z-index: 10;
	top: 0;
}

#arrow_right {
	position: absolute;
	right: 1px;
	z-index: 10;
	padding: 0px 4px;
	right: -2px;
	top: 0;
}

#theImages {
	position: absolute;
	width: 100000px;
	padding-left: 15px;
}

#theImages #slideEnd {
	float: left;
}

#theImages img {
	float: left;
	padding: 4px 3px 4px 0px;
	margin-right: 3px;
	cursor: pointer;
	border: 0px;
	background: #fff;
	display: block;
	max-width: 60px;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
}
