/*
 * Uzupełnienie main.css po przejściu na symfony 1.5.
 * Zastępuje style z lightbox.css (Lightbox 2 na Prototype) i style inline z layoutu.
 */

#cookiesInformation {
	text-align: center;
	padding: 7px;
	background-color: #666;
	color: #fff;
	font-family: verdana, tahoma, sans-serif;
	font-size: 10px;
	font-weight: normal;
}
#cookiesInformation a {
	color: #d80;
	text-decoration: underline;
}

/* Mapa na stronie kontaktu (iframe OpenStreetMap zamiast Google Maps API v2) */
#map {
	width: auto;
	max-width: 600px;
	height: auto;
	border: 0;
}
#map iframe {
	display: block;
}

[hidden] {
	display: none !important;
}

/* Przyciski wyglądające jak link (usuwanie wpisu w rankingu) */
.inlineForm {
	display: inline;
	margin: 0;
}
.linkButton {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: #222;
	cursor: pointer;
}
.linkButton:hover {
	text-decoration: underline;
}
a.buttonLink {
	display: inline-block;
	padding: 1px 6px;
	color: #000;
	text-decoration: none;
	background: #eee;
	font-size: 9pt;
}

/* Podpowiedź z opisem zdjęcia w galerii */
.tooltip.is-floating {
	position: absolute;
	z-index: 1000;
	margin: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	pointer-events: none;
}

/* Podgląd zdjęć (zamiast Lightbox 2) */
.lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .85);
}
.lb-box {
	position: relative;
	max-width: 92vw;
	max-height: 92vh;
	text-align: center;
}
.lb-box img {
	display: block;
	max-width: 92vw;
	max-height: 84vh;
	margin: 0 auto;
	border: 8px solid #fff;
	background: #fff;
}
.lb-caption {
	color: #fff;
	font: 12px verdana, tahoma, sans-serif;
	padding: 8px 0 0;
}
.lb-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 64px;
	border: 0;
	background: rgba(0, 0, 0, .4);
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}
.lb-btn:hover, .lb-btn:focus {
	background: rgba(0, 0, 0, .7);
}
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-close {
	top: 0;
	right: 0;
	transform: none;
	width: 40px;
	height: 40px;
	font-size: 24px;
}
