#overlay {
	/*display: table;*/
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url('img/overlay.png');
	z-index: 50;
/*
	background-color: #000;
	filter: alpha (opacity=85);
	-moz-opacity: 0.85;
	opacity: 0.85;
*/
}

#overlay #window {
	display: table-cell;
	vertical-align: middle;
}

#overlay #inner {
	width: 617px;
	overflow-x: hidden;
	margin: 0 auto;
	padding: 0 5px 0 0;
	max-height: 400px;
	overflow: auto;
	background-color: #fff;
	border: 1px solid #000;
}

#overlay #close {
	display: block;
}

#overlay #closeWindow {
	display: block;
  position: fixed;
  margin: 15px;
	margin-left: 590px;
  z-index: 100;
}

#overlay #closeWindow {
/*  margin: 10px;*/
  padding: 0;
	width: 14px;
	height: 14px;
	font-size: 80%;
	text-align: center;
	font-weight: bold;
	background: transparent url('img/close_window.gif') no-repeat;
	color: #fff;
	cursor: pointer;
}

#overlay #closeWindow:hover {
	text-decoration: none;
}

#overlay #result {
	display: block;
	position: fixed;
	margin: 125px 12.5%;
	padding: 15px;
	width: 250px;
  background: #cf6;
	border: 1px solid #6a0;
	text-align: center;
	z-index: 150;
	cursor: pointer;
}

* html #overlay #result {
	position: absolute;
	margin: 150px 0;
	left: 120px;
}

#overlay #result input {
	display: none;
	margin: 2px auto;
	width: auto;
	text-align: center;
}

#token {
	border: 1px solid #ccc;
}





#typymapy
{
	margin: 0;
	padding: 0;
	font-family: Arial;
	font-size: 11px;
	list-style: none;
}

#typymapy li
{
	display: block;
	width: 60px;
	text-align: center;
	padding: 2px;
	border: 1px solid black;
	cursor: pointer;
	float: left;
	margin-left: 2px;
}

#typymapy li.nieaktywny
{
	background: white;
	color: black;
	font-weight: normal;
}

#typymapy li.aktywny
{
	background: black !important;
	color: white;
	font-weight: bold;
}

#typymapy li:hover
{
	background: #ddd;
}
