#kiImageBox{
	display:block;
}

#kiImageBoxSm{
	display:block;
	position: fixed;
	width: 100%;
	height:100%;
	background-color: #000;
	opacity: 0.7;
	z-index: 99996;
}
#kiImageBoxSm a{
	width:98%;
	height: 98%;
	display: block;
	padding: 1%;
	color:#fff;
	font-weight: bold;
	font-size: 16px;
	text-align: left;
}

#kiImageBoxMain{
	background-color: #fff;
	opacity: 1;
	z-index: 99997;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	max-width: 80%;
	max-height: 80%;
	width: auto;
	height: auto;
}

#kiImageBoxMain a{
	color: gray;
}

#kiImageBoxMain img{
	max-width: 100%;
	max-height: 100%;
	border: 3px solid #fff
	;
}

#kiImageBoxMain p{
	margin:0;
	padding:0 5px;
	border:2px solid #fff;
}





