/*
  Product Quick View
  OpenCart Version: 2.x - 3.x
  Author: MagDevel (support@magdevel.com)
  Home: https://magdevel.com
*/

.pqv-loader {
  position: fixed;
  box-sizing: content-box;
  top: 30px;
  left: 50%;
  width: 100px;
  margin-left: -50px;
  padding: 7px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .3);
  z-index: 100003;
}

.product-thumb .image {
  position: relative;
}

.product-thumb .image a:hover {
  opacity: 1;
}

.product-thumb .pqv-link {
  cursor: pointer;
  outline-style: none;
}

.btn-quick-view {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 70px;
  width: 70px;
  line-height: 70px;
  color: #ffffff;
  background: #1e91cf;
  font-size: 30px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 0.9;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.product-thumb:hover .btn-quick-view {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.btn-quick-view:hover {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
}

.btn-quick-view i {
  font-size: 30px;
}

.mfp-bg.pqv-mfp-zoom-in {
  z-index: 100001;
}

.mfp-wrap.pqv-mfp-zoom-in {
  z-index: 100002;
} 

.pqv-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

.pqv-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.pqv-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}

.pqv-mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.pqv-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.7;
}

.pqv-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

.pqv-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  color: #333;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  overflow: visible;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: 0;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
}

.pqv-close:focus,
.pqv-close:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.pqv-close:active {
  top: 1px;
}

.pqv-modal {
  max-width: 760px;
  margin: auto;
}

.pqv-modal-dialog {
  margin: 6px 0;
}

.pqv-modal-header {
  padding: 15px 45px 15px 20px;
}

.pqv-modal-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pqv-body {
  padding: 20px;
  max-height: 70vh;
  overflow: auto;
}

.pqv-tab-content {
  padding-bottom: 30px;
}

/* Product Reviews */
#pqv-review .verified_buyer {
  background-color: #698b22;
  color: #ffffff;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: normal;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

table.product_rating { display: table; margin: 0px; padding: 0px; }
table.product_rating tr { margin-top: 4px; }
table.product_rating tr td:first-child { width: 100px; white-space: nowrap; padding-right: 15px; }
table.pros_cons { display: table; width: 100%; margin: 10px 0px 0px 0px; padding: 0px; }
table.pros_cons tr td { vertical-align: top; }
table.pros_cons tr td.pros { font-size: 13px; color: #6e9b26; font-weight: 400; text-transform: uppercase; }
table.pros_cons tr td.cons { font-size: 13px; color: #e71226; font-weight: 400; text-transform: uppercase; }
table.pros_cons tr td input { width: 70%; display: block; }
table.pros_cons tr td input+input { margin-top: 7px; }
table.pros_cons tr td .predefined_pros_cons { margin-bottom: 3px; vertical-align: middle; }
table.pros_cons tr td .predefined_pros_cons input[type="checkbox"] { margin: 0; display: inline-block; width: auto; vertical-align: middle; }
div#review_images .rimage { border: 1px solid #eee; padding: 2px; display: inline-block; margin: 10px 10px 0 0; text-align: center; }
.product_review_list { clear: both; overflow: hidden; padding: 7px; border: 1px solid #eee; margin-bottom: 15px; }
.product_review_list .left { float: left; width: 65%; vertical-align: top; }
.product_review_list .right { float: right; width: 33%; vertical-align: top; }
.product_review_list .review_list_title { font-size: 15px; color: #2b2b2b; margin-bottom: 3px; }
.product_review_list .review_list_author { font-size: 12px; color: #2b2b2b; margin-bottom: 8px; }
.product_review_list .review_list_text { font-size: 12px; color: #2b2b2b; font-weight: normal; margin-bottom: 7px; }
.product_feature { margin-top: 12px; width: 100%; vertical-align: top; display: inline-block; }
.product_feature img { vertical-align: middle; margin-right: 15px;  }
.product_feature div { display: inline-block; vertical-align: top; width: 48%; }
.product_feature div+div { margin-left: 10px; }
.product_feature div b.pros { font-size: 13px; color: #6e9b26; font-weight: 400; text-transform: uppercase; display:  inline-block; }
.product_feature div b.cons { font-size: 13px; color: #e71226; font-weight: 400; text-transform: uppercase; display:  inline-block; }
.product_feature div ul { list-style: none; padding: 0px; margin: 7px 0px 0px 40px; }
.product_feature div ul li { padding-top: 3px; }
.product_rating_list { padding: 10px; background: #f1f5f8; }
.product_rating_list ul { list-style: none; padding: 0px; margin: 0px;  }
.product_rating_list ul li { padding-top: 3px; clear: both; }
.product_rating_list ul li img { float: right;  }
.product_review_helpfulness { border-top: 1px solid #ddd; position: relative; padding: 7px; margin-top: 15px; font-size: 12px; color: #777;  line-height: 1.6; clear: both; }
.product_review_helpfulness button { margin: 0px; padding: 0px 4px; font-size: 12px; display: inline-block; height: 1.5em; margin: 0 .3em; vertical-align: middle; border: 0; line-height: 1.5; text-transform: uppercase; color: #fff; }
.product_review_helpfulness button.vote_yes { background: #6e9b26; }
.product_review_helpfulness button.vote_no { background: #e71226; }
.product_review_helpfulness a { position: absolute; top: 7px; right: 7px; }
.product_review_sort { border: none; margin-bottom: 10px; font-size: 12px; color: #333;  line-height: 1.6; text-align: right; }
.product_review_sort b { font-weight: 700; }
.product_review_total_rating { background: #dbe8f1; font-weight: 700; margin-top: 5px; padding: 3px; }
.product_review_total_rating img { border: none; }
.product_review_image_popup { background: #fff; display: inline-block; margin-top: 3px; margin-right: 4px; }
.product_review_image_popup img { padding: 3px; border: 1px solid #E7E7E7; }
.product_review_comment { border: 1px solid #ddd; background: #eee; padding: 5px; margin: 6px 0 0 0px;  font-size: 12px; color: #a3a3a3; }
.product_review_comment .comment_author { margin-bottom: 4px; }
.product_review_comment .comment_text { font-weight: normal; }
.product_review_summary { width: 100%; font-size: 12px; background: #ffffff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #d3d3d3; }
.product_review_summary .product_name { margin: 0px 0px 5px 0px; padding: 10px; font-size: 14px; color: #000000; background-color: #d3d3d3; font-weight: 600; }
.product_review_summary .left { float: left; }
.product_review_summary .left .general_avarage { font-size: 16px; font-weight: 600; color: #333333; padding: 10px 0 7px 10px; }
.product_review_summary .left .general_avarage img { vertical-align: baseline; }
.product_review_summary .left .count_mark { padding: 10px; }
.product_review_summary .right { float: right; }
.product_review_summary .right .product_rating_list { margin: 0px; padding: 20px 10px 0px 0px; background: transparent; }
.product_review_summary .right .product_rating_list ul { list-style: none; padding: 0px; margin: 0px;  }
.product_review_summary .right .product_rating_list ul li { padding-top: 3px; clear: both; }
.product_review_summary .right .product_rating_list ul li img { float: right; margin-left: 45px; }
.product_review_summary .button { margin-left: 10px; }
.product_review_social { margin-top: 8px; float: right; }
.product_review_social:after { content:""; clear: both; height: 1px; }


.pqv-modal-footer {
  padding: 15px 20px;
}

.pqv-modal-footer .btn {
  min-width: 130px;
}

.pqv-row-5px {
  margin-left: -5px;
  margin-right: -5px;
}

.pqv-col-5px {
  padding-left: 5px;
  padding-right: 5px;
}

.pqv-body .thumbnail {
  cursor: pointer;
}

.pqv-image-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.pqv-image {
  display: none;
}

.pqv-image:first-child {
  display: block;
}

.pqv-image .img-responsive {
  display: block;
  max-width: 100%;
  height: 360px;
  margin: 0 auto;
}

.pqv-alert {
  margin-top: -1px;
  margin-bottom: 0;
  padding: 7px 24px 7px 14px;
  border-radius: 0;
  position: relative;
}

.pqv-alert > a {
  color: inherit;
  font-weight: bold;
}

.pqv-alert .close {
  position: absolute;
  right: 13px;
  top: 5px;
}

.pqv-alert-inner {
  padding: 8px 10px 8px 10px;
}

.pqv-product-name {
  margin-top: 0;
}

.pqv-body .rating .fa-stack {
  margin-top: -1px;
}

.pqv-hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pqv-wish-compare-group {
  margin-bottom: 15px;
}

#product_quick_view .btn-compare,
#product_quick_view .btn-wishlist {
  outline: none;
}

h2.pqv-price {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pqv-price-old {
  font-size: 14px;
  text-decoration: line-through;
  color: #999;
}

.pqv-qty-block {
  max-width: 160px;
  margin: 0 0 20px 0;
}

#pqv-qty-minus,
#pqv-qty-plus {
  outline: none;
  outline-style: none;
}

#pqv-input-qty {
  padding: 2px 5px;
  font-size: 13px;
  text-align: center;
  z-index: 3;
}

.pqv-related .image img {
  margin: 0 auto;
}

.pqv-related .buttonGrid {
  border-radius: 0;
  font-size: inherit;
}

#product_quick_view .caption {
  min-height: 130px;
}

#product_quick_view .modal-footer .btn {
  padding: 10px 20px 10px 20px;
  border-width: 2px;
  border-style: solid;
  border-color: #000;
}

@media (max-width: 991px) {
  .btn-quick-view {
    display: none;
    top: 10px;
    bottom: auto;
    left: auto;
    right: 10px;
    margin: auto;
    height: 48px;
    width: 48px;
    line-height: 48px;
    font-size: 20px;
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .btn-quick-view i {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .pqv-loader {
    top: 20px;
  }

  .pqv-modal {
    width: 100%;
    max-width: 460px;
  }

  .pqv-body {
    max-height: inherit;
  }
  
  .pqv-image .img-responsive {
    height: 280px;
  }
}

@media (max-width: 519px) {
  .pqv-body {
    padding: 15px;
  }
}
