.dropdown-item.active,
.dropdown-item:active {
  background-color: #54a6fd;
}

.navbar-mainnavigation .navbar-nav > li > .nav-link::before {
  background: #012851;
}
figure .caption{
  text-align:left;
}
.main-section:before {
  height: 50px;
  background: #012851;
  content: "";
  display: block;
  width: 100%;
}

.footer-meta > .meta-menu > li > a {
  color: #fff;
}
.footer-section-meta .frame {
  padding-top:0;
  padding-bottom:0;
}

.top-nav {
  background: #012851;
  color: #fff;
}

a {
  color: #012851;
}

a:hover {
  color: #011c38;
}

body {
  font-family: "Roboto Slab", sans-serif !important;
  overflow-x: hidden;
}

h1 {
  font-size: 4.5rem;
  font-weight: 400;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 2rem;
  font-weight: 400;
}

h4 {
  font-size: 1.5rem;
  font-weight: 400;
}

p {
  font-size: 1rem;
}

.frame-indent {
  margin-left: 0;
  margin-right: 0;
}

.frame-type-gridelements_pi1 .frame {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.frame-type-menu_subpages ul {
  padding-left: 0;
}

.frame-type-menu_subpages ul li {
  display: inline-block;
  margin-right: 15px;
}

/* footer section*/
.footer-underline {
  margin-bottom: 10px;
  border-bottom: 1px solid;
  margin-top: 10px;
  color: #c2c2c2;
}

.fas.fa-envelope,
.fas.fa-database,
.fas.fa-stamp,
.fas.fa-phone-alt,
.fas.fa-map-marker-alt,
.fas.fa-fax{
  float: left;
  margin-top: 6px;
  margin-bottom: 15px;
  margin-right: 22px;
}

.head-footer,
.footer-number {
  color: white;
}

.footer-section-content a:not(.btn) {
  color: white;
}

.footer-section-content a:not(.btn):hover,
.footer-section-content a:not(.btn):focus {
  color: #658ba2;
}

.footer-section-content-column-left .frame-default {
  padding-top: 0px;
  padding-bottom: 0px;
}

.footer-section-content-column-middle h2 {
  font-size: 30px !important;
}

.footer-section-content {
  border-top: 2px solid;
}

/* image at border */
@media (min-width: 1024px) {
  .frame-layout-image-at-border .frame-container {
    width: 178% !important;
  }
}

@media (min-width: 1920px) {
  .frame-layout-image-at-border .frame-container {
    width: 250% !important;
  }
}

/* Navigation */
.fixed-top,
.navbar-mainnavigation.navbar-fixed-top.not-top {
  margin-top: -77px !important;
}

.body-bg-top {
  padding-top: 0px !important;
}

.fixed-top,
.navbar-mainnavigation.navbar-fixed-top {
  -webkit-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
}

@media (max-width: 500px) {
  .fixed-top,
  .navbar-mainnavigation.navbar-fixed-top {
    /*margin-top: -27px !important;*/
  }
  .navbar-transition .navbar-brand {
    height: 80px !important;
  }
  .navbar-mainnavigation .navbar-brand-image {
    position: relative;
    padding-top: 15px;
    padding-bottom: 10px;
  }
  .inline {
    font-size: 2.3vw;
  }
  .navbar > .container,
  .navbar > .container-fluid {
    /*padding-top: 80px !important;*/
  }
  .fixed-top,
  .navbar-mainnavigation.navbar-fixed-top.not-top {
 /*   margin-top: -80px !important;*/
  }
}

@media (min-width: 500px) {
  .navbar-mainnavigation .navbar-brand-image {
    height: 90px;
  }
  .carousel-small .item {
    height: 550px;
    margin-top: 87px;
  }
}

@media (max-width: 380px) {
  .fixed-top,
  .navbar-mainnavigation.navbar-fixed-top {
   /* margin-top: -20px !important;*/
  }
}

.navbar > .container,
.navbar > .container-fluid {
  padding-top: 77px;
}

.navbar-transition .navbar-brand {
  height: 90px !important;
}
.navbar-mainnavigation .navbar-brand{
  height: 90px !important;
}
.navbar-transition .navbar-brand-image img {
  max-height: 95%;
}

.top-nav {
  z-index: 100000;
  position: relative;
}

/* Galerie mit Bildskalierung */
.carousel.frame-layout-gallery-contain .carousel-backgroundimage-container,
.carousel.frame-layout-gallery-contain .carousel-backgroundimage {
  background-size: contain;
  background-repeat: no-repeat;
}

.carousel.frame-layout-gallery-contain .item {
  height: 53.88vw;
}

@media (min-width: 768px) {
  .carousel.frame-layout-gallery-contain .item {
    height: 55.4vw;
  }
}

@media (min-width: 992px) {
  .carousel.frame-layout-gallery-contain .item {
    height: 55.3vw;
  }
}

@media (min-width: 1200px) {
  .carousel.frame-layout-gallery-contain .item {
    height: 55.66vw;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1rem;
  }
  .frame-type-gridelements_pi1 {
    margin-left: 0;
    margin-right: 0;
  }
}

.frame-collapsible,
.frame-background-none.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage) + .frame-background-none.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage),
.frame-background-primary.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage) + .frame-background-primary.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage),
.frame-background-secondary.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage) + .frame-background-secondary.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage),
.frame-background-light.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage) + .frame-background-light.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage),
.frame-background-dark.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage) + .frame-background-dark.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage) {
  margin-top: 0;
}

.top-nav .inline i {
  margin-right: 5px;
}
.frame-background-light{
      background-color: #eeeeee;
}

@media (max-width:767.98px){
  /*.top-nav{display:none;}*/
  .navbar > .container, .navbar > .container-fluid{
    padding-top:0;
  }
  .fixed-top, .navbar-mainnavigation.navbar-fixed-top.not-top{
    margin-top:0 !important;
  }
  .carousel-small .item{
        margin-top: 90px;
  }
}
@media (max-width: 900px){
.footer-section-content-column-left, .footer-section-content-column-middle, .footer-section-content-column-right {
    width: 100%;
}
}
@media (max-width: 991px){
.footer-section-content-column-left, .footer-section-content-column-middle, .footer-section-content-column-right {
    width: 100%;
}
  .carousel-control {
    display: none;
}
}
@media (min-width: 992px){
.footer-section-content-column-left, .footer-section-content-column-middle, .footer-section-content-column-right {
    width: calc(100% / 3);
}
}

.table thead th{
      border-bottom: 2px solid #002851;
}
.table th, .table td{
  border-top: 1px solid #002851;
}

.frame-type-gridelements_pi1 .frame-background-primary {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.frame-type-gridelements_pi1 .frame-background-primary *{
    font-size: 1.5rem;
}
.frame-type-header+.frame-type-text{
  margin-top:-2.5rem !important;
}

@media (max-width:991px){
.carousel .carousel-item .valign {
    max-width: 100%;
}
  .carousel .carousel-item h1{
        font-size: 7vw;
  }
  .carousel .carousel-item h2, .carousel .carousel-item h3, .carousel .carousel-item h4, .carousel .carousel-item h5, .carousel .carousel-item h6{
    font-size: 5vw;
  }
.carousel-small .item{
height:34vw;
}
}

@media (max-width:767.98px){
  .top-nav {    position: fixed;
    width: 100%;}
  .top-nav .container{    justify-content: center;}
  .top-nav .container div:nth-child(2),
  .top-nav .container div:nth-child(3){display:none;}
  .navbar-mainnavigation.navbar-fixed-top{ padding-top: 45px; }
  #page-content{ padding-top: 80px; }
  #page-header+a+.carousel{
    padding-top: 45px;
    margin-bottom: -80px;
}
}


.navbar-light .navbar-nav .nav-link, .navbar-default .navbar-nav .nav-link, .navbar-default-transition .navbar-nav .nav-link, .navbar-default-transition.navbar-transition .navbar-nav .nav-link{
      color: rgb(0 0 0 / 80%) !important;
}