﻿.painting-layer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #000;
    color: #fff;
    display: none
}

    .painting-layer .layer-header {
        height: 160px;
        position: relative;
        line-height: 160px;
        text-align: center;
        font-size: 16px
    }

        .painting-layer .layer-header h3 {
            position: relative;
            top: -120px
        }

        .painting-layer .layer-header .close {
            /*width: 31px;
            height: 31px;*/
            width: 21px;
            height: 20px;
            display: block;
            position: absolute;
            right: 4.6875%;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            background: url(/Static/images/close.png);
            z-index: 999999999999
        }

    .painting-layer .layer-footer {
        height: 150px;
        position: relative
    }

        .painting-layer .layer-footer a {
            display: block;
            font-size: 18px;
            color: #fff;
            position: absolute;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%)
        }

            .painting-layer .layer-footer a:before {
                content: '';
                width: 22px;
                height: 24px;
                background: url(/Static/images/arrow.png) no-repeat;
                display: block;
                position: absolute
            }

        .painting-layer .layer-footer .prev {
            left: 4.6875%;
            padding-left: 40px
        }

            .painting-layer .layer-footer .prev:before {
                -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
                left: 0
            }

        .painting-layer .layer-footer .next {
            right: 4.6875%;
            padding-right: 40px
        }

            .painting-layer .layer-footer .next:before {
                right: 0
            }

    .painting-layer .content {
        height: calc(100vh - 310px);
        overflow: hidden
    }

        .painting-layer .content .swiper-slide {
            width: auto;
            display: -webkit-box;
            display: flex;
            -webkit-box-align: center;
            align-items: center
        }

        .painting-layer .content img {
            display: block;
            max-width: 100%;
            max-height: 100%;
            margin: 0 auto
        }

        .painting-layer .content .swiper-pagination {
            top: auto;
            bottom: 0
        }

        .painting-layer .content .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
            background: #b4b4b4
        }

    .painting-layer .swiper-wrapper {
        -webkit-box-pack: center;
        justify-content: center
    }

    .painting-layer.active {
        display: block
    }

        .painting-layer.active .content {
            -webkit-animation: contentSwiper 2s forwards;
            animation: contentSwiper 2s forwards
        }
