/*.popup_bg:after {
    content: "";
    position: fixed;
    border-radius: 25px;
    right: 0;
    top: 0;
    z-index: 2002!important;
    width: 40px;
    height: 40px;
    background: #fff url(/images/close.png);
    cursor: pointer;
}*/
.popup img, a#logo, .desc h4 a {
    pointer-events: none!important;
}
.xoo-qv-plink {
    display: none;
}
h1.product_title.entry-title {
    text-align: center;
    width: 100%;
}
h4 a {
    pointer-events: none;
}
/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px; 
  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}
 
#close-popup i {
  width: 30px;
  height: 30px;
  background: url(https://codernote.ru/files/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}
 
@keyframes rota {
 25% { transform: rotate(360deg); }
}
 
#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}



@media (min-width: 960px) and (max-width: 1239px) {

       a.xoo-qv-button {
           padding: 16px 5px!important;
           font-size: 14px!important;
           text-align: center!important;
           width: 165px!important;
      }
      .xoo-qv-btn-icon {
          margin-right: -1px!important;
          margin-left: 6px!important;
     }

}


@media only screen and (min-width: 960px) {
    #header-widget-area {
        top: 69px!important;
        right: 21%!important;
    }
}



@media only screen and (max-width: 960px) {

img {
    pointer-events: initial!important;
}
.image_links.double, .mask, a.xoo-qv-button, .image_links.double {
    display: none!important;
}
.scale-with-grid.wp-post-image {
	margin:30px;
	cursor:zoom-in;
}
.popup {
	position: absolute;
	height:100%;
	width:100%;
	top:0;
	left:0;
	display:none;
	text-align:center;
}
.popup_bg {
	background:rgba(0,0,0,0.6);
	position:fixed;
	z-index:1000;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: auto;
  height: auto;
}
.popup_img {
	position: fixed;
	z-index:2000;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-height: 90%;
        width: 75%;
        border: 7px solid #fff;
}
.popup_img {
  pointer-events: none;
}


}




@media only screen and (max-width: 767px) {
	a.xoo-qv-button {
	    display: none!important;
	}
}




@media only screen and (max-width: 640px) {
   .popup_img {
        width: 80%;
     }
}
 



