.fancybox-overlay.dp-overlay {
	background-color: rgba(0,0,0,0) !important;
	background-image: url("../images/fancybox_overlay.png") !important;
}
.fancybox-skin.dp-skin {
	background-color: #FFFFFF;
}
.fancybox-close.dp-close {
	cursor: pointer;
    height: 36px;
    position: absolute;
    right: -18px;
    top: -18px;
    width: 36px;
    z-index: 8040;
	background-image: url("../images/fancybox_sprite.png");
}
/*
.print {
	width: 210mm;
	min-height: 297mm;
	padding: 20mm;
	margin: 10mm auto;
	border: 1px #D3D3D3 solid;
	border-radius: 5px;
	background: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
*/

@page {
	size: A4;
	margin: 10mm auto;
}
div#fancy_print:focus {
	border: solid 1px #A0CDE9;
}
div#fancy_print {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../images/print.jpg");
    background-origin: padding-box;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto auto;
    cursor: pointer;
    display: block;
    height: 60px;
    left: -25px;
    position: absolute;
    top: -15px;
    width: 58px;
    z-index: 9999;
}
	
 @media print {
	html, body {
		width: 210mm;
		height: 297mm;
	}
	body {
		background-color: white;
	}
	div#svg > div.prev,
	div#svg > div.next,
	div#animation-button,
	div#timeline > div.navigation.prev,
	div#timeline > div.navigation.next {
		display: none;
	}
	div.timepoints  > div.timepoint:not(.selected){
		display: none !important;
	}
	div#timeline > div#timepoint-wrapper,
	div#timeline > div#timepoint-wrapper > div.timepoints {
		left: 0 !important;
	}
	div#chart-info > * {
		/* padding-right: 80px !important; */
	}
	
	div#svg > svg  {
	   -webkit-transform: translate(-20px);
	   -moz-transform: translate(-20px);
	   -ms-transform: translate(-20px);
	   -o-transform: translate(-20px);
	    transform: translate(-20px);
	}
	
	.print {
		margin: 0;
		/* padding: 20mm 20mm 20mm 25mm; */
		border: initial;
		border-radius: initial;
		width: initial;
		min-height: initial;
		box-shadow: initial;
		background: initial;
		/* page-break-after: always; */
	}
}