/* GLOBAL STYLES
-------------------------------------------------- */

/* Padding to begin Site after fixed navbar */
body {
    padding-top: 3.5rem;
}

h1 {
    margin-bottom: 2rem;
}

/* Change position of anchor 'pos-1' and 'pos-10' */

.anchor {
    position: relative;
    top: -5rem;
}

/* Navbar */

.navbar {
    box-shadow: 0px 1px 2px #000;
    padding: 0.5rem;
    background-color: #3E59AC;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

#logo img{
    max-height: 40px;
    height: auto;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    padding: 0;
}

/* Hide first menu-items */
.navbar .default {
    display: none;
}

.navbar .item-116 {
    display: none;
}

#brand-text p{
    color: #fff;
    margin: 0;
    margin-left: 0.5rem;
    font-size: 1rem;
    font-family: serif;
}

#brand-header .small-p {
    font-size: 0.8rem;
}

/* Header */

/* Add margin after carousel */
.carousel {
    margin-bottom: 3rem;
}

/* Format overlay */

.overlay {
    color: #fff;
    position: absolute;
    z-index: 12;
    top: 3.5rem;
    left: 0;
    width: 100%;
}

/* Format heading */

.overlay-caption {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    z-index: 1;
    padding: 1rem;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    width: 90%;
}

#header-logo {
    height: 8.5rem;
}

#header-text {
    padding-left: 1rem;
}

.overlay-caption h1 {
    font-size: 3.6rem;
    margin-bottom: 0.5rem;
    font-family: serif;
    -webkit-font-smoothing: antialiased;
}

.overlay-caption p {
    font-family: serif;
    font-size: 2rem;
    -webkit-font-smoothing: antialiased;
}

/* Adaptations of the heading-size for different screen sizes */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .overlay-caption h1 {
        font-size: 3rem !important;
    }
    
    .overlay-caption p {
        font-size: 1.7rem !important;
    }
    
    #header-logo {
        height: 7rem !important;
    }
}

@media (max-width: 991.98px) {
    .overlay-caption h1 {
        font-size: 2.2rem !important;
    }
    
    .overlay-caption p {
        font-size: 1.2rem !important;
    }
    
    #aktuelleausgabe {
        height: 18rem !important;
    }
    
    #header-logo {
        height: 5.4rem !important;
    }
}

/* Format Aktuelle Ausgabe */

#aktuelleausgabe {
    width: auto;
    height: 25rem;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border-radius: 5px;
}

#aktuelleausgabe h5 {
    margin-right: auto;
    margin-left: auto;
    color: #000;
    margin-top: 1rem;
    -webkit-font-smoothing: antialiased;
}

#aktuelleausgabe a img {
    border: 1px solid #ABB7B7;
    height: 90%;
}

/* Format carousel-slides */

.carousel-item {
    height: 32rem;
    background-color: #fff;
    background-position: center center;
    background-size: cover;
}
/* Featurettes --> Text-Bloecke */

.featurette-divider {
    margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
    margin-top: 0;
}

/* format cards in M&I-section */

/* set icon color */

.card-text i {
    color: #3E59AC;
}

.card-text h2 {
    font-weight: 300;
}

.card-text img {
    height: 8rem;
    margin: 1rem;
}

#mui-cards .card {
    padding: 0;
}

#mui-cards h4 {
    margin: 0;
}

#mui-buttons {
    margin-top: 3rem;
}

/* Heftarchiv - Carousel */

#heftarchiv .carousel-item{
    height: auto;
    background: none;
}

#heftarchiv .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(0,0,0)' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

#heftarchiv .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(0,0,0)' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

#heftarchiv .carousel-control-prev {
    width: 5%;
    bottom: 3rem;
}

#heftarchiv .carousel-control-next {
    width: 5%;
    bottom: 3rem;
}

#heftarchiv .carousel-text {
    margin-top: 1rem;
}

#heftarchiv img {
    border: 1px solid #ABB7B7;
}

#heftarchiv {
    margin-bottom: 0;
}

#heftarchiv .col-md-3 {
    padding: 15px;
}

#heftarchiv .row {
    padding: 0 7%;
}

#alles-anzeigen {
    margin-top: 1rem;
}

/* Heftarchiv - Liste */

#heftarchiv-liste img {
    border: 1px solid #ABB7B7;
    margin-bottom: 1rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #heftarchiv-liste .col-md-2 {
    padding: 0.2rem;
    }
}

/* Unterstuetzung */

#konten .card {
    margin-top: 1rem;
    margin-bottom: 1rem
}

/* Contact-forms messages */

.error {
    color: red;
}

.success {
    color: #ff9966;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

/* Impressum */

.li-pad {
    padding-left: 10px;
}

#infos {
    margin-bottom: 2rem;
}

#info-spacer {
    height: 1rem;
}

#contact-data {
    padding-bottom: 1rem;
}

#credits {
    width: 70%;
    margin: 0 auto;
    padding-top: 2rem;
}

/* Footer */

.footer {
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

.footer p {
    margin: 0;
}