/* Phoca Gallery 6 */

#phocagallery .ph-si {
	width: 1.5em;
	height: 1.5em;
	margin: 0 0.25em;
	fill: currentColor;
	vertical-align: middle;
}

#phocagallery .ph-si-view,
#phocagallery .ph-si-image,
#phocagallery .ph-si-camera,
#phocagallery .ph-si-comment,
#phocagallery .ph-si-comment-a,
#phocagallery .ph-si-comment-fb,
#phocagallery .ph-si-upload {
	color: #112d4e;
}

#phocagallery .ph-si-download,
#phocagallery .ph-si-earth,
#phocagallery .ph-si-geo,
#phocagallery .ph-si-extlink1,
#phocagallery .ph-si-extlink2,
#phocagallery .ph-si-external-link,
#phocagallery .ph-si-link,
#phocagallery .ph-si-user,
#phocagallery .ph-si-enabled {
	color: #378137;
}

#phocagallery .ph-si-cart {
	color: #3f72af;
}

#phocagallery .ph-si-trash,
#phocagallery .ph-si-unpublish,
#phocagallery .ph-si-disabled,
#phocagallery .ph-si-minus-sign,
#phocagallery .ph-si-ytb,
#phocagallery .ph-si-upload-ytb {
	color: #cc1020;
}

#phocagallery .ph-si-calendar,
#phocagallery .ph-si-statistics,
#phocagallery .ph-si-stats,
#phocagallery .ph-si-upload-java {
	color: #e23e57;
}

#phocagallery .ph-si-vote,
#phocagallery .ph-si-star {
	color: #ffc314;
}

#phocagallery .ph-si-category,
#phocagallery .ph-si-subcategory,
#phocagallery .ph-si-category-top-category,
#phocagallery .ph-si-category-medium {
	color: #996633;
}

#phocagallery .ph-si-feed,
#phocagallery .ph-si-upload-multiple {
	color: #ff9a00;
}

#phocagallery .ph-si-tab {
	width: 1.1em;
	height: 1.1em;
}

#phocagallery .ph-si-category-top-back,
#phocagallery .ph-si-detail-top-back {
	color: #f3722c;
	margin-bottom: 0.3em;
}

#phocagallery .ph-si-detail-top-back {
	width: 3em;
	height: 3em;
}

#phocagallery .pg-categories-items-box,
#phocagallery .pg-category-items-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-end;
	align-content: flex-end;
}

@media only screen and (max-width: 768px) {
	#phocagallery .pg-categories-items-box,
	#phocagallery .pg-category-items-box {
		justify-content: center;
	}
}

#phocagallery .pg-category-box,
#phocagallery .pg-item-box {
	box-sizing: border-box;
	margin: 5px;
	padding: 10px;
	position: relative;
	background: #fff;
	border: 0;
	-webkit-box-shadow: 1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0 0 7px 7px rgba(240, 240, 240, 0.2);
	box-shadow: 1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0 0 7px 7px rgba(240, 240, 240, 0.2);
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

#phocagallery .pg-category-box:hover,
#phocagallery .pg-item-box:hover {
	background: #fafafa;
}

#phocagallery .pg-category-box figure,
#phocagallery .pg-item-box figure {
	margin: 0;
}

#phocagallery .pg-category-box-image img,
#phocagallery .pg-category-box-image svg,
#phocagallery .pg-item-box-image img,
#phocagallery .pg-item-box-image svg,
#phocagallery .pg-detail-item-image-box img {
	border-radius: 2px;
}

#phocagallery .pg-svg-box {
	margin: 0;
	padding: 0;
	line-height: 0;
}

#phocagallery .pg-svg-box svg {
	margin: 0;
	padding: 0;
}

#phocagallery .pg-category-box-title,
#phocagallery .pg-item-box-title {
	position: static;
	bottom: auto;
	left: auto;
	width: auto;
	margin-top: 5px;
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: x-small;
	font-weight: normal;
	text-align: left;
	border-radius: 0;
}

#phocagallery .pg-category-box-title {
	padding-left: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2016%2016'%3E%3Cpath fill='%23996633' d='M1%204a2%202%200%200%201%202-2h3l1.5%202H13a2%202%200%200%201%202%202v6a2%202%200%200%201-2%202H3a2%202%200%200%201-2-2V4z'/%3E%3C/svg%3E") 0 1px / 14px 14px no-repeat;
}

#phocagallery .pg-category-box-title a,
#phocagallery .pg-item-box-title a,
#phocagallery .pg-category-box-title a:visited,
#phocagallery .pg-item-box-title a:visited {
	color: inherit;
	text-decoration: none;
}

#phocagallery .pg-category-box-count,
#phocagallery .pg-item-box-stats-value {
	font-size: xx-small;
	color: #ccc;
}

#phocagallery .pg-categories-box-rating,
#phocagallery .pg-category-box-rating {
	position: static;
	margin-top: 5px;
	color: #ccc;
	font-size: xx-small;
	text-align: left;
}

#phocagallery .pg-category-box-description,
#phocagallery .pg-item-box figcaption {
	position: static;
	margin-top: 5px;
	color: inherit;
	font-size: x-small;
	line-height: 1.2;
}

#phocagallery .pg-category-box-label-box {
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: x-small;
	font-weight: bold;
	color: #fff;
}

#phocagallery .pg-category-box-label-new,
#phocagallery .pg-category-box-label-hot {
	float: left;
	margin: 0.2em;
	padding: 0.1em 0.5em;
	border-radius: 2px;
}

#phocagallery .pg-category-box-label-new {
	background: #2f66b9;
}

#phocagallery .pg-category-box-label-hot {
	background: #cc1020;
}

#phocagallery .pg-item-box-icons-box {
	position: static;
	margin: 2px 0 5px;
	padding: 0;
	text-align: right;
}

#phocagallery .pg-item-box-icons-box svg.ph-si {
	margin: 0 0.1em;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

#phocagallery .pg-detail-item-image-box {
	text-align: center;
}

#phocagallery .pg-dv-desc {
	color: #333;
	font-size: small;
}

#phocagallery .pg-dv-desc.popup {
	height: 16px;
}

#phocagallery .pg-dv-desc-lighbox {
	color: #fff;
	background: #000;
}

#phocagallery .pg-dv-multibox-left {
	background: #000;
}

#phocagallery .pg-dv-multibox-right {
	background: #fff !important;
}

#phocagallery .ph-hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #e8e8e8;
	clear: both;
}

#phocagallery .pg-tb-m5 {
	margin: 10px 0;
}

#phocagallery dd,
#phocagallery dt {
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

#phocagallery dt h3 {
	padding: 0;
	margin: 2px auto 3px;
	font-size: small;
	font-weight: normal;
}

#phocagallery .pg-icon-detail {
	margin: 2px 0 5px;
	padding: 0;
	text-align: right;
}

#phocagallery .ph-ovrl1 {
	padding: 5px;
}

#phocagallery .ph-ovrl2 {
	margin: 0;
	padding: 0;
}

#phocagallery .bgPhocaClass,
#phocagallery .fgPhocaClass {
	background: #fdfdfd;
	filter: alpha(opacity=100);
	opacity: 1;
	z-index: 1000;
}

#phocagallery .fgPhocaClass {
	-moz-opacity: 1;
}

#phocagallery .fontPhocaClass {
	color: #000;
	z-index: 1001;
}

#phocagallery .capfontPhocaClass,
#phocagallery .capfontclosePhocaClass {
	color: #000;
	font-weight: bold;
	z-index: 1001;
}

#pgCategoryModal .modal-dialog {
	height: 90%;
	max-width: 70%;
}

#pgCategoryModal .modal-content {
	height: 100%;
}

#pgCategoryModalLabel {
	text-transform: capitalize;
}

#pgCategoryModal .modal-header,
#pgCategoryModal .modal-footer {
	display: none;
}

#pgCategoryModal .modal-body {
	padding: 0;
}

#phocagallery.pg-category-view .pg-top-icons {
	display: none !important;
}

.com-phocagallery .form-select,
.com_phocagallery .form-select {
	width: auto;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.com-phocagallery .pagination,
.com_phocagallery .pagination {
	align-items: center;
	justify-content: flex-end;
}

@media only screen and (max-width: 768px) {
	.com-phocagallery form > .pagination,
	.com_phocagallery form > .pagination {
		flex-direction: column;
		align-items: center;
	}
}

#phocagallery .ph-loading-text {
	text-align: center;
}

#phocagallery .ph-loading-hidden {
	display: none;
}

#phocagallery .ph-adminlist {
	clear: both;
	margin: 1em auto;
}

#phocagallery .ph-adminlist tr th,
#phocagallery .ph-adminlist tr td {
	padding: 0.3em;
	border: 1px solid #d0d0d0;
	border-collapse: collapse;
	text-align: center;
}

#phocagallery .ph-adminlist-select-row {
	display: flex;
	justify-content: flex-end;
}

#phocagallery {
	margin-bottom: 1em;
}

#phocagallery.pg-category-view,
#phocagallery.pg-category-view * {
	box-sizing: border-box;
}

#phocagallery.pg-category-view .pg-category-items-box {
	align-items: flex-start;
	gap: 8px;
}

#phocagallery.pg-category-view .pg-item-box {
	overflow: visible;
	max-width: 190px;
	padding: 8px;
	border: 1px solid #d8e0e7;
	background: #fff;
	box-shadow: 1px 1px 4px rgba(70, 90, 110, 0.25);
}

#phocagallery.pg-category-view .pg-item-box:hover {
	border-color: #aac3da;
	background: #f8fbfd;
}

#phocagallery.pg-category-view .pg-item-box a {
	color: #003366;
	text-decoration: none;
}

#phocagallery.pg-category-view .pg-item-box-image {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	background: transparent !important;
}

#phocagallery.pg-category-view .pg-item-box-image::before,
#phocagallery.pg-category-view .pg-item-box-image::after,
#phocagallery.pg-category-view .pg-item-box::before,
#phocagallery.pg-category-view .pg-item-box::after {
	display: none !important;
	content: none !important;
}

#phocagallery.pg-category-view .pg-item-box-image img,
#phocagallery.pg-category-view .pg-item-box-image img.pg-image,
#phocagallery.pg-category-view .pg-item-box-image img.c-Image--shaded {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
	opacity: 1 !important;
	filter: none !important;
	transform: none !important;
	box-shadow: none !important;
}

#phocagallery.pg-category-view .pg-item-box-info {
	margin-top: 5px;
	text-align: center;
}

#phocagallery.pg-category-view .pg-item-box-title.image,
#phocagallery.pg-category-view .pg-item-box figcaption {
	position: static !important;
	width: auto !important;
	margin: 6px 0 0;
	padding: 0 !important;
	background: transparent !important;
	color: #003366;
	font-size: 11px;
	line-height: 1.2;
	font-weight: normal;
	text-align: center;
	box-shadow: none !important;
}

#phocagallery.pg-category-view .pg-item-box-title.image .ph-si-image {
	display: none;
}

#phocagallery.pg-category-view .pg-item-box-icons-box,
#phocagallery.pg-category-view .pg-icon-detail,
#phocagallery.pg-category-view .pg-item-box-over,
#phocagallery.pg-category-view .pg-item-box-hover,
#phocagallery.pg-category-view .pg-over-image,
#phocagallery.pg-category-view .pg-over-image-icons {
	display: none !important;
}

#phocagallery.pg-category-view .oag-phoca-desc {
	display: none !important;
}

#phocagallery.pg-category-view a[href*="phoca.cz/phocagallery"] {
	display: none !important;
}

#phocagallery.pg-categories-view a[href*="phoca.cz/phocagallery"] {
	display: none !important;
}

.oag-phoca-tooltip {
	position: fixed;
	z-index: 99999;
	display: none;
	max-width: 360px;
	padding: 8px;
	background: #aac3da;
	color: #003366;
	font-size: 12px;
	line-height: 1.25;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35);
	border: 1px solid #fff;
	pointer-events: none;
	text-align: left;
}

.oag-phoca-tooltip img {
	display: block;
	max-width: 190px;
	max-height: 220px;
	width: auto;
	height: auto;
	margin: 0 auto 6px;
	background: #fff;
}

.oag-phoca-tooltip-title {
	margin-bottom: 5px;
	color: #003366;
	font-weight: bold;
	text-align: center;
}

.oag-phoca-tooltip-desc {
	color: #003366;
}

.oag-phoca-tooltip-desc table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.oag-phoca-tooltip-desc th,
.oag-phoca-tooltip-desc td {
	padding: 3px;
	border: 1px solid #fff;
	background: #aac3da;
	color: #003366;
	vertical-align: top;
}

.oag-phoca-tooltip-desc p {
	margin: 0 0 4px;
}

.oag-phoca-tooltip-desc a {
	color: #003366;
	text-decoration: underline;
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
	.oag-phoca-tooltip {
		display: none !important;
	}
}

#phocagallery.pg-categories-view .oag-pg-categories-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
	justify-content: center;
	margin: 10px auto 0;
}

#phocagallery.pg-categories-view .oag-pg-category-card {
	box-sizing: border-box;
	width: 130px;
	min-height: 145px;
	padding: 8px 8px 10px;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	text-align: center;
}

#phocagallery.pg-categories-view .oag-pg-category-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 95px;
	margin: 0 auto 6px;
	padding: 0;
	overflow: hidden;
	background: #f7f7f7;
	border: 0;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

#phocagallery.pg-categories-view .oag-pg-category-image-link:focus-visible {
	outline: 2px solid #2f66b9;
	outline-offset: 2px;
}

#phocagallery.pg-categories-view .oag-pg-category-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 0;
	border-radius: 0;
}

#phocagallery.pg-categories-view .oag-pg-category-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #996633;
	background: #f4f4f4;
}

#phocagallery.pg-categories-view .oag-pg-category-placeholder .ph-si {
	width: 42px;
	height: 42px;
	margin: 0;
}

#phocagallery.pg-categories-view .oag-pg-category-title {
	font-size: 12px;
	line-height: 1.12;
	text-align: center;
}

#phocagallery.pg-categories-view .oag-pg-category-title a {
	color: #00e;
	text-decoration: underline;
}

#phocagallery.pg-categories-view .oag-pg-category-count {
	color: #999;
	font-size: 10px;
	white-space: nowrap;
}

#phocagallery.pg-categories-view .oag-pg-category-desc,
#phocagallery.pg-categories-view .pg-categories-box-rating {
	margin-top: 5px;
	font-size: 11px;
	line-height: 1.25;
	text-align: center;
}

.oag-phoca-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
	background: rgba(0, 0, 0, 0.55);
}

.oag-phoca-popup-open {
	overflow: hidden;
}

.oag-phoca-popup.is-open {
	display: flex;
}

.oag-phoca-popup-dialog {
	position: relative;
	box-sizing: border-box;
	width: min(620px, 96vw);
	max-height: 92vh;
	overflow: auto;
	padding: 18px;
	background: #fff;
	border: 1px solid #d7d7d7;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	text-align: center;
}

.oag-phoca-popup-close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #b8b8b8;
	background: #fff;
	color: #333;
	font-size: 22px;
	line-height: 24px;
	cursor: pointer;
}

.oag-phoca-popup-image {
	display: block;
	max-width: 100%;
	max-height: 60vh;
	width: auto;
	height: auto;
	margin: 8px auto 12px;
	background: #f7f7f7;
}

.oag-phoca-popup-title {
	margin: 0 36px 8px;
	color: #003366;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.25;
}

.oag-phoca-popup-desc {
	color: #333;
	font-size: 13px;
	line-height: 1.35;
	text-align: left;
}

.oag-phoca-popup-desc:empty {
	display: none;
}

.oag-phoca-popup-desc table {
	width: 100%;
	border-collapse: collapse;
}

.oag-phoca-popup-desc th,
.oag-phoca-popup-desc td {
	padding: 5px;
	border: 1px solid #d6e2ec;
	vertical-align: top;
}

.oag-phoca-popup-desc p {
	margin: 0 0 8px;
}

@media only screen and (max-width: 520px) {
	#phocagallery.pg-categories-view .oag-pg-categories-grid {
		gap: 10px;
	}

	#phocagallery.pg-categories-view .oag-pg-category-card {
		width: 46%;
		max-width: 150px;
	}
}
