<style>
@page {
    size: Legal <data>modekertas</data>;
}

.cetak{
	width:<data>lebarkertas</data>;
	font-family: Times !important;
	font-size: <data>defaultfont</data> !important;
	font-weight: 400 !important;
	-webkit-print-color-adjust:exact !important;
	margin-left: 35px;
	color: #000000;
}

.kotak{
	display: inline-block;
	width: 10px;
	height: 16px;
	padding-left: 5px;
	
	padding-top: 1px;
	border: 1px solid #000000;
	margin-left: -1px;
	font-size: 11px !important;
	margin-top: -1px;
	margin-bottom: -1px;
	text-transform: uppercase !important;
}
.tabelisi{
	border-collapse: collapse;
	width: 100%;
	font-size: <data>defaultfont</data> !important;
	
}
.tabelisi tr{
	width: 100%;
}

.tabelisi tr,.tabelisi tr td{
	padding: 0px;
	padding-bottom:2px;
	margin: 2px;
	font-size: <data>defaultfont</data> !important;
}
.tabeltop{
	border-collapse: collapse;
	width:100%;
	padding: 0px;
	font-size: <data>defaultfont</data> !important;
}
.kosong{
	width: 0%;
}
.garis{
	margin-top:8px;
	width: 100%;
	height: 2px;
	background: #000000;
}
.kodedesa{
	margin-left: 20px;
}
.judul{
	font-weight: bold;
	font-size: <data>judulfont</data> !important;
	text-decoration: underline;
	margin-top: 15px;
	text-transform: uppercase;
}
.ttdkiri{
	float:left;
	display:inline-block;
	width: 35%;
}
.ttdtengah{
	display:inline-block;
	width: 25%;
	margin-left: 2%;
}
.ttdkanan{
	position:relative;
	float:right;
	display:inline-block;
	width: 30%;
}
.stempel{
	position: absolute;
	z-index:-2;
	width: 120px;
	height: 120px;
	left: 50%;
	margin-left:-100px;
	top: 20px;
}
.ttd{
	position: absolute;
	z-index:-1;
	width: 160px;
	height: 100px;
	left: 50%;
	margin-left:-50px;
	top: 50px;
}

.kab{
	margin-top: 8px;
	font-size: <data>fontjudul1</data>;
	margin-bottom: 2px;
	text-transform: uppercase;
	font-weight: bold;
}

.kec{
	font-size: <data>fontjudul2</data>;
	text-transform: uppercase;
}

.alamat{
	font-size: <data>fontjudul3</data>;
	margin-top: 2px;
	font-weight: 400;
}
.alamat_full{
	font-size: 12px;
	margin-top: 2px;
	font-weight: 400;
}
.logo{
	width: 40px;
	height: 50px;
	background: url(<data>logo</data>) no-repeat !important;
	background-size: <data>bglogo</data>;
	-webkit-print-color-adjust:exact !important;
}
div{
	color: #000000 !important;
	font-weight: 400;
}
.qrcode{
	margin-top:10px;
	right: 5px;
	width: 100px;
	height: 100px;
}
.qrcode img{
	width: 100%;
	height: 100%;
}
.kepada{
	padding: 20px 0 30px 0;
	width: 20%;
	line-height: 1.2;
	
}
.isi{
	text-indent: 35px;
	line-height: 1.5;
	font-size: <data>defaultfont</data> !important;
	
}
</style>

<div class="cetak" id="boxcetak">
	<div style="width: 100%">
		<div align="center" style="width: 100%;box-sizing: border-box;border-bottom: 2px solid #000000; color:#000000;">
			<table style="border: none;">
				<tr>
					<td>
						<div style="<data>showlogo</data>;<data>ukuranlogo</data>" id="boxlogo">
							<img style="<data>ukuranlogo</data>" src="<data>logo</data>" />
						</div>
					</td>
					<td>
						<div class="grsbawah" style="text-align:center; display: inline-block;font-weight: bold;padding-bottom: 5px;">
							<div class="kab"><b>Kementrian Agama Republik Indonesia</b></div>
							<div class="kec"><b>Balai Pendidikan dan Pelatihan Keagamaan Semarang</b></div>
							<div class="alamat"><data>tipekabupaten</data> <data>datatelp</data></div>
							<div class="alamat" style="color: #000000"><data>dataalamat</data></div>
							<div class="alamat" style="color: #000000"><data>dataemail</data></div>
						</div>
					</td>
				</tr>
			</table>
		</div>
		<div style="clear: both;"></div>
		<table class="tabeltop" style="line-height: 1; margin-top: 20px;">
			<tr>
				<td width="70px">Nomor</td>
				<td width="10px">:</td>
				<td><data>datanomorsurat</data></td>
				<td width="130px"><data>datatanggalsurat</data></td>
			</tr>
			<tr>
				<td>Sifat</td>
				<td>:</td>
				<td><data>datasifatsurat</data></td>
				<td></td>
			</tr>
			<tr>
				<td>Lampiran</td>
				<td>:</td>
				<td>-</td>
				<td></td>
			</tr>
			<tr>
				<td>Hal</td>
				<td>:</td>
				<td><data>datahalsurat</data></td>
				<td></td>
			</tr>
		</table>
		<br />
		<div class="kepada">
			<div>Yth. <data>dataKepada</data></div>
			<div><data>datakabupatentujuan</data></div>
		</div>
		<div class="isi">
			<div>Dengan hormat, menindaklanjuti surat <data>datasuratdari</data> Nomor : <data>datanomorsuratawal</data> Tanggal <data>datatanggalsuratawal</data> Hal : <data>datahalsurat</data>, Maka disampaikan bahwa kami menerima Mahasiswa Saudara : </div>
			<table class="tabelisi" style="margin: 20px 0px 10px 25px">
				<tr>
					<td width="10px" rowspan="2" valign="top">1.</td>
					<td width="100px">Nama</td>
					<td><data>datanama</data></td>
				</tr>
				<tr>
					<td>Nim</td>
					<td><data>datanim</data></td>
				</tr>
			</table>
				
		</div>
		<div>untuk melakukan mini riset di Balai Diklat Keagamaan Semarang.</div>	
		<div class="isi">Demikian surat ini kami sampaikan, atas kerjasamanya yang baik diucapkan terima kasih.</div>
		<div style="clear: both"></div>
		<br />
		<div class="ttdkanan" style="padding-top: 70px;">
			<div>Kepala</div>
			<div style="height: 65px;"></div>
			<div><data>datanama</data></div>
		</div>
	</div>
</div>