/*------ TYPO -------------------------------------- */

p,
h1,
h2,
h3,
h4,
h5 {
  hyphens: auto;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  color: var(--bs-primary) !important;
  font-weight: bold;
}

h5,
.h5 {
  color: var(--secondary) !important;
}

hr {
  color: var(--primary) !important;
}

/*------ EXTRA CLASSES ------------------------- */

.dws-contentelement-card,
.dws-contentelement-card-body,
.dws-contentelement-card-footer {
  padding-left: 0;
  border: none !important;
  box-shadow: none !important;
}

/* bg-dark und Links z.B. im dark footer*/

.navbar-dark ul>li>a,
.footer.bg-primary p a {
  color: white !important;
}

/*------ NAV------------------------- */

.navbar-nav {
  width: 100%;
  /* ganze Breite nutzen */
  display: flex;
  justify-content: space-evenly;
  /* gleichmäßige Abstände */
}

.nav-item {
  flex: 1 1 auto;
  /* jeder Link füllt gleichmäßig */
  text-align: center;
  /* optional, Text zentrieren */
}

.nav-item .nav-link {
  display: block;
  /* damit die gesamte Fläche klickbar ist */
  width: 100%;
}

.nav-item:hover,
.nav-link:hover,
.nav-item:active,
.nav-link:active,
.nav-link.active,
.nav-item.active {
  color: var(--bs-primary) !important;
}



@media (min-width: 992px) {

  .navbar-brand img {
    max-height: 150px;
  }

  .dws-seitenstruktur-navbar {
    min-height: 170px;

  }

  .dws-seitenstruktur-navbar>.container {
    min-height: 170px;
    align-items: stretch;
  }

  .dws-seitenstruktur-navbar .navbar-brand {
    display: flex;
    align-items: flex-start;
  }

  .dws-seitenstruktur-navbar .navbar-collapse {
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
  }

  .dws-seitenstruktur-navbar .navbar-nav {
    justify-content: center;
  }

  .dws-seitenstruktur-navbar .nav-link {
    padding-bottom: 12px;
  }

  .dws-seitenstruktur-navbar .nav-item {
    height: 100%;
    display: flex;
    align-items: flex-end;
  }

  .dws-seitenstruktur-navbar .nav-link {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

}

@media all and (max-width: 991px) {

  .navbar-brand img {
    width: 100%;
  }

  .navbar-toggler {
    display: block;
    border: none;
  }

  .offcanvas-header {
    background-image: url("https://typo3.dawesys.de/fileadmin/hoferichterkazarashvilide/logo.png");
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: auto 50px;
    min-height: 60px;
    margin-top: 0.5rem;
  }

  .offcanvas-title {
    display: none;
  }
}

/*------ Carousels------------------------- */

.carousel-control-next-icon {
  background-image: none;
}

.carousel-control-next-icon::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: x-large;
  color: var(--bs-primary);
}

.carousel-control-prev-icon {
  background-image: none;
}

.carousel-control-prev-icon::after {
  content: "\f053";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: x-large;
  color: var(--bs-primary);
}

.carousel-indicators li::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 10px;
  content: "";
  color: var(--bs-primary);
}

.carousel-indicators li::before {
  position: absolute;
  top: -10px;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 10px;
  content: "";
  color: var(--bs-primary);
}