html, body {
	margin: 0;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAI0lEQVQIW2NkwATGjGhixkD+WWRBsABIEUwQLgATRBEACQIAr8MEOZtA/yIAAAAASUVORK5CYII=);
	background-color: #E5EFF5;
}
body {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #e6e6e6;
	font-size: 1.05em;
	line-height: 1.4em;
	padding-top: 0;	
	padding-bottom: 42em;
}

.page {
	background-color: #333;
	box-shadow: 4px 4px 18px -5px rgba(0,0,0,0.22);
	margin-top: 1em;
}
.page > .page-inner {
	width: 100%;
	padding: 2em;
	box-sizing: border-box;
	box-shadow: inset 0px 0px 50px rgba(0,0,0,0.8);	
}

.page, .options, .type {
	width: calc(100% - 4em);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.options {
	margin-bottom: 5px;
}
.page, .page-inner {
		border-radius: 1em;
}

.nav {
	background-color: #292929;
	margin-bottom: 2em;
	padding-top: 1em;
	padding-bottoM: 1em;
	border-bottom: solid 1px #000;
	box-shadow: 0px 0px 18px rgb(0 0 0 / 80%);
}
.type button {
	width: 88px;
	height: 108px;
	padding-top: 88px;
	font-weight: bold;
	border: none;
	background: none;
	background-position: -20px -20px;
	margin-bottom: 10px;
	opacity: 0.4;
	transition: opacity 0.2s ease;
	color: #fff;
	cursor: pointer;
}
.type button.current {
	opacity: 0.8;
}
.type button:hover {
	opacity: 1;
}
p.small {
	text-align: center;
	font-size: 0.8em;
}

em, a {
	color: #e7cda2;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}


input[name=filter] {
		background-color: #292929;
		color: #fff;
		border: solid 1px #000;
		padding: 0.5em;
		padding-left: 1em;
		width: 100%;
		box-sizing: border-box;
		box-shadow: inset 0px 0px 18px rgba(0,0,0,0.8);	
		font-size: 1.1em;
		margin-bottom: 1em;
		border-radius: 0.5em;
}
input[name=filter]:placeholder {
	color: #aaa;
}

.number_of_results {
	padding-left: 1.4em;
}

#results {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.event .repeated {
	display: none;
}
.event .active {
	color: #05df72;
}

.map {
	border-radius: 10px;
	width: calc(33% - 50px);
	padding: 20px;
	margin-bottom: 20px;
	background-color: #222;
}
@media screen and (max-width: 815px) {
	.map {
		width: calc(50% - 50px);
	}
}
@media screen and (max-width: 535px) {
	.map {
		width: 100%;
	}
}

.map h3 {
	margin-top: 0;
	border-bottom: solid 1px #444;
	text-transform: uppercase;
	padding-bottom: 5px;
	font-weight: normal;
	color: #eee;
	font-size: 14px;
}

.map h4 {
	margin-bottom: 0;
	font-size: 14px;
}
.map p {
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #aaa;
}


#tags {
}

label {
	display: inline-block;
	width: 160px;
	background-color: #333;
	border-radius: 3px;
	padding: 5px;
	padding-left: 0.8em;
	margin: 2px;
	transition: background 0.5s ease;
	border-radius: 0.5em;
}

label input {
	margin-right: 10px;
}

label:hover {
	background-color: #111;
}
.credits { 
	margin-top: 2em; 
	color: #999;
	margin-bottom: 1em;
}
#logipar-logo {
	height: 1.4em;
	opacity: 0.8;
	vertical-align: text-bottom;
	margin-left: 0.1rem;
}
.credits p {
	margin-bottom: 0;
	padding-bottom: 0;
	margin-top: 0;
}
.credits a {
	opacity: 0.8;
}
.map.empty {
	border: none;
	background: none;
}

#ae-logo {
	width: 2em;
	vertical-align: text-bottom;
	margin-left: 0.3em;
}
.divider {
	display: inline-block;
	margin-left: 1em;
	margin-right: 1em;
	opacity: 0.8;
}
@media screen and (max-width: 1200px) {
	#perks {
		padding: 0;
	}
}
@media screen and (max-width: 700px) {
	.page, .options, .type {
		width: 100%;
	}
	.page,.page-inner {
		border-radius: 0;
	}
	.options > div {
		text-align: center;
	}
	.options {
		margin-bottom: 1em;
	}
	
		
	.perk .tooltip {
		max-width: calc(100% - 4em);
		left: 0;
	}
		
}

@media screen and (max-width: 400px) {
	.perk .tooltip {
		max-width: 100%;
		left: -1.5em;
	}	
}