/*
	This file will be included in header in every page after reboot.
	It should be used for content that relates
	to your site as a whole, it should not be used for
	plugin-specific css
*/

@media print {
	
	@page { 
		size: letter landscape;
		margin: 0.5cm; 
	}
	
	header,
	footer,
	.panel-header,
	.panel-footer,
	.top-bar, 
	#sv_adminBar, 
	.homepage-slideshow,
	.interior-slideshow,
	.featured-footer:before,
	.custom_imagebox,
	.play-btn,
	.social-links,
	.rssLink,
	.searchToolsContainer,
	.sharedPagerContainer,
	.shared-filter,
	.listing-detail .detailPanes .tabs,
	.columns .panel_tabs .tabs
	.listing-detail #tab-social,
	.mapTabs,
	.showGMap,
	.couponDetailContainer .topButtons,
	.gMapContainer,
	.search_results .resultForm,
	.search_results .search_results_filters,
	.search_results .search_results_above,
	.search_results .search_results_pagination,
	.widget_left_container iframe,
	.widget_right_container iframe,
	.blogContainer .blogSearchForm,
	.blogContainer .pagingButtons,
	.blogContainer .postActions,
	.blogContainer .downloadDocument,
	.blogContainer .postComments,
	.nearby,
	.showMoreContainer,
	.loadmore,
	.contentRender_name_plugins_nav_side,
	.custom_header_slideshow_homepage,
	.custom_header_slideshow_interior,
	[id^=sv_adminBar],
	[data-sv-addthis],
	[class*="contentRender_name_plugins_collections"],
	.contentRender_name_plugins_common_image_box_with_caption,
	.contentRender_name_plugins_common_video_player,
	.contentRender_name_plugins_common_button,
	.layoutjs .settings,
	.footer-container,
	.layoutjs .item > .image > a > img,
	.shared-detail .detail-top .detail-gallery img,
	.shared-detail .detail-top:before,
	.blog-container .blog-post .flex-wrapper > div.primary-img img,
	.custom-blog-detail-hero img,
	.blog-container .related-posts,
	.layoutjs .content .item .image,
	.layoutjs .content .item .bottom-actions .actions .actionButton,
	.shared-detail .detail-top .info-section .bottom-actions,
	.shared-detail .detail-top .info-section .top-actions,
	.layoutjs .pager-section,
	.shared-detail .detail-top .detail-gallery .gallery-count,
	.shared-detail .item .img-cont img,
	.sv-wrapped-iframe,
	.layoutjs .content .item .bottom-actions .qv-btn,
	.blog-detail .blog-single .sibling-posts .prev-post,
	.blog-detail .blog-single .sibling-posts .next-post,
	.blog-container .post-link,
	.no-print,
	.panel-jumplist-outer [data-jumplist-outer-top],
	.jumplist-item-title a.jumplist-back-to-top,
	img[src*="https://securepubads.g.doubleclick.net"],
	.autoplayer-pro,
	.panel-intro-5,
	.contentRender_name_plugins_maps_embed_widget,
	.tabbed-blog-container,
	.custom-image-box,
	.panel-social,
	.contentRender_name_plugins_common_container_navigation_share,
	.booking-widget,
	.layoutjs::before,
	.layoutjs::after,
	.shared-detail::after,
	.shared-detail .detail-gallery,
	.shared-detail #drawer_mapTab,
	.shared-detail .detail-drawers .drawer-button i,
	.shared-detail #mapTab,
	.shared-detial .detail-info-bar .open-table,
	.shared-detail .detail-info-bar .social-title,
	.shared-detail .detail-info-bar .social-icons,
	.shared-detail .detail-info-bar .yelp-snippet,
	.shared-detail .detail-drawers .offers-drawer,
	.shared-detail .detail-drawers .events-drawer,
	.shared-detail .detail-drawers .viator-drawer,
	.shared-detail .detail-drawers .yelp-drawer,
	.shared-detail .detail-drawers .yelp-hours-drawer,
	.shared-detail .detail-drawers .threshold-drawer,
	.shared-detail .detail-drawers .social-feeds-drawer,
	.shared-detail .whats-nearby,
	.contentRender_name_plugins_core_textbox img,
	[id*="app-cr-embed"] {display: none!important;}

	/* remove url's from printing in chrome */
	a, a:visited {
		text-decoration: none !important;
	}
	a[href]:after {
		content: "" !important;
	}
	
	/* In order for page-break-inside: avoid!important; to work, both parent and child element must be position: relative; */
	section, .content, img {
		display: block !important;
		page-break-inside: avoid;
	}

	.panel-accordion .accordion-item > button,
	.panel-accordion .accordion-item.active > button {
		padding: 0;
		background: none;
		border: none;
		color: var(--black);
	}

	.panel-accordion .accordion-item > button > i {
		display: none;
	}

	.panel-accordion .accordion-item .accordion-content {
		max-height: none;
		border: none;
	}

	.panel-accordion .accordion-item .contentRender_name_plugins_core_textbox {
		padding: 0;
	}

	.layoutjs {
		display: block !important;
		background: none !important;
	}

	.shared-detail {
		background: none !important;

		.detail-top-inner,
		.info-section {
			display: block !important;
		}

		.detail-top-inner {
			box-shadow: none !important;
		}

		.detail-info-bar *,
		.detail-drawers .drawer-button,
		.detail-drawers .drawer > .content,
		.detail-drawers .drawer > .content p,
		.detail-drawers .drawer > .content .content {
			color: var(--black) !important;
		}
	}
}