@import url(http://assets.euractiv.com/style/v-edge/modules/010-fonts/cabin/cabin.css);
@import url(http://assets.euractiv.com/style/v-edge/modules/010-fonts/source-sans-pro/source-sans-pro.css);
@import url(http://assets.euractiv.com/style/v-edge/modules/010-fonts/itc-franklin-gothic/itc-franklin-gothic.css);
@import url(http://assets.euractiv.com/style/v-edge/modules/010-fonts/open-sans/open-sans.css);

@media print{

	.hidden-screen {
		display:none;
	}

	@page{
		size :		201.5mm 278.2mm;
		margin :	3.8mm 8.7mm 4.7mm 8.7mm;
		/*size :		210mm 297mm;*/
		/*margin :	0;*/
	}
	
	html, body{
		margin :		5.9mm 0;
		/*position :		relative;*/
	}
	
	a{
		text-decoration :	none;
	}
	/* global */
	.hidden-print,
	.widget,
	.btn,
	.ea-sidebar,
	section hr,
	hr,
	iframe, .embed-responsive {
		display:none!important;
	}
	/*
	.wpadminbar, .wpadminbar * {
		visibility:hidden;
	}*/

	p, h1, h2, h3, h4, h5, h6 {
		page-break-after:auto;
		page-break-inside:avoid;
	}

	/* article pages */

	.ea-social,
	.ea-meta-languages,
	.ea-article-tagcloud,
	.ea-article-meta-yellow,
	.ea-edit-link,
	.ea-article-footer,
	.ea-article-actions,
	#ea-comments{
		display:none!important;
	}
	
	.single-infographic .ea-article-featured-image {
	}
	.ea-article-header:after {
	}
	.ea-article-header a:after,
	.ea-article-meta-white a:after {
		content:"";
	}

	/* index pages */
	.ea-teaser {
		page-break-inside:avoid;
	}
	.ea-teaser > a {
		display:none;
	}

	.ea-teaser-labels a {
		display:none;
	}
	.ea-teaser-meta a:after {
		content:""!important;
	}

	[class*="col-"] {
	}
	.pagination {
		display:none;
	}
	
/* HEADER */

	#ea-print-header{
		position :		relative;
		width :			100%!important;
		margin :		0 0 0 0;
		padding :		0;
		height :		auto;
		display :		block;
	}
	
		.safari.archive #ea-print-header{
			height :		30mm;
		}
/* logo */
		#ea-print-header img{
			position :		relative;
			left :			46%;
			width :			20mm;
			height :		20mm;
			margin :		0 auto 0 auto;
		}
		
/* baseline */
		#ea-print-header-info{
			position :		relative;
			width :			100%;
			height :		12mm;
			padding :		2mm 0;
			margin :		0;
			text-align :	center;
			z-index :		20;
		}
		.single-linksdossier #ea-print-header-info,
		.single-special_report #ea-print-header-info{
			height :		auto;
		}
		.single-linksdossier aside,
		.single-special_report aside{
			display :		none!important;
		}
			#ea-print-header-info p{
				position :		relative;
				width :			42mm;
				margin :		0 40%;
				padding :		0;
				font-size :		8pt;
				line-height :	9.6pt;
				font-family :	'Open Sans';
				font-weight :	lighter;
				color :			#1b4598;
				-webkit-print-color-adjust: exact;
			}
			#ea-print-header-info p#ea-print-date{
				margin-top :	5mm;
			}

/* TEASERS */
/* on HOME, contains all articles INCLUDING the headlines */
	.container{
	}
		.single-special_report .ea-teaser{
			float :			none!important;
			visibility :	hidden;
		}
		
		.ea-teaser{
			float :			left;
			width :			44%;
			margin :		0 0 0 0;
			height :		64mm;
			padding :		3.2mm 3% 3.2mm 3%;
			margin :		0 0 0 0;
			overflow :		visible;
			page-break-inside :	avoid!important;
			break-inside :	avoid!important;
		}
		
		.ie .ea-teaser,
		.safari .ea-teaser{
			padding-top :	9mm;
			margin-top :	5mm;
			height :		72mm;
		}
			.ea-teaser-meta{
				height :			6mm;
				border-bottom : 	#1b4598 solid 1pt;
				font-family :		'Cabin'!important;
				page-break-after :	avoid!important;
				break-after :		avoid!important;
			}
				.ea-teaser-meta a{
					text-transform :	uppercase;
					font-family :		'Cabin'!important;
					font-size :			10pt;
					color :				#1b4598;
				}
				.ea-dateformat{
					display :			none;
				}
			.ea-teaser-caption h3 a{
				font-family :	'ITC Franklin Gothic';
				font-size :		18pt;
				line-height :	21pt;
				color :			#1b4598;
			}
			.ea-teaser-caption h3 a:after,
			.ea-teaser-abstract:after{
				content :		none!important;
			}
			.ea-teaser-abstract{
				margin :		0;
				font-family :	'Cabin'!important;
				font-size :		10pt;
				line-height :	14pt;
				text-align :	justify;
			}
				.ea-teaser-abstract a{
					color :			#000000;
				}
		
/* last article takes the whole width (1headline + 7articles)
 * 1 row HL + 3 rows of 2 art + 1 row of 1 art
 * first article of 8 is turned into a headline */
		.home .ea-archive div:last-child div:last-child > div.ea-teaser{
			clear :			both;
			float :			none!important;
			width :			94%;
			height :		40mm;
			margin :		0;
			padding :		12.9mm 3% 5.9mm 3%;
			overflow :		hidden;
		}
		.home .ea-archive div:first-child div:first-child > div.ea-teaser{
			clear :			both;
			float :			none!important;
			width :			100%;
			margin :		0;
			padding :		0;
			height :		42mm;
			overflow :		hidden;
		}
			.home .ea-archive div:first-child div:first-child > div.ea-teaser .ea-teaser-meta,
			.home .ea-archive div:first-child div:first-child > div.ea-teaser .ea-teaser-abstract{
				display :		none!important;
			}
			.home .ea-archive div:first-child div:first-child > div.ea-teaser .ea-teaser-caption{
				width :			100%;
				height :		auto;
				margin :		0 auto 0 auto;
			}
				.home .ea-archive div:first-child div:first-child > div.ea-teaser .ea-teaser-caption h3{
					font-size :		32pt;
					line-height :	36pt;
					width :			84%;
					margin :		0 auto;
					font-weight :	bold;
					text-align :	center;
				}
				.home .ea-archive div:first-child div:first-child > div.ea-teaser .ea-teaser-caption h3 a{
					color :			#000000;
					font-size :		32pt;
					line-height :	36pt;
				}
	
	
/* ARCHIVE VIEW */
/* same layout for sections, news, special_report, linksdossier,
 * interview, opinion */
 
/* borders all divs for debugging */
/*div{
	border-bottom :		#ff0000 solid 1px;
}
	div:after{
		content : 		"." attr(class) ", #" attr(id);
		font-size :		10pt;
	}
	*/
	.archive h1{
		font-size :		64pt;
		line-height :	64pt;
		display :		block;
		margin :		8mm 0 0 0;
		font-family :	'ITC Franklin Gothic';
		font-weight :	bold;
		text-align :	center;
		page-break-after :	avoid;
		background :	none;
	}
	.archive .ea-teaser{
	}
		.archive .ea-teaser-labels span{
			display :		none;
		}
	
	.ie.archive h1,
	.safari.archive h1{
		margin :		40mm 0 0 0;
		page-break-after :	always!important;
	}
	
	/*.safari .ea-color-white{
		float :			none!important;
		overflow :		hidden!important;
	}*/
	
		.ie.archive .ea-teaser{
			padding-top :	9mm;
		}
		.safari.archive .ea-teaser{
			height :		72mm;
			padding-top :	6.2mm;
		}
		
.single{

}
.single a{
	color :		#000000;
}
	.single p#ea-print-date{
		display :		none!important;
	}
	#ea-print-category{
		display :		block;
		width :			30%;
		margin :		0 auto 0 auto;
		text-align :	center;
		font-family :	'Open Sans';
		font-size :		12pt;
		text-transform :uppercase;
		color :			#1b4598;
		font-weight :	lighter;
		border-bottom :	#1b4598 solid 1px;
		-webkit-print-color-adjust: exact;
	}
	
	.ea-article-header h2{
		display :		block;
		width :			86%;
		margin :		6mm 7% 0mm 7%;
		font-family :	'ITC Franklin Gothic';
		font-size :		38pt;
		font-weight :	bold;
		line-height :	38pt;
		text-align :	center;
	}
	.ea-article-disclaimer{
		display :		block;
		margin :		0mm 0 0 0;
		font-family :	Cabin;
		font-size :		11pt;
		line-height :	13pt;
		bottom :		16mm;
		left :			8mm;
		color: 			#000000;
		text-align :	center;
		border :		none;
	}
		.ea-article-disclaimer p,
		.ea-article-disclaimer b{
			color :			#aaaaaa!important;
			-webkit-print-color-adjust: exact;
		}
		.ea-article-meta p{
			display :		block;
			float :			none;
			font-family :	'Open Sans';
			margin :		0 0 8mm 0;
			font-size :		10pt;
			font-weight :	lighter;
			line-height :	10pt;
			text-align :	center;
			color :			#1b4598;
		}
		
		.ea-article-meta p:first-child{
			margin :		4mm 0 0 0;
		}
			.ea-article-meta p.pull-left,
			.ea-article-meta p.pull-left a{
				color :			#000000;
			}
			.single p span span.ea-dateformat{
				display :			inline;
			}
				.single p span span.ea-dateformat:before{
					content :	none;
				}
				
		.ea-article-featured-image img.lazy-load{
			display :		block;
			margin :		1mm 0 0 0;
			width :			100%!important;
		}
		
			.ea-image-meta{
				overflow :		hidden;
			}
				.ea-image-meta p,
				.ea-image-meta p.pull-left,
				.ea-image-meta p.pull-right{
					display :		block!important;
					float :			none!important;
					margin :		4mm 0 0 0;
					font-family :	Cabin;
					font-size :		11pt;
					line-height :	13pt;
					bottom :		16mm;
					left :			8mm;
					color: 			#000000;
					text-align :	center!important;
					border :		none;
				}
				.ea-image-meta p:last-child{
					margin-top :	0;
				}
				
				.ea-image-meta p:first-child{
					margin-top :	4mm;
				}
					.ea-image-meta p a:link{
						color: 			#000000;
						text-align :	center;
					}
					
	.ea-article-header{
		page-break-after: always;
	}
	.ea-article-body{
	position :		relative;
	height :		auto!important;
		float :			none;
		padding :		9.7mm 0 5.9mm 0;
		page-break-inside :	auto;
		page-break-after :	auto;
	}
		.ea-article-body-content{
			font-family :		Cabin;
			font-size :			9pt;
			line-height :		11pt;
			text-align :		justify;
			-moz-column-count:	3;
			-webkit-column-count:3;
			-o-column-count:	3;
			column-count:		3;
			-moz-column-gap:	9.7mm;
			-webkit-column-gap:	9.7mm;
			-o-column-gap:		9.7mm;
			column-gap:			9.7mm;
			-moz-column-fill:	balance;
			-webkit-column-fill:auto;
			-o-column-fill: 	auto;
			column-fill: 		auto;
			overflow :			visible!important;
			page-break-inside: 	auto;
		}
		.safari .ea-article-body-content{
			-webkit-column-count:3;
			column-count:		3;
			-webkit-column-gap:	9.7mm;
			column-gap:			9.7mm;
			-webkit-column-fill:auto;
			column-fill: 		auto;
		}
			.ea-article-body-content p{
				margin :	0 0 9pt 0;
				-webkit-column-break-inside: auto;
				page-break-inside: auto;
				break-inside: 	auto;
			}
			.ea-article-body-content p:first-child{
				font-weight :	bold;
			}
			.ea-article-body-content p strong{
				display :		block;
				padding :		9pt 0;
				text-transform :uppercase;
				color :			#1b4598;
				text-align :	center;
				font-family :	'Open Sans';
				font-weight :	lighter;
				-webkit-column-break-inside: avoid;
			}
				.ea-article-body-content p strong a{
					color :		#1b4598;
				}
				
				
			.ea-article-body-content ol,
			.ea-article-body-content ul{
				list-style :	none;
				padding :		0;
			}
				.ea-article-body-content ol li,
				.ea-article-body-content ul li{
					display :		block;
					margin :		9pt 0;
				}
				.ea-article-body-content ol li:before,
				.ea-article-body-content ul li:before{
					content :"- ";
				}
				
			/* box */
			table.ea-own-embed{
				display :		block;
				margin :		9pt 0;
				padding :		0 0;
				border :		none;
				border-left :	#ffe300 solid 1pt;
				border-top :	#ffe300 solid 1pt;
				page-break-inside :avoid;
				break-inside: avoid-column;
				-webkit-column-break-inside: avoid;
			}
				table.ea-own-embed tr{
					overflow :		hidden;
				}
					table.ea-own-embed td:first-child{
						display :		none;
					}
						table.ea-own-embed td img{
							width :		15mm!important;
						}
						table.ea-own-embed td:first-child img{
						}
						table.ea-own-embed td h4{
							width :			100%;
							text-align :	left!important;
						}
					
						table.ea-own-embed td p{
							font-size :		9pt;
							width :			100%!important;
						}
							table.ea-own-embed td p.text-right a{
								display :		none;
							}
	
	
	.ea-article-body-extras{
		display :		block;
		margin :		27pt 0 0 0;
		width :			100%;
		font-family :	Cabin;
		font-size :		9pt;
		line-height :	11pt;
		text-align :	justify;
		-moz-column-count:3;
		-webkit-column-count:3;
		-o-column-count:3;
		column-count:3;
		-moz-column-gap:9.7mm;
		-webkit-column-gap:9.7mm;
		-o-column-gap:9.7mm;
		column-gap:9.7mm;
		-webkit-column-gap:auto;
		-moz-column-fill: balance;
		-o-column-fill: auto;
		column-fill: auto;
		page-break-before :	auto;
	}
		.ea-article-body-extras > div{
		}
			.ea-article-body-extras > div h4{
				display :		block;
				padding :		9pt 0;
				margin :		0;
				text-transform :uppercase;
				color :			#000000;
				font-size :		13pt;
				font-family :	Cabin;
				font-weight :	bold;
			}
			.ea-article-body-extras > div:first-child h4{
				padding :		0 0 9pt 0;
			}
			
			.ea-article-body-extras ul{
				list-style :	none;
				padding :		0;
			}
				.ea-article-body-extras ul li{
					display :		block;
					margin :		9pt 0;
				}
			
				.ea-article-body-extras ul li a:after{
					content :		" (" attr(href) ")"!important;
					color :			#aaaaaa!important;
					overflow-wrap: 	break-word;
					word-wrap: 		break-word;
					-ms-word-break: break-all;
					/* Instead use this non-standard one: */
					word-break:		break-word;
					/* Adds a hyphen where the word breaks, if supported (No Blink) */
					-ms-hyphens: 	auto;
					-moz-hyphens: 	auto;
					-webkit-hyphens:auto;
					hyphens: 		auto;
					-webkit-print-color-adjust: exact;
				}

	.single-infographic .ea-article-meta-grey p{
		display :		block;
		margin :		9mm 0;
		text-transform :uppercase;
		font-size :		14pt;
		height :		auto!important;
		color :			#1b4598;
		text-align :	center;
		font-family :	'Open Sans';
		font-weight :	lighter;
	}
	single-linksdossier .ea-article-body-content,
	.single-infographic .ea-article-header,
	.single-linksdossier .ea-article-header,
	.single-linksdossier .ea-article-body,
	.single-linksdossier .ea-article-extras,
	.single-special_report .ea-article-header,
	.single-special_report .ea-article-body,
	.single-special_report .ea-article-extras{
		margin-top :		8mm;
		page-break-after : avoid!important;
		page-break-before : avoid!important;
	}
	
	.single.single-special_report .ea-article-body,
	.single.single-linksdossier .ea-article-body{
		-moz-column-count:1!important;
		-webkit-column-count:1!important;
		-o-column-count:1!important;
		column-count:1!important;
	}
	
	.single.single-special_report #ea-print-category:before{
		content :		"special report";
	}
/* FOOTER */
	/* at the end of the document*/
	 #ea-print-footer{
		height :		10mm;
		width :			94%;
		margin :		8mm 3%;
		padding :		0;
		border-top :	#1b4598 solid 1pt;
		page-break-before :	auto!important;
		page-break-after :	avoid!important;
	}
		#ea-print-footer p{
			text-align :	center;
			font-family :	'Open Sans';
			font-size :		9pt;
			color :			#000000;
		}
			#ea-print-footer p a{
				color :			#1b4598;
			}
	.safari.archive #ea-print-footer,
	.safari.single #ea-print-footer{
		bottom :		initial;
		top :			240mm;
		overflow :		hidden;
	}
	/* footer displays on the first page */
	.home #ea-print-footer,
	.archive #ea-print-footer,
	.single #ea-print-footer{
		position :		absolute;
		height :		10mm;
		bottom :		-10mm;
		width :			94%;
		margin :		8mm 3%;
		border-top :	#1b4598 solid 1pt;
	}
	.single #ea-print-footer{
		width :			100%;
		margin :		8mm 0;
	}
     .single-infographic #ea-print-footer,
     .single-special_report #ea-print-footer{
		position :		relative!important;
		bottom :		initial!important;
	}
	
	.single div,
	body,html{
		max-width :		201.5mm;
		overflow-x: 	hidden;
		overflow-y: 	hidden;
	}
	
	/* hack to target firefox only */
	@-moz-document url-prefix() {
		@page{
			size :		201.5mm 267.3mm;
			margin :	9.7mm 8.7mm 9.7mm 8.7mm;
			/*size :		210mm 297mm;*/
			/*margin :	0;*/
		}
		
		html, body{
			height :		auto;
			margin :		0;
		}
			.ea-teaser{
				height :		64mm;
				padding :		5mm 3% 3.2mm 3%;
				margin :		0 0 0 0;
				page-break-inside :	avoid;
			}
			
			.home .ea-archive div:first-child div:first-child > div.ea-teaser{
				margin :		0;
				padding :		0;
				height :		42mm;
			}
			
			.single.single-infographic div.ea-article-featured-image img.img-responsive{
				float :			none;
				display :		block;
			}
			
		.archive h1{
			margin :	40mm auto 0 auto;
			width :		80%;
		}
		.ea-article-body{
			padding :		0 0 9.7mm 0;
		}
		.ea-article-body-extras{
			padding :		0 0 5.9mm 0;
		}
		.single.single-infographic #ea-print-footer{
			position :		absolute;
			bottom :		-20mm;
		}
	}
	
/* LIVEBLOG */	
	
	div.liveblog-form,
	ul.liveblog-entry-actions{
		display :		none!important;
	}
	
	div.liveblog{
		border-color :		#ffe300!important;
		margin-bottom :		9pt!important;
	}
		header.liveblog-meta{
			border-bottom :		#ffe300 solid 1px!important;
			margin-bottom :		6pt!important;
		}
			span.liveblog-author-avatar{
				display :		none!important;
			}
			span.liveblog-author-name{
				display :		block!important;
				text-align :	center!important;
				font-size :		10pt!important;
				text-transform :uppercase!important;
				color :			#1b4598!important;
				line-height :	10pt!important;
			}
			span.liveblog-meta-time{
				float :			none!important;
				display :		block!important;
				margin :		6pt 0 6pt 0!important;
				text-align :	center!important;
			}
			span.liveblog-meta-time a span{
				font-size :		7pt!important;
				line-height :	9pt!important;
				margin :		0 0 0 0!important;
				padding :		0!important;
				text-align :	center!important;
			}
			
		div.liveblog-entry-text{
			display :		block!important;
			width :			100%;
			margin-left :	0!important;
			padding-left :	0!important;
		}
				
			div.liveblog-entry-text p b{
				font-size :			9pt!important;
				line-height :		11pt!important;
				text-align :		justify!important;
				font-weight :		bold!important;
			}
}

