/* ----- css von photoswipe ------------- */

.my-gallery {
  width: 100%;
  display: block;
  margin-top: 30px;
}

.my-gallery img {
  width: 100%;
  height: auto;
  margin-top: 6px;
}


.my-gallery figure {
  display: block;
  margin: 0 0px 0px 0;
  width: 100%;
}
.my-gallery figcaption {
  display: none;
}


.bildergallerie-ohne-photoswipe {
	display:none;
  	margin-top: 30px;
}

.bildergallerie-ohne-photoswipe a{
	cursor: default;
}




/*------ Fenstergrösse max 780px --------------------------------- */


@media (max-width: 780px) {

	.my-gallery {
		display:none;
	}

	.bildergallerie-ohne-photoswipe {
		display:block;
		margin-top: 0px;
	}

	.bildergallerie-ohne-photoswipe img {
	  width: 100%;
	  height: auto;
	  margin-top: 6px;
	  cursor: default;
	}
}

/* ----- css von Luki ------------- */





.pswp__top-bar {

	background-color: transparent;
}

.pswp__counter {
	font-style: normal;
	font-family: 'Josefin Sans';
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1.3rem;
	color: #3C3021;
}


.pswp--zoom-allowed .pswp__img {
cursor: default;
}


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

/*
#zurueck {
	width: 40px;
	float:left;
	padding-right: 35px;
}


#zur-uebersicht {
	float:left;
	margin-top: 20px;
	width: 255px;
}

#vorwaerts {
	width: 40px;
	float:left;
	padding-left: 10px;

}
*/
/* Adi */

.pswp__scroll-wrap {
	margin-bottom: 40px;
	overflow: visible;
}

.pswp__zoom-wrap, .pswp__button {
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition:none;
}

.pswp__bg {
	background: #fff;
	transform: none;
}

.pswp__button {
	opacity: 1;
    background: url() 0 0 no-repeat;

}


.pswp__button--arrow--left:before {
  background: url(links.png) 0 0 no-repeat;
  background-size: 30px 40px;
  width: 30px;
  height: 44px; }

.pswp__button--arrow--right:before {
  background: url(rechts.png) 0 0 no-repeat;
  background-size: 30px 40px;
  width: 30px;
  height: 44px; }


.pswp__button--close {
  text-align: center;
  width: 100%;
  background-position: 0 -44px;
  background:	#ffffff; }

.pswp__button--arrow--left,
.pswp__button--arrow--right {
	background: none;
    /*top: auto;
  	margin-top: -50px;
  	width: 70px;

  	position: absolute; */
	height: 50px;
	}

/* Buttons */

.custom-buttons {
	width: 50%;
    margin: 0 auto;
    min-height: 30px;
}

.custom-buttons .custom-button-container {
    float: left;
    width: 33%;
    margin: 15px auto 10px;
    height: 44px;
}

.custom-buttons .custom-button-container#zur-uebersicht{
    margin-top: 0px;
    line-height: 1.3px;
    margin-bottom: 0px;
}

.custom-buttons .custom-button-container button {
	position: relative;
	height: 80px;
}

#vorwaerts button {
	float: left;
}

#zur-uebersicht button {
	padding-top: 4px;
	font-style: normal;
	font-family: 'Aldrich';
	font-size: 0.9rem;
	color: #000000;
	/*
	padding-top: 10px;
	padding-bottom: 7px;
	line-height:  1.2rem;*/
}

#zur-uebersicht button:hover{
	color: #46BD45;
}

.pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption {
	background-color: #fff;
}

.pswp__button--arrow--left:before, .pswp__button--arrow--right:before {
	background-size: 21px 40px;
}



/** adi*/

.pswp__caption {
	background-color: white !important;
}

.pswp__caption__center {
    color: black !important;
    font-style: normal;
    font-family: 'Aldrich';
    font-weight: 300;
    font-size: 0.95em;
    line-height: 1.4em;
    max-width: 720px;
    text-align: center !important;
    padding-bottom: 10px;
	padding-top: 10px !important;
}

.pswp__item .pswp__zoom-wrap img.pswp__img {
	padding: 20px;
}

.pswp__button--arrow--left, .pswp__button--arrow--right {
	display: inline !important;
}


.pswp--animate_opacity,
.pswp__bg,
.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right{
    -webkit-transition: opacity 0ms cubic-bezier(.4,0,.22,1);
    -o-transition: opacity 0ms cubic-bezier(.4,0,.22,1);
    -moz-transition: opacity 0ms cubic-bezier(.4,0,.22,1);
    transition: opacity 0ms cubic-bezier(.4,0,.22,1);
}


.my-gallery figure .bildbeschrieb, figure .bildbeschrieb {
	display: none;
}




  /* ------------------  Reparatur Photoswipe auf iPad -------------- */


@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
	.ipad .pswp--svg .pswp__button--arrow--left:before {
		background: url(links.png) 0 0 no-repeat;
		top: 28px;
		background-size: 21px 40px;
	}

	.ipad .pswp--svg .pswp__button--arrow--right:before {
    	background: url(rechts.png) 0 0 no-repeat;
    	top: 28px;
    	background-size: 21px 40px;
	}

	.ipad .pswp--svg .pswp__button--close {
	  top: 0px;
	}

	.ipad .pswp__item .pswp__zoom-wrap img.pswp__img {
		padding-top: 70px;
	}

	.ipad .custom-buttons .custom-button-container button {
		height: 70px;
	}
 }








