#galleryPSDB .galleryPSDB-wrap ul>li>input+div, #galleryPSDB .thumbs ul>li>label>div, #galleryPSDB .thumbs ul>li>label>img, .galleryPSDB-wrap ul>li div {

	background-size: contain;

	background-position: center center;

	background-repeat: no-repeat

}

#galleryPSDB .galleryPSDB-wrap ul>li>input+div, #galleryPSDB .thumbs ul>li, #galleryPSDB .thumbs ul>li>label>img, #galleryPSDB .thumbs ul>li>label>img:after {

	background-color: rgba(255,255,255,1)

}

#galleryPSDB .thumbs ul>li {

	width: calc(100% / 4);

	width: 25%;

	float: left

}

#galleryPSDB .galleryPSDB-wrap ul>li>input, #galleryPSDB .galleryPSDB-wrap ul>li[data=''] {

	display: none

}

#galleryPSDB .gallery {

margin:0 .5rem;

	-ms-flex: 1;

	flex: 1;

	-ms-flex-order: 1;

	order: 1

}

#galleryPSDB .galleryPSDB-wrap {

	position: relative;

	z-index: 2;

	width: 100%;

	height: 0;

margin-bottom:.5rem;

	padding-bottom: 100%

}

#galleryPSDB .galleryPSDB-wrap ul {

	margin: 0;

	padding: 0;

	list-style: none

}

#galleryPSDB .galleryPSDB-wrap ul>li {

	position: absolute;

	top: 0;

	left: 0;

	width: 100%;

	height: 100%;

	box-sizing: border-box;

}

.galleryPSDB-wrap ul>li div {

	display: block;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	width: 100%;

	height: 100%;

	-webkit-transition: opacity .5s ease 0s;

	transition: opacity .5s ease 0s;

	opacity: 0;

	background-color: #fff

}

#galleryPSDB .galleryPSDB-wrap ul>li>input+div {

	display: block;

	display: -ms-flexbox;

	display: flex;

	width: 100%;

	height: 100%;

	transition: opacity .5s ease 0s;

	opacity: 0

}

#galleryPSDB .galleryPSDB-wrap ul>li>input:checked+div {

	opacity: 1

}

#galleryPSDB .thumbs {

	position: relative;

	z-index: 1;

margin:0 -.25rem

}

#galleryPSDB .thumbs:after {

	content: " ";

	display: table;

	clear: both

}

#galleryPSDB .thumbs ul {

	display: -ms-flexbox;

	display: flex;

	margin: 0;

	padding: 0;

	list-style: none;

	-ms-flex-pack: start;

	justify-content: flex-start;

	-ms-flex-wrap: wrap;

	flex-wrap: wrap

}

#galleryPSDB .thumbs ul>li:only-child, #galleryPSDB .thumbs ul>li[data=''] {

	display: none

}

#galleryPSDB .thumbs ul>li {

	height: 100%;

	margin: auto 0

}

#galleryPSDB .thumbs ul>li>label {

	position: relative;

	display: initial;

	float: left;

	width: 100%;

	height: 100%;

	margin-bottom: 20px

}

#galleryPSDB .thumbs ul>li>label>div {

	position: relative;

	z-index: 4;

	display: block;

	width: 100%;

	max-width: 100%;

	height: auto;

	margin: 0 auto;

	cursor: pointer;

	background-color: transparent;

	box-sizing: border-box;

}

#galleryPSDB .thumbs ul>li>label>div:before {

	font-size: 0;

	display: block;

	padding-top: 100%;

	content: '\00a0 '

}

#galleryPSDB .thumbs img {

	position: relative;

	z-index: 4;

	max-width: 95%;

	height: auto;

	cursor: pointer

}

.mto_cat_item_text_counter {

	display: none

}

.lightbox_control, .lightbox_control:visited {

	color: rgba(255,255,255,1)

}

input:checked+.lightbox>a.lightbox_link {

	cursor: -webkit-zoom-in;

	display: block;

	height: 100%;

	width: 100%;

	position: relative;

	z-index: 1

}

#galleryPSDB .galleryPSDB-wrap ul>li>input+div.lightbox:target, .lightbox_overlay, .galleryPSDB-wrap ul>li>input+div.lightbox {

	transition: none!important

}

.lightbox_overlay {

	display: none;

	opacity: 0;

	visibility: hidden;

	position: absolute;

	z-index: -1

}

:target .lightbox_overlay {

	background-color: rgba(0,0,0,.9);

	position: fixed;

	top: 0;

	right: 0;

	bottom: 0;

	left: 0;

	z-index: 999;

	display: -ms-flexbox;

	display: flex;

	opacity: 1;

	visibility: visible;

	-ms-flex-pack: center;

	justify-content: center;

	-ms-flex-align: center;

	align-items: start

}

.lightbox_overlay>.lightbox_content {

	opacity: 0;

	overflow: auto;

	max-height: 80vh;

	max-width: 80%;

	position: relative

}

.lightbox_overlay>.lightbox_figure {

	transition: opacity 2s

}

:target .lightbox_overlay>.lightbox_content {

	opacity: 1

}

:target .lightbox_overlay>.lightbox_figure {

	display: block;

	margin: 1.5em

}

.lightbox_figure img {

	display: block;

	height: auto;

	max-width: 100%

}

:target .lightbox_overlay .lightbox_figure, :target .lightbox_overlay .lightbox_image {

	max-width: 80vw;

	background-position: center 0;

	max-height: 80vh;

	opacity: 1;

	position: relative

}

:target .lightbox_overlay .lightbox_figure * {

	margin: 0 auto

}

:target .lightbox_overlay .lightbox_image {

	opacity: 1;

	display: none;

	padding-top: 0

}

.lightbox_control {

	position: absolute

}

.lightbox_control_icons .lightbox_control {

	position: absolute;

	width: 3em;

	height: 3em;

	background-position: 50%;

	background-size: cover;

	text-indent: 100%;

	white-space: nowrap;

	overflow: hidden

}

.lightbox_close {

	top: 1em;

	right: 1em

}

.lightbox_control_icons .lightbox_close {

	top: 2.5em;

	right: 2.5em;

	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMS4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQ3NS4yIDQ3NS4yIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NzUuMiA0NzUuMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQwNS42LDY5LjZDMzYwLjcsMjQuN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Pgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);

	mix-blend-mode: difference

}

.lightbox_control_icons .lightbox_close:hover {

	opacity: .5

}

.lightbox_close_around {

	position: absolute;

	top: 0;

	left: 0;

	height: 100%;

	width: 100%;

	cursor: default

}

.lightbox_next, .lightbox_prev {

	top: 25%;

	margin-top: -1.5em;

	opacity: .2

}

.lightbox_prev {

	left: 2em

}

.lightbox_next {

	right: 2em

}

.lightbox_control_icons .lightbox_next, .lightbox_control_icons .lightbox_prev {

	top: 25%;

	margin-top: -1.5em;

	transition: opacity .2s;

	opacity: 1;

	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OS43NiA5Mi44Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48dGl0bGU+RWxlbWVudCAzPC90aXRsZT48cGF0aCBjbGFzcz0iYSIgZD0iTTQ4LjgsNDguNzJhMy4yOCwzLjI4LDAsMCwwLDAtNC42NEw1LjYsMUEzLjI4LDMuMjgsMCwxLDAsMSw1LjZsNDAuOCw0MC44TDEsODcuMmEzLjI5LDMuMjksMCwwLDAsMCw0LjY0LDMuMjEsMy4yMSwwLDAsMCwyLjMyLDEsMy4yMSwzLjIxLDAsMCwwLDIuMzItMVoiLz48L3N2Zz4=)

}

.lightbox_control_icons .lightbox_prev {

	left: 2em;

	transform: rotate(180deg)

}

.lightbox_next:focus, .lightbox_next:hover, .lightbox_prev:focus, .lightbox_prev:hover {

	opacity: .5;

	transition: opacity .2s

}

.lightbox_untarget {

	position: fixed;

	top: 0

}

.lightbox_content {

	overflow: auto;

	max-height: 100%

}

.lightbox_html {

	padding: 2em;

	max-width: 80%;

	background-color: #fff

}

div[class*=' csslider'], div[class^=csslider] {

	z-index: 1

}

@media only screen and (min-width:992px) {

#galleryPSDB .galleryPSDB-wrap ul>li>input+div.lightbox:target {

	opacity: 1;

	visibility: visible

}

}

@media only screen and (max-width:991px) {

#galleryPSDB .galleryPSDB-wrap ul>li>input+div.lightbox *, #galleryPSDB .galleryPSDB-wrap ul>li>input+div.lightbox:target * {

	display: none

}

}

@media only screen and (min-width:1200px) {

.lightbox_figure img {

	max-width: 100%

}

}





#galleryPSDB .gallery, #galleryPSDB .thumbs {

	margin: 0

}

#galleryPSDB .thumbs {

	transform: scale(1.0125);

	margin-top: 20px

}

#galleryPSDB .thumbs ul>li {

	transform: scale(.95);

	float: left

}

#galleryPSDB .thumbs ul>li>label {

	margin-bottom: 0

}

#galleryPSDB .thumbs li>label>div {

	overflow: hidden

}

#galleryPSDB .galleryPSDB-wrap {

	margin-bottom: 5px

}

.psdb-moreInfo {

	border-bottom: 1px dotted #000;

	padding-bottom: 10px

}





@media only screen and (min-width:992px) {

#galleryPSDB {

	float: left;

	width: 500px

}

.psdb-moreInfo {

	border-bottom: 1px solid #ccc;

	padding-bottom: 10px

}

}