/*
	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,
	.header-container,
	.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,
	.layoutjs .settings,
	.layoutjs .bg-image,
	.layoutjs .content .item .image,
	.layoutjs .pager-section,
	.layoutjs .filterPane,
	.layoutjs img,
	.shared-detail .bg-image,
	.shared-detail .detail-gallery,
	.shared-detail .social-icons,
	.shared-detail img,
	.shared-detail .bottom-actions,
	.shared-detail #drawer_mapTab,
	.shared-detail #drawer_amenitiesTab,
	.shared-detail #drawer_meetingfacilityTab,
	.shared-detail #amenitiesTab,
	.shared-detail #mapTab,
	.shared-detail #meetingfacilityTab,
	iframe,
	.sv-wrapped-iframe,
	.ccl-widget,
	.highlights-panel,
	.mosaic,
	[id^=sv_adminBar],
	[data-sv-addthis],
	.no-print {display: none!important;}

	body {
		background-color: white !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;
	}

	.layoutjs *,
	.shared-detail .detail-top .info-section,
	.shared-detail .detail-info-bar {
		position: static !important;
		display: block !important;
	}

	.layoutjs .content .item,
	.layoutjs .content .item .info,
	.shared-detail .detail-top .info-section,
	.shared-detail .detail-info-bar {
		border: none !important;
		background: transparent !important;
	}

	.shared-detail .detail-top .info-section {
		padding-bottom: 20px !important;
		height: fit-content !important;
	}

	.shared-detail .detail-drawers .drawer-button {
		background: transparent !important;
		color: var(--black) !important;
	}


}