.shared-detail {
	--font-family-display: var(--font-display);
	--font-family-body: var(--font-body);
	--background-color: var(--accent-color);
	--background-color-alt: var(--gray-200);
	--text-color: var(--white);
	--text-color-alt: var(--gray-100);
	--visit-btn-bg: var(--sw-button-primary-bg);
	--visit-btn-bg-alt: var(--sw-button-primary-bg-hover);
	--dropdown-menu-text: var(--gray-800);
	--nearby-tab-bottom-border: var(--sw-selected-color);
	--nearby-tab-bottom-border-alt: var(--gray-400);
	--accent-color: var(--sw-key-color);

	margin: 0 auto var(--space-10);
}

.share-buttons {
	display: none; /* Hide the share button before its added onto page */
}

.shared-detail .share-buttons {
	display: block;
}

.shared-detail .detail-top {
	display: flex;
	flex-direction: column;
}

.shared-detail .detail-top .detail-gallery {
	order: 1; /* Always want gallery coming first on mobile */
	position: relative;
	border-bottom: 1px solid var(--white);
}

@media (min-width: 40em) {
	.shared-detail .detail-top .detail-gallery {
		border: 1px solid var(--white);
		height: 100%;
		width: 100%;
	}
}

.shared-detail .detail-top .detail-gallery img { 
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shared-detail .detail-top .detail-gallery iframe { 
	position: absolute;
	top: 0; 
}

.shared-detail .detail-top .detail-gallery .gallery-count {
	position: absolute;
	bottom: 0px;
	left: 0px;
	padding: var(--space-2) var(--space-3);
	padding-right: var(--space-6);
	color: var(--text-color-alt);
	background-color: var(--blue);
	display: flex;
	font-family: var(--font-family-body);
	font-size: var(--text-lg);
	font-weight: 400;
	line-height: var(--leading-none);
	justify-content: center;
	align-items: center;
}

.shared-detail .detail-top .detail-gallery .gallery-count i {
	font-size: 1.625rem;
	margin-right: var(--space-3);
	font-weight: 400;
}

.shared-detail .detail-top .info-section {
	order: 2;
	flex: 1 1 50%;
	padding: var(--space-5);
	background: var(--background-color);
	min-height: 304px;
	position: relative;
	z-index: 1;
}

.shared-detail .detail-top .info-section:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -10%;
	height: 30%;
	width: 100%;
	background: url(https://www.meetboston.com/includes/public/assets/shared/patterns/mb-pattern-detail.svg) no-repeat;
	background-size: 700px;
	pointer-events: none;
	z-index: -1;
}

.shared-detail .detail-top .info-section .region {
	background: var(--white);
	width: fit-content;
	font-size: 11px;
	text-transform: uppercase;
	padding: 2px 10px;
	font-family: var(--font-body);
	margin-bottom: var(--space-4);
}

.shared-detail .detail-top .top-actions .trip-builder {
	cursor: pointer;
}

.shared-detail .detail-top .top-actions .trip-builder i {
	position: relative;
	font-size: var(--text-2xl);
}

.shared-detail .detail-top .gallery-cont {
	position: relative;
}

.shared-detail .detail-top .trip-builder {
	position: absolute;
	top: var(--space-2);
	right: var(--space-2);
	z-index: 1;
}

.shared-detail .detail-top .trip-builder a {
	cursor: pointer;
}

.shared-detail .detail-top .trip-builder a img {
	max-height: 32px;
	min-height: 24px;
}

.shared-detail .detail-top .trip-builder a[data-type="Remove"] img {
	position: relative;
	top: -3px;
	right: -4px;
}

@media (min-width: 40em) {
	.shared-detail .detail-top .trip-builder {
		position: absolute;
		right: 12px;
		top: 55px;
		z-index: 1;
	}

	.shared-detail .detail-top .gallery-cont {
		padding: var(--space-10) 0 0 var(--space-5);
		flex: 1 1 50%;
		margin-bottom: -40px;
	}

	.shared-detail .detail-top .detail-gallery .gallery-count {
		padding: 10px var(--space-3);
		padding-right: var(--space-6);
		font-size: 1.3125rem;
	}
}

@media (min-width: 64em) {
	.shared-detail .detail-top .trip-builder {
		position: absolute;
		right: 12px;
		top: 55px;
		z-index: 1;
	}

	.shared-detail .detail-top .gallery-cont {
		padding: var(--space-10) 0 0 min(calc(20px + (60 - 20) * ((100vw - 1024px) / (1440 - 1024))), 60px);
		margin-bottom: -40px;
	}
}

.shared-detail .detail-info-bar .top-actions {
	position: absolute;
	top: var(--space-3);
	right: var(--space-5);
	z-index: 1;
}

.shared-detail .detail-info-bar .top-actions .sv-share {
	padding: 0 var(--space-5, 20px) 0;
	padding-right: 0;
	z-index: 0;
}

.shared-detail .detail-info-bar .top-actions .sv-share-trigger {
	gap: var(--space-1);
	padding-inline: 0;
	font-size: .8125rem;
	color: var(--accent-color);
	border-radius: unset;
}

.shared-detail .detail-top .top-actions .trip-builder a i:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-weight: 900;
	content: '\f004';
	font-family: 'Font Awesome 5 Free';
	color: var(--white);
	z-index: -1;
}

.shared-detail .detail-top .top-actions .trip-builder a[data-type="Remove"] i:after {
	color: var(--sw-alert-color);
	z-index: 1; 
}

.shared-detail .detail-top .info-section .top-actions,
.shared-detail .detail-top .info-section .bottom-actions {
	display: flex;
	align-items: flex-end;
	position: relative;
}

.shared-detail .detail-top .info-section .bottom-actions {
	flex-wrap: wrap;
}

.shared-detail .detail-top .info-section .top-actions {
	justify-content: space-between;
}

@media (hover: hover ) {
	.shared-detail .detail-top .info-section .top-actions span a:hover,
	.shared-detail .detail-info-bar .social-icons a:hover {
		text-decoration:  none; /*reboot.css override*/
	}
}

.shared-detail .detail-info-bar .dineout {
	max-width: 125px;
	margin-top: 10px;
}

.shared-detail .detail-top h1 {
	font-family: var(--font-family-display);
	font-size: 2.375rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--text-color);
	margin-bottom: var(--space-1);
}

@media (min-width: 64em) {
	.shared-detail .detail-top h1 {
		font-size: 3.125rem;
		line-height: 1.1;
	}
}

.shared-detail .detail-top dl,
.shared-detail .detail-top dt,
.shared-detail .detail-top dd {
	font-family: var(--font-family-body);
	font-size: var(--text-lg);
	font-weight: 400;
	line-height: var(--leading-relaxed);
	color: var(--text-color);
}

.shared-detail .detail-top dl dt {
	float: left;
	margin-right: var(--space-1);
	font-weight: bold;
}

.shared-detail .detail-top dd a {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--yellow);
	text-underline-offset: 4px;
}

.shared-detail .detail-top .action-item {
	font-family: var(--font-family-display);
	font-size: .8125rem;
	font-weight: 400;
	line-height: var(--leading-tight);
	padding: 0 0 2px;
	text-transform: uppercase;
	background-color: var(--visit-btn-bg);
	border-bottom: 1px solid var(--yellow);
	color: var(--text-color-alt);
	letter-spacing: .04em;
	margin: 0;
}

@media (min-width: 64em) {
	.shared-detail .detail-top .action-item {
		font-size: var(--text-sm);
	}
}

.shared-detail .detail-top .info-section .bottom-actions > * {
	margin-top: var(--space-4);
	margin-right: var(--space-4);
}

@media (hover: hover) {
	.shared-detail .detail-top .info-section .bottom-actions .action-item:hover {
		text-decoration: none; /*reboot.css override*/
		background-color: var(--visit-btn-bg-alt);
	}
}

.shared-detail .detail-top .info-section .bottom-actions .dropdown-menu {
	position: absolute;
	z-index: 9;
	margin: var(--space-1) 0 0 0;
	padding: var(--space-3) var(--space-4);
	color: var(--dropdown-menu-text);
	background-color: var(--background-color);
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 4px;
	font-size: 14px;
}

@media (min-width: 20em) and (max-width: 30em) {
	.shared-detail .detail-top .info-section .bottom-actions .dropdown:nth-child(2) > .dropdown-menu {
		right: 0;
	}
}

@media (min-width: 40em) and (max-width: 60em) {
	.shared-detail .detail-top .info-section .bottom-actions .dropdown:nth-child(2) > .dropdown-menu {
		right: 0;
	}
}

@media (min-width: 64em) and (max-width: 68em) {
	.shared-detail .detail-top .info-section .bottom-actions .dropdown:nth-child(2) > .dropdown-menu {
		right: 0;
	}
}

.shared-detail .detail-top .info-section .bottom-actions .dropdown-menu a {
	display: block;
	width: 100%;
	padding: var(--space-2) 0;
	clear: both;
	white-space: nowrap;
	color: var(--white);
}

.shared-detail .trip-builder .tb-button {
	padding: 0;
	background-color: unset;
}

.shared-detail .trip-builder .tb-button.view {
	margin-left: var(--space-2);
}

.shared-detail .detail-info-bar {
	margin: 0 auto;
	padding: var(--space-5);
	padding-bottom: var(--space-6);
	position: relative;
}

@media (min-width: 40em) {
	.shared-detail .detail-info-bar .info-bar-cont {
		display: flex;
		max-width: 1040px;
		margin-inline: auto;
		width: 100%;
	}
}

@media (min-width: 64em) {
	.shared-detail .detail-info-bar .top-actions {
		position: absolute;
		top: var(--space-3);
		right: 60px;
	}
}

.shared-detail .detail-info-bar .split-pane {
	position: relative;
	margin-bottom: var(--space-6);
}

.shared-detail .detail-info-bar .split-pane:empty {
	display: none;
}

.shared-detail .detail-info-bar .split-pane:last-child {
	margin-bottom: 0;
}

.shared-detail .detail-info-bar ul {
	font-family: var(--font-family-body);
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: var(--leading-tight);
	margin: 0;
	list-style: none;
}

.shared-detail .detail-info-bar ul li {
	display: flex;
	align-items: baseline;
	margin-bottom: var(--space-3);
}

.shared-detail .detail-info-bar .info-list li:first-child {
	padding-right: 53px;
}

.shared-detail .detail-info-bar ul li > div {
	display: flex;
	align-items: baseline;
}

.shared-detail .detail-info-bar ul .email a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.shared-detail .detail-info-bar ul li:last-child {
	margin-bottom: 0;
}

.shared-detail .detail-info-bar ul li .two-line-wrap {
	display: block;
}

.shared-detail .detail-info-bar ul li .two-line-wrap > * {
	display: block;
}

.shared-detail .detail-info-bar ul li .two-line-wrap a {
	display: inline-block;
}

.shared-detail .detail-info-bar ul li .meta-label {
	margin-right: var(--space-1);
	font-weight: bold;
}

.shared-detail .detail-info-bar ul.info-list li i {
	margin-right: var(--space-3);
	width: 18px;
	font-size: 15px;
	color: var(--blue);
}

.shared-detail .detail-info-bar .top-actions .sv-share-trigger i {
	color: var(--blue);
	font-size: 11px;
}

.shared-detail .detail-info-bar ul.info-list li:hover a {
	text-decoration: none; /*reboot.css override*/
}

.shared-detail .detail-info-bar dl,
.shared-detail .detail-info-bar dt,
.shared-detail .detail-info-bar dd {
	font-family: var(--font-family-body);
	font-size: var(--text-lg);
	font-weight: 400;
	line-height: var(--leading-tight);
	color: var(--text);
}

.shared-detail .detail-info-bar dl dt {
	float: left;
	margin-right: var(--space-1);
	font-weight: bold;
}

.shared-detail .detail-info-bar .open-table {
	margin-bottom: var(--space-3);
	max-width: 150px;
}

.shared-detail .detail-info-bar .reservations-button {
	position: relative;
	margin-top: var(--space-4);
	background: var(--blue);
	padding: var(--space-2) var(--space-4);
	display: inline-block;
}

.shared-detail .detail-info-bar .reservations-button > a {
	color: #fff;
}

.shared-detail .detail-info-bar .social-icons {
	display: flex;
	list-style: none;
	margin-left: 15px;
	gap: var(--space-2);
}

@media (min-width: 40em) {
	.shared-detail .detail-info-bar .social-icons {
		gap: 10px;
	}
}

.shared-detail .detail-info-bar .social-icons li {
	margin-bottom: 0;
}

.shared-detail .detail-info-bar .social-icons a {
	font-size: .8125rem;
	color: var(--blue);
	height: 31px;
	width: 31px;
	border: 1px solid var(--blue);
	border-radius: var(--rounded-circle);
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 64em) {
	.shared-detail .detail-info-bar .social-icons a {
		font-size: var(--text-base);
		height: 36px;
		width: 36px;
	}
}

.shared-detail .detail-info-bar ul.hours-of-operation li {
	margin-bottom: 0;
	justify-content: space-between;
}

.shared-detail .detail-info-bar ul.hours-of-operation li.current {
	font-weight: 700;
}

.shared-detail .detail-drawers {
	max-width: 1040px;
	margin: 0 auto;
	padding-inline: var(--space-5);
	margin-bottom: var(--text-xl);
}

.shared-detail .detail-drawers .core-styles p {
	line-height: 1.56;
	color: var(--accent-color);
}

@media (min-width: 40em) {
	.shared-detail .detail-drawers {
		margin-bottom: var(--space-20);
	}

	.shared-detail .detail-drawers .core-styles p {
		line-height: 1.6;
		margin-bottom: var(--space-12);
	}

	.shared-detail .detail-drawers {
		margin-bottom: 120px;
	}
}
@media (min-width: 64em) {
	.shared-detail .detail-drawers {
		margin-bottom: 120px;
	}
}

.shared-detail .detail-drawers .drawer > .content {
	display: none;
	padding: var(--space-5);
}

.shared-detail .detail-drawers .drawer.active > .content {
	display: block;
}

.shared-detail .detail-drawers .drawer-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: transparent;
	padding: 0;
	padding-bottom: var(--space-4);
	border-bottom: 1px solid #ccc;
	margin-bottom: var(--space-4);
	width: 100%;
	font-family: var(--font-family-display);
	font-size: var(--text-2xl);
	font-weight: 700;
	line-height: var(--leading-none);
}

.shared-detail .detail-drawers .drawer-button i {
	margin-left: var(--space-4);
	font-size: var(--text-base);
	height: 26px;
	width: 26px;
	color: var(--white);
	background-color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--rounded-circle);
}

@media (min-width: 64em) {
	.shared-detail .detail-drawers .drawer-button i {
		font-size: var(--text-xl);
		height: var(--space-8);
		width: var(--space-8);
	}
}

.shared-detail .detail-drawers .gMapHolder { 
	height: 280px; 
}

.shared-detail .detail-drawers .social-cont {
	max-width: 300px;
	margin: 0 auto;
}

.shared-detail .detail-drawers .social-cont .social-title {
	font-size: var(--text-xl);
	font-weight: bold;
	margin-bottom: var(--space-5);
}

.shared-detail .detail-drawers .social-cont .tweet {
	display: flex;
	margin-bottom: var(--space-5);
}

.shared-detail .detail-drawers .social-cont .buddy-icon {
	width: 48px;
	margin-right: var(--space-3);
}

.shared-detail .detail-drawers .social-cont .buddy-icon img {
	border-radius: var(--rounded-circle);
}

.shared-detail .detail-drawers .social-cont .tweet-text {
	flex: 1;
}

.shared-detail .detail-drawers .social-cont .date {
	font-weight: bold;
}

.shared-detail .detail-drawers .social-cont .actions {
	display: flex;
	justify-content: space-between;
	margin-top: var(--space-1);
}

.shared-detail .social-cont.twitter-cont {
	max-height: 850px;
	overflow-y: auto;
}

@media (min-width: 40em) {
	.shared-detail {
		margin: 0 auto;
	}

	.shared-detail .detail-top {
		flex-direction: row;
		align-items: stretch;
		background: var(--background-color) url(https://www.meetboston.com/includes/public/assets/shared/patterns/mb-pattern-detail.svg) no-repeat;
	}
	
	.shared-detail .detail-top .info-section {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: var(--space-12) var(--space-5);
	}
	
	.shared-detail .detail-info-bar {
		display: flex;
		padding: 90px 0 50px;
		margin-bottom: 0;
	}
	
	.shared-detail .detail-info-bar .split-pane {
		margin-bottom: 0;
		padding: 0 var(--space-5);
		flex: 1;
	}
	
	.shared-detail .detail-drawers .drawer > .content {
		padding: var(--space-10) var(--space-16);
	}
	
	.shared-detail .detail-drawers .drawer-button {
		padding: var(--space-4) 0;
		margin-bottom: var(--space-4);
	}
	
	.shared-detail .detail-drawers .gMapHolder { 
		height: 400px; 
	}

	.shared-detail .detail-drawers .social-cont {
		flex: 1;
		max-width: 500px;
	}

	.shared-detail .detail-top .info-section:after {
		height: 23%;
	}
}

@media (min-width: 40em) and (max-width: 64em) {
	.shared-detail .detail-info-bar .hours-of-operation li {
		display: block;
	}
	
	.shared-detail .detail-info-bar .hours-of-operation li span.day {
		display: flex;
		width: auto;
		padding-right: 5px;
	}
}

@media (min-width: 64em) {
	.shared-detail .detail-top .info-section {
		padding: var(--space-12) 58px;
	}

	.shared-detail .detail-drawers .active #socialFeedsTab {
		display: flex;
		justify-content: space-between;
	}

	.shared-detail .detail-drawers #socialFeedsTab > div {
		flex: 1;
	}

	.shared-detail .detail-drawers .social-cont .tweets {
		max-height: 800px;
		overflow-y: auto;
		padding-right: var(--space-4);
	}

	.shared-detail .detail-drawers .drawer-button {
		font-size: 2.25rem;
	}
}

.whats-nearby {
	padding: 0;
}

.whats-nearby .wrapper {
	padding: var(--space-10) 0;
	background-color: var(--background-color);
	border-top: 4px solid var(--background-color-alt);
}

@media (min-width: 40em) {
	.whats-nearby .wrapper {
		padding: var(--space-20) 0;
	}
}

.whats-nearby .wrapper > .inner {
	margin: 0 auto;
	padding: 0 var(--space-5);
	max-width: var(--width-base);
}

.whats-nearby .section-title {
	margin: 0 auto;
	margin-bottom: var(--space-6);
	padding: 0 var(--space-5);
	max-width: var(--width-base);
	font-family: var(--font-family-display);
	font-size: var(--text-3xl);
	font-weight: 700;
	line-height: var(--leading-tight);
}

.whats-nearby .tab-group {
	display: flex;
	margin: 0 auto;
	margin-bottom: -4px;
	padding: 0 var(--space-5);
	max-width: var(--width-base);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.whats-nearby .tab {
	margin: 0;
	padding: var(--space-4) var(--space-8);
	color: currentColor;
	background: transparent;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	white-space: nowrap;
	scroll-snap-align: start;
}

.whats-nearby .tab[aria-expanded="true"] {
	border-bottom-color: var(--nearby-tab-bottom-border);
}

@media (hover: hover) {
	.whats-nearby .tab:hover {
		border-bottom-color: var(--nearby-tab-bottom-border-alt);
	}	
}

.whats-nearby .tab-pane {
	display: block;
	margin: 0;
	width: 100%;
}

.whats-nearby .layoutjs .content {
	margin: 0;
	padding: 0;
}

.shared-detail .detail-drawers .drawer.active > .content > div > div {
	margin-bottom: var(--space-5);
}

.shared-detail .detail-drawers .review-user-image {
	height: 600px;
	width: 500px;
	object-fit: cover;
	display: flex;
}

.shared-detail .detail-drawers .review-user-image {
	height: 100%;
	width: 100%;
	max-width: 350px;
	max-height: 350px;
	object-fit: cover;
	display: flex;
}

.shared-detail .detail-drawers .drawer.active > .content > div > div .content-section h4 a,
.shared-detail .detail-drawers .drawer.active > .content > div > div .content-section h4 {
	font-family: var(--font-body);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--leading-relaxed);
	color: inherit;
	margin-bottom: var(--space-2);
	word-break: break-word;
}

.shared-detail .detail-drawers .drawer.active > .content > div > div .inner {
	max-width: var(--width-compact);
}

.shared-detail .detail-drawers .drawer.active > .content > div > div .img-cont {
	margin-bottom: var(--space-2);
}

.shared-detail .detail-drawers .shared-action-items {
	background: var(--blue);
	width: fit-content;
	margin-top: var(--space-3);
}

.shared-detail .detail-drawers dl.drawers dd.active a {
	cursor: pointer;
	color: var(--primary-color-500);
}

@media (min-width: 64em) {
	.shared-detail .detail-drawers .drawer.active > .content > div > div .inner {
		max-width: unset;
	}

	.shared-detail .detail-drawers .drawer.active > .content > div > div .img-cont {
		margin-bottom: 0;
	}
}

@media (min-width: 90em) {
	.shared-detail .detail-drawers,
	.shared-detail .detail-info-bar .info-bar-cont {
		max-width: calc(100% - 400px);
	}
}

.shared-detail .detail-info-bar .split-pane .yelp-top {
	display: flex;
	gap: var(--space-2);
	align-items: flex-end;
}

.shared-detail .detail-info-bar .split-pane .yelp-top > img {
	height: 17px;
}

.shared-detail .detail-info-bar .split-pane .yelp-top a img {
	width: 51px;
}

.shared-detail .detail-info-bar .split-pane .yelp-bottom {
	font-size: var(--text-xs);
	font-weight: 600;
}

.shared-detail .tripadvisor-snippet h4 {
	display: none;
}

.shared-detail .detail-info-bar .split-pane span.reviews-rating-line-text {
	font-size: var(--text-xs);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 600;
}

.shared-detail .detail-info-bar .split-pane .reviews-rating-line img {
	height: 24px;
	margin-left: -8px;
	margin-bottom: -10px;
}

.shared-detail .tripadvisor-snippet {
	height: fit-content;
	margin: 0 0 15px 0;
}