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

/* Product popup */

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

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

.gallery-img .img-overlay {
opacity: 0;
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;
top:0%;
width:100%;
height: 100%;
margin: 0 auto;
left: 0%;
right: auto;
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: 5%;
margin-bottom: 5%;
overflow: hidden;
position: relative;
text-align: center;
display: inline-flex;
}

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

.cross {
position: fixed;
top: 0px;
right: 30px;
color: #000;
font-weight: 100;
font-size: 50px;
text-decoration: none;
}

a.cross:hover {
color: #000;
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: 15px;
background-position: 0px 0px;
background: url(../../images/back.png) left top no-repeat;
background-repeat: no-repeat;
}

.nav-btn.next {
right: 15px;
background-position: -35px 0px;
background: url(../../images/next.png) right top no-repeat;
background-repeat: no-repeat;
}

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

.flag.flag-like-slider-image.action-flag {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    width: 100%;
    text-align: center;
}

.gallery-img img{
   transition: all .3s ease;
}

.gallery-img:hover img{
    ttransform: scale(1.2);
}


/* 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;
}

}