.b-sppb-lightbox {
    height: inherit !important;
}

.b-sppb-lightbox div.item .overlay {
    opacity: 1;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    border: 0;
    transition: all ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    color: #fff
}

.b-sppb-lightbox div.item:hover .overlay {
    opacity: 1;
    -webkit-filter: brightness(.9) contrast(1.2);
    -moz-filter: brightness(.9) contrast(1.2);
    -ms-filter: brightness(.9) contrast(1.2);
    -o-filter: brightness(.9) contrast(1.2);
    filter: brightness(.9) contrast(1.2)
}

.b-sppb-lightbox div.item a {
    display: block;

}
.b-sppb-lightbox div.item .list-tag .tags
{
    float: left;
    margin: 0;
    padding: 0;

}

.b-sppb-lightbox div.item .list-tag
{
    display: table;
    width: 100%;

}
.b-sppb-lightbox div.item .tags a.tag-item-template {
    display: inline-block;
    height: 21px;

    margin: 0 10px 0 0;
    padding: 0 7px 0 14px;
    white-space: nowrap;
    position: relative;

    background: -moz-linear-gradient(top, #fed970 0%, #febc4a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed970), color-stop(100%,#febc4a));
    background: -webkit-linear-gradient(top, #fed970 0%,#febc4a 100%);
    background: -o-linear-gradient(top, #fed970 0%,#febc4a 100%);
    background: linear-gradient(to bottom, #fed970 0%,#febc4a 100%);
    background-color: #FEC95B;

    color: #963;
    font: bold 11px/21px Arial, Tahoma, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px rgba(255,255,255,0.4);

    border-top: 1px solid #EDB14A;
    border-bottom: 1px solid #CE922E;
    border-right: 1px solid #DCA03B;
    border-radius: 1px 3px 3px 1px;
    box-shadow: inset 0 1px #FEE395, 0 1px 2px rgba(0,0,0,0.21);
}
.b-sppb-lightbox div.item a.tag-item-template:before {
    content: '';
    position: absolute;
    top: 5px;
    left: -6px;
    width: 10px;
    height: 10px;

    background: -moz-linear-gradient(45deg, #fed970 0%, #febc4a 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#fed970), color-stop(100%,#febc4a));
    background: -webkit-linear-gradient(-45deg, #fed970 0%,#febc4a 100%);
    background: -o-linear-gradient(45deg, #fed970 0%,#febc4a 100%);
    background: linear-gradient(135deg, #fed970 0%,#febc4a 100%);
    background-color: #FEC95B;

    border-left: 1px solid #EDB14A;
    border-bottom: 1px solid #CE922E;
    border-radius: 0 0 0 2px;
    box-shadow: inset 1px 0 #FEDB7C, 0 2px 2px -2px rgba(0,0,0,0.33);
}
.b-sppb-lightbox div.item a.tag-item-template:before {
    -webkit-transform: scale(1, 1.5) rotate(45deg);
    -moz-transform: scale(1, 1.5) rotate(45deg);
    -ms-transform: scale(1, 1.5) rotate(45deg);
    transform: scale(1, 1.5) rotate(45deg);
}
.b-sppb-lightbox div.item .tags a.tag-item-template:hover {
    color: #FFF;
    text-shadow: -1px -1px 0 rgba(153,102,51,0.3);
}


.b-sppb-lightbox div.item .overlay a:after {
    opacity: 0;
    overflow: hidden;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, .2)
}
.b-sppb-lightbox div.item .pro-price{
    color: #EA2E37;
    font-size: 16px;
}
.b-sppb-lightbox div.item .pro-price .price_root {
    margin-left: 20px;
    color: #848484;
}

.b-sppb-lightbox div.item .template-name{
    text-align: center;
    margin: 0;
    padding: 0;
    margin-top: 5px;
}
.b-sppb-lightbox div.item{
    margin-bottom: 40px;
}

.b-sppb-lightbox div.item:hover .overlay a:after {
    opacity: 1;
    box-shadow: inset 0 0 0 10px rgba(0, 0, 0, .2), inset 0 0 50px rgba(0, 0, 0, .5)
}

.b-sppb-lightbox div.item a .ap-plus-1 {
    opacity: 0;
    z-index: 1;
    font-family: ap-arrows;
    font-style: normal;
    font-weight: 100;
    font-variant: normal;
    text-transform: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    background: rgba(0, 0, 0, .57);
    color: #fff;
    transition: opacity .3s ease-in-out .2s, background .3s ease-in-out, transform .3s ease-in-out .2s;
    -webkit-transition: opacity .3s ease-in-out .2s, background .3s ease-in-out, transform .3s ease-in-out .2s;
    -webkit-transform: scale3d(.5, .5, 1);
    transform: scale3d(.5, .5, 1)
}
.b-sppb-lightbox div.item{
    position: relative;
}
.b-sppb-lightbox div.item .discount-percent .percent{
   color: #fff;
}
.b-sppb-lightbox div.item .discount-percent {
    position: absolute;
    z-index: 99;
    font-size: 24px;
    background-color: red;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
    margin-left: 5px;

}
.b-sppb-lightbox div.item:hover a .ap-plus-1 {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1)
}

.b-sppb-lightbox div.item a .ap-plus-1:hover {
    opacity: 1
}

#imagelightbox {
    cursor: pointer;
    position: fixed;
    z-index: 10000;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-box-shadow: 0 0 3.125em rgba(0, 0, 0, .5);
    box-shadow: 0 0 3.125em rgba(0, 0, 0, .5)
}

#imagelightbox-loading, #imagelightbox-loading div {
    border-radius: 50%
}

#imagelightbox-loading {
    width: 2.5em;
    height: 2.5em;
    background-color: #444;
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    z-index: 10003;
    top: 50%;
    left: 50%;
    padding: .625em;
    margin: -1.25em 0 0 -1.25em;
    -webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, .75);
    box-shadow: 0 0 2.5em rgba(0, 0, 0, .75)
}

#imagelightbox-loading div {
    width: 1.25em;
    height: 1.25em;
    background-color: #fff;
    -webkit-animation: imagelightbox-loading .5s ease infinite;
    animation: imagelightbox-loading .5s ease infinite
}

@-webkit-keyframes imagelightbox-loading {
    from, to {
        opacity: .5;
        -webkit-transform: scale(.75)
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1)
    }
}

@keyframes imagelightbox-loading {
    from, to {
        opacity: .5;
        transform: scale(.75)
    }
    50% {
        opacity: 1;
        transform: scale(1)
    }
}

#imagelightbox-overlay {
    background-color: #fff;
    background-color: rgba(255, 255, 255, .85);
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

#imagelightbox-close {
    width: 2em;
    height: 2em;
    text-align: left;
    background-color: #999;
    background-color: rgba(0, 0, 0, .2);
    border-radius: 50%;
    position: fixed;
    z-index: 10002;
    top: 2.5em;
    right: 2.5em;
    border: none;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transition: all .3s ease;
    transition: all .3s ease
}

#imagelightbox-close:focus, #imagelightbox-close:hover {
    background-color: #777;
    background-color: rgba(0, 0, 0, .4);
    -webkit-transform: scale3d(1.2, 1.2, 1);
    transform: scale3d(1.2, 1.2, 1)
}

#imagelightbox-close:after, #imagelightbox-close:before {
    width: 2px;
    background-color: #fff;
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    margin-left: -1px
}

#imagelightbox-close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

#imagelightbox-close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

#imagelightbox-caption {
    text-align: center;
    color: #fff;
    font-size: 110%;
    background-color: #777;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    z-index: 10001;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .625em
}

#imagelightbox-nav {
    background-color: #444;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 20px;
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: 3.75em;
    padding: .313em;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%)
}

#imagelightbox-nav button {
    width: 1em;
    height: 1em;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 .313em
}

#imagelightbox-nav button.active {
    background-color: #fff
}

.imagelightbox-arrow > i {
    font-family: ap-arrows;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.imagelightbox-arrow {
    width: 3.75em;
    height: 7.5em;
    background-color: #444;
    background-color: rgba(0, 0, 0, .3);
    border: none;
    vertical-align: middle;
    display: none;
    position: fixed;
    z-index: 10001;
    top: 50%;
    border-radius: 3px;
    margin-top: -3.75em;
    -webkit-transition: color .3s ease, background-color .3s ease;
    transition: color .3s ease, background-color .3s ease
}

.imagelightbox-arrow:focus, .imagelightbox-arrow:hover {
    background-color: #666;
    background-color: rgba(0, 0, 0, .55)
}

.imagelightbox-arrow:active {
    background-color: #444;
    background-color: rgba(0, 0, 0, .75)
}

.imagelightbox-arrow-left {
    left: 2.5em
}

.imagelightbox-arrow-left > i {
    margin-left: -2px
}

.imagelightbox-arrow-left > i, .imagelightbox-arrow-right > i {
    font-size: 220%;
    color: #fff
}

.imagelightbox-arrow-right {
    right: 2.5em
}

.imagelightbox-arrow-right > i {
    margin-right: -4px
}

#imagelightbox-close, #imagelightbox-loading, #imagelightbox-nav, #imagelightbox-overlay, .imagelightbox-arrow {
    -webkit-animation: fade-in .25s ease;
    animation: fade-in .25s ease
}

#imagelightbox-caption {
    -webkit-animation: fade-in-up .5s ease;
    animation: fade-in-up .5s ease
}

@-webkit-keyframes fade-in {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fade-in {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-webkit-keyframes fade-in-up {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px)
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0)
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 767px) {
    #imagelightbox-close {
        top: 1.25em;
        right: 1.25em
    }

    #imagelightbox-nav {
        bottom: 1.25em
    }

    .imagelightbox-arrow {
        width: 2.5em;
        height: 3.75em;
        margin-top: -1.75em
    }

    .imagelightbox-arrow-left {
        left: 1.25em
    }

    .imagelightbox-arrow-right {
        right: 1.25em
    }

    .imagelightbox-arrow-left > i, .imagelightbox-arrow-right > i {
        font-size: 180%;
        line-height: 130%
    }
}

@media (max-width: 480px) {
    .sppb-lightbox .shuffle-item, .sppb-lightbox .shuffle-item img, .img-item, .img-item img {
        width: 100%
    }

    .imagelightbox-arrow-left {
        left: 0
    }

    .imagelightbox-arrow-right {
        right: 0
    }
}
