/* GALERIE */
.cms-gallery,
.cms-gallery-classic {
	margin-bottom: 10px;	
}
.cms-gallery:after,
.cms-gallery-classic::after,
.cms-gallery:before,
.cms-gallery-classic::before {
	content: " ";
	display: table;
}
.cms-gallery:after,
.cms-gallery-classic::after {
	clear: both;
}
.cms-main .cms-gallery,
.cms-main .cms-gallery-classic {
	min-width: 200px;
	max-width: 820px;
}

.cms-gallery-main-item {
	float: left;
}
.cms-gallery-image A,
.cms-gallery-image IMG {
	vertical-align: middle;
	margin-bottom: 0 !important;
}
.cms-gallery-image IMG {
	max-width: 100%;
	height: auto;	
}
.cms-gallery-info STRONG {
	display: block;
	font-size: 13px;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* KOMPONENTA IMAGESTORAGE */
.cms-gallery-classic .cms-gallery-item {
	background-color: #EAEAEA;
	height: 200px;
	width: 200px;
	text-align: center;
	margin-right: 2px;
	margin-top: 2px;		
}
.cms-gallery-classic .cms-gallery-image {
	display: inline;
	line-height: 200px;	
	height: 200px;
	width: 200px;
	text-align: center;
	margin-right: 1px;			
}
.cms-gallery-classic .cms-gallery-image IMG {
	max-height: 190px;	
}
.cms-gallery-classic .cms-gallery-info {
	display: block;
	background-color: #EAEAEA;	
	text-align: center;
	margin-right: 2px;
	margin-top: 1px;	
	width: 200px;	
	padding: 3px 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* KOMPONENTA PHOTOGALLERY */
.cms-gallery .cms-gallery-item {
	background-color: #EAEAEA;
	height: 180px;
	width: 180px;
	text-align: center;
	margin-right: 2px;
	margin-top: 2px;		
}
.cms-gallery .cms-gallery-image {
	display: inline;
	line-height: 180px;	
	height: 180px;
	width: 180px;
	text-align: center;
	margin-right: 1px;	
}
.cms-gallery .cms-gallery-image IMG {
	max-height: 170px;	
}
.cms-gallery .cms-gallery-info {
	background-color: #EAEAEA;	
	text-align: center;
	margin-right: 2px;
	margin-top: 1px;	
	width: 180px;	
	padding: 3px 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* POLL - KOMPONENTA ANKETA */
.cms-component-poll {
	width: 150px;
}
.cms-component-poll .cms-component-poll-question {
	font-weight: bold;
}
.cms-component-poll .cms-component-poll-answer {
}
.cms-component-poll .cms-component-poll-bar {
	width: 100%;
	border: 1px solid red;
	padding: 1px;
}
.cms-component-poll .cms-component-poll-bar-value {
	background-color: red;
	height: 5px;
}
.cms-component-poll .cms-component-poll-count {
}

/* KOMPONENTA YOUTUBE VIDEO */
.cms-youtube-video {
	width: min(100%, 960px);
}
.cms-youtube-video-list {
	max-width: 320px;
}
.cms-youtube-video-admin {
	max-width: 480px;
	margin-top: 0.75rem;
}
.cms-youtube-video-player {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}
.cms-youtube-video-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.cms-youtube-video-thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.cms-youtube-video-unavailable {
	padding: 0.75rem;
	border: 1px solid #ddd;
	background: #f7f7f7;
	color: #666;
	font-size: 0.9em;
}
