/* -------------------- gallery.css -------------------- */
/* js-gallery */
.js-gallery-resizable {
	overflow: hidden;
	height: 0;
	-webkit-transition: height 400ms ease;
	-moz-transition: height 400ms ease;
	-ms-transition: height 400ms ease;
	-o-transition: height 400ms ease;
	transition: height 400ms ease;
}

.gallery {
	border: 4px solid #eee;
	position: relative;
	font: 0/0 a;
	margin: 10px 0;
}
.gallery__canvas {
	background-color: #eee;
	position: relative;
	overflow: hidden;
	height: 0;
	padding-bottom: 56.25%;
}

/* stacking invisible items on each other. */
.gallery__item {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
	.gallery__item.gallery__item .photo {
		position: absolute;
		left: 0;
		top: 0;
		text-align: center;
		background-color: #eee;
		white-space: nowrap;
		font: 0/0 a;
		width: 100%;
		height: 100%;
		margin-bottom: 0;
	}
		.gallery__item.gallery__item .photo::before {
			content: "";
			display: inline-block;
			vertical-align: middle;
			height: 100%;
		}
	.gallery__item .photo img {
		width: auto;
		height: 100%;
		max-width: none;
		max-height: 100%;
		display: inline-block;
		vertical-align: middle;
	}
	@supports (object-fit: contain) {
		.gallery__item .photo img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: contain;
			object-position: 50% 50%;
		}
	}

	/* photo figcaption-info */
	.gallery__photo_description {
		padding: 15px 43px;
		color: #fff;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		will-change: opacity, visibility;
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s ease-in-out 0s,
					visibility 0s linear .25s;
		cursor: default;
		background-color: rgba(0, 0, 0, .6);
		display: none;
	}
		.js-gallery-info .gallery__photo_description {
			opacity: 1;
			visibility: visible;
			transition-delay: .0s, 0s;
		}

	@media only screen and (min-width: 640px) {
		.doc_wide .col:not(.col-small) .gallery .gallery__photo_description,
		.doc_widewithleft .col:not(.col-small) .gallery .gallery__photo_description,
		.doc_widehtml .gallery .gallery__photo_description {
			display: block;
		}
		.doc_wide .col:not(.col-small) .gallery .gallery__info,
		.doc_widewithleft .col:not(.col-small) .gallery .gallery__info,
		.doc_widehtml .gallery .gallery__info {
			display: none;
		}
	}
	@media only screen and (min-width: 980px) {
		.doc_widewithrighthtml .col:not(.col-small) .gallery .gallery__photo_description,
		.doc_widewithright .col:not(.col-small) .gallery .gallery__photo_description {
			display: block;
		}
		.doc_widewithrighthtml .col:not(.col-small) .gallery .gallery__info,
		.doc_widewithright .col:not(.col-small) .gallery .gallery__info {
			display: none;
		}
	}
	@media only screen and (min-width: 1200px) {
		.doc_normal .gallery__photo_description {
			display: block;
		}
		.doc_normal .gallery__info {
			display: none;
		}
	}

	.gallery__photo_description_text {
		font: normal 14px/18px Arial, sans-serif;
		margin-bottom: 5px;
	}
		.gallery__photo_description_text a {
			color: currentcolor;
			text-decoration: underline;
			font-weight: bold;
		}
		.gallery__photo_description .buy_photo {
			font-weight: normal;
			color: currentcolor;
			text-decoration: underline;
		}
	.gallery__photo_src {
		font: normal 12px/16px Arial, sans-serif;
	}
		.gallery__photo_src a {
			color: inherit;
			text-decoration: underline;
		}

/* photo info. signature and source */
.gallery__info {
	display: block;
	padding: 0 15px 20px;
	font: 0/0 a;
}
	.gallery__info_item {
		display: inline-block;
		vertical-align: top;
		width: 100%;
		margin-right: -100%;
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s linear 0s,
					visibility 0s linear .25s;
	}

@media only screen and (min-width: 640px) {
	.doc_wide .col:not(.col-small) .gallery .gallery__info,
	.doc_widehtml .gallery .gallery__info,
	.doc_widewithleft .col:not(.col-small) .gallery .gallery__info {
		display: none;
	}
}
@media only screen and (min-width: 980px) {
	.doc_widewithright .col:not(.col-small) .gallery .gallery__info,
	.doc_widewithrighthtml .col:not(.col-small) .gallery .gallery__info {
		display: none;
	}
}
@media only screen and (min-width: 1200px) {
	.doc_normal .col:not(.col-small) .gallery .gallery__info {
		display: none;
	}
}

/* common prev & next big photogallery controls */
.gallery__nav {
	position: absolute;
	top: 50%;
	bottom: 0;
	width: 38px;
	height: 38px;
	background-color: rgba(0,0,0,.3);
	transition: background-color .25s ease-in-out 0s;
	z-index: 1;
	font: 0/0 a;
	text-align: center;
	transform: translateY(-50%);
}
	@media only screen and (min-width: 1200px) {
		.gallery__nav {
			width: 50px;
			height: 50px;
		}
	}
	.gallery__nav:hover {
		background-color: rgba(0,0,0,.6);
	}
	.gallery__nav_link {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		outline: none;
	}
		.gallery__nav_link::before {
			content: '';
			height: 100%;
			display: inline-block;
			vertical-align: middle;
			width: 0;
		}

/* changing arrow opacity for inactive controls */
.gallery__nav.slider-inactive,
.gallery__nav.slider-inactive:hover {
	background-color: transparent;
	opacity: .25;
}
.gallery__nav .vicon {
	color: #fff;
}
	@media only screen and (min-width: 1200px) {
		.gallery__nav .vicon {
			font-size: 28px;
		}
	}
.gallery__previous {
	left: 0;
	border-radius: 0 5px 5px 0;
}
.gallery__next {
	right: 0;
	border-radius: 5px 0 0px 5px;
}
.gallery__nav_arrow_prev {
	transform: rotate(-90deg);
}
.gallery__nav_arrow_next {
	transform: rotate(90deg);
}

/* link to galleryName */
.gallery .gallery__link {
	background-color: #eee;
	padding: 15px;
	position: relative;
	font: 0/0 a;
}
@media only screen and (min-width: 640px) {
	.gallery .gallery__link {
		padding: 15px 60px 15px 43px;
	}
}
	.gallery__link .link__icons {
		position: absolute;
		right: 0;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		padding-right: 15px;
		z-index: 1;
		will-change: transform;
	}
		.link__icons .vicon--network {
			fill: #9a9a9a;
		}
		.link__icons .vicon--network:hover {
			fill: #006697;
		}
	@media only screen and (min-width: 640px) {
		.gallery__link .link__icons {
			padding-right: 43px;
		}
	}
		
	.link__item {
		display: inline-block;
		width: 100%;
		vertical-align: top;
		margin-right: -100%;
		visibility: hidden;
		opacity: 0;
		transition: opacity .15s ease-in-out 0s,
					visibility 0s ease-in-out .15s;
		will-change: opacity, visibility;
	}
	.js-gallery-resizable-item-current {
		visibility: visible;
		opacity: 1;
		transition-delay: 0s, 0s;
	}
		.link__item .item__src {
			font: normal 16px/18px Georgia, serif;
			vertical-align: middle;
		}
		.link__item .vicon--photogallery {
			font-size: 16px;
			padding-right: 5px;
			vertical-align: middle;
		}

/* image nav_thumbs for gallery */
.gallery__thumbs_canvas {
	margin: 0;
	font: 0/0 a;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	width: 100%;
	height: 66px;
}
	.gallery__thumbs_item {
		display: inline-block;
		font: 0/0 a;
		margin-top: 10px;
		width: 80px;
		height: 46px;
		position: absolute;
		left: 0;
		top: 0;
	}
@media only screen and (min-width: 640px) {
	.gallery__thumbs_canvas {
		height: 76px;
	}
		.gallery__thumbs_item {
			width: 100px;
			height: 56px;
		}
}

	.gallery__thumbs_item.slider-item-nearest {
		outline: 10px solid #eee;
	}
		.gallery__thumbs_photo {
			width: 100%;
			height: 100%;
			background-color: #eee;
		}
		.gallery__thumbs_photo img {
			width: auto;
			height: 100%;
			display: block;
			margin-left: auto;
			margin-right: auto;
		}

/* nav_line */
.gallery__nav_line {
	height: 3px;
	background-color: #ccc;
	margin: 14px 15px;
	overflow: hidden;
}
	.gallery__nav_scroll {
		background-color: #006697;
		width: 100%;
		height: 100%;
		transform-origin: 0 50%;
		will-change: transform;
	}
