/* photoswipe.css V4.1.2 | MIT License | github.com/dimsemenov/photoswipe */

/* PRELOAD : Pace */

body.pace-running:before {	
	top: 0;
	left: 0;
    right: 0;
	bottom: 0;	
	z-index: 2000;
	background: #FFF;
    position: fixed;
    content: "";
}

.pace-running .header {
	z-index: 2000;
}

.pace-running .description {
	opacity: 0;
}

.pace-running .further {
	opacity: 0;
}

.page-done .header {
	z-index: 1500;
}

.pace-done .description {
	opacity: 1;
	animation: fadeIn 1s;
	-webkit-animation: fadeIn 1s;
	-moz-animation: fadeIn 1s;
	-ms-animation: fadeIn 1s;
	-o-animation: fadeIn 1s;
}

.pace-done .pswp__button {
	opacity: 1;
	animation: fadeIn 2s;
	-webkit-animation: fadeIn 2s;
	-moz-animation: fadeIn 2s;
	-ms-animation: fadeIn 2s;
	-o-animation: fadeIn 2s;
}

.pace-done .pswp__counter {
	opacity: 1;
	animation: fadeIn 2s;
	-webkit-animation: fadeIn 2s;
	-moz-animation: fadeIn 2s;
	-ms-animation: fadeIn 2s;
	-o-animation: fadeIn 2s;
}

.pace-done .pswp__caption {
	opacity: 1;
	animation: fadeIn 3s;
	-webkit-animation: fadeIn 3s;
	-moz-animation: fadeIn 3s;
	-ms-animation: fadeIn 3s;
	-o-animation: fadeIn 3s;
}

.pace-done .further {
	opacity: 1;
	animation: fadeIn 3s;
	-webkit-animation: fadeIn 3s;
	-moz-animation: fadeIn 3s;
	-ms-animation: fadeIn 3s;
	-o-animation: fadeIn 3s;
}

.pace {	
	left: 35px;
	bottom: 30px;
    z-index: 2000;	
    
	height: 1px;
	width: 78px;	
    
	margin: auto;    
    position: fixed;
	overflow: hidden;
    background: #FFF;
    
    pointer-events: none;    
	-webkit-pointer-events: none;	
    
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.pace .pace-progress {
	top: 0;
	right: 100%;
	width: 100%;
    height: 100%;
    
	max-width: 200px;
    z-index: 2000;
    
	display: block;
    position: fixed;
	position: absolute;
	background: #777;
    
    box-sizing: border-box;	
	-o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	    
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.pace.pace-inactive {
	display: none;
}

    
/* GALLERY : Thumbnails */

.gallery {
	width: 100%;
	float: left;
	display: none;
}

.gallery img {
	width: 100%;
	height: auto;
}

.gallery figure {
	margin: 0;
	width: 100px;
    display: block;
    float: left;
}

.gallery figcaption {
	display: none;
}


/* GALLERY : Main Skeleton */

.pswp {
	top: 0;
    left: 0;
	
	width: 100%;
	height: 100%;
    z-index: 1500;
    
    outline: none;
	display: none;
    overflow: hidden;
	position: absolute;
	
	-webkit-backface-visibility: hidden;
    -webkit-text-size-adjust: 100%;
	-ms-touch-action: none;
	touch-action: none;
}

.pswp * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    
}

.pswp img {
	max-width: none;
}


/* GALLERY : Open/Close Transition */
 
.pswp--animate_opacity {
	opacity: 0.001;
	will-change: opacity;
	transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
	-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
	-moz-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
	-ms-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
	-o-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--open {
	display: block;
}
    

/* GALLERY : Background is added as a separate element. 
As animating opacity is much faster than animating rgba() background-color. */

.pswp__bg {
	background: #FFF;
	height: 100%;
    width: 100%;
	opacity: 0;
    left: 0;
	top: 0;
	
    will-change: opacity;
	-webkit-backface-visibility: hidden;    
    
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.pswp__scroll-wrap {
    top: 0;
	left: 0;

    position: absolute;
    overflow: hidden;
    
	height: 100%;
	width: calc(100% - 80px);
	height: calc(100% - 210px);
	margin: 80px 0 130px 40px;
}

.pswp__container,

.pswp__zoom-wrap {
	-ms-touch-action: none;
	touch-action: none;
	position: absolute;
	top: 0;
    left: 0;
	right: 0;
	bottom: 0;
}


/* GALLERY : Prevent selection and tap highlights */

.pswp__container,

.pswp__img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;    
}


/* GALLERY : Open/close transition */

.pswp__zoom-wrap {
	width: 100%;
    position: absolute;    
	    	
    -webkit-transform-origin: left top;
	-ms-transform-origin: left top;
    transform-origin: left top;
    
	transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);  
    -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

pswp__bg { 
	will-change: opacity;
	transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
    -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--animated-in .pswp__bg,

.pswp--animated-in .pswp__zoom-wrap {
	-webkit-transition: none;
	transition: none;
}

.pswp__container,

.pswp__zoom-wrap {
	-webkit-backface-visibility: visible;
}

.pswp__item {
	top: 0;
	left: 0;
	right: 0;	
	bottom: 0;
	overflow: hidden;
    position: absolute;
}

.pswp__img {
	top: 0;
	left: 0;    
	width: auto;
	height: auto;
    position: absolute;	
}

 
/* GALLERY : Stretched thumbnail or div placeholder element (see below) 
style is added to avoid flickering in webkit/blink when layers overlap */

.pswp__img--placeholder {
	-webkit-backface-visibility: hidden;
     
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}


/* GALLERY : div element that matches size 
of large image large image loads on top of it */

.pswp__img--placeholder--blank {
	background: #222;
}

.pswp--ie .pswp__img {
	width: 100% !important;
	height: auto !important;
	left: 0;
	top: 0;
}


/* GALLERY : Error message */

.pswp__error-msg {
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	text-align: center;
	font-size: 14px;
	line-height: 16px;
	margin-top: -8px;
	color: #CCC;
}

.pswp__error-msg a {
	color: #CCC;
	text-decoration: underline;
}


/* GALLERY : Button */

.pswp__button {	
    width: 15px;
	height: 15px;    
    background: none;
	position: relative;
	overflow: visible;	
	display: block;
    float: right;
	padding: 0;
    border: 0;
	margin: 0;
    opacity: 1;	
	z-index: 1600;    
    -webkit-appearance: none;    
	transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;	
    box-shadow: none;
	-webkit-box-shadow: none;
}

.pswp__button:focus,

.pswp__button:hover {
	opacity: 1;
}

.pswp__button:active {
	outline: none;
	opacity: 1;
}

.pswp__button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

    
/* GALLERY : pswp__ui--over-close class it added when 
mouse is over element that should close gallery */

.pswp__ui--over-close .pswp__button--close {
	opacity: 1;
	z-index: 1550;
}

.pswp__button,

.pswp__button--arrow--left:before,

.pswp__button--arrow--right:before {
	background: none;
	width: 15px;
	height: 15px;
}


/* USER INTERFACE : Root element */

.pswp__ui {
	background: none;
	width: 350px;
	height: 15px;
	bottom: 35px;
	left: 205px;
	position: fixed;
	visibility: visible;
	opacity: 1;
	z-index: 1550;
	user-select: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	-webkit-font-smoothing: auto;
	-webkit-touch-callout: none;
}


/* USER INTERFACE : Arrows on Header */ 

.pswp__button--arrow--left,

.pswp__button--arrow--right {
	background: none;
	width: 15px;
	height: 15px;
	text-align: center;
	float: left;
	position: absolute;
	left: 0;
	bottom: 0;
	opacity: 1;
}

.pswp__button--arrow--left {
	margin: 0 0 0 0;
}

.pswp__button--arrow--right {
	margin: 0 0 0 68px;
}

.pswp--touch .pswp__button--arrow--left,

.pswp--touch .pswp__button--arrow--right {
	visibility: visible;
}

    
/* USER INTERFACE : Arrows on Photo */

.arrows {
	background: none;
	width: 100%;
	height: calc(100% - 90px);
	overflow: hidden;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.phNext {
	background: none;
	width: 50%;
	height: 100%;
	float: right;
	z-index: 2000;
	position: relative;
}

.phPrev {
	background: none;
	width: 50%;
	height: 100%;
	float: left;
	z-index: 2000;
	position: relative;
}

    
/* USER INTERFACE : Counter */

.pswp__counter {
	background: none;
	width: 50px;
	height: 15px;
	text-align: center;
	text-align-last: center;
	float: left;
	position: absolute;
	margin: 0 0 0 16px;
	left: 0;
	bottom: 0;
	opacity: 1;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

    
/* USER INTERFACE : Caption */

.pswp__caption {
	background: none;
	text-align: left;
	float: left;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0 0 0 110px;
	opacity: 1;
}

.pswp__caption__center {
	background: none;
	width: 600px;
	height: 15px;
}

.pswp__caption--empty {
	display: none;
}

.pswp__caption--fake {
	visibility: hidden;
}


/* USER INTERFACE : Top Bar */

.pswp__top-bar {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 0;
	width: 0;
}

.pswp__caption,

.pswp__top-bar,

.pswp--has_mouse .pswp__button--arrow--left,

.pswp--has_mouse .pswp__button--arrow--right {
	will-change: opacity;
    -webkit-backface-visibility: visible;
	-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
	transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}


/* USER INTERFACE : pswp--has_mouse class is added 
only when two subsequent mousemove events occur */

.pswp--has_mouse .pswp__button--arrow--left,

.pswp--has_mouse .pswp__button--arrow--right {
	visibility: visible;
}

.pswp__top-bar,

.pswp__caption {
	background: none;
}


/* USER INTERFACE : pswp__ui--fit class is added when 
main image "fits" between top bar and bottom bar (caption) */

.pswp__ui--fit .pswp__top-bar,

.pswp__ui--fit .pswp__caption {
	background: none;
	z-index: 1550;
}


/* USER INTERFACE : pswp__ui--idle class is added when 
mouse isn't moving for several seconds (JS option timeToIdle) */

.pswp__ui--idle .pswp__top-bar {
	opacity: 1;
}

.pswp__ui--idle .pswp__button--arrow--left,

.pswp__ui--idle .pswp__button--arrow--right {
	opacity: 1;
	z-index: 1550;
}


/* USER INTERFACE : pswp__ui--hidden class is added 
when controls are hidden e.g. when user taps to toggle visibility
of controls. Force paint & create composition layer for controls. */

.pswp__ui--hidden .pswp__top-bar,

.pswp__ui--hidden .pswp__caption,

.pswp__ui--hidden .pswp__button--arrow--left,

.pswp__ui--hidden .pswp__button--arrow--right {
	opacity: 0.001;
	z-index: 1550;
}

    
/* USER INTERFACE : pswp__ui--one-slide class is 
added when there is just one item in gallery */

.pswp__ui--one-slide .pswp__button--arrow--left,

.pswp__ui--one-slide .pswp__button--arrow--right,

.pswp__ui--one-slide .pswp__counter {
	display: block;
	z-index: 1550;
}

.pswp__element--disabled {
	display: block !important;
	z-index: 1550;
}

.pswp--minimal--dark .pswp__top-bar {
	background: block;
	z-index: 1550;
}


/* RESPONSIVES */

@media screen and (max-width: 768px) {
	.pswp__caption {
		display: none;
	}
}

@media screen and (max-width: 455px) {
	.pswp__button--arrow--left {
		font-size: 10px;
		margin: 0 0 0 0;
	}
	.pswp__counter {
		font-size: 10px;
		margin: 0 0 0 8px;
	}
	.pswp__button--arrow--right {
		font-size: 10px;
		margin: 0 0 0 52px;
	}
	.pswp__ui {
		left: 135px;
		bottom: 19px;
	}
	.pswp__scroll-wrap {
		position: absolute;
		left: 0;
		top: 0;
		width: calc(100% - 40px);
		height: calc(100% - 90px);
		overflow: hidden;
		margin: 30px 0 0 20px;
	}
}