@charset "utf-8";
/* CSS Document */

body {
	width: 100%;
	height: 100%;
}
.container {
	position: relative;
	width: 297mm; /* Fluid width for the demo */
	outline: 1px dashed red;
	height: 210mm;
}
.forPring {
	text-align: center;
	/*height: 40px;*/
	background-color: yellow;
	border: #FC0;
	border-width: 5px;
	font: 16px Arial, sans-serif;
	font-weight: bold;
	padding-top: 20px;
}
.forPring a {
	color: red;
}
.container img {
	vertical-align: bottom; /* remove the bottom gap */
	/*max-width: 100%; */
	width: 100%;
	min-width: 20em
}
.caption {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font: 0/0 a; /* remove the gap between inline(-block) elements */
	padding: 5%;
}
.caption:before {
	content: ' ';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.caption div {
	font-size: 14px;
	font-family: Arial, sans-serif;
	line-height: 1.5;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	/*background: rgba(255, 255, 255, 0.75);*/
	width: 100%;
	padding: 1% 0;
	margin-top: 10px;
}
h2 {
    font-size: 18px;
}
h1 {
    font-size: 22px;
}
.diplomaname {
	text-transform: uppercase;
	font-weight: bold;
}
 @media print {
	 @page {
		size: landscape;
	 	size: auto;   /* auto is the current printer page size */
	 	margin: 0mm;  /* this affects the margin in the printer settings */
	}
	.forPring {
		visibility: hidden;
		height: 2px;
	}
	.container {
    outline: 0px dashed white;
	}
}