/* Customized CSS */

/* alegreya-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/alegreya-sans-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/alegreya-sans-v24-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alegreya-sans-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/alegreya-sans-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/alegreya-sans-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/alegreya-sans-v24-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/alegreya-sans-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/alegreya-sans-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html, body {
  font-family: 'Alegreya Sans' !important;
  /*font-family: 'Open Sans'; */
  font-size: 1.07rem !important;
}
body {
    color: #181716 !important;
}
h1, h2, h3, h4, h5, h6, .text-deco, ul li {
  font-family: 'Alegreya Sans' !important;
}
.container-fluid {
    padding: 0 !important;
}

.container {
  max-width: 992px !important;
}

header, footer {
  background: #004b7c;
  padding: 0;
}
.bg-darkblue {
  background: #004b7c;
}
.text-darkblue {
  color: #004b7c;
}
.bg-blue {
  background: #00afc1;
}
.text-blue {
  color: #00afc1;
}
.navbar {
  align-items: end !important;
}
.navbar-brand img {
  max-width: 290px;
}
a.nav-link {
  padding: 0 .8rem !important;
  line-height: 1.0rem !important;
  font-size: 1.0rem;
  text-transform: uppercase;
  color: white !important;
}
.nav-item {
  padding-bottom: 2.3rem !important;
}
.nav-item:hover, .nav-item.active {
  background: #00afc1  !important;
}
.navbar-toggler-icon,
.btn-close {
  filter: invert(100%);
}

/* ----- Taste scroll-Top ----- */
.scrollup {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background: rgba(0, 0, 0, .5) !important;
    color: rgb(255, 255, 255);
    cursor: pointer;
    z-index: 1540;
}
#ds_blok {
  background: rgba(0,0,0, .5);
}
.modal-body p, .modal-body ul li {
  font-size: .9rem !important;
  margin-bottom: .4rem !important;
}
h2 span {
  font-family: 'Alegreya Sans';
  letter-spacing: .2rem;
}
.home .card {
  border: 0;
  border-radius: 0 !important;
  --bs-card-inner-border-radius: 0 !important;
}
.home .card:nth-child(2) {
  max-width: 21% !important;
}
.titel {
  position: relative;
  margin-bottom: 1.5rem !important;
  font-weight: lighter;
}
.titel::after {
  position: absolute;
  width: 100px;
  height: 5px;
  content: "";
  bottom: -0.8rem;
  left: calc(50% - 50px);
  background: #00afc1;
}
.foerderlogo img {
  max-height: 110px;
}
hr.bg-darkblue {
  border-top: 3px solid #004b7c !important;
  opacity: 1 !important;
}

footer p {
  font-size: 1.2rem;
}
footer img {
  max-width: 210px !important;
}

@media screen and (max-width: 1400px){

}

@media screen and (max-width: 992px) {
  #offcanvasDarkNavbar {
    background-color: #004b7c !important;
  }
  #offcanvasDarkNavbar .nav-link {
    padding: 1.0rem !important;
    border: none !important;
  }
  .navbar-brand img {
    max-width: 120px;
  }
  .card-group {
    display: block !important;
    flex-flow: row wrap;
  }
  .home .card:nth-child(2) {
    max-width: 100% !important;
  }
  .nav-item {
    width: 100%;
    padding-bottom: 0 !important;
  }
}

@media screen and (max-width: 780px){

}

@media screen and (max-width: 580px){
  header p.fs-5 {
    font-size: 1.0rem !important;
    text-align: center;
  }
  .kontakt p {
    font-size: 1.0rem !important;
  }
}

@media screen and (max-width: 420px) {

}