.filter {

}

.filter .container {
	display: grid;
	grid-template-columns: 2fr auto auto;
	align-items: center;
	justify-content: space-between;
}

.filter details {
	position: relative;
}

.filter details summary {
	border: 1px solid var(--color-flat);
	padding: 0.35em 1em;
	margin-left: 1em;
	border-radius: 0.25em;
	cursor: pointer;
	line-height: 1.2;
}

.filter details summary:hover,
.filter details summary:focus {
	text-decoration: underline;
}

.filter details .content {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 200px;
	background: var(--color-white);
	padding: 1em;
	justify-content: left;
	border: 1px solid var(--color-flat);
	border-radius: 0.25em;
	z-index: 1;
}

.filter details .content ul,
.filter details .content ol {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.filter details .content li {
	margin: 0.125em 0;
	padding: 0.125em 0;
}

.filter details .content a {
	color: var(--color-base);
	text-decoration: none;
}

.filter details .content a:hover,
.filter details .content a:focus {
	text-decoration: underline;
}
