

.product-gallery li,
.product-gallery>div {
    display: inline-block;
    margin: 10px 5px 0 5px;
    vertical-align: top;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Product popup */

.popup-overlay {
    background-color: rgba(68, 68, 68, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-img {
    position: relative;
    width: 200px;
    height: 300px;
}

.gallery-img .img-overlay {
    opacity: 1 !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-img:hover .img-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5) !important;
    /*background: rgba(60, 60, 78, 0.6) !important;*/

}

.gallery-img .img-overlay a i {
    font-weight: 100;
    font-size: 22px;
    color: #fff;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: auto;
    right: auto;
    display: inline-block;

}

.product-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999;
}

.product-gallery-popup .product-popup-content {
    position: absolute;
    /*width: 100%;*/
    top:25%;
     width:50%;
     height: 50%;
     margin: 0 auto;
    left: 25%;
    right: auto;
    /*background-color: #fff;*/
    overflow: hidden;
}

.product-popup-content span.social-love {
    position: absolute;
    left: 50px;
    top: 30px;
}

.product-popup-content span.social-love .fa.fa-heart-o {
    font-weight: 100;
    font-size: 22px;
    color: #000;
}

.product-information,
.product-image {
    float: left;
}

.product-information {
    width: 28%;
    margin: 4% 1%;
    display: none;
}

.product-image {
/*    width: 100%;*/
    height: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
    padding-bottom: 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
    display: inline-flex;
}

.product-image img {
   /* height: 100%;
    width: 100%;*/
     height: 100%;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.cross {
    position: absolute;
    top: -60px;
    right: 10px;
    color: #fff;
    font-weight: 100;
    font-size: 80px;
}

a.cross:hover {
    color: #fff;
    text-decoration: none;
}

.product-desc {
    color: rgba(27, 27, 30, 1) !important;
    font-weight: 100;
    font-size: 70px;
    line-height: 1.4em
}

.gallery-nav-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 40px;
    margin-top: -25px;
}

.gallery-nav-btns a {
    display: block;
    position: absolute;
    width: 35px;
    height: 80px;
    text-align: center;
    right: 0;
    background-image: url('../images/slim-arrow-sprite.png');
    background-repeat: no-repeat;
    opacity: 0.8;
    cursor: pointer;
}

.gallery-nav-btns a:hover {
    opacity: 1;
}

.nav-btn.prev {
    left: 0;
    background-position: 0px 0px;

}

.nav-btn.next {
    right: 0;
    background-position: -35px 0px;
}

#productContainer {
    margin-left: 1%;
    min-height: 500px;
    font-size: 13px;
    line-height: normal;
    color: #333;
}


/* Media */

@media(max-width:768px){
    .gallery-img .img-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) !important;
}
.gallery-img:hover .img-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5) !important;
   }

   .product-gallery-popup .product-popup-content{
    top: 0;
    width: 60%;
    height: 60%;
    margin: 0 auto;
    left: 0;
    right: 0;
   }
   .cross {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #fff;
    font-weight: 100;
    font-size: 80px;
}

}

@media(max-width:767px) {
    .product-image {
        width: 100%;
        height: auto;
    }

    .product-information {
        width: 100%;
        margin: 0;
    }

    .product-desc {
        font-size: 34px;
        text-align: center;
    }

    .product-popup-content span.social-love {
        position: absolute;
        left: 15px;
        top: 15px;
    }

    .product-gallery-popup .product-popup-content{
        width: 90%;
        height: 90%;
        margin: 0 auto;
        left: 0;
        right: 0;
        top:20%;
    }

    .cross {
        position: absolute;
        top: -18px;
        right: 25px;
        font-size: 50px;
    }

.gallery-img .img-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) !important;
}
.gallery-img:hover .img-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5) !important;
   }

}