﻿.article-body-image-gallery{
    margin-bottom: 10px;
}

.image-gallery-swiper {
    max-width: 670px !important;
}

.image-gallery-icon {
    width: 133px;
    height: 37px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 999;
}

.image-gallery-image-caption-credit {
    max-width: 100%;
    height: auto;
}

.image-gallery-swiper-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: .9;
}

.image-gallery-swiper-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.image-gallery-swiper-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 115%;
    left: 0;
    top: 15%;
    padding: 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    vertical-align: middle;
}

.image-gallery-swiper-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
    top:70px;
}

img.image-gallery-image-item {
    width: auto;
    max-width: 868px;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    margin: 0 auto;
    overflow: hidden;
    cursor: default;
}

.image-gallery-container {
    display: inline-block;
    margin: 20px 0;
    width: 670px;
    height: auto;
}

    .image-gallery-container .image-gallery-item-container {
        display: inline-block;
        width: 100%;
        position: relative;
        line-height: unset;
        font-size: 0;
    }

        .image-gallery-container .image-gallery-item-container .image-gallery-image-item {
        }

            .image-gallery-container .image-gallery-item-container .image-gallery-image-item:hover {
                cursor: pointer;
            }

        .image-gallery-container .image-gallery-item-container .image-gallery-image-credit {
            text-align: center;
            line-height: 18px;
            color: #f3f3f3;
            word-wrap: break-word;
            padding-top: 10px;
        }

.image-gallery-swiper .image-gallery-swiper-pagination {
    bottom: 40px !important;
}

    .image-gallery-swiper .image-gallery-swiper-pagination .swiper-pagination-bullet {
        width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,15px));
        height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,15px));
    }

        .image-gallery-swiper .image-gallery-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
            background-color: #fff;
        }

.image-gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 50px 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #0b0b0b;
}

.image-gallery-modal-window {
    display: none;
}

.image-gallery-modal-content {
    width: 822px;
    height:537px;
}

.image-gallery-modal-btn-close {
    color: white;
    position: absolute;
    top: -40px;
    right: 5px;
    font-size: 55px;
}

    .image-gallery-modal-btn-close:hover,
    .image-gallery-modal-btn-close:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

.image-gallery-modal-slide {
    display: none;
    text-align: center;
}

.swiper-button-next, .swiper-button-prev {
    cursor: pointer;
    color: white !important;
    font-weight: bold !important;
    font-size: 30px !important;
}

.swiper-button-next {
    right: -50px !important;
}

.swiper-button-prev {
    left: -50px !important;
}

.swiper-pagination{
    bottom: 50px !important;
}

.swiper-pagination-bullet {
    height: 10px !important;
    width: 10px !important;
}

.swiper-pagination-bullet-active {
    background: white !important;
}

.image-gallery-modal-prev,
.image-gallery-modal-next {
    cursor: pointer;
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 30px;
}

    .image-gallery-modal-prev:hover,
    .image-gallery-modal-prev:focus,
    .image-gallery-modal-next:hover,
    .image-gallery-modal-next:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

.image-gallery-modal-slide-credit {
    text-align: left;
    float:left;
    line-height: 18px;
    word-wrap: break-word;
    display:inline-block;
    width:90%;
}

.image-gallery-modal-slide-number-text {
    text-align: right;
    float: right;
    line-height: 18px;
    display: inline-block;
    width:10%;
}

.image-gallery-modal-slide-caption {
    padding-top: 10px;
    color: #f3f3f3;
}

.image-gallery-modal-slide .image-gallery-image-item {
    width: 822px;
    height: auto;
}

img.image-gallery-image-item {
    max-width: 822px;
    height: auto;
}

.image-gallery-modal-caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

