body.qv-open {
	overflow: hidden;
}

.qv-wrapper {
	display: block;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	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 {
	position: absolute;
	z-index: 1003;
	top: 10px;
	right: 20px;
	padding: 8px 10px;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 100%;
}

.root_panel.wine-theme .qv-wrapper .qv-close {
	background-color: var(--cream);
	color: var(--dark-brown);
}

/* detail page container */
.qv-wrapper .qv-content {
	position: absolute;
	z-index: 1002;
	right: -100%;
	width: 85%;
	height: 100%;
	background-color: #fff;
	overflow-y: auto;
	box-shadow: -5px 0 5px -2px rgba(0, 0, 0, 0.35);
	transition: right 0.4s ease;
}

.qv-wrapper .add-this-panel {
	position: absolute;
	top: 40px;
	right: 40px;
	margin-left: auto;
}

.qv-wrapper .shared-top .shared-gallery {
	margin-bottom: 0;
}

.qv-wrapper .shared-top .shared-gallery .gallery-item {
	top: 0;
	margin: 0 auto 20px;
}

.qv-wrapper .shared-top .shared-gallery .gallery-item a {
	pointer-events: none;
}

.qv-wrapper .shared-top .shared-gallery .gallery-link {
	display: none !important;
}

.qv-wrapper .shared-top .shared-info-cont {
	border: 0 none;
}

.qv-wrapper .shared-top .details h2 {
	display: none;
	font-size: 28px;
	line-height: 34px;
	margin-bottom: 10px;
}

.qv-wrapper .shared-top .details h2.qv-detail-title {
	display: block;
}

.qv-wrapper .shared-top .detail-booking {
	display: none;
}

.qv-wrapper .shared-top .detail-booking.active {
	display: flex;
}

.shared-top .qv-detail-link {
	display: none;
}

.qv-wrapper .shared-top .qv-detail-link {
	display: block;
}

.qv-wrapper .listing-detail .shared-top .qv-detail-link {
	margin-bottom: 15px;
}

.qv-wrapper .shared-top .title-cont,
.qv-wrapper .shared-top .qv-detail-link,
.qv-wrapper .shared-bottom {
	margin-top: 15px;
}

.root_panel.wine-theme .qv-wrapper .shared-top .title-cont {
	border-bottom: none;
}

.root_panel.wine-theme .qv-wrapper .shared-top .title-cont h1 {
	margin-bottom: var(--space-6);
}

.root_panel.wine-theme .qv-wrapper .shared-top .info-cont {
	padding-top: 0;
}

/* hide the quickview link that appears in the accordion on listing detail pages, including in the QV popup */
.detail-tabs .quickview-wrapper {
	display: none;
}

.qv-wrapper .shared-bottom .detail-tab.desc,
.qv-wrapper .shared-bottom .detail-tab.desc .tab-content {
	display: block;
}

.root_panel.wine-theme .qv-wrapper .shared-bottom .detail-tab .detail-content {
	padding-top: var(--space-4);
}

.qv-wrapper .map-container .map-toggle .map-button-text {
	min-width: 200px;
	padding: 13px 30px;
	text-align: center;
}

@media (max-width: 640px) {
	.qv-wrapper .map-container .map-toggle .map-button-text {
		padding: 13px 18px;
	}
}

body.qv-open .qv-wrapper .qv-content {
	right: 0;
	transition: right 0.6s ease;
}

body.qv-open .qv-wrapper .qv-content .no-quickview {
	display: none;
}

/* shade background */
.qv-wrapper .qv-shade {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.5);
}

/* move the image above the text at the smallest sizes */
@media (max-width: 410px) {
	.qv-wrapper .layout-list .shared-items .shared-item {
		flex-direction: column;
	}

	.qv-wrapper .layout-list .shared-items .shared-item .image-container {
		width: 100%;
		max-width: 100%;
	}

	.qv-wrapper .layout-list .shared-items .shared-item .image-container img {
		position: relative;
		transform: none;
		top: 0;
		left: 0;
		max-width: none;
		width: 100%;
		height: 100%;
		border-top-right-radius: 6px;
		border-bottom-left-radius: 0;
	}
}

@media only screen and (max-width: 640px) {
	.qv-wrapper .shared-items .shared-item.featured .feat-listing {
		display: none;
	}
}

@media only screen and (min-width: 641px) {
	.qv-wrapper .qv-content {
		width: 550px;
	}

	.qv-wrapper .shared-items .shared-item.featured .feat-listing {
		z-index: 1;
	}

	.qv-wrapper .layout-list .shared-items .shared-item .image-container {
		max-width: 38%;
	}

	.qv-wrapper .layout-list .shared-items .shared-item .image-container img {
		height: 100%;
		object-fit: cover;
	}
}

@media only screen and (min-width: 800px) {
	.qv-wrapper .qv-content {
		width: 700px;
	}

	.qv-wrapper .layout-list .shared-items .shared-item .image-container {
		max-width: 280px;
	}
}

/*** Sub Tabs ***/
.shared-bottom .tabs.subtab dd a {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: normal;
	height: 35px;
	line-height: 35px;
	padding: 0 10px;
	background-color: #fff;
	color: inherit;
}
.shared-bottom .tabs.subtab .active > a,
.shared-bottom .tabs.subtab .active > a:hover,
.shared-bottom .tabs.subtab .active > a:focus {
	background-color: #52c4cd;
	color: #fff;
	position: relative;
}

.root_panel.wine-theme .shared-bottom .tabs.subtab .active > a,
.root_panel.wine-theme .shared-bottom .tabs.subtab .active > a:hover,
.root_panel.wine-theme .shared-bottom .tabs.subtab .active > a:focus {
	background-color: var(--clay);
	color: var(--white);
	border-radius: 100px;
	padding: var(--space-px) var(--space-5);
}

.shared-bottom .tabs.subtab.vertical { max-width: 100%; }
.shared-bottom .tabs-content.subtab { max-width: 100%; }

.shared-bottom .tabs.subtab.vertical.no-stack dd { float: none; display: none; }
.shared-bottom .tabs.subtab.vertical.no-stack .active { display: block; }
.shared-bottom .tabs.subtab.vertical.no-stack.open dd { display: block; }
.shared-bottom .tabs.subtab.vertical, .shared-bottom .tabs-content.subtab.vertical { width: 100%; padding: 0;}
.shared-bottom .subtab.tabs-content.vertical > .content { padding: 20px 0; }
.shared-bottom .tabs.subtab.vertical.no-stack.open { background-color: #fff;}

.shared-bottom .tabs.subtab.vertical.no-stack.solo .active > a > span { display:none; /* if there is only one item in the drop down */ }
.shared-bottom .tabs.subtab.vertical.no-stack.solo .active > a { cursor: default; }

.shared-bottom .tabs.subtab.no-stack .active > a > span {
	content: '';
	width: 8px;
	height: 8px;
	right: 16px;
	position: absolute;
	top: 50%;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #000;
	margin-top: -4px;
}

/** Ameneties/Meetings Tab ***/
.shared-bottom ul.amen-subtab li,
.shared-bottom ul.meeting-subtab li {
	display: inline-block;
	width: 100%;
	font-size: 14px;
	line-height: 16px;
	padding: 5px 0;
}
.shared-bottom ul.amen-subtab li ul,
.shared-bottom ul.meeting-subtab li ul {
	margin-top:10px;
}
.shared-bottom ul.amen-subtab li.row,
.shared-bottom ul.meeting-subtab li.row {
	display: block;
	padding: 10px;
	margin: 0;
	max-width: 100%;
}
.shared-bottom ul.amen-subtab li ul li ,
.shared-bottom ul.meeting-subtab li ul li {
	line-height: 22px;
}
.shared-bottom li.amenity-textarea .amenity-value,
.shared-bottom li.amenity-multi .amenity-value,
.shared-bottom li.amenity-floorplan .amenity-value {
	text-align: left;
}
.shared-bottom li .amenity.value {
	word-wrap: break-word;
}
.shared-bottom ul.meeting-subtab .meeting-text-area  {
	margin-top: 10px;
}
.shared-bottom .tabs-content ul.amen-subtab,
.shared-bottom .tabs-content ul.meeting-subtab {
	border: 1px solid #c3c8cd;
	background-color: #ffffff;
	margin-left: 0;
	margin-bottom: 10px;
	list-style-type: none;
}
.shared-bottom .tabs-content ul.meeting-subtab > li {
	display: block;
	width: 100%;
}
.shared-bottom .tabs-content ul.amen-subtab > .row:nth-child(odd),
.shared-bottom .tabs-content ul.meeting-subtab > .row:nth-child(odd) {
	background: #eee;
}

.shared-bottom .detail-content #meetingfacilities { padding-top: 10px; }

.shared-bottom #tab-hours .day {
	overflow: hidden;
}

.shared-bottom #tab-hours .day-label {
	font-weight: bold;
	width: 50px;
	float: left;
}

.shared-bottom #tab-hours .opens {
	float: left;
}

.shared-bottom .virtual-tour-cont iframe {
    width: 100%;
    height: 512px;
}
