*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #555;
	background: #fff;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	line-height: 1.2;
	color: #333;
}

h1 { font-size: 2em; margin: 0.6em 0; }
h2 { font-size: 1.5em; margin: 0.6em 0; }
h4 { font-size: 1.1em; }

p { margin: 0 0 10px; }

a { color: #1d4e89; }
a:hover { color: #163a66; }

img { border: 0; }

hr {
	border: 0;
	border-top: 1px solid #ddd;
	margin: 20px 0;
}

.container {
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.container-fluid {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.row > [class*="col"] {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 768px) {
	.col-sm-3 { width: 25%; }
	.col-sm-4 { width: 33.333%; }
	.col-sm-6 { width: 50%; }
}

@media (min-width: 992px) {
	.col-md-6 { width: 50%; }
	.col-md-8 { width: 66.666%; }
	.col-md-12 { width: 100%; }
	.col-md-offset-2 { margin-left: 16.666%; }
	.col-md-offset-3 { margin-left: 25%; }
}

@media (min-width: 1200px) {
	.col-lg-4 { width: 33.333%; }
	.col-lg-8 { width: 66.666%; }
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.thumbnail {
	border: none;
	box-shadow: none;
}

.center,
.legende {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.legende {
	margin-bottom: 30px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
	display: none !important;
}

@media (max-width: 767px) {
	.visible-xs { display: block !important; }
	.hidden-xs { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.visible-sm { display: block !important; }
	.hidden-sm { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.visible-md { display: block !important; }
	.hidden-md { display: none !important; }
}

@media (min-width: 1200px) {
	.visible-lg { display: block !important; }
	.hidden-lg { display: none !important; }
}

.navbar {
	background: #f7f7f7;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 20px;
}

.navbar .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: 1140px;
}

.navbar-header {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 50px;
	position: relative;
	z-index: 2;
}

.navbar-brand {
	color: #333;
	text-decoration: none;
	font-weight: 600;
	padding: 15px 0;
}

.navbar-toggle {
	display: inline-block;
	margin-left: auto;
	padding: 9px 10px;
	background: #fff;
	border: 1px solid #666;
	border-radius: 4px;
	cursor: pointer;
}

.icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	margin: 4px 0;
	background: #222;
}

.navbar-collapse {
	display: none;
	width: 100%;
}

.navbar-collapse.open {
	display: block;
}

.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav > li > a {
	display: block;
	padding: 12px 16px;
	color: #333;
	text-decoration: none;
}

.nav > li > a:hover,
.dropdown.open > a {
	background: #ececec;
}

.dropdown { position: relative; }

.dropdown-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	background: #fff;
	border: 1px solid #ddd;
	min-width: 220px;
}

.dropdown.open > .dropdown-menu { display: block; }

.dropdown-menu > li > a {
	display: block;
	padding: 8px 16px;
	color: #333;
	text-decoration: none;
}

.dropdown-menu > li > a:hover { background: #f3f3f3; }

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 4px;
	vertical-align: middle;
	border-top: 4px solid currentColor;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

@media (min-width: 768px) {
	.navbar-header { width: auto; }
	.navbar-toggle { display: none; }
	.navbar-collapse,
	.navbar-collapse.open {
		display: block;
		width: auto;
		flex: 1;
	}
	.nav { display: flex; flex-wrap: wrap; }
	.dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
	}
}

@media (max-width: 767px) {
	.dropdown-menu { position: static; border: 0; background: transparent; }
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin: 0;
	font: inherit;
	color: #333;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.4;
}

.btn:hover { background: #f3f3f3; }

.btn-primary { color: #fff; background: #2f6fad; border-color: #2a639b; }
.btn-primary:hover { background: #275e94; }

.btn-success { color: #fff; background: #3d8b4f; border-color: #357a45; }
.btn-success:hover { background: #347844; }

.btn-info { color: #fff; background: #3d8ea0; border-color: #357e8e; }
.btn-info:hover { background: #347c8c; }

.btn-danger { color: #fff; background: #b94a48; border-color: #a3413f; }
.btn-danger:hover { background: #a3413f; }

.btn-default { background: #fff; }

.btn-xs {
	padding: 2px 8px;
	font-size: 13px;
}

.catalogue-intro {
	padding: 2.4rem 0 1.4rem;
	text-align: center;
}

.catalogue-intro h1 {
	margin: 0 0 0.55rem;
	font-size: 1.75rem;
	font-weight: 500;
}

.catalogue-intro p {
	margin: 0;
}

.catalogue-search {
	margin: 0 0 2.5rem;
	padding: 2.2rem 0 2rem;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.catalogue-search-layout {
	display: grid;
	grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
	column-gap: 4.5rem;
	align-items: start;
}

.catalogue-search h2 {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #333;
}

.period-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.period-list li + li {
	border-top: 1px solid #eee;
}

.catalogue-search .per {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.72rem 0 0.72rem 0.85rem;
	border: 0;
	border-left: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #555;
	font: inherit;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.catalogue-search .per:hover {
	color: #1d4e89;
	background: transparent;
}

.catalogue-search .per:focus-visible {
	outline: 1px solid #1d4e89;
	outline-offset: 2px;
}

.catalogue-search .per.is-active {
	border-left-color: #1d4e89;
	background: transparent;
	color: #333;
	font-weight: 400;
}

.per-years {
	display: inline-block;
	min-width: 6.6em;
	color: #333;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.catalogue-search .per.is-active .per-years,
.catalogue-search .per:hover .per-years {
	color: #1d4e89;
}

.per-name {
	font-style: italic;
}

.catalogue-filter-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(11rem, 16rem);
	gap: 2rem;
	align-items: end;
}

.catalogue-field {
	margin: 0 0 1.8rem;
}

.catalogue-field label {
	display: block;
	margin: 0 0 0.45rem;
	color: #333;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.catalogue-field input[type="text"],
.catalogue-field select {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.45rem 0;
	border: 0;
	border-bottom: 1px solid #ddd;
	border-radius: 0;
	background: transparent;
	color: #333;
	font: inherit;
}

.catalogue-field select {
	padding-right: 1.2rem;
	cursor: pointer;
}

.catalogue-field input[type="text"]:focus,
.catalogue-field select:focus {
	outline: none;
	border-bottom-color: #1d4e89;
}

.year-readout {
	margin-left: 0.75rem;
	color: #555;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	font-variant-numeric: tabular-nums;
}

.catalogue-years {
	margin-bottom: 1.35rem;
}

.year-slider {
	position: relative;
	height: 1.75rem;
	touch-action: none;
}

.year-slider-track {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1px;
	background: #ddd;
	transform: translateY(-50%);
	pointer-events: none;
}

.year-slider-fill {
	position: absolute;
	top: 50%;
	height: 2px;
	background: #1d4e89;
	transform: translateY(-50%);
}

.year-slider input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1.75rem;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.year-slider input[type="range"]:focus {
	outline: none;
}

.year-slider input[type="range"]::-webkit-slider-runnable-track {
	height: 1px;
	background: transparent;
	border: 0;
}

.year-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	margin-top: -6.5px;
	border: 1px solid #1d4e89;
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	cursor: grab;
	pointer-events: auto;
}

.year-slider input[type="range"]::-moz-range-track {
	height: 1px;
	background: transparent;
	border: 0;
}

.year-slider input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 1px solid #1d4e89;
	border-radius: 50%;
	background: #fff;
	cursor: grab;
	pointer-events: auto;
}

.year-slider input[type="range"]:focus-visible::-webkit-slider-thumb,
.year-slider input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.22);
}

.year-scale {
	display: flex;
	justify-content: space-between;
	margin-top: 0.15rem;
	color: #888;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.catalogue-submit {
	padding: 0.55rem 1.15rem;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	color: #333;
	font: inherit;
	line-height: 1.4;
	cursor: pointer;
}

.catalogue-submit:hover,
.catalogue-submit:focus-visible {
	border-color: #1d4e89;
	color: #1d4e89;
	outline: none;
}

.catalogue-counter {
	min-height: 1.5rem;
	margin: 0.4rem 0 1.4rem;
	color: #555;
	text-align: center;
}

@media (max-width: 767px) {
	.catalogue-search-layout,
	.catalogue-filter-row {
		grid-template-columns: 1fr;
	}

	.catalogue-search-layout {
		row-gap: 2.2rem;
	}

	.catalogue-periods {
		margin-bottom: 0.4rem;
	}
}

.glyphicon { font-style: normal; }
.glyphicon-pencil::before { content: "✎"; }
.glyphicon-trash::before { content: "✕"; }
.glyphicon-resize-horizontal::before { content: "⇄"; }
.glyphicon-chevron-left::before { content: "‹"; }
.glyphicon-chevron-right::before { content: "›"; }
.glyphicon-plus::before { content: "+"; }
.glyphicon-home::before { content: "⌂"; }
.glyphicon-remove::before { content: "✕"; }

.form-group,
fieldset.form-group {
	margin-bottom: 15px;
	border: 0;
	padding: 0;
	min-width: 0;
}

label { display: inline-block; margin-bottom: 4px; }

.form-control {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 6px 10px;
	font: inherit;
	color: #333;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
}

textarea.form-control { min-height: 80px; }

.years .form-control {
	display: inline-block;
	width: auto;
	min-width: 6em;
	margin-right: 12px;
}

.table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.table th,
.table td {
	padding: 8px;
	border-top: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}

.table-striped tbody tr:nth-child(odd),
.table-striped tr:nth-child(odd) {
	background: #f7f7f7;
}

.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	overflow: auto;
	background: rgba(0, 0, 0, 0.55);
}

.modal.open { display: block; }

.modal-dialog {
	width: auto;
	max-width: 640px;
	margin: 40px auto;
	padding: 0 15px;
}

.modal-content {
	background: #fff;
	border-radius: 4px;
}

.modal-header,
.modal-body,
.modal-footer {
	padding: 15px;
}

.modal-header { border-bottom: 1px solid #eee; }
.modal-footer { border-top: 1px solid #eee; text-align: right; }

.close {
	float: right;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

.carousel { position: relative; }

.carousel-inner > .item { display: none; }

.carousel-inner > .item.active { display: block; }

.carousel-control {
	position: absolute;
	top: 40%;
	z-index: 5;
	color: #222;
	text-decoration: none;
	font-size: 48px;
	line-height: 1;
}

.carousel-control.left,
.left.carousel-control { left: 0; }

.carousel-control.right,
.right.carousel-control { right: 0; }

.details { display: none; }
