.fancybox-caption__body h1{
    margin-bottom: 5px;
    text-transform: none;
}
.fancybox-caption__body {
    font-size:20px;
    max-width:60%;
    margin:0 auto;
}
.fancybox-caption__body .team-caption-funktion {
    font-size:20px;
}
.fancybox-stage {
    background: #ffffff;
}

/* Fancybox lib Settings */
.arrow-box {
    margin: 20px;
    background: #fff;
    float: left;
}
.fancyboxGalleryBox { width: 200px; }
.fancybox-navigation .fancybox-button {
    height: 100px !important;
    width: 100px !important;
    background:transparent !important;
}
.fancybox-button {
    width:60px !important;
    height:60px !important;
    background:rgb(31, 57, 117) !important;
}
.fancybox-button svg {
    width:38px;
    height:38px;
    margin:0 auto;
}
.fancybox-button svg.fancyboxGalleryArrow {
    width:80ox;
    height:80px;
    margin:0 auto;
}
.fancybox-button svg path {
    fill: #ffffff !important;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 0;
}
.fancybox-button svg path:hover {
    fill: #2562A9 !important;
}
.fancybox-print {
    position: relative;
}
.fancybox-print::before {
    position: absolute;
    content: "";
    background-image: url('../img/printer.svg') !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 26px 26px;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: transparent;
}
.fancybox-button:hover {
    border-bottom:none !important;
}
.tx-kmi-fancybox-gallery figure{
        margin-right:40px !important;
        margin-bottom:40px !important;
       
}
.fancybox-button, .fancybox-button:visited{color:#fff !important;}
.d-none {
    display:none
}
@media screen and (max-width: 991px) {
    .fancybox-button svg.fancyboxGalleryArrow {
        width:38ox;
        height:38px;
        margin:0 0;
    }
    .fancybox-button--arrow_right svg.fancyboxGalleryArrow {
        float:right;
    }
    .fancybox-button {
        width:44px !important;
        height:44px !important;
    }
    .fancybox-button svg {
        width:22ox;
        height:22px;
        margin:0 auto;
    }
    .fancybox-print::before {
        background-image: url('../img/printer.svg') !important;
        background-size: 22px 22px;
        top: 0;
        left: 0;
        width: 44px;
        height: 44px;
        background-color: transparent;
    }
}
/* FE Styles */
.card-deck {
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
}
.card-deck .card {
    display: flex;
    flex: 1 0 0%;
    flex-direction: column;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
}
.card {
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}
.card a img {
    vertical-align: middle;
    border-style: none;
}
.fancybox-button--arrow_right.disabled ,.fancybox-button--arrow_left.disabled {
    display:none;
}
.fancybox-caption{
    bottom:0;
    color:#2c2c2c !important;
    font-size:14px;
    font-weight:400;
    left:0;
    line-height:1.5;
    padding:40px 0 20px !important;
    right:0;
    text-align:left !important;
    background: #ffffff !important;
    text-align: center !important;
}
.fancybox-caption:after{
    border-bottom:1px solid #fdc303;
    content:"";
    display:block;
    left:44px;
    position:absolute;
    right:44px;
    top:0
}
.fancybox-thumbs {
    background-color:#CBD0DA !important;

    /* background-image: url('../img/thumbnails-bg.jpg') !important;
    background-position: right center  !important;
    background-repeat: no-repeat !important;
    background-size: cover !important; */
}
.fancybox-thumbs__list a {
    color:#ffffff !important;
    height:100px !important;
    border:2px solid !important;
}
.fancybox-thumbs__list a::before {
    border-color:#ffffff !important;
    border:3px solid !important;
}
a.fancybox {
    border:none !important;
}
.fancybox-caption__body {
    font-size:14px;
    max-width:100%;
    margin:0 auto;
}
