#area {
	border: 1px solid black;
	margin: 15px 0;
	padding: 15px 0;
}

#box {
	padding: 20px 20px 24px 20px;
	width: 500px;
	/*margin: 60px auto 40px;*/
	position: relative;
	line-height: 0;

	/*background: #ffffff;*/
	/*background: -moz-linear-gradient(-45deg, #ffffff 0%,#e1e1e1 100%);
	background: -webkit-linear-gradient(-45deg, #ffffff 0%, #e1e1e1 100%);
	background: linear-gradient(135deg, #ffffff 0%, #e1e1e1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e1e1e1',GradientType=1);*/
	
	background-image: url('../img/kreska-l.png'), url('../img/kreska-r.png'), url('../img/kreska-l.png'), url('../img/kreska-r.png');
	background-position: left top, right top, right bottom, left bottom;
	background-repeat: no-repeat;

	-webkit-box-shadow: inset 0 0 5px 0 #000000;
	box-shadow: inset 0 0 5px 0 #000000;
}

#box::before {
	content: "";
	position: absolute;
	
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;

	z-index: -1;
	
	background: #401d07;
}

/*#box::before {
	content: "";
	position: absolute;
	
	top: -26px;
	left: -25px;
	right: -22px;
	bottom: -32px;

	z-index: -1;
	
	background: #f7f7f7;
	background: -moz-linear-gradient(-45deg,  #f7f7f7 0%, #dfdfdf 100%);
	background: -webkit-linear-gradient(-45deg,  #f7f7f7 0%,#dfdfdf 100%);
	background: linear-gradient(135deg,  #f7f7f7 0%,#dfdfdf 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dfdfdf',GradientType=1 );
	
	-webkit-box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.25);
	box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.25);
	
	border-radius: 2px;
}*/

#box > div {
	width: 64px;
	height: 64px;
	display: inline-block;
	vertical-align: middle;
	/*background-color: #f4dcae;
	background-color: transparent;*/
	background-color: #401d07;
	margin: 0px 0px -10px -4px;
	margin: 4px 0 0 4px;
	padding: 0;
/*	border: 4px solid transparent;
	border: 4px solid #401d07;*/
	outline: 4px solid transparent;
	
	background-size: cover;
	background-repeat: no-repeat;

	z-index: 1;
}

/*@media screen and (-webkit-min-device-pixel-ratio:0) {
	#box {
	padding: 20px 20px 24px 24px;
	}

	#box > div {
		margin: 0px 0px -4px -4px;
	}
}*/

#box > div::after {
	content: "";
	display: none;
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 0px solid transparent;
}

#box > div.active {
	outline-color: #E28986;
	width: 64px;
	height: 64px;
	position: relative;
}

#box > div.active::after {
	display: block;
}

#box > div.selectedRow {
	position: relative;
}

#box > div.selectedRow::before {
	content: "";
	position: absolute;
	
	top: -2px;
	left: -10px;
	right: -10px;
	bottom: -2px;
	
	border-left: 2px solid rgba(0, 0, 0, 0.35);
}

#box > div > input {
	width: 64px;
	height: 64px;
	display: block;
	background-color: transparent;
	margin: 0;
	padding: 0;
	border: none;
	text-align: center;
	opacity: 0;
	font-size: 0;
}

#rowData.loading {
	background-position: right 8px center;
	background-repeat: no-repeat;
	background-image: url('../img/ajax-loader.gif');
}

#rowData.loaded {
	background-position: right 8px center;
	background-repeat: no-repeat;
	background-image: url('../img/tick.png');
}