
.buttonCross {
	cursor: pointer;
}

.buttonCross:hover {
	color: red;
}

.joGaleriaOdkaz {
	padding: 10px;
	display: block;
	line-height: 30px;
	color: #fff !important;
	background-color: #B2B2AF;
	border-radius: 3px;
	transition: all 3s ease-out;
	cursor: pointer;
	text-align: center;
}

.joGaleriaOdkaz:hover {
	background-color: #e74c3c;
	border-color: #e74c3c;
}

.joGaleriaOdkaz span {
	color: #fff !important;
	border-radius: 3px;
	transition: all 3s ease-out;
	cursor: pointer;
}

.galeriaDetachedWrap {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 2000;
}

.galeriaDetached {
	width: 95%;
	height: 95%;
	position: fixed;
	z-index: 2000;
	background-color: #f6f6f6;
	top: 2.5%;
	left: 2.5%;
	overflow: hidden;
	border: solid 1px gray;
}

.galeriaDetachedHeader {
	position: absolute;
	top: 0;
	width: 100%;
	height: 50px;
	line-height: 50px;
	border-bottom: solid 1px gray;
}

.galeriaDetachedInfo {
	position: absolute;
	top: 50px;
	border-bottom: solid 1px gray;
	width: 100%;
	line-height: 50px;
	text-align: center;
}

.galeriaDetachedHeaderTitle, .galeriaDetachedHeaderCross {
	line-height: 30px;
	padding: 10px;
}

.galeriaDetachedHeaderTitle {
	float: left;
}

.galeriaDetachedHeaderCross {
	float: right;
}

.galeriaDetachedDestination {
	width: 100%;
	position: absolute;
	overflow: auto;
	bottom: 0;
}

/*
#orderedImg, #parametersGaleriaWindowLauncher {
	border: solid 1px #dadada;
	background-color: #B2B2AF;
	color: #fff;
}

#orderedImg p {
	margin: 0;
	text-align: center;
	line-height: 50px;
}

#orderedImg img {
	padding: 5px;
	width: 120px;
	float: left;
}

#orderedImg .orderedImgText {
	float: left;
	padding: 5px;
}

#orderedImg .orderedImgMsg {
	font-size: 18px;
	color: #fff;
}

#orderedImg .orderedImgReset {
	transition: all 0.3s ease-out;
	cursor: pointer;
	color: #f00;
}

#parametersGaleriaWindowLauncher {
	text-align: center;
	transition: all 0.3s ease-out;
	cursor: pointer;
	border-radius: 3px;
}

#parametersGaleriaWindowLauncher:hover {
	background-color: #e74c3c;
	border-color: #e74c3c;
}


#parametersGaleriaWindowLauncher p {
	margin-top: 20px;
}
*/

.galeriaWrap {
	width: 100%;
	overflow: hidden;
}

.galeriaWrap > .galeriaWrap {
	padding-left: 30px;
}

.galeriaTitle {
	transition: all 0.3s ease-out;
	width: 100%;
	padding: 5px;
	border-bottom: solid 1px rgba(0,0,0,0.1);
	color: #333;
	position: relative;
	cursor: pointer;
	z-index: 99;
}

.galeriaTitle:hover {
	background-color: #e74c3c;
}

.galeriaCode {
	position: absolute;
	background-color: #fff;
	height: 30px;
	line-height: 30px;
	border-top: solid 1px #dadada;
	bottom: 0;
	width: 100%;
}

.galeriaImage > .galeriaTags {
	position: absolute;
	left: 0;
	bottom: 0;
	border-top: solid 1px #dadada;
}

.galeriaTags {
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	background-color: #e74c3c;
	font-size: 20px;
	display: inline-block;
	text-align: center;
}

.galeriaCode::before {
	content: "Číslo: ";
}

.plus-gallery-wrap {
	width: 100%;
}

.galeriaImage {
	position: relative;
	width: 200px;
	height: 230px;
	cursor: pointer;
	display: inline-block;
	border: solid 1px #dadada;
	margin-top: 2px;
	background-color: #fff;
	overflow: hidden;
}

.galeriaImage > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	height: 200px;
}

.galeriaWindow {
	position: fixed;
	width: 100%;
	height: 100%;
	border: solid 20px rgba(255,255,255,0);
	background-color: rgba(255,255,255,0.9);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	z-index: 2001;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.galeriaWindow[data-galeriawin="0"] {
	display: none;
}

.galeriaWindow[data-galeriawin="1"] {
	display: unset;
}

.galeriaWindowVariants {
	position: absolute;
	width: 100px;
	height: auto;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 2002;
}

.galeriaWindowVariants img {
	border: solid 2px red;
	margin-bottom: 5px;
	cursor: pointer;
}

.galeriaWindowAdd, .galeriaWindowClose {
	padding: 20px;
	font-size: 24px;
	text-align: center;
	cursor: pointer;
	background-color: #fff;
}

.galeriaWindowAdd {
	border: solid 3px #090;
	color: #090;
}

.galeriaWindowAdd:hover {
	border: solid 3px #0c0;
	color: #0c0;
}

.galeriaWindowClose {
	border: solid 3px #c00;
	color: #c00;
}

.galeriaWindowClose:hover {
	border: solid 3px #f00;
	color: #f00;
}

[data-window-show="0"] {
	display: none;
}

[data-window-show="1"] {
	display: unset;
}

[data-galeria-zobrazena="0"] {
	overflow: hidden;
}

[data-galeria-zobrazena="1"] {
	overflow: unset;
	height: auto;
}

[data-galeria-zobrazena="1"] > .galeriaTitle {
	background-color: #e74c3c;
	color: #fff;
}

.galeriaTitle::after {
	color: rgba(0, 0, 0, 0.4);
}

[data-galeria-zobrazena="0"] > .galeriaTitle::after {
	content: " [zobraziť] ";
}

[data-galeria-zobrazena="1"] > .galeriaTitle::after {
	content: " [skryť] ";
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 800px) {

	.galeriaWindow {
		border-top-width: 100px !important;
		border-bottom-width: 100px !important;
	}

	.galeriaWindowAdd, .galeriaWindowClose {
		position: fixed;
		width: 100%;
	}

	.galeriaWindowAdd {
		left: 0;
		bottom: 0;
	}

	.galeriaWindowClose {
		top: 0;
		left: 0;
	}

	.galeriaWindowVariants {
		top: 0;
		left: 0;
		max-height: 100%;
	}

	.galeriaTitle {
		height: 55px;
		line-height: 45px;
	}

	[data-galeria-zobrazena="0"] {
		height: 55px;
	}

	.galeriaDetachedInfo {
		height: 100px;
	}

	br.responsiveLine {
		display: unset;
	}

	.galeriaDetachedDestination {
		height: calc(100% - 150px);
	}

}

@media (min-width: 800px) {

	.galeriaWindowAdd, .galeriaWindowClose {
		position: absolute;
	}

	.galeriaWindowAdd {
		top: 20px;
		left: 20px;
	}

	.galeriaWindowClose {
		top: 20px;
		right: 20px;
	}

	.galeriaWindowVariants {
		top: 120px;
		left: 20px;
		max-height: calc(100% - 100px);
	}

	.galeriaTitle {
		height: 35px;
		line-height: 25px;
	}

	[data-galeria-zobrazena="0"] {
		height: 35px;
	}

	.galeriaDetachedInfo {
		height: 50px;
	}

	br.responsiveLine {
		display: none;
	}

	.galeriaDetachedDestination {
		height: calc(100% - 100px);
	}

}