main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* CKAN Hub specifics */

/* wells from Bootstrap3 */
.well {
    /* Abstand (entspricht 'p-3' und einem Standard-Margin unten) */
    padding: 1rem;
    margin-bottom: 1rem;
    
    /* Hintergrund (entspricht 'bg-light') */
    background-color: var(--bs-light);
  
    /* Rahmen (entspricht 'border') */
    border: 1px solid var(--bs-border-color);
    
    /* Abgerundete Ecken (entspricht 'rounded') */
    border-radius: var(--bs-border-radius);
    
    /* Der charakteristische innere Schatten aus Bootstrap 3 */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  }
  .well-sm {
    padding: 0.5rem; /* Entspricht 'p-2' */
    border-radius: var(--bs-border-radius-sm);
  }
  
  .well-lg {
    padding: 1.5rem; /* Entspricht 'p-4' */
    border-radius: var(--bs-border-radius-lg);
  }

  /*
   * Hero Slider Custom Styles
   * --------------------------------------------------
   */
  
  /* Position the hero slider at the very top, removing default container padding */
  .site-index {
      padding-top: 0;
  }
  
  /* .hero-slider .carousel-item {
      /* Set a minimum height for the slides * /
      min-height: 400px; 
      /* Or a fixed height * /
      height: 80vh; /* 80% of the viewport height * /
      max-height: 800px;
      background-color: #555; /* Fallback color * /
  } */

  /* Standard-Stil für größere Bildschirme (Desktop first) */
.hero-slider .carousel-item {
    height: 50vh; /* 75% Höhe für Desktops */
    min-height: 300px; /* Mindesthöhe, falls 75vh zu klein wird */
    max-height: 800px;
    object-fit: cover;
    background: linear-gradient(to bottom right,  #fc5c7d, #6a82fb);
}

/* Anpassung für Tablets und Mobilgeräte (alles unter 992px Breite) */
@media (max-width: 992px) {
    .hero-slider .carousel-item {
        height: 60vh; /* Etwas kleiner auf Tablets */
    }
}

/* Anpassung nur für Mobilgeräte (alles unter 768px Breite) */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 50vh; /* Deutlich kleiner auf Handys */
        min-height: 300px; /* Auch hier eine Mindesthöhe festlegen */
    }
}
  
  .hero-slider .carousel-item img {
      height: 100%;
      object-fit: cover; /* Ensures the image covers the area without distortion */
      object-position: center;
  }
  
  /* Add a dark overlay to make text more readable */
  .hero-slider .carousel-item::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.4);
  }
  
  /* Style the caption to be vertically and horizontally centered */
  .hero-slider .carousel-caption {
      /* Override Bootstrap defaults */
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
      z-index: 10; /* Ensure caption is above the overlay */
  }
  
  /* .hero-slider .carousel-caption {
    /* Positionierung anpassen, falls nötig * /
    position: relative;
    top: auto;
    transform: none;
    color: #343a40; /* Dunklerer Text für den hellen Hintergrund * /
    text-shadow: none; /* Keinen Schatten nötig bei hellem Hintergrund * /
} */
  
