@page {
  size: A4 portrait;
}
@media print{
	#header,
	form,
	iframe,
	.display-eguide-options,
	.fa-ellipsis-h,
	.fa-pencil,
	.fa-trash,
	.fa-ellipsis-h:before,
	.fa-pencil:before,
	.fa-trash:before,
	.pull-right,
	.annotation-pencil,
	.edit-annotation,
	.delete-annotation,
	.panel-title a:after,
	.tx-wng-eguide.eguide-menu,
	.end-subchapter,
	.annotation-title,
	.comment-intro,
	.commentform textarea,
	.commentform input,
	#contactContainer,
	#footerContainer,
	#subfooterContainer,
	#accordion .collapsed,
	#accordion .collapsed + p,
	iframe,
	#accordion .panel-heading p{
		display: none;
	}
	#back-to-top{
		display: none!important;
	}
	#contentLeft,
	#bannerContainer #banner .navbar-header #branding,
	#bannerContainer #banner .navbar-header #branding h2,
	#bannerContainer #banner .navbar-header #branding h2 a,
	#bannerContainer #banner .navbar-header #branding h2 a img,
	#accordion .panel-heading-active  p{
		display:inline-block!important;
	}
	#mainContainer #topContent h1:before{
		content: url('http://guide-employeur.avdems.ch/fileadmin/templates/avdems.ch/images/logo_print.png');
		border-radius: 4px;
		display: inline-block;
	}
	#mainContainer #topContent h1{
		text-align: center;
	}
	#accordion .panel div .panel-body div h3{
		padding-left: 0;
		page-break-after: avoid;
	}
	img,
	#accordion div .panel-collapse .panel-body div p a img{
		display:block;
		max-height: 267mm;
		width: auto;
		page-break-before: avoid;
		page-break-after: avoid;
		page-break-inside: avoid;
	}
	p{
		margin-top: 20px;
		margin-bottom: 20px;
		page-break-inside: avoid;
	}
	ul{
		margin-top: 5px;
		margin-bottom: 5px;
	}
	i,
	i strong,
	em,
	em strong,
	.panel-body div p i,
	.panel-body div p i strong,
	.panel-body div p em,
	.panel-body div p em strong
	.contenttable thead tr th i,
	.contenttable thead tr th i strong,
	.contenttable thead tr th em,
	.contenttable thead tr th em strong{
		font-style: italic;
	}
	#contentLeft a{
		font-weight: 600;
		font-size: 20px;
		padding-left: 0;
	}
	#contentLeft li:not(.active),
	#contentLeft li a:after{
		display: none!important;
	}
	.tx-wng-eguide .panel-heading .panel-title > a{
		width: 100%;
		padding: 0;
		text-indent: 0;
		/*margin-bottom: 0;*/
	}
	.annotation_in_list{
		margin-top: 5px;
		border: 1px dashed black;
		border-radius: 4px;
		width: 100%;
	}
	table,
	.contenttable,
	table thead,
	table thead tr,
	table thead tr th,
	table thead tr td,
	table tbody,
	table tbody tr,
	table tbody tr td{
		border: none;
		border-color: #ffffff;
	}
	table[style*="background-color:#dcddde;"]{
		border 1px solid black;
	}
	#accordion,
	#accordion .panel,
	#accordion .panel .panel-heading,
	#accordion .panel .panel-heading a,
	#contentLeft li{
		border: none;
		margin: 0;
	}
}