.sbernaPhotoList .item {
	position	: relative;
	display		: inline-block;
	width		: 205px;
	border		: 1px solid silver;
	margin		: 2px;
	vertical-align	: top;
	box-sizing	: border-box;
}
	.sbernaPhotoList .itemContent {
		position	: relative;
	}
	.sbernaPhotoList .item .title {
		background	: silver;
		font-weight	: bold;
		padding		: 5px 5px 5px 0;
		z-index		: 9999;
	}
		.sbernaPhotoList .item .title.selected {
			background	: #f35822;
			color		: white;
		}
		.sbernaPhotoList .item .canvasContainer {
			position	: relative;
			display		: block;
			width		: 203px;
			height		: 203px;
			line-height	: 203px;
			/*margin		: 10px;*/
			text-align	: center;
			box-sizing	: border-box;
			background-color: #e7e7e7;
			/*background	: #e7e7e7 url(../images/ajax-loader-2.gif) center no-repeat;*/
		}
			.sbernaPhotoList .item .canvas/*, #productImage .canvas*/ {
				position	: relative;
				margin		: auto;
				overflow	: hidden;
				width		: 100%;
				height		: 100%;
				text-align	: center;
				/*border		: 1px solid #c0c0c0;*/
				display		: inline-block;
				vertical-align	: middle;
				box-sizing	: border-box;
				background	: white;
				max-width	: 100%;
				max-height	: 100%;
			}
				 #productImage .canvas img.im_layer_bg {
				 	position	: relative;
				 	width		: auto;
				 	height		: auto;
				 	max-width	: 100%;
				 	max-height	: 100%;
				 }
				.sbernaPhotoList .item .canvas img, #productImage .canvas img:not(.im_layer_bg) {
						position	: absolute;
						width		: 100%;
						height		: 100%;
						/*display		: none;*/
				}
			.sbernaPhotoList .item .form {
				position	: relative;
				display		: inline-block;
				padding		: 10px;
				vertical-align	: top;
			}

/*.sbernaPhotoList .photoItemCheckbox {
	position	: absolute;
	top		: 2px;
	left		: 2px;
	z-index		: 99999;
}*/

.sbernaPhotoList .bottom {
	padding		: 2px 5px;
	border-top	: 1px solid #c0c0c0;
}

.sbernaPhotoList .productParamsForm {
	display		: none;
	position	: absolute;
	bottom		: 0;
	left		: 0;
	box-sizing	: border-box;
	background	: rgba(255,255,255,.95);
	width		: 100%;
	height		: 100%;
	padding		: 10px 5px;
	z-index		: 7776;
}
	.sbernaPhotoList .productParamsForm > * {
		zoom		: .85;
		-moz-transform	: scale(.85);
	}
	.sbernaPhotoList .productParamsForm input,
	.sbernaPhotoList .productParamsForm select {
		padding		: 5px;
	}

.sbernaPhotoList ul.itemLabels {
	position	: absolute;
	top		: 0;
	right		: 0;
	list-style-type	: none;
	margin		: 0;
	padding		: 0;
	text-align	: right;
}
	.sbernaPhotoList ul.itemLabels li {
		position	: relative;
		right		: 0px;
		display		: block;
		background	: white;
		padding		: 2px 5px;
		margin		: 5px 0;
		border		: 1px solid #c0c0c0;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
	}

.photo-order-col-left {
	border-right	: 1px solid #cdcdcd;
	padding-right	: 25px;
}
.photo-order-col-right {
	padding-left	: 25px;
}
.photo-order-button {
	position	: relative;
	display		: block;
	margin		: 5px 0;
}
	.photo-order-button.small {
		font-size	: 80%;
	}

.photo-order-button-wrap {
	margin		: 0 20px;
}

.photo-order-button-bg {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#efefef+0,cecece+100 */
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #efefef 0%, #cecece 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #efefef 0%,#cecece 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #efefef 0%,#cecece 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#cecece',GradientType=0 ); /* IE6-9 */
}
	.photo-order-button a {
		position	: relative;
		display		: block;
		cursor		: pointer;
		text-decoration	: none;
	}
	.photo-order-button-no-bg {
		background	: none;
	}
	.photo-order-button .title {
		position	: relative;
		display		: block;
		font-weight	: bold;
		text-align	: center;
		color		: #adadad;
		text-transform	: uppercase;
		border-bottom	: 1px solid #c7c7c7;
		line-height	: 32px;
	}
		.photo-order-button .title.no-border {
			border		: none;
		}
	.photo-order-button .value {
		position	: relative;
		display		: block;
		font-weight	: bold;
		text-align	: center;
		color		: #474747;
		line-height	: 32px;
	}

.photo-order-photos-count-button .title {
	border		: none;
}
.photo-order-photos-count-input {
	text-align	: center;
	width		: 100%;
	height		: 100%;
	margin		: 5px 0;
	font-size	: .85em;
	font-weight	: bold;
	padding		: 0;
	margin		: 2px;
}

.photo-order-table-prices {
	color		: #878787;
	float		: right;
	margin-top	: 20px;
}
.photo-order-table-prices th,
.photo-order-table-prices td {
	padding		: 2px 15px;
	text-align	: center;
}
.photo-order-table-prices thead th {
	color		: #cfcfcf;
	font-weight	: normal;
}
.photo-order-table-prices tbody th {
	color		: #878787;
	font-weight	: normal;
	text-align	: right;
}
.photo-order-table-prices tbody td {
	font-weight	: bold;
}

.button.button-xl {
	text-transform	: uppercase;
	padding		: 20px;
}

.row.thin-margin {
	margin-left	: -3px;
	margin-right	: -3px;
}
	.row.thin-margin .col-xs-3 {
		padding-left	: 3px;
		padding-right	: 3px;
	}

.pull-bottom {
	display		: inline-block;
	vertical-align	: bottom;
	float		: none;
	margin-right	: -4px;
}

.sbernaPhotoList {
	margin		: 20px -3px;
}
	.sbernaPhotoList .item {
		margin		: 3px;
		display		: block;
		float		: left;
		width		: 203px;
	}
	.sbernaPhotoList .item .canvasContainer {
		width		: 201px;
	}

.photo-order-table-review {
	width		: 100%;
	margin		: 20px 0;
}
	.photo-order-table-review tr:not(:last-child) {
		border-bottom	: 1px solid #cfcfcf;
	}
	.photo-order-table-review th,
	.photo-order-table-review td {
		padding		: 10px 5px;
		text-align	: right;
		vertical-align	: bottom;
		white-space	: nowrap;
	}
	.photo-order-table-review th {
		text-align	: left;
		width		: 100%;
	}
	.photo-order-table-review td.pcs {
		font-weight	: bold;
		color		: #9c9c9c;
	}
	.photo-order-table-review td.price {
		font-weight	: bold;
	}
		.photo-order-table-review td.price .number {
			font-size	: 150%;
			padding-right	: 5px;
		}

.tabs.tabs-light li.ui-state-default {
	background	: #ffffff;
	border		: none;
	border-bottom	: 3px solid transparent;
}
.tabs.tabs-light.ui-tabs {
	padding		: 0;
}
.tabs.tabs-light li.ui-state-default .ui-tabs-anchor {
	display		: block;
	border		: none;
	float		: none;
	padding		: 5px;
	cursor		: pointer;
}
	.tabs.tabs-light li.ui-state-default .ui-tabs-anchor .tabs-title {
		display		: block;
		text-transform	: uppercase;
		color		: #bfbfbf;
		font-size	: 1em;
		padding		: 2px;
	}
	.tabs.tabs-light li.ui-state-default .ui-tabs-anchor .tabs-value {
		display		: block;
		color		: #585858;
		font-size	: .75em;
		padding		: 2px;
	}
.tabs.tabs-light li.ui-state-default.ui-tabs-active {
	background	: #f0f0f0;
	border-bottom	: 3px solid #f3632e;
}
.tabs.tabs-light .ui-tabs-panel,
.photoOptionsWrap {
	border		: none;
	background	: #efefef;
	padding		: 10px 0;
	overflow	: hidden;
}

.tabs.tabs-light .ui-tabs-nav {
	padding		: 0;
}

.photoModuleModal {
	width		: 600px;
}

.photoModuleModalHeader h2,
.photoModuleModalHeader .buttonsWrap {
	padding		: 20px;
}

.photoModuleModal .tabs-header > li {
	/*width		: 33.333333%;*/
	text-align	: center;
}

.photoModuleModal .photoOptionWrap {
	background	: white;
	border		: 1px solid transparent;
	border-left	: 5px solid transparent;
	border-right	: 5px solid transparent;
	margin		: 15px 0;
	padding		: 15px;
	box-shadow	: 0 0 5px 0px rgba(0,0,0,.25);
}
	.photoModuleModal .photoOptionWrap.active {
		border-color	: #f3632e;
	}
	.photoModuleModal .photoOptionWrap > table {
		width		: 100%;
	}
	.photoModuleModal .photoOptionWrap .photoOptionImg {
		width		: 170px;
		text-align	: center;
		line-height	: 112px;
		vertical-align	: top;
		padding-right	: 20px;
	}
	.photoModuleModal .photoOptionWrap .photoOptionValue {
		vertical-align	: top;
	}
	.photoModuleModal .photoOptionWrap .photoOptionValue label {
		text-transform	: uppercase;
	}
	.photoModuleModal .photoOptionWrap .photoOptionValue select {
		background	: white;
		border		: 1px solid #c1c1c1;
		margin		: 10px 0;
	}
	.photoModuleModal .photoOptionWrap .photoOptionValue .description {
		color		: #9e9e9e;
	}
.photoModuleModal .buttons input[type=submit],
.photoModuleModal .buttons a,button {
	padding		: 8px 30px;
	margin-bottom	: 15px;
}
.photoModuleModal .buttonsWrap {
	padding		: 0 20px;
}
	.photoModuleModal .buttonsWrap input[type=submit],
	.photoModuleModal .buttonsWrap a.button {
		padding		: 15px 50px;
		text-transform	: uppercase;
	}

.orderCommonParamsWrap {
	/*position	: relative;
	height		: 100%;*/
	position	: absolute;
	top		: 0;
	left		: 20px;
	right		: 20px;
	bottom		: 0;
	padding-bottom	: 10px;
}

.photo-order-button-bottom-wrap {
	position	: absolute;
	bottom		: 0;
	width		: 100%;
}

a.button-photolist {
	padding		: 5px 10px;
	width		: 60px;
}

.sbernaPhotoList .productParamsForm input,
.sbernaPhotoList .productParamsForm select {
	margin		: 2px 0;
	max-width	: 120px;
}

.photoModuleModalFB .fancybox-skin {
	background	: transparent;
	box-shadow	: none;
}
	.photoModuleModalFB .fancybox-skin .fancybox-outer {
		background	: white;
		box-shadow	: 0 10px 25px rgba(0, 0, 0, 0.5);
	}

.sbernaPhotoList .title > label {
	white-space	: nowrap;
	overflow	: hidden;
}
.sbernaPhotoList .bottom {
	height		: 110px;
}

.photoItemSummary {
	margin-left	: 10px;
}

.photo-common-params {
	gap		: 6px;
}

ul.tabs-header {
	display		: flex;
}
	ul.tabs-header > li {
		flex		: auto;
	}

/* Mobilizace fotomodulu */

.photoModuleMainWrap ._orderRowPcs-right span.mobile {
	display		: none;
}

.photoModuleMainWrap .photo-order-button-bottom-wrap-mobile {
	display		: none;
}

@media (min-width: 901px) {
	._mobileOnly { display:none !important; }
}

@media (max-width: 900px) {
	
	._desktopOnly { display:none !important; }
	
	.hide-mobile {
		display		: none !important;
	}
	
	.photoModuleMainWrap {
		display		: flex;
		flex-direction	: column;
		margin-left	: -20px;
		margin-right	: -20px;
	}
	
	.photoModuleMainWrap .photo-order-col-left {
		order		: 2;
		padding		: 10px;
		margin		: 0;
		width		: 100%;
		border		: none;
	}
	
	.photoModuleMainWrap .photo-order-col-right {
		order		: 1;
		padding		: 10px;
		margin		: 0;
		width		: 100%;
	}
	
	.photoModuleMainWrap .orderCommonParamsWrap {
		position	: relative;
		left		: auto;
		right		: auto;
		top		: auto;
		bottom		: auto;
		display		: grid;
		grid-template-columns: repeat(3, 1fr);
		gap		: 5px;
	}
	.photoModuleMainWrap .orderCommonParamsWrap > .row {
		flex		: 50%;
		display		: flex;
	}
		.photoModuleMainWrap .orderCommonParamsWrap > .row .photo-order-button {
			/*height		: 100%;*/
		}
	
	.photoModuleMainWrap .orderCommonParamsWrap > ._commonDelivery {
		order		: 1;
	}
	
	.photoModuleMainWrap .orderCommonParamsWrap > ._commonCorrections {
		order		: 2;
	}
	.photoModuleMainWrap .orderCommonParamsWrap > ._commonTermin {
		order		: 3;
	}
	.photoModuleMainWrap .orderCommonParamsWrap > ._commonTotalPrice {
		order		: 5;
		grid-column	: span 3;
		margin-top	: -30px;
		margin-bottom	: -50px;
	}
	
	.photoModuleMainWrap .orderCommonParamsWrap > ._commonOrderBtn {
		display		: none;
	}
	
	.photoModuleMainWrap .orderCommonParamsWrap > .photo-order-button-bottom-wrap {
		grid-column	: span 3;
	}
	
	.photoModuleMainWrap .orderCommonParamsWrap span.title {
		/*border		: none;*/
		word-spacing	: 100vw;
		display: flex;
		justify-content: center;
		align-items: center;
		line-height	: 1.4;
		padding		: 6px 0;
	}
	.photoModuleMainWrap .orderCommonParamsWrap span.value {
		font-size	: 1.25rem;
	}
	
	.photoModuleMainWrap .photo-order-button-wrap {
		margin		: 0 10px;
	}
	
	.photoModuleMainWrap ._orderRowPcs-left {
		width		: 66%;
	}
	.photoModuleMainWrap ._orderRowPcs-right {
		width		: 33%;
	}
		.photoModuleMainWrap ._orderRowPcs-right span.value {
			display		: none;
		}
		.photoModuleMainWrap ._orderRowPcs-right span.mobile {
			display		: block;
		}
	
	.photoModuleMainWrap .photo-order-button-bottom-wrap {
		/*display		: none;*/
		position	: relative;
		bottom		: auto;
		order		: 4;
	}
	
	.photoModuleMainWrap .photo-common-params {
		display		: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	
	.photoModuleMainWrap ._btnSetAll {
		width		: 100%;
	}
	.photoModuleMainWrap ._tablePrices {
		width		: 100%;
		display		: none;
	}
	
	.photoModuleMainWrap ._uploadTools {
		display		: grid;
		grid-template-columns: repeat(3, 1fr);
		gap		: 10px;
	}
		.photoModuleMainWrap ._uploadTools:before {
			display		: none;
		}
		.photoModuleMainWrap ._uploadTools > div {
			width		: 100%;
		}
		.photoModuleMainWrap ._uploadTools .photo-order-button {
			display		: flex;
			height		: 100%;
			justify-content	: center;
			align-items	: center;
		}
		.photoModuleMainWrap ._uploadTools > div:first-child {
			order		: 4;
			grid-column: span 3;
		}
	
	.photoModuleMainWrap .sbernaPhotoList {
		display		: flex;
		justify-content	: center;
		flex-wrap	: wrap;
		
		display		: grid;
		grid-template-columns: repeat(2, 1fr);
	}
		.photoModuleMainWrap .sbernaPhotoList:before {
			display		: none;
		}
		.photoModuleMainWrap .sbernaPhotoList .item {
			width		: auto;
			overflow	: hidden;
		}
		.photoModuleMainWrap .sbernaPhotoList .item .canvasContainer {
			width		: 100%;
			height		: 100%;
			aspect-ratio	: 1 / 1;
			display		: flex;
		}
		.photoModuleMainWrap .sbernaPhotoList .item .canvas {
			width		: 100%;
			box-sizing	: border-box;
		}
		.photoModuleMainWrap .sbernaPhotoList .bottom {
			height		: auto;
		}
	
	.photoModuleMainWrap .photo-order-button-bottom-wrap-mobile {
		display		: block;
	}
	
	.photoModuleModal {
		width		: 100%;
	}
		.azf-popup-container {
			width		: 100%;
		}
		.photoModuleModal ul.tabs-header:before {
			display		: none;
		}
		.photoModuleModal ul.tabs-header {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
		}
		.photoModuleModal .photoOptionWrap .photoOptionImg {
			width		: 35%;
			display		: none !important;
		}
			.photoModuleModal .photoOptionWrap .photoOptionImg > img {
				width		: 100%;
			}
		.photoModuleModal .photoOptionWrap .photoOptionValue {
			width		: 65%;
		}
		
	.photoModuleMainWrap .paginator-container {
		grid-column	: span 2;
	}
		.photoModuleMainWrap .paginator-container .pagination {
			width		: 100%;
		}
		.photoModuleMainWrap .paginator-container .paginator-header {
			text-align	: center;
			width		: 100%;
		}
		.photoModuleMainWrap .paginator-container .pagination ul {
			width		: 100%;
			display: flex;
			gap: 5px;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}
			.photoModuleMainWrap .paginator-container .pagination ul li a {
				min-width	: 42px;
				line-height	: 42px;
			}
}

/* Skryjeme položky, které mají třídu "hidden-item" */
.sbernaPhotoList .item.hidden-item {
    display: none;
}

/* Stylování tlačítka (uprav si dle potřeby) */
.show-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.show-more-btn:hover {
    background-color: #0056b3;
}

.photo-order-container .multiApply {
	margin-bottom	: 5px;
}

.flash.photomodule-collision-overlay {
position: absolute;
    top: 50%;
    left: 0;
    box-sizing: border-box;
    opacity: .9;
    margin: 5px;
    transform: translateY(-50%);
    z-index: 999;
}