html {
  position: relative;
  height: 100%;
}

body {
  padding: 0;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #9c9e9f url(../images/hg.jpg) repeat-x;
  font-size: 16px;
  line-height: 1.3;
  color: #000;
}


h1,
h2 {
  font-weight: normal;
  font-size: 2.3em;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #004c98;
}

h2 {
  font-size: 1.5em;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-weight: normal;
  font-size: 1.17em;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-transform: uppercase;
  color: #004c98;
  margin-top: 1.3rem;
  margin-bottom: 1rem;
}



a {
	text-decoration: none;
	color: #004C98;
}

.container {
  max-width: 1400px;
}

body > .wrapper {
  background: #fff;
  -webkit-box-shadow: 0px 0px 10px 5px #949697;
  box-shadow: 0px 0px 10px 5px #949697;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap1,
.wrap2 {
  background: #fff;
}

.wrap2 .container {
  position: relative;
}

.no-padd {
  padding-left: 0;
  padding-right: 0;
}




.header {
  background: #9ab7d7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  float: left;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  text-align: right;
  
}

.header-nav a {
	text-decoration: none;
}

.header-nav a:hover {
	text-decoration: underline;
}

.header-nav ul,
.search {
  float: left;
  margin-bottom: 0;
}

.search {
  margin-top: 1px;
  margin-left: 5px;
}

.header-nav ul li {
  display: inline-block;
}

.header-nav ul li a {
  color: #fff;
  font-size: 1em;
  border-right: 1px solid #fff;
  padding: 0 6px;
  display: block;
  line-height: 10px;
}

.header-nav ul li:last-child a {
  border: 0;
}

.suche {
  width: 10rem;
  margin-right: 1.5rem;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
}

/* start form-Elements */

.form-group input, .form-group textarea {
	padding: 0.5rem 1rem;
	font-size: 1rem;
	max-width: 40rem;
	margin-bottom: 1rem;
}

.form-group textarea {
	min-height: 6rem;
}

.actions .btn-primary {
	background-color: white;
	color: #004c98;
	border: 1px solid #004c98;
	border-radius: unset;
}

.actions .btn-primary:hover {
	background-color: #004c98;
	color: #fff;
}

/* end form elements */

.form-control {
  padding: 2px;
  border-radius: 0;
  font-size: 0.7em;
}

/* start search form elements */

.tx-indexedsearch-searchbox legend {
	display: none;
}

.tx-indexedsearch-searchbox input, 
	.tx-indexedsearch-searchbox select
 {
	margin-top: 0;
	margin-bottom: 1rem;
	background-color: white;
	color: #004c98;
	border: 1px solid #004c98;
	border-radius: unset;
	padding: 0.5rem 1rem;
	
}

.tx-indexedsearch-search-submit {
	margin-top: 1rem;
}

.tx-indexedsearch-search-submit input:hover {
	background-color: #004c98;
	color: #fff;
}


/* end search form elements  */



/* navbar */
.navbar {
  min-height: 30px;
}

.navbar-default {
  list-style: none;
  border-radius: 0;
  border: none;
}

.navbar-collapse {
  padding: 0;
}

.navbar-default .navbar-nav > li > a {
  background: #004c98;
  color: #fff;
}

.navbar-nav > li > a {
  font-size: 1.1rem;
  padding: 0.5rem 1rem !important;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background: #9ab7d7 url("../images/hh-nav-aktiv.jpg") no-repeat bottom right;
  color: #fff;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  color: #fff;
  background: #9ab7d7 url("../images/hh-nav-aktiv.jpg") no-repeat bottom right;
}

.navbar-nav .dropdown-menu {
  padding: 2px 0 1px;
  margin: 0;
  border: 1px solid #ededed;
  border-top: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.nav-item > .dropdown-menu > li {
	position: relative;
}



.nav-item > .dropdown-menu > li > .dropdown-menu {
	left: 100% !important;
	top: -3px;
}

.navbar-nav .open .dropdown-menu {
  background: #fff;
}

.navbar-nav .dropdown-menu > li > a {
  background: #fff;
  color: #004c98;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  display: block;
  white-space: nowrap;
  min-width: 178px;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  background: none;
  color: #000;
}

.navbar-default .navbar-toggler {
  border-radius: 0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  margin-right: 1.5rem;
  padding: 0.2rem;
}

.navbar-default .navbar-toggler:focus,
.navbar-default .navbar-toggler:hover {
  background: #cbdbeb;
}

/* Main contents */
.main {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mid-col .top-img {
  display: block;
  margin: 0 auto;
}

.mid-col {
  font-size: 0.75em;
  padding-top: 25px;
  padding-bottom: 30px;
}

.right-col {
  padding-top: 25px;
  font-size: 0.71em;
}

.right-col a {
  color: #fff;
  text-decoration: underline;
}

/* welcome container (startpage) */

.welcome h1, .welcome p {
	color: #70777D;
	font-family: font-family: Georgia, "Times New Roman", Times, serif;
}

.welcome .subpage-col-left {
	margin-bottom: 0;
}

.welcome p {
	text-align: justify;
}

/* end welcome container (startpage) */


/* start subpage */

.subpage-col-left {
	margin-bottom: 2rem;
}

.subpage-col-right h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  text-transform: uppercase;
  color: #004c98;
}

.subpage-col-right a {
	text-decoration: none;
	color: #004C98;
}

.subpage-col-right a:hover {
	text-decoration: underline;
}

.subpage-col-right table tr {
	border-style: none;
}

.subpage-col-left h1, .subpage-col-left h2 {
	text-align: right;
}

.subpage-col-left h2 {
	margin-top: 1rem;
}

.subpage-col-right .frame-type-text p,
  .subpage-col-right .frame-type-text h2,
  .subpage-col-right .frame-type-text h3 {
	max-width: 40rem;
}

.subpage-col-right .frame-type-image .ce-gallery {
	width: 100%;
}

.subpage-col-right .ce-gallery .ce-row {
	width: 100%;
}

.subpage-col-right .ce-gallery .ce-row .ce-column {
	width: 100%;
}

.subpage-col-right .ce-gallery .ce-row .ce-column figure {
	width: 100%;
}

.subpage-col-right .ce-gallery .ce-row .ce-column figure img {
	object-fit: cover;
	min-width: 78%;
	height: auto;
	max-width: 40rem;
	filter: saturate(0);
}

.frame-type-textpic figure img {
	filter: unset !important;
}

.subpage-col-right .ce-below .ce-gallery {
	margin-top: 0;
}

/* end subpage */

/* start teaser */

.col:has(.teaser) {
	display: flex;
	flex-direction: column;
}

.teaser {
	padding: 1.5rem;
	margin-bottom: 1rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 20rem;
	background: rgba(0,0,0,0.025);
}

.teaser:hover {
	background-color: #e5eef5;
}

.teaser img {
	width: 100%;
	height: auto;
	object-fit: cover;
	filter: saturate(0);
}
/* .teaser:hover img { */
	/* filter: saturate(0.4); */
/* } */

.teaser h2 {
  margin-top: 1rem;
  margin-bottom: 0;
}

.teaser hr {
	margin: 0.5rem 0;
}

.teaser a {
	color: black;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.teaser-text {
	display: flex;
	flex: 1;
}

.teaser-btn {
	background: transparent;
	color: #004c98;
	border: unset;
	padding: 0.5rem 0;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	transition: all 150ms ease-in-out;
}

.teaser-btn:hover {
	/* background: #004c98; */
	/* color: white; */
	padding: 0.5rem 0.25rem;
}

/* end teaser */

.visitenkarte {
  background: #929a9d;
  color: #fff;
  padding: 5px 5px 18px;
  margin: 0;
}

.visitenkarte p.s0 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.3em;
  border-bottom: 1px solid #fff;
  margin: 0 0 3px 0;
  padding: 0 0 3px 0;
  line-height: 16px;
}

.visitenkarte p.s1,
.visitenkarte p.s2,
.visitenkarte p.s3 {
  margin: 0;
  line-height: 12px;
}

.news-container {
  border-top: 1px solid #9d9ea0;
  margin-top: 20px;
}

.news-container .news-item {
  border-bottom: 1px dotted #7c7c7e;
  padding: 10px 0 15px 10px;
  color: #7c7c7e;
  background: url(../images/hg-aktuelles-i.png) no-repeat 95% 10px;
}

.news-container .news-item:hover {
  background: #e5eef5 url(../images/hg-aktuelles-i.png) no-repeat 95% 10px;
}

.news-container .news-date {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #7c7c7e;
  font-size: 1.2em;
}

.news-container h4 {
  font-size: 1.05em;
  padding-right: 15px;
}

.news-container h4 a {
  text-decoration: none;
  font-weight: normal;
  color: #004c9a;
}

.news-item:hover a {
  text-decoration: underline;
}

.mapcontainer {
	height: 50vh;
	min-height: 25rem;
}

.mapcontainer iframe {
	width: 78%;
	height: 100%;
}

footer {
  background: #004c98 url(../images/hg-footer-top.png) repeat-x top;
  padding: 10px 6px;
  top: 50%;
  bottom: 0;
  width: 100%;
  margin-top: 1rem;
}

footer ul {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 5rem;
}

footer ul li {
  display: inline-block;
}

footer ul a,
footer ul a:hover,
footer ul a:focus {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-right: 1px solid #fff;
  padding: 0 0.35rem;
  display: block;
  line-height: 10px;
}

footer ul li:last-child a {
  border: 0;
}

@media (max-width: 1399px) {
  .subpage-col-left h1 {
	hyphens: auto;
  }
}

@media (max-width: 991px) {
  
  .right-col {
    padding-left: 0;
    padding-right: 0;
  }
  
  .navbar-nav > li > a {
	  font-size: 0.95rem;
	  padding: 0.4rem 1rem !important;
  }
  
}

@media (max-width: 767px) {
	body > .wrapper {
		padding-left: 0;
		padding-right: 0;
		box-shadow: unset;
	}
	
	h1 {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .subpage-col-left h1, .subpage-col-left h2 {
	text-align: center;
}
	
  .header-nav {
    margin-right: 0;
  }

  .header-nav ul {
    padding-left: 0;
  }

  .container.navigation {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar {
    min-height: 4rem;
	padding-top: 0.5rem;
	margin-bottom: 1rem;
  }

  .navbar-header {
    padding: 0;
    margin: 0;
  }

  .navbar-collapse {
    position: relative;
    z-index: 100;
  }

  .navbar-nav {
    margin: 0;
  }

  .navbar-nav > li > a {
	  font-size: 1rem;
	  padding: 0.6rem 1rem !important;
  }
  
  .dropdown .dropdown-toggle {
	  position: absolute;
	  width: 2rem;
	  height: 2rem;
	  top: 0.1rem;
	  right: 1rem;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-weight: 500;
	  color: white;
	  transition: rotate 200ms 0 ease-in-out;
	  rotate: 180deg;
  }
  
  .dropdown .dropdown .dropdown-toggle {
	  top: 0;
	  color: #004c98;
  }
  
  .dropdown .dropdown-toggle[aria-expanded="true"] {
	  rotate: 0deg;
  }
  
  .dropdown .dropdown-toggle:after {
	  display: none;	  
  }
  
  .navbar-nav .nav-link:has(~.dropdown-toggle[aria-expanded="true"]) {
	  background: #9ab7d7 url("../images/hh-nav-aktiv.jpg") no-repeat bottom right;
  }
  
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #004c98;
  }

  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000;
  }
	
	
  .mid-col {
    padding-bottom: 10px;
  }
  
  /* Typo3-Elements */
  .ce-gallery .ce-row .ce-column figure {
	  display: flex;
	  justify-content: center;
  }
  
  .subpage-col-right.hide-image-mobile .image {
	  display: none !important;
  }
  
  .container.row {
	  margin-right: 0;
	  margin-left: 0;
  }
  .mapcontainer {
	display: flex;
	justify-content: center;
  }
  
  .mapcontainer iframe {
	  width: 100%;
  }
  
}

@media screen and (max-width: 575px) {
	.suche {
		width: 6rem;
	}
}

@media (max-width: 530px) {
  .header-nav ul li {
    margin-bottom: 3px;
  }

  .header-nav ul li a {
    border-right: none;
  }

  .header-nav ul,
  .search {
    float: none;
  }

  .search {
	  display: none;
  }

  .suche {
    margin-top: 1px;
  }

}


@media (max-width: 480px) {
	h1 {
		margin-bottom: 2rem;
	}
  footer {
    text-align: center;
  }
  .footer ul {
	margin-bottom: 3rem;  
  }
}

@media (min-width: 768px) {
  .navbar-default {
    margin: 2rem 0 4rem 0;
	padding: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav > li {
    width: 16.66%;
  }

  .navbar-nav > li > a {
    margin-right: 1px;
  }

  .navbar-nav > li:nth-child(6) > a {
    margin-right: 0;
  }

  .nav-item:hover > .dropdown-menu {
    display: block;
  }
  
  .dropdown .dropdown-toggle {
	  display: none;
  }
  
  .caret {
    display: none;
  }

  .dropdown-menu .dropdown-menu {
    left: 2px !important;
    border-top: 1px solid #ededed;
  }

  .dropdown-menu .dropdown-menu .dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid #ededed;
  }

  .dropdown-menu .dropdown-menu .dropdown-menu li:last-child {
    border: none;
  }

  .left-col {
    padding-left: 0;
    padding-right: 20px;
  }

  .right-col {
    padding-left: 20px;
    padding-right: 0;
  }
  
  .subpage-col-left .ce-gallery .ce-outer {
	width: 100%;
  }
  .subpage-col-left header {
	  display: flex;
	  flex-direction: column;
	  align-items: flex-end;
  }
  
  /* .subpage-col-left h1, */
  
  .subpage-col-left h2 {
	  max-width: 21rem;
  }
  
  footer {
	  margin-top: 3rem;
  }
}

@media (min-width: 992px) {
  
  .astable {
    display: table;
    height: 100%;
  }

  .astablerow {
    display: table-row;
  }

  .mid-col .main {
    max-width: 478px;
    margin: 0 auto;
  }

}

