@font-face {
    font-family: 'script';
    src: url('script.woff2') format('woff2'),
        url('script.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
:root {
	 --bs-primary-rgb:0,73,129;
	 --bs-primary:#0f5488;
}
:target {
  scroll-margin-top: 90px; 
}
.btn-primary {
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
}
.btn-outline-primary {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-bg: var(--bs-primary);
	--bs-btn-hover-border-color: var(--bs-primary);
	--bs-btn-active-bg: var(--bs-primary);
	--bs-btn-active-border-color: var(--bs-primary);
	margin-bottom: 5px;
}
.navbar-nav {
	text-align:center;
}
.nav-link {
	border-radius: .4em;
}
.nav-link:focus, .nav-link:hover {
  background-color: #a5c4e1;
  border-radius: .4em;
  color: var(--bs-primary) !important;
}
main {
	margin:15vh 0 50vh 0;
}
footer.bg-primary {
	--bs-bg-opacity: .6;
}
footer.footer-bar a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
}
footer.footer-bar a:hover {
  text-decoration: underline;
}
footer small {
	float:right;
}
#imgModal .modal-dialog {
	width: 95% !important;
	margin:auto;
	height:auto;
}
#imgModalContent {
	margin:auto;
	max-height: 95vh;
}
h1, h2, h3, h4 {
	font-family: 'script';
	word-spacing: -.1em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--bs-primary); 
}
h1 { 
	margin-bottom:1rem; 
}
h1 img {
	width:1.8em !important;
	height:auto;
}
h2 { 
	margin-top: 2rem;
	clear:both;
	/*border-bottom: 1px var(--bs-gray-500) solid; */
}
h2.totop {
	cursor: pointer;
	position: relative;
}
h2.totop::after {
    content: '▲';
    font-size: 0.5em;
	color:#aaa;
	position: absolute;
right: -1.2em;
}
h1 small, h2 small, h3 small, h4 small {
	font-family: var(--bs-body-font-family);
	font-weight: var(--bs-body-font-weight);
	font-size:.9rem;
	color:var(--bs-gray-700);
	white-space: nowrap;
	font-weight: normal,
}
.loc ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13em, 1fr));
	gap: .1em .5em;
	list-style: disclosure-open;
	padding-left: 1em;
	margin:0;
}
/* Button Style */
.loc {
	padding:0 !important;
	margin:0!important;
	background-color:transparent !important; 
	border:none  !important; 
	margin-bottom: 1em !important;
}
.loc ul {
	gap: .4em;
	list-style: none;
	padding-left: 0;
}
.loc ul li a {
  display: inline-block;
  padding: 0.1rem .5em;
  background: var(--bs-secondary-bg);
  border: 1px solid #d0d5da;
  border-radius: 0.5rem;
  text-decoration: none;
  color:  var(--bs-primary);
  width:100%;
}
.loc ul li a:hover { background: var(--bs-primary-bg-subtle); }

#btn-back-to-top {
  position: fixed;
  bottom: 5vw;
  right: 5vw;
  display: none;
  border-color: #f9f9f9;
}
dl, ol, ul { line-height: 1.7em; }

/* Rechte Ausrichtung für die letzten beiden Spalten jeder Zeile */
table.lastright tr > td:nth-last-child(-n+1),
table.lastright tr > th:nth-last-child(-n+1) {
  text-align: right;
}
img.float-start, 
img.float-end {
  width: 46%;
  margin-bottom: 1rem;
  border-radius: .5em;
}
.img-fluid { border-radius: .5em; }



@media (max-width: 630px) {
html {
	background: none !important;
	scroll-behavior: auto !important;
}
img.float-start, img.float-end {
	width: 100% !important;
	float: none !important;
	margin-bottom: 1rem;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
main {
	margin: 5vh 0 0 0;
}
footer small {
	float:none;
	display:block;
}
}