/**
 * @file
 * Subtheme specific CSS.
 */
#navbar-main {
  background-color: #fff;
}

.nav-link {
  color: #4a4a4a;
  font-size: 24px;
}

.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link {
  color: #be4f4f;
}

.site-footer {
  background: #fff
}

.layout.layout--onecol {
 position: relative;
}
.field--name-field-video-link a {
 position: absolute;
 top: 217px;
 left: 325px;
 font-family: "Font Awesome 5 Free";
 font-size: 2rem;
 color: #be4f4f;
 text-decoration: none;
  transform: translate(-50%, -50%);
}

.field--name-field-video-link a:before {
    content: "\f144";
}
.btn-primary,
.btn-primary:hover {
    background-color: #4a4a4a;
    border-color: #000;
}

.carousel-item {
  max-height: 800px;
}

.carousel img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: #be4f4f;
  text-decoration: none;
}

a:hover {
  color: #be4f4f;
  text-decoration: underline;
}

nav a:hover {
 text-decoration: none;
}

.field--name-field-video-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media all and (min-width: 720px) {
  .field--name-field-video-img img {
    max-width: 500px;
    height: auto;
    display: block;
  }
}

a.tabledrag-handle .handle {
  margin: 0 0.5em 0;
  background: url('/core/misc/icons/787878/move.svg');
}

@media (min-width: 560px) {
  .node .field--type-image {
    float: right;
    margin: 0 0 0 1em;
  }
}

.field--type-image img {
  max-width: 100%;
  height: auto;
}

.block-field-blocknodearticlebody h2{
  margin-bottom: 1em;
}

.field--type-image img, .field--name-field-gallery-img img, .carousel-inner, .views-field-field-gallery-img img, .field--name-field-media-video-file video{
  box-shadow: rgb(0 0 0 / 40%) 0 0 10px;
}

/*====
Slider
=====*/
.carousel img {
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

.block-views-blockfrontpage-block-1 {
  margin-bottom: 2em;
}

/*========================
News-Felder auf Startseite
========================*/
.view-id-frontpage.view-display-id-page_1 .field--type-image img{
  display: block;
  margin: auto;
  width: auto;
  max-height: 400px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: rgb(0 0 0 / 40%) 0 0 10px;
}

.view-id-frontpage.view-display-id-page_1 .field--type-image{
  margin-bottom: 1em;
}

.view-id-frontpage.view-display-id-page_1 .views-row {
  margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
  .view-id-frontpage.view-display-id-page_1 .views-field-title {
    min-height: 5em;
  }
}

.view-id-frontpage.view-display-id-page_1 .views-row .views-field-nothing {
  max-width: 540px;
  margin: auto;
}

/*============
Bildergallerie
============*/
.field--name-field-gallery-img{
  margin-top: 2em;
}

.field--name-field-gallery-img .field__label{
  font-size: 2rem;
  margin-bottom: 1em;
  font-weight: 500;
  font-family: 'Dosis',serif;
}

.field--name-field-gallery-img .field__items, .view-display-id-page_3 .views-field-field-gallery-img .field-content{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: .5em;
  row-gap: .5em;
}

.field--name-field-gallery-img .field__items img, .view-display-id-page_3 .views-field-field-gallery-img img{
  object-fit: cover;
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
}

.field--name-field-gallery-img details summary{
  margin: 1em 0;
}

.view-kurse .views-row{
  margin-bottom: 2em;
}
