.content-image-gallery {
    /* sometimes somehow the inner element shifts to the right, this fixes it */
    display: flex;
}
.content-image-gallery__inner {
    /* required, otherwise it won't fill the entire row if the images are too small */
    flex: 1 1 auto;
}
.content-image-gallery__item-link {
    border: 1px solid #f2f2f2;
}
/* over-qualification intended */
.content-image-gallery__popup-close-btn.content-image-gallery__popup-close-btn {
    top: 5px;
    right: 5px;
    color: #f96915;
    border-radius: 50%;
}
.no-touchevents .content-image-gallery__popup-close-btn:hover {
    color: #fff;
    background-color: #f96915;
}
.content-image-gallery__popup-close-btn .svg-icon {
    width: 14px;
    height: 14px;
}
/* over-qualification intended */
.content-image-gallery__popup-arrow.content-image-gallery__popup-arrow {
    opacity: 1;
}
.content-image-gallery__popup-arrow .svg-icon {
    opacity: .5;
    color: #f96915;
}
.content-image-gallery__popup-arrow--left .svg-icon {
    -webkit-transform: rotate(90deg) scaleX(2);
    transform: rotate(90deg) scaleX(2);
}
.content-image-gallery__popup-arrow--right .svg-icon {
    -webkit-transform: rotate(-90deg) scaleX(2);
    transform: rotate(-90deg) scaleX(2);
}
.content-image-gallery__popup .mfp-figure:after {
    background-color: #fff;
    box-shadow: none;
}
.mfp-download {
    position: absolute;
    bottom: 50px;
    right: 10px;
    padding-left: 48px;
}

.mfp-download::before {
    content: "↓";
    position: absolute;
    left: 24px;
    top: 10px;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media ( min-width: 768px ) {
    .content-image-gallery__popup-arrow .svg-icon {
        width: 50px;
        height: 50px;
    }
}