#pdf-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: right;
}

#pdf-menu > li {
	float: left;
	margin-left: 10px;
}


#pdf-collection {
	clear: both;
	padding: 40px 0 40px 0;
	display: flex;
	flex-wrap: wrap;
	row-gap: 20px;
}

#pdf-menu a.active {
	font-weight: bold;
	text-decoration: underline;
}

#pdf-collection .pdf-download {
	color: #333;
	text-align: center;
}

#pdf-collection .pdf-download a {
	color: #ce1141;
}

#pdf-collection > div {
	width: 20%;
	padding: 4px;
	box-sizing: border-box;
}

#pdf-collection img {
	width: 100%;
	height: auto;
}

#pdf-collection .lastned {

}

#pdf-output .dashicons-download,
#pdf-collection .dashicons-download {
	position: relative;
	top: 2px;
}

#pdf-output {
	margin-left: -255px;
	margin-right: -255px;

	/*
	margin-left: calc( -100vw / 2 + 100% / 2 );
	margin-right: calc( -100vw / 2 + 100% / 2 );
	width: 100vw;
	*/
}

@media all and (min-width: 767px) and (max-width: 1024px) {
	#pdf-output {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
}

@media (max-width: 767px) {
	#pdf-output {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
	#pdf-collection > div {
	        width: 50%;
	}

	#pdf-menu a {
		color: rgb(206,17,65);
	}
}


}
