body.qv-open { overflow: hidden; }

.qv-wrapper {
	display: block;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}
	body.qv-open .qv-wrapper {
		right: 0;
		pointer-events: all;
		opacity: 1;
		transition: opacity 0.5s ease;
	}

	.qv-wrapper .qv-close {
		padding: 10px;
	    position: absolute;
	    top: 0px;
    	right: 25px;
	    font-size: 24px;
	    color: #000;
	    cursor: pointer;
	    z-index: 10003;
	}


/* detail page container */
.qv-wrapper .qv-content {
	width: 85%;
	height: 100%;
	padding: 10px;
	position: absolute;
	right: -100%;
	background-color: #fff;
	overflow-y: auto;
	z-index: 10002;
	box-shadow: -5px 0px 5px -2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: -5px 0px 5px -2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: -5px 0px 5px -2px rgba(0, 0, 0, 0.35);
	transition: right 0.4s ease;
}
	body.qv-open .qv-wrapper .qv-content {
		right: 0;
		transition: right 0.6s ease;
	}


/* shade background */
.qv-wrapper .qv-shade {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10001;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.5);
}


/* tablet */
@media only screen and (min-width: 40.063em) {
	.qv-wrapper .qv-content {
		width: 70%;
		padding: 50px 25px 25px;
	}
	.qv-wrapper .qv-close {
	    top: 40px;
	    right: 40px;
	}

}


/* desktop */
@media only screen and (min-width: 64.063em) {
	.qv-wrapper .qv-content {
		width: 50%;
	}
}
