.box-more-details #product-more-details-button {width: 100%; padding: 14px 17px; font-size: 1.8rem; text-align: center}
.mgs-quickview-catalog-product-view .box-tocart .action.tocart {width: 100%;}
.mgs-quickview-catalog-product-view .page-wrapper .page-main {margin: 20px 0;}
.mgs-quickview-catalog-product-view #maincontent {
	width: 100%;
}
.mgs-quickview-catalog-product-view .product.media,
.mgs-quickview-catalog-product-view .product-info-main {
	width: 50% !important;
}
.product-item .mgs-quickview {
	display: block;
	bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
	opacity: 0;
    transform: scaleY(0);
	-webkit-transform: scaleY(0);
	-o-transform: scaleY(0);
	-moz-transform: scaleY(0);
    transform-origin: 50% 100% 0;
    visibility: hidden;
	transition: all 300ms ease-in-out 0s;
	-webkit-transition: all 300ms ease-in-out 0s;
	-moz-transition: all 300ms ease-in-out 0s;
	-o-transition: all 300ms ease-in-out 0s;
}
.product-item .mgs-quickview span{
	background-color: rgba(247, 247, 247, 0.9);
    border: medium none;
    box-shadow: none;
    color: #222222;
    font-size: 14px;
    font-weight: 700;
    padding: 18px 0;
    text-align: center;
    text-transform: uppercase;
	display: block;	
}
.products-grid .item .product-content:hover .product-top .mgs-quickview {
	opacity: 1;
    transform: scaleY(1);
	-webkit-transform: scaleY(1);
	-o-transform: scaleY(1);
	-moz-transform: scaleY(1);
    visibility: visible;
}
.category-products-list .item .action-quickview {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
}
.category-products-list .item .action-quickview .mgs-quickview {
  background-color: rgba(247, 247, 247, 0.9);
border: medium none;
box-shadow: none;
color: #222222;
display: initial;
font-size: 14px;
font-weight: 900;
opacity: 1;
padding: 18px 0;
position: relative;
text-align: center;
text-transform: uppercase;
visibility: visible;
}
.mgs-quickview .fa {
  margin-right: 8px;
}
.mgs-quickview:hover span {
	color: #e74c3c;
}
.mgs-quickview-catalog-product-view .reviews-actions .add {display: none;}
.mfp-iframe-scaler iframe {
    background: url('../images/loader.gif') no-repeat scroll center center #fff !important;
}
/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
button.mfp-close {
    color: #222 !important;
    right: 20px !important;
    top: 0px !important;
    width: 44px !important;
    z-index: 999;
}
@media (min-width: 640px) {
    .page-products .products-grid .product-item {position: relative}
    .page-products .products-grid .product-item  .product-item-inner {margin: 9px -9px 0 -10px}
    .page-products .products-grid .product-item  .product-item-details {position: relative;}
    /* .page-products .products-grid .product-item .product-item-info:hover .mgs-quickview.mgs_quickview_button_v1 {display: block;position: absolute;top: -66px;z-index: 9;width: 100%;text-align: center;color: #fff;background: rgba(200,200,200,0.7);font-size: 14px;text-decoration: none;} */
    .page-products .products-grid .product-item .product-item-info .mgs-quickview.mgs_quickview_button_v1 span {padding: 18px; display: block;}
    /* .page-products .products-grid .product-item .product-item-info:hover .mgs-quickview.mgs_quickview_button_v2 {display: block; z-index: 9; position: absolute; text-indent: -10000px; width: 104px; height: 35px; background-image: url('../images/quickview.png'); background-repeat: no-repeat; top: -46px; right: 50%; transform: translateX(50%);} */
}
