﻿
.sep-mGallery {
    position: relative;
    display: none;
}

    .sep-mGallery, .sep-mGallery *, .sep-gallery-popup, .sep-gallery-popup *, .sep-gPopup-imgWrap, .sep-gPopup-imgWrap * {
        box-sizing: border-box;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; /* For some Androids */
    }

        .sep-mGallery a {
            text-decoration: none;
            transition: all 0.3s;
        }

            .sep-mGallery a:hover, .sep-mGallery a:focus {
                text-decoration: none;
            }

        .sep-gPopup-imgWrap img:focus, .sep-gPopup-imgWrap img:active, .sep-gPopup-imgWrap:active, .sep-gPopup-imgWrap:focus {
            background-color: rgba(0,0,0,0);
            outline-color: rgba(0,0,0,0);
        }

        .sep-gallery-popup.mobilePopUp {
            height: 100%;
            top: 0;
            right: 0;
            width: 100%;
        }

.mobilePopUp .sep-gPopup-imgWrap {
    flex-basis: 100%;
    width: 100%;
    flex: initial;
    height: 300px;
    text-align: center;
}

.mobilePopUp .sep-gPopup-tmbWrap {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: #ddd;
    padding-top: 10px;
}

    .mobilePopUp .sep-gPopup-tmbWrap ul {
        overflow-x: scroll;
        white-space: nowrap;
        margin-left: 0;
    }

    .mobilePopUp .sep-gPopup-tmbWrap li {
        display: inline-block;
        padding-right: 5px;
        padding-left: 5px;
    }

    .mobilePopUp .sep-gPopup-tmbWrap .activeImg:before {
        display: none;
    }

    .mobilePopUp .sep-gPopup-tmbWrap .activeImg:after {
        display: none;
    }

    .mobilePopUp .sep-gPopup-tmbWrap .activeImg {
        border-color: red;
        border-style: solid;
        border-width: 1px;
        padding: 5px;
    }

.sep-galleryPager {
    padding: 0;
    list-style: none;
    text-align: center;
    margin: 10px 0 0;
}

    .sep-galleryPager li {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: #ddd;
        border-radius: 50%;
        vertical-align: middle;
        margin: 0 2px;
    }

        .sep-galleryPager li.cIn {
            background-color: gray;
        }

    .sep-galleryPager:before, .sep-galleryPager:after {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        vertical-align: middle;
        opacity: 0;
        font-size: 18px;
        line-height: 10px;
        color: #656565;
        font-family: FontAwesome;
    }

    .sep-galleryPager.toLess:before, .sep-galleryPager.toMore:after {
        opacity: 1;
    }

    .sep-galleryPager.toLess:before {
        content: "\f0da";
    }

    .sep-galleryPager.toMore:after {
        content: "\f0d9";
    }

.sep-gPopup-tmbWrap li:after {
    clear: both;
    display: block;
    content: '';
}
/***-----------------------media-------------------------***/
ul.sep-mGallery {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.sep_kalaTemplate ul.sep-mGallery.horizantalTmb {
    padding-right: 90px;
    margin-top:10px;
}

    .sep_kalaTemplate ul.sep-mGallery img {
        max-height: 80px;
    }

ul.sep-mGallery.horizantalTmb > li {
    padding: 0 5px;
}
ul.sep-mGallery.verticalTmb{
    text-align:center;
}
ul.sep-mGallery.verticalTmb > li {
    margin-bottom:10px;
}
    ul.sep-mGallery > li a {
        display: block;
    }
    ul.sep-mGallery > li a img{
        border: 1px solid #ddd;
    }
.viewImage-v > img {
    width: calc(100% - 80px);
    float: left;
}
ul.sep-mGallery img, .sep-gallery-popup img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.sep-gallery-popup {
    position: fixed;
    z-index: 101;
    display: none;
    background-color: #fff;
}

.sep-g-overBg {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}

.sep-popupHandler {
    position: relative;
}

a.sep-phIcon {
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    line-height: 70px;
    display: inline-block;
    width: 80px;
    position: absolute;
    height: 80px;
    top: 10px;
    z-index: 98;
    font-size: 25px;
}
.popupHandler-v a.sep-phIcon {
    top: 0;
}
.sep-phIcon:before {
    content: "\f141";
    vertical-align: middle;
    display: inline-block;
    font-family: FontAwesome;
}

.sep-gPopup-tmbWrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sep-gPopup-content.sep-v-thumbnails {
    display: -webkit-flex;
    display: flex;
}

.sep-gPopup-tmbWrap {
    overflow: hidden;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */
    flex: 1;
}

    .sep-gPopup-tmbWrap ul {
        overflow-y: scroll;
        margin-left: -17px;
    }

    .sep-gPopup-tmbWrap li {
        padding-right: 15px;
    }

    .sep-gPopup-tmbWrap a {
        display: block;
        padding: 5px 5px 5px 0;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
        height: 110px;
        width: 100%;
        text-align: center;
    }

    .sep-gPopup-tmbWrap .activeImg {
        position: relative;
    }

        .sep-gPopup-tmbWrap .activeImg:before {
            border-bottom: 15px solid transparent;
            border-left: 15px solid #fff;
            border-top: 15px solid transparent;
            content: "";
            position: absolute;
            right: -14px;
            top: 41px;
            z-index: 5;
        }

        .sep-gPopup-tmbWrap .activeImg:after {
            border-bottom: 15px solid transparent;
            border-left: 16px solid #ddd;
            border-top: 16px solid transparent;
            content: "";
            position: absolute;
            right: -16px;
            top: 40px;
            z-index: 4;
        }

.sep-gPopup-imgWrap {
    -webkit-flex: 5; /* Safari 6.1+ */
    -ms-flex: 5; /* IE 10 */
    flex: 5;
    text-align: center;
    padding: 30px;
}

.sep-gPopup-header {
    height: 50px;
    text-align: left;
    line-height: 48px;
    padding: 0 10px;
    background-color: #f0f1f2;
}

.closePopUp {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #eee;
    border-radius: 50%;
    line-height: 30px;
    color: #8a8a8a;
    font-size: 18px;
}
.closePopUp .fa{
    line-height: 28px;
}

.sep-gPopup-imgWrap img {
    margin-top: 20%;
    transition: margin 0s;
}

    .sep-gPopup-imgWrap img.laoded {
        margin-top: 0;
    }

.sep-gPopup-imgWrap {
    overflow: hidden
}

.mobilePopUp .sep-gPopup-tmbWrap a {
    height: 80px;
}


.sep-gallery-popup *::-moz-selection {
    background: transparent;
}
.sep-gallery-popup *::selection {
    background: transparent;
}

/*#sep-productImg {
    touch-action: none;
}*/

/***-----------------------media-------------------------***/
@media(max-width:768px) {
    .sep-shImages {
        height: 300px;
        text-align: center;
    }

        .sep-shImages img {
            max-height: 100%;
        }

    ul.sep-mGallery {
        display: none;
    }
    }
@media(min-width:1600px) {

    .mobilePopUp .sep-gPopup-tmbWrap {
        position: absolute;
    }
        .mobilePopUp .sep-gPopup-tmbWrap ul {
            height: auto !important;
        }
}