.image-gallery__details {
    display: none;
    position: absolute;
}

.image-galleries__headline {
    padding-bottom: 21px;
}

.image-galleries__headline .btns-gap {
    margin-top: 20px;
}

.image-gallery-item {
    margin-top: 15px;
}

.image-gallery {
    display: block;
    background: none;
    font-weight: normal;
    height: 219px;
    box-shadow: 0 5px 20px rgba(50,56,62,0.1);
    position: relative;
    overflow: hidden;
}

.image-gallery--sm {
    height: 102px;
}

.image-gallery--md {
    height: 66px;
}

/* Custom Stylin */
.gallery-wrapper > form.push-bottom {
    display: none;
}

.media-gallery__item-title {
    display: none;
}

.fxgallery-loadmore__counter,
.fxgallery-loadmore__progress {
    display: none;
}

.fxgallery-loadmore__btn {
    margin: 30px auto 0;
    display: block;
    background: linear-gradient(45deg,#065AA3 0%,#065AA3 100%);
    transition: all ease-in-out 0.3s;
}

.fxgallery-loadmore__btn:disabled {
    display: none;
}

.fxgallery-loadmore__btn:not([disabled]):hover {
    background: linear-gradient(45deg,#001f3b 0%,#065aa3 100%);
}

.mfp-bg {
    background: #001F3B!important;
    opacity: 0.9!important;
}

.mfp-gallery .mfp-arrow {
    width: 64px;
    height: 50px;
    opacity: 1;
}

.mfp-gallery .mfp-arrow::before {
    display: none;
}

.mfp-gallery .mfp-arrow:after {
    content: "";
    font-family: 'king-door';
    font-size: 45px;
    color: #fff;
    position: absolute;
    top: -12px;
    left: 0;
    border: none;
    margin: 0;
    width: auto;
    height: auto;
}

.mfp-gallery .mfp-arrow-left {
    left: 0;
}

.mfp-gallery .mfp-arrow-left:after {
    content: "\e90b";
    top: -8px;
    left: 10px;
}

.mfp-gallery .mfp-arrow-right {
    right: 0;
}

.mfp-gallery .mfp-arrow-right:after {
    content: "\e90c";
    top: -8px;
    right: 10px;
}

.gallery-lion-overlay {
    background-image: url('/wp-content/themes/fx/assets/img/gallery-lion.png');
    position: absolute;
    height: calc(100% + 34px);
    right: -37px;
    width: 198px;
    background-repeat: no-repeat;
    background-size: cover;
}

.post__content .image-galleries > .container {
    padding: 0;
}

@media (min-width: 768px) {
    .image-galleries__headline {
        padding-bottom: 5px;
    }

    .image-gallery-item {
        margin-top: 30px;
    }

    .image-gallery {
        height: 210px;
    }

    .image-gallery--sm {
        height: 90px;
    }

    .image-gallery--md {
        height: 133px;
    }
}

@media (min-width: 1025px) {
    .post__content .media-gallery__item-link {
        height: 210px;
    }

    .post__content .media-gallery__item-link .btn-tertiary {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .image-galleries__headline {
        padding-bottom: 18px;
    }

    .image-galleries__headline .btns-gap {
        margin-top: 25px;
    }

    .image-gallery-item {
        margin-top: 32px;
    }

    .image-gallery {
        height: 409px;
    }

    .image-gallery--sm {
        height: 188.5px;
    }

    .image-gallery--md {
        height: 266px;
    }

    .image-gallery__details {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(to bottom,  rgba(6,90,163,0.85) 0%,rgba(6,90,163,0.9) 78%,rgba(0,31,59,0.9) 100%);
        display: flex;
        align-items: center;
        opacity: 0;
        transition: all ease-in-out 0.3s;
    }

    .image-gallery:hover .image-gallery__details,
    .media-gallery__item-link:hover .image-gallery__details {
        opacity: 1;
    }

    .image-gallery__description {
        color: #fff;
        text-align: center;
        width: 100%;
    }

    .image-gallery__description i {
        display: block;
        font-size: 35px;
        line-height: 1em;
        margin-bottom: 15px;
    }

    .image-gallery__description .btn-tertiary {
        color: #fff;
    }

    .gallery-pattern {
        position: absolute;
        object-fit: cover;
        height: calc(100% + 34px);
        right: -104px;
    }

    .mfp-gallery .mfp-arrow:after {
        font-size: 64px;
    }

    .mfp-gallery .mfp-arrow-left {
        left: 20%;
    }

    .mfp-gallery .mfp-arrow-right {
        right: 20%;
    }
}