.lity-wrap {
    padding: 5%;
}

.lity-container {
    position: relative;
    background: #fff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    width: 100%;
    height: 100%;
}

.lity-content {
    padding: 15px;
    height: 100%;
}

.lity-close {
    position: absolute;
    font-size: 26px;
    text-shadow: none;
    color: #666;
}

.lity-close:hover {
    font-size: 26px;
    text-shadow: none;
    color: #000;
}

.lightbox-gallery {
    overflow: hidden;
    margin: 0 -30px;
    height: 100%;
    max-height: none !important;
}

.lightbox-gallery img {
    max-width: 100%;
    height: auto;
}

.lightbox-gallery__main,
.lightbox-gallery__thumbs {
    box-sizing: border-box;
    padding: 0 30px;
    width: 100%;
}

@media (min-width: 768px) {
    .lightbox-gallery__main {
        width: 66.66%;
        float: left;
    }

    .lightbox-gallery__thumbs {
        width: 33.33%;
        float: left;
        clear: right;
    }
}

.lightbox-gallery__main {
    text-align: center;
}

@media (min-width: 768px) {
    .lightbox-gallery__main {
        height: 100%;
    }
}

.lightbox-gallery__main__zoom-container {
    position: relative;
    overflow: hidden;
    max-height: 50vh;
    background: url('../images/gallery-loader.gif') no-repeat center;
}

@media (min-width: 768px) {
    .lightbox-gallery__main__zoom-container {
        height: 100%;
        max-height: 100%;
    }
}

.lightbox-gallery__main .lightbox-gallery__main__image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    visibility: hidden;
    max-width: none;
}

.lightbox-gallery__main .lightbox-gallery__main__image.visible {
    visibility: visible;
}

.lightbox-gallery__thumbs .lightbox-gallery__product-name {
    font-size: 1.2em;
    color: #622181;
    padding-top: 1em;
    margin-bottom: 0.5em;
}

@media (min-width: 768px) {
    .lightbox-gallery__thumbs .lightbox-gallery__product-name {
        font-size: 1.6em;
    }
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list {
    display: block;
    list-style: none;
    padding-top: 1em;
    margin-bottom: 15px;
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item {
    width: 46px;
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    position: relative;
}

@media (min-width: 768px) {
    .lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item {
        width: auto;
    }
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item:hover::after {
    -webkit-box-shadow: inset 0px 0px 0px 1px #f1d49f;
    -moz-box-shadow: inset 0px 0px 0px 1px #f1d49f;
    box-shadow: inset 0px 0px 0px 1px #f1d49f;
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item.active::after {
    -webkit-box-shadow: inset 0px 0px 0px 1px #622181;
    -moz-box-shadow: inset 0px 0px 0px 1px #622181;
    box-shadow: inset 0px 0px 0px 1px #622181;
}

.lightbox-gallery__thumbs .lightbox-gallery__thumbs__list .lightbox-gallery__thumbs__item img {
    display: block;
}
