body.compensate-for-scrollbar {
    overflow: hidden;
}

.fotos-active {  height: auto;}

.fotos-is-hidden {
    left: -9999px;
    margin: 0;
    position: absolute !important;
    top: -9999px;
    visibility: hidden;}

.fotos-container {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none;
    position: fixed;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    transform: translateZ(0);
    width: 100%;
    z-index: 99992;}

.fotos-container * { box-sizing: border-box;}

.fotos-outer,
.fotos-inner,
.fotos-bg,
.fotos-stage {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;	}

.fotos-outer {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;}

.fotos-bg {
    background: rgba(255, 255, 255, .9); /* hintergrundfarbe vom overlay... */
    opacity: 0;
    transition-duration: inherit;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.47, 0, .74, .71);}

.fotos-is-open .fotos-bg {
    opacity: .9;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);}

.fotos-infobar,
.fotos-toolbar,
.fotos-caption,
.fotos-navigation .fotos-button {
    direction: ltr;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease, visibility 0s ease .25s;
    visibility: hidden;
    z-index: 99997;}

.fotos-show-infobar .fotos-infobar,
.fotos-show-toolbar .fotos-toolbar,
.fotos-show-caption .fotos-caption,
.fotos-show-nav .fotos-navigation .fotos-button {
    opacity: 1;
    transition: opacity .25s ease 0s, visibility 0s ease 0s;
    visibility: visible;}

.fotos-infobar {  /* oben links die seitenzahl...*/
    color: #ccc;
    font-size: 1.0em;
    -webkit-font-smoothing: subpixel-antialiased;
    height: 44px;
    left: 0;
    line-height: 44px;
    min-width: 44px;
    mix-blend-mode: difference;
    padding: 0 10px;
    pointer-events: none;
    top: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;}

.fotos-toolbar {/* ist das ding oben rechts*/
    right: 0;
    top: 0;}

.fotos-stage {
    direction: ltr;
    overflow: visible;
    transform: translateZ(0);
    z-index: 99994;}

.fotos-is-open .fotos-stage {
    overflow: hidden;}

.fotos-slide {
    -webkit-backface-visibility: hidden;
    /* Using without prefix would break IE11 */
    display: none;
    height: 100%;
    left: 0;
    outline: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: absolute;
    text-align: center;
    top: 0;
    transition-property: transform, opacity;
    white-space: normal;
    width: 100%;
    z-index: 99994;
}

.fotos-slide::before {
    content: '';
    display: inline-block;
    font-size: 0;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.fotos-is-sliding .fotos-slide,
.fotos-slide--previous,
.fotos-slide--current,
.fotos-slide--next {
    display: block;
}

.fotos-slide--image {
    overflow: hidden;
    padding: 44px 0;
}

.fotos-slide--image::before {
    display: none;
}

.fotos-slide--html {
    padding: 6px;
}

.fotos-content {
    background: #fff;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

.fotos-slide--image .fotos-content {
    animation-timing-function: cubic-bezier(.5, 0, .14, 1);
    -webkit-backface-visibility: hidden;
    background: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    left: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    position: absolute;
    top: 0;
    -ms-transform-origin: top left;
    transform-origin: top left;
    transition-property: transform, opacity;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 99995;
}

.fotos-can-zoomOut .fotos-content {
    cursor: zoom-out;
}

.fotos-can-zoomIn .fotos-content {
    cursor: zoom-in;
}

.fotos-can-swipe .fotos-content,
.fotos-can-pan .fotos-content {
    cursor: -webkit-grab;
    cursor: grab;
}

.fotos-is-grabbing .fotos-content {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.fotos-container [data-selectable='true'] {
    cursor: text;
}

.fotos-image,
.fotos-spaceball {
    background: transparent;
    border: 0;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%; border:4px solid grey;border-radius:0px;
}

.fotos-spaceball {
    z-index: 1;
}

.fotos-slide--video .fotos-content,
.fotos-slide--map .fotos-content,
.fotos-slide--pdf .fotos-content,
.fotos-slide--iframe .fotos-content {
    height: 100%;
    overflow: visible;
    padding: 0;
    width: 100%;
}

.fotos-slide--video .fotos-content {
    background: #000;
}

.fotos-slide--map .fotos-content {
    background: #e5e3df;
}

.fotos-slide--iframe .fotos-content {
    background: #fff;
}

.fotos-video,
.fotos-iframe {
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* Fix iOS */
.fotos-iframe {
    left: 0;
    position: absolute;
    top: 0;
}

.fotos-error {
    background: #fff;
    cursor: default;
    max-width: 400px;
    padding: 40px;
    width: 100%;
}

.fotos-error p {
    color: #444;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

/* Buttons */

.fotos-button { /* die 3 (bzw. 4) Buttons oben rechts */
    background: rgba(30, 30, 30, .8);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: 80px;
    margin: 0;
	margin-left:3px;
    padding: 10px;
    position: relative;
    transition: color .2s;
    vertical-align: top;
    visibility: inherit;
    width: 80px;
	
}

.fotos-button,
.fotos-button:visited,
.fotos-button:link {
    color: orange;
}

.fotos-button:hover {
    color: white;
}

.fotos-button:focus {
    outline: none;
}

.fotos-button.fotos-focus {
    outline: 1px dotted;
}

.fotos-button[disabled],
.fotos-button[disabled]:hover {
    color:silver;
    cursor: default;
    outline: none;
}

/* Fix IE11 */
.fotos-button div {
    height: 100%;
}

.fotos-button svg {
    display: block;
    height: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.fotos-button svg path {
    fill: currentColor;
    stroke-width: 0;
}

.fotos-button--play svg:nth-child(2),
.fotos-button--fsenter svg:nth-child(2) {
    display: none;
}

.fotos-button--pause svg:nth-child(1),
.fotos-button--fsexit svg:nth-child(1) {
    display: none;
}

.fotos-progress {
    background: #ff5268;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -ms-transform-origin: 0;
    transform-origin: 0;
    transition-property: transform;
    transition-timing-function: linear;
    z-index: 99998;
}

/* Close button on the top right corner of html content */

.fotos-close-small {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: silver;
    cursor: pointer;
    opacity: .8;
    padding: 8px;
    position: absolute;
    right: -12px;
    top: -44px;
    z-index: 401;
}

.fotos-close-small:hover {
    color: orange;
    opacity: 1;
}

.fotos-slide--html .fotos-close-small {
    color: currentColor;
    padding: 10px;
    right: 0;
    top: 0;
}

.fotos-slide--image.fotos-is-scaling .fotos-content {
    overflow: hidden;
}

.fotos-is-scaling .fotos-close-small,
.fotos-is-zoomable.fotos-can-pan .fotos-close-small {
    display: none;
}

/* Navigation arrows */

.fotos-navigation .fotos-button { /* die pfeile l. u. r. */
    background-clip: content-box;
    height: 140px;
    opacity: 0;
    position: absolute;
    top: calc(50% - 50px);
    width: 100px;
}

.fotos-navigation .fotos-button div {
    padding: 7px;
}

.fotos-navigation .fotos-button--arrow_left {
    left: 0;
    left: env(safe-area-inset-left);
    padding: 11px 6px 31px 6px;
}

.fotos-navigation .fotos-button--arrow_right {
    padding: 11px 6px 31px 6px;
    right: 0;
    right: env(safe-area-inset-right);
}

/* Caption */

.fotos-caption {  /* text unter den fotos  */
   
	background: rgba(255, 255, 255, .8);
	color:white;
		background:#333333; /* Old browsers */

    font-size: 1.0em;
    line-height: 1.2em;  /* achtung, bei unter 1.2em gibts nen hässlichen vertical-scrollbalken bei dieser box.... */
	pointer-events: none;
	bottom:0;
	left: 0;
    right: 0;
    text-align: center;
	z-index: 934;}
	
		

@supports (padding: max(0px)) {
    .fotos-caption {
        padding: 2.2em max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
    }
}

.fotos-caption--separate {
    margin-top: -40px;
}

.fotos-caption__body {
    max-height: 30vh;
    overflow: auto;
    pointer-events: all;
}

.fotos-caption a,
.fotos-caption a:link,
.fotos-caption a:visited {

}

.fotos-caption a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Loading indicator */

.fotos-loading {
    animation: fotos-rotate 1s linear infinite;
    background: transparent;
    border: 4px solid #888;
    border-bottom-color: #fff;
    border-radius: 50%;
    height: 50px;
    left: 50%;
    margin: -25px 0 0 -25px;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 50px;
    z-index: 99999;
}

@keyframes fotos-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Transition effects */

.fotos-animated {
    transition-timing-function: cubic-bezier(0, 0, .25, 1);
}

/* transitionEffect: slide */

.fotos-fx-slide.fotos-slide--previous {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

.fotos-fx-slide.fotos-slide--next {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.fotos-fx-slide.fotos-slide--current {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* transitionEffect: fade */

.fotos-fx-fade.fotos-slide--previous,
.fotos-fx-fade.fotos-slide--next {
    opacity: 0;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}

.fotos-fx-fade.fotos-slide--current {
    opacity: 1;
}

/* transitionEffect: zoom-in-out */

.fotos-fx-zoom-in-out.fotos-slide--previous {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1.5);
}

.fotos-fx-zoom-in-out.fotos-slide--next {
    opacity: 0;
    transform: scale3d(.5, .5, .5);
}

.fotos-fx-zoom-in-out.fotos-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* transitionEffect: rotate */

.fotos-fx-rotate.fotos-slide--previous {
    opacity: 0;
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.fotos-fx-rotate.fotos-slide--next {
    opacity: 0;
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.fotos-fx-rotate.fotos-slide--current {
    opacity: 1;
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* transitionEffect: circular */

.fotos-fx-circular.fotos-slide--previous {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
}

.fotos-fx-circular.fotos-slide--next {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
}

.fotos-fx-circular.fotos-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}


/* transitionEffect: tube */

.fotos-fx-tube.fotos-slide--previous {
    transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg);
}

.fotos-fx-tube.fotos-slide--next {
    transform: translate3d(100%, 0, 0) scale(.1) skew(10deg);
}

.fotos-fx-tube.fotos-slide--current {
    transform: translate3d(0, 0, 0) scale(1);
}

/* Styling for Small-Screen Devices */
@media all and (max-height: 576px) {
    .fotos-slide {
        padding-left: 6px;
        padding-right: 6px;
    }

    .fotos-slide--image {
        padding: 6px 0;
    }

    .fotos-close-small {
        right: -6px;
    }

    .fotos-slide--image .fotos-close-small {
        background: #4e4e4e;
        color: lightblue;
        height: 36px;
        opacity: 1;
        padding: 6px;
        right: 0;
        top: 0;
        width: 36px;
    }

    .fotos-caption {
        padding-left: 12px;
        padding-right: 12px;
		
    }

    @supports (padding: max(0px)) {
        .fotos-caption {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}
/* Share */

.fotos-share {
    background: #f4f4f4;
    border-radius: 3px;
    max-width: 90%;
    padding: 30px;
    text-align: center;
}

.fotos-share h1 {
    color: #222;
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.fotos-share p {
    margin: 0;
    padding: 0;
}

.fotos-share__button {
    border: 0;
    border-radius: 3px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 5px 10px 5px;
    min-width: 130px;
    padding: 0 15px;
    text-decoration: none;
    transition: all .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.fotos-share__button:visited,
.fotos-share__button:link {
    color: #fff;
}

.fotos-share__button:hover {
    text-decoration: none;
}

.fotos-share__button--fb {
    background: #3b5998;
}

.fotos-share__button--fb:hover {
    background: #344e86;
}

.fotos-share__button--pt {
    background: #bd081d;
}

.fotos-share__button--pt:hover {
    background: #aa0719;
}

.fotos-share__button--tw {
    background: #1da1f2;
}

.fotos-share__button--tw:hover {
    background: #0d95e8;
}

.fotos-share__button svg {
    height: 25px;
    margin-right: 7px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 25px;
}

.fotos-share__button svg path {
    fill: #fff;
}

.fotos-share__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    border-radius: 0;
    color: #5d5b5b;
    font-size: 14px;
    margin: 10px 0 0 0;
    outline: none;
    padding: 10px 15px;
    width: 100%;
}
/* Thumbs */

.fotos-thumbs {
    background: #ddd;
    bottom: 0;
    display: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding: 2px 2px 4px 2px;
    position: absolute;
    right: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 0;
    width: 212px;
    z-index: 99995;
}

.fotos-thumbs-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.fotos-show-thumbs .fotos-thumbs {
    display: block;
}

.fotos-show-thumbs .fotos-inner {
    right: 212px;
}

.fotos-thumbs__list {
    font-size: 0;
    height: 100%;
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.fotos-thumbs-x .fotos-thumbs__list {
    overflow: hidden;
}

.fotos-thumbs-y .fotos-thumbs__list::-webkit-scrollbar {
    width: 7px;
}

.fotos-thumbs-y .fotos-thumbs__list::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

.fotos-thumbs-y .fotos-thumbs__list::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

.fotos-thumbs__list a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    float: left;
    height: 75px;
    margin: 2px;
    max-height: calc(100% - 8px);
    max-width: calc(50% - 4px);
    outline: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    width: 100px;
}

.fotos-thumbs__list a::before {
    border: 6px solid #ff5268;
    bottom: 0;
    content: '';
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .2s cubic-bezier(.25, .46, .45, .94);
    z-index: 99991;
}

.fotos-thumbs__list a:focus::before {
    opacity: .5;
}

.fotos-thumbs__list a.fotos-thumbs-active::before {
    opacity: 1;
}

/* Styling for Small-Screen Devices */
@media all and (max-width: 576px) {
    .fotos-thumbs {
        width: 110px;
    }

    .fotos-show-thumbs .fotos-inner {
        right: 110px;
    }

    .fotos-thumbs__list a {
        max-width: calc(100% - 10px);
    }
}