
main > header {
	text-align: center;
	padding: 8px 20px;
}
.content {
	display: flex;
	padding: 0 20px 20px;
}
#sidebar {
	width: 25%;
}

select {
	background-color: #fff;
}

.content section {
	margin-left: 20px;
	box-sizing: border-box;
	width: calc(75% - 20px);
}

.content .no-results {
	background-color: #fff;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	background: #fff;
	padding: 10px;
	margin: initial;
	margin-left: 20px;
	text-align: center;
	box-sizing: border-box;
}

.list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 0;
}
.list header {
	width: 100%;
	text-align: right;
	padding-bottom: 10px;
}
.list .cardstyle {
	width: 100%;
	height: 220px;
	margin-bottom: 10px;
	display: grid;
	grid-template-columns: 250px 1fr;
	grid-template-areas: "card-photo card-info";
	gap: 15px;
}
.list .cardstyle .cardstyle-info {
	grid-area: card-info;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"card-name card-name"
		"card-cities card-cities"
		"card-cats card-cats"
		"card-reviews card-reviews"
		"card-dates card-services"
		;
	align-items: center;
	row-gap: 5px;
}
.list .cardstyle .cardstyle-img {
	grid-area: card-photo;
	width: 250px;
	max-height: 100%;
	border-radius: 4px;
	overflow: hidden;
}
.list .cardstyle .cardstyle-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all .5s ease-in-out;
}
.list .cardstyle:hover .cardstyle-img img {
	transform: scale(1.05);
	transition: all .5s ease-in-out;
}
a.cardstyle-info-name {
	grid-area: card-name;
}
a.cardstyle-info-name span {
	width: 100%;
	display: block;
	box-sizing: border-box;
	font-size: 1.25rem;
	font-weight: 600;
}
span.cardstyle-info-cities {
	grid-area: card-cities;
	display: inline-block;
	width: 100%;
	font-size: 0.85rem;
}
div.cardstyle-info-cats {
	grid-area: card-cats;
	min-height: 40px;
	box-sizing: border-box;
	font-size: 0.80rem;
	line-height: 1.8rem;
}
span.cardstyle-info-categories span,
span.cardstyle-info-subcategories span {
	margin: 0 5px 5px 0;
	border: 1px solid #e6e6e6;
	padding: 0px 8px;
	border-radius: 6px;
	color: #767676;
	display: inline-block;
}
div.cardstyle-info-services {
	grid-area: card-services;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}
div.cardstyle-info-services img {
	width: 32px;
}
span.cardstyle-info-dates {
	grid-area: card-dates;
	color: #71818a;
	font-size: 0.85rem;
}
span.cardstyle-info-dates img {
	width: 16px;
	vertical-align: middle;
	margin-right: 5px;
}
span.cardstyle-info-open {
	color: #38a6a6;
	font-size: 0.85rem;
}
span.cardstyle-info-open.closed {
	color: #e17950;
}
span.cardstyle-info-rating {
	grid-area: card-reviews;
	font-size:.8rem;
	display: flex;
	align-items: center;
	color: #71818a;
}
span.cardstyle-info-rating img {
	width: 16px;
	vertical-align: middle;
	margin-right: 5px;
}

nav#list-sidebar {
	width: 25%;
	padding: 20px;
	box-sizing: border-box;
	background-color: #fff;
	font-size: .9rem;
	height: fit-content;
	margin-bottom: 40px;
}
	nav#list-sidebar #btnCloseFilters {
		display: none;
	}
	nav#list-sidebar .block-title {
		font-size: 1.2rem;
		line-height: 1.2rem;
		overflow: hidden;
		text-overflow: ellipsis;
		color: #000a12;
		padding: 23px 0 11px;
	}
	nav#list-sidebar .block {
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 15px;
	}
	nav#list-sidebar .publi-sidebar {
		padding:15px 0;
	}
	nav#list-sidebar label {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 14px;
		display: inline-block;
		padding: 5px 0;
		padding-left: 24px;
		font-weight: 400;
		cursor: pointer;
		position: relative;
		width: 100%;
		box-sizing: border-box;
	}
	nav#list-sidebar label:before {
		position: absolute;
		top: 6px;
		left: 0;
		width: 1em;
		height: 1em;
		background-color: #fff;
		border: 1px solid #767676;
		border-radius: 2px;
		box-shadow: inset 0 0 2px rgba(0,0,0,.1);
		font: normal 700 normal 1em/1 TripAdvisor_Regular;
		color: #fff;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		content: "";
	}
	#list-sidebar ul {
		margin: 0;
		padding: 0;
	}
	#list-sidebar li {
		margin: 0;
		list-style: none;
		display: flex;
		box-sizing: border-box;
	}
	#list-sidebar li:hover {
		background-color:#71818a;
		color: #fff;
	}
	#list-sidebar input {
		display: none;
	}
	#list-sidebar input:checked+label:before {
		background-color: #81b2e5;
		background-image: url(/assets/icons/check.svg);
		background-size: 12px 14px;
		background-repeat: no-repeat;
		background-position: 1px;
	}
	#list-sidebar .block ul {
		max-height: 85px;
		overflow:hidden;
	}
	#list-sidebar .block ul.open {
		max-height: 100%;
	}
	#list-sidebar .showMore,
	#list-sidebar .showLess {
		padding: 5px 24px 5px 0;
		cursor: pointer;
		position: relative;
		display: inline-block;
		margin-top: 5px;
	}
	#list-sidebar .showLess {
		display: none;
	}
	#list-sidebar .showMore:hover,
	#list-sidebar .showLess:hover {
		text-decoration: underline;
	}
	#list-sidebar .showMore:after {
		content:'';
		position: absolute;
		width: 1rem;
		height: 1rem;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		background: url(/assets/icons/down.svg) no-repeat;
		background-position: center;
		background-size: 18px;
	}
	#list-sidebar .showLess:after {
		content:'';
		position: absolute;
		width: 1rem;
		height: 1rem;
		top: 50%;
		right: 0;
		transform: translateY(-50%) rotate(180deg);
		background: url(/assets/icons/down.svg) no-repeat;
		background-position: center;
		background-size: 18px;
	}
	#list-sidebar #showmap {
		height: 100px;
		background: url(/assets/img/vermapa.jpg) no-repeat;
		background-size: cover;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}
	#list-sidebar #showmap:after {
		content:'';
		position:absolute;
		background-color:#ddd;
		width: 100%;
		height: 100%;
		top: 0;
		left:0;
		opacity: 0.5;
	}
	#list-sidebar #showmap button {
		z-index:3;
	}
	#list-sidebar label img {
		width:16px;
	}
	#list-sidebar .block:last-child {
		border: none;
	}

.events-description {
	margin-top: 20px;
	padding: 10px 30px 30px;
	box-sizing: border-box;
}

#pagination {
	display: flex;
	align-items: center;
	background-color: #fff;
	border: 1px solid #e7e7e7;
	padding: 10px;
	border-radius: 4px;
}
#pagination span.pagination-text {
	font-size: 0.75rem;
	padding: 13px 18px!important;
}
#pagination ul {
	margin: 0;
	margin-left: 30px;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	height: 30px;
}
#pagination li,
#pagination span {
	vertical-align: middle;
}
#pagination li.disabled {
	opacity: 0.1;
	cursor: initial;
}
#pagination li.active,
#pagination li:hover {
	background: rgba(0,0,0,.03);
	color: rgba(0,0,0,.95);
}

#pagination li a,
#pagination li span {
	color: #222;
	display: block;
	padding: 13px 18px!important;
	height: 30px;
	line-height: 2;
}
#pagination li a {
	cursor: pointer;
}
#pagination li img {
	height: 30px;
}

.block-publi {
	width:100%;
	height: auto;
}

@media (max-width: 900px) {
	#pagination {
		flex-direction: column;
    width: 100%;
    box-sizing: border-box;
	}
	#pagination ul {
		margin: 0
	}
	#pagination .number-item {
		display: none;
	}
}
@media (max-width: 600px) {
	main > header {
		padding: 10px 20px;
	}
	.btn-showfilters {
		display: block;
	}
  nav#list-sidebar {
		opacity: 0;
		visibility: hidden;
		position: fixed;
		overflow-y: auto;
		width:100%;
		z-index: 2;
		left: 0;
		top: 60px;
		height: 100%;
		padding-bottom: 200px;
	}
	nav#list-sidebar #btnCloseFilters {
		display: block;
		text-align: right;
	}
	nav#list-sidebar.show {
		opacity: 1;
		visibility: visible;
		transition: all .5s ease-in-out;
	}
	.content {
		padding: 0 10px 20px;
		box-sizing: border-box;
	}
	.content section,
	.content .no-results {
		width: 100%;
		margin: 0;
	}
	.list {
		flex-direction: column;
		flex-wrap: no-wrap;
	}
	.list .cardstyle {
		height: unset;
		grid-template-areas: "card-photo" "card-info";
		grid-template-columns: 1fr;
	}
	.list .cardstyle .cardstyle-img {
		width: 100%;
		height: 180px;
	}
	.list .cardstyle .cardstyle-info {
		width: 100%;
		box-sizing: border-box;
	}
}