﻿/*@import "_const.less";

.swiper-container {
    overflow: hidden;
    position: absolute;
    text-align: center;
    padding: 0;
    top: 50%;
    left: 50%;


    img {
        border: 5px solid #f5f5f5;
        max-width: 100%;
    }
}

.swiper-slide {
    overflow: hidden;
}

.swiper-container-horizontal > .swiper-pagination {
    bottom: -20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: .5;
}


.swiper-wp8-horizontal {
    -ms-touch-action: pan-y;
}

.swiper-wp8-vertical {
    -ms-touch-action: pan-x;
}

#backClose {
    position: absolute;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.details {
    position: absolute;
    bottom: 0;
    background: #f5f5f5;
    display: block;
    margin-top: -4px;
    padding-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    min-height: 30px;
    color: #000;

    .download {
        float: right;
        margin-right: 10px;
    }
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
}

.slideshow-modal {
    &:not(.active) {
        display: none;
    }

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin: 0;
    padding: 0;

    article {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 47px;
        left: 0;
        padding: 20px;

        &.active {
            z-index: 10;
            opacity: 1;
        }

        &:not(.active) {
            z-index: 0;
            opacity: 0;
        }

        figure {
            width: 100%;
            height: 100%;
            -moz-background-size: contain;
            -o-background-size: contain;
            -webkit-background-size: contain;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            z-index: 1;
            position: relative;
            max-width: 1280px;
            margin: auto;
        }
    }

    footer {
        width: 400px;
        bottom: 0;
        position: fixed;
        background: @elementBackground;
        padding: 5px 0;
        margin: 0;
        left: 50%;
        margin-left: -200px;
        border-radius: 5px 5px 0 0;
        border: 1px solid @defaultBorder;
        border-bottom: 0;

        [data-role="toolbar"]:first-child {
            width: 260px;
            height: 36px;
            overflow: hidden;

            label {
                line-height: 1.4em;
            }
        }
    }
}

@media screen and (max-width: @responsiveSmallMedium) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}*/
