@charset "UTF-8";

:root {
	--primary-color:#0854b2;
	--secondary-color:#0890ee;
	--boxed-background:#fafafa;
	--body-background:#fff;
	--primary-background:#fff;
	--secondary-background:#edf1f6;
	--footer-background:#edf1f6;
	--title-font:'Roboto Condensed', sans-serif;
	--flow-font:'Inter', sans-serif;
	--flow-font-color:#111;
}

@font-face {
	font-family:'Inter';
	src:url('../fonts/inter-light-webfont.woff2') format('woff2');
	font-weight:300;
	font-style:normal;
}

@font-face {
	font-family:'Inter';
	src:url('../fonts/inter-regular-webfont.woff2') format('woff2');
	font-weight:400;
	font-style:normal;
}

@font-face {
	font-family:'Inter';
	src:url('../fonts/inter-medium-webfont.woff2') format('woff2');
	font-weight:500;
	font-style:normal;
}

@font-face {
	font-family:'Inter';
	src:url('../fonts/inter-bold-webfont.woff2') format('woff2');
	font-weight:600;
	font-style:normal;
}


@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src:url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src:url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2');
}


/* Beseitigt horizontal Scrollfehler (mobil) */
@media screen and (max-width:576px) {
	body {
		overflow-x:hidden !important;
	}
	.container {
		max-width:100% !important;
		overflow-x:hidden !important;
		overflow-y:hidden !important;
		/* Paddings sonst zu schmal */
		padding-left:1.2rem;
		padding-right:1.2rem
	}
}

/* Boxed */
body.boxed {
	max-width:1400px;
	margin:0 auto;
	background:var(--boxed-background)
}

body, p {
	font-family:var(--flow-font);
	color:var(--flow-font-color);
	line-height:1.6
}

section {
	background:var(--body-background);
}

p {
	font-size:1.05rem
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom:.8rem;
	color:var(--primary-color)
}

h1, h2, h3, h4 {
	font-family:var(--title-font);
	line-height:1.1;
	text-transform:uppercase;
}

.h3, h3, .h4, h4 {
	margin-bottom:.3rem
}

.h1, h1 {
	font-size:1.5rem !important
}

.h2, h2 {
	font-size:1.3rem !important
}

.h3, h3 {
	font-size:1.2rem !important
}

.h4, h4 {
	font-size:1.1rem !important
}

a {
	color:var(--primary-color) !important;
	text-decoration:none;
	transition: .3s all ease;
}

a:hover, a:active, a:focus {
	color:var(--secondary-color) !important;
}

b, strong {
	font-weight:600
}

hr {
	color:#aaa;
	margin:2rem 0
}

ul.no-bullets {
  list-style-type:none;
  padding:0;
  margin:0
}

ul.disk-list {
  list-style:none
}

ul.disk-list li::before {
  content:"\25CF";
  color:var(--primary-color);
  font-weight: bold;
  display:inline-block; 
  width:1.1em;
  margin-left:-1.1em;
}

footer {
	background:var(--footer-background);
	padding:30px 0 10px 0;
	color:var(--flow-font-color);
	border-top:6px solid var(--primary-color);
	margin-top:40px
}

footer a:hover {
	color:var(--primary-color)
}

footer p {
	margin-bottom:7px
}

footer h2 {
	margin-bottom:10px;
	text-transform:none;
	color:var(--flow-font-color);
}

#footerMenu {
	padding-left: 0;
	list-style: none;
}

#footerMenu .nav-item {
	font-size:1.05rem;
	font-family:var(--flow-font);
	text-transform:none;
	margin-bottom:8px !important;
}

#footerMenu .nav-item a {
	line-height:1.4;
	font-weight:400;
}


/* Navi und Logozeile */

.navbar {
	border-bottom:6px solid var(--primary-color);
	position:sticky; 
	top:0;
	padding:1.4rem 0;
	width:100%;
	z-index: 1030;
	transition: 0.5s all ease;
}

.navbar.scrolled {
	padding:0.7rem 0
}

.navbar.scrolled img {
	width:40px;
	height:40px
}

.navbar-toggler {
	padding:0;
	border:none;
	outline:none;
}

.navbar-toggler-icon {
	color:var(--flow-font-color);
}

.offcanvas-end {
	width:300px !important;
}       

.navbar-brand {
	font-family:var(--title-font);
	font-size:1.3rem;
	line-height:1.2;
	font-weight:500;
	color:var(--flow-font-color) !important;
	text-transform:uppercase;
}

.nav-item, .dropdown-item {
	font-family:var(--title-font);
	font-size:1.1rem;
	font-weight:500;
	line-height:1.2;
	text-transform:uppercase
}

.nav-link, .dropdown-item {
	color:var(--flow-font-color) !important;
}

.nav-item.active .nav-link, .dropdown-item:active {
	color:var(--primary-color) !important;
	background:var(--primary-background) !important;
}

@keyframes slideup {
	from {transform: translateY(20%);} to {transform: translateY(0);}
}

.dropdown-menu {
	border-radius:0;
	border:none;
	padding:0;
	animation:0.6s slideup;
	background:#f2f2f2;
}

.dropdown-menu:before {
	content:"";
	position:absolute;
	left:25%;
	top:-10px;
	width:0;
	height:0;
	border-style:solid;
	border-width:0 8px 10px 8px;
	border-color:transparent transparent #f2f2f2 transparent;
	transform:rotate(0deg);
}
    
.dropdown-menu .dropdown-item {
	padding:.5rem 1rem;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
	border-bottom:1px white solid;
}

.dropdown-item:focus, .dropdown-item:hover {
	color: var(--bs-dropdown-link-hover-color);
	background-color: var(--bs-dropdown-link-hover-bg);
}

/* Dropdown bei Mouseover öffnen */
.nav-item.dropdown:hover .dropdown-menu {
	display: block;
	margin-top:0; /* Verhindert Springen */
}

/* Verhindert, dass das Dropdown durch einen schnellen Mauswechsel flackert */
.nav-item.dropdown:hover > .nav-link {
    pointer-events: none;
}


/* News */
.news .card {
	border:none;
	background:var(--primary-background);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
 
.news .card .card-body {
	background:var(--secondary-background);
	padding-right:20px;
	z-index:1;
}

.news .card .card-body h3 {
	font-size:17px;
	max-width:88%
}

.news .card .card-body h3 .author {
	display:inline-block;
	font-size:16px;
	color:var(--flow-font-color);
	margin-bottom:10px
}

.news .card .card-body p {
	line-height:1.4
}

.news .card .card-body .btn {
	width:auto;
	align-self:start;
}

.news .card .card-body .date {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 100px 100px 0;
	border-color: transparent var(--primary-color) transparent transparent;
	color: white;
	z-index: 1;
}

.news .card .card-body .date .month, .news .card .card-body .date .year {
	position:absolute;
	transform:rotate(45deg);
	font-weight:700;
}

.news .card .card-body .date .year {
	top:21px; right:-90px;
	font-size:23px
}

.news .card .card-body .date .month {
	top:0; right:-95px;
	font-size:28px
}

.news ul li {
	font-size:0.9rem;
	line-height:1.3;
}

.news ul  {
	padding-left: 1rem;
}

.news p  {
	margin-bottom:8px
}


/* Gallery aufbauend auf Bootstrap Modals */

.modal-gallery .modal-content {
	background-color:transparent;
	border:none;
	border-radius:0;
}

.modal-gallery .carousel-indicators {
	bottom:10px;
	margin-bottom:20px
}

.modal-gallery .carousel-indicators [data-bs-target] {
	transition:none
}

.modal-gallery .carousel-item {
	transition: width 0s, transform .4s ease-in-out
}

.modal-gallery .modal-dialog { /* Vertikale Zentrierung der Modalfenster, auch .modal-gallery.show */
	align-self:center
}

.modal-gallery.show {
	display:flex !important;
}

.modal-gallery .carousel-caption {
	position:relative;	 
	right:0;
	left:0;
	bottom:0;
	background-color:#eee;
	padding:0.25rem 0.75rem;
	border:none;
	text-align:left
}
	
.modal-gallery .carousel-caption p {
	font-size:0.8rem;
	color:#111;
	line-height:1.3;
	margin:0
}

@media screen and (min-width:576px) { /* Behandlung der unterschiedlichen Skalierungsfaktoren für Portrait/Landscape-Bilder */
	.modal-gallery .modal-dialog {
		max-width:45vw !important;
	}
	
	.modal-gallery .modal-dialog.portrait {
		max-width:35vw !important;
	}
}

.modal-gallery .btn-close {
	z-index:2000
}

.gallery-thumbnails img {
	cursor:pointer
}


/* Sonstiges */

a.btn-primary {
	border:2px solid var(--primary-color);
	color:var(--primary-color);
	background:#fff
}

a.btn-primary:hover, a.btn-primary:active, a.btn-primary:focus {
	border:2px solid var(--primary-color);
	color:#fff !important;
	background:var(--primary-color)
}

.btn-secondary {
	color:#565e64;
	background-color:#dbdbdb;
	border-color:#dbdbdb
}

.site-navbar .site-navigation .site-menu .has-children .dropdown {
	background-color:var(--secondary-background) !important;
	box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

video {
	border-radius:10px
}

/* Abstand zw. Gutters weiter als gx-5 (/Handbuecher) */

.gx-custom {
    --bs-gutter-x: 6rem;
}

@media (max-width:992px) {
	.gx-custom .border-end {
	   border-right:1px solid #fff !important
	}
}
