.wk-product-gallery-wrapper * {
    box-sizing:border-box;
}
.wk-product-gallery-thumb-wrapper {
    display: inline-block;
    width: 90px;
    min-height: 100px;
    margin-right: 10px;
}
.wk-product-gallery-content-wrapper {
    display: inline-block;
    width: calc(100% - 100px);
    vertical-align:top;
}
.wk-product-gallery-content-image-viewport {
    display: inline-block;
    width: 100%;
    position: relative;
    overflow:hidden;
}
.wk-product-gallery-content-image-holder {
    display: inline-block;
    width: 5000%;
    font-size: 0;
}
.wk-product-gallery-item {
    display: inline-block;
    vertical-align: middle;
    font-size:14px;
    text-align: center;
}
.wk-product-gallery-wrapper {
    display: inline-block;
    width: 100%;
    font-size: 0;
}
.wk-product-gallery-thumb-item {
    display: inline-block;
    width: 90px;
    margin-bottom: 5px;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
}
.wk-product-gallery-thumb-image-wrapper {
    overflow: hidden;
    position: relative;
}

.lSPager.lSpg {
    display: none;
}
.wk-product-gallery-thumb-image-container {
    position: relative;
}
.wk-hidden {
    opacity: 0 !important;
}

.wk-gallery-loading-mask {
    position: absolute;
}
.wk-product-gallery-prev {
    display: inline-block;
    font-size: 12px;
    text-align: center;
    width: 100%;
    background: #006bb4;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    cursor: pointer;
    z-index: 9999;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease-in-out;
}
.wk-product-gallery-next {
    display: inline-block;
    font-size: 12px;
    text-align: center;
    width: 100%;
    background: #006bb4;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    cursor: pointer;
    z-index: 9999;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease-in-out;
}
.wk-product-gallery-thumb-video-wrapper {
    margin-top: 10px;
    display: inline-block;
}
.wk-navigation-icon {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    margin: auto;
    width: 30px;
    background-position: -25px -265px;
    background-image: url('../images/gallery.png');
    background-repeat: no-repeat;
    font-size: 0.001px;
    padding-bottom: 30px;
}

.wk-product-gallery-next .wk-navigation-icon {
    background-position: -25px -350px;
}
.wk-gallery-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(242, 242, 242, 0.6);
    /* opacity: 0.8; */
    z-index: 9999;
    display: none;
}
.wk-video-player-area {
    position: fixed;
    z-index: 999999;
    width: 90%;
    height: 90vh;
    left: 5%;
    top: 5vh;
    display: none;
}
.wk-video-player-area iframe {
    width: 100%;
    height: 100%;
}
.wk-product-gallery-thumb-wrapper {
    float: left;
}
body .lSAction > a {
    background-image: url('../images/gallery.png');
    width: 80px;
    height: 80px;
    background-color: rgb(255,255,255, 0.5);
    top: 50%;
    margin-top: -40px;
}
.lSAction > .lSNext {
    background-position: -160px -80px;
    right: 0;
    display: none;
}

.lSAction > .lSPrev {
    background-position: -80px -80px;
    left: 0;
    display: none;
}
.wk-product-gallery-thumb-item.wk-active-thumb .wk-thumb-span span {
    background: #006bb4;
}
.wk-product-gallery-thumb-item .wk-thumb-span {
    width: 100%;
    height: 1px;
    background: transparent;
    display: inline-block;
    margin-top: 5px;
}
.wk-product-gallery-thumb-item .wk-thumb-span span {
    width: 0;
    height: 100%;
}

@media only screen and (max-width: 767px) {
    .wk-product-gallery-thumb-image-wrapper {
        display: none;
    }
    .wk-product-gallery-thumb-wrapper {
        width: 100%;
    }
    .wk-video-btn {
        width: 100%;
        padding: 15px;
        height: auto;
    }
    .wk-product-gallery-thumb-video-wrapper {
        margin: 0;
        width: 100%;
        
    }
    .wk-product-gallery-thumb-wrapper {
        min-height: auto;
        margin: 0;
    }
    .wk-product-gallery-content-wrapper {
        width: 100%;
        float: left;
    }
    .wk-product-gallery-wrapper {
        max-width: calc(100vw - 30px);
    }
    .lSPager.lSpg {
        display: inline-block;
        width: 100%;
        position: absolute;
        bottom: 5px;
        left: 0;
    }
    body .lSSlideOuter .lSPager.lSpg > li a {
        background-color: transparent;
        border: 1px solid #fff;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        box-sizing: unset;
    }
    body .lSSlideOuter .lSPager.lSpg > li:hover a,
    body .lSSlideOuter .lSPager.lSpg > li.active a {
        background-color: #fff;
    }
    .wk-product-gallery-content-wrapper {
        position: relative;
    }
}

.fotorama__fullscreen .wk-product-gallery-thumb-image-wrapper{
    z-index:1
   }
.fotorama--fullscreen .fotorama__stage__frame .fotorama__img--full {
    transform:none !important;
   }
.fotorama__fullscreen .wk-product-gallery-thumb-image-wrapper{z-index:1}
.fotorama__stage.fotorama__shadows--top:before, .fotorama__nav.fotorama__shadows--top:before{background-image:none}
.fotorama__stage.fotorama__shadows--bottom:after, .fotorama__nav.fotorama__shadows--bottom:after{background-image:none}
.fotorama__thumb{background-color:transparent;width:75px;padding-left: 3px;}
.fotorama__stage__frame .fotorama__img{max-width:none !important;}
.product-image-wrapper{z-index: 0}
