.navbar-nav .nav-link {
  padding-top: 0px;
  padding-bottom: 0px;
}

.nav-item {
  margin-top: 12px;
  margin-bottom: 12px;
}

.nav-link {
  color: rgba(0,0,0,1);
    display: flow;
    padding: 0;
    line-height: 18px;
}

@media (min-width:768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 25px;
        padding-left: 25px;
    }
    .navbar-nav .nav-item {
      padding-top: 0px;
      padding-bottom: 0px;
      border-right-width: 1px;
      border-right-style: solid;
    }

    .navbar-nav .nav-item:last-child {
      border-right-width: 0;
      border-right-style: none;
    }
}

@media (max-width:768px) {
    .nav-item {
      border-right: none;
    }
    .nav-link {
      color: rgba(0,0,0,1);
        display: block;
        padding-top: 5px;
        padding-bottom: 5px;
        line-height: 28px;
    }
    .nav-item:first-child {
        margin-top: 25px;
    }
}

a.nav-link:hover {
    text-decoration: none;
    color: rgba(0, 100, 89, 1);
}

.carousel-fade .carousel-item {
  transition: opacity 2s ease-in-out;
}

section.bggreen {
  color: white;
  background-image: linear-gradient(rgba(0,100,89,0.95), rgba(0,100,89,0.95)), url("/assets/img/ebel_slice_kringel.png");
  background-size: 50%;
  background-position: center right;
  background-color: var(--bs-success);
  background-repeat: no-repeat;
}

/* Überschriften */
h1, h2 {
  font-family: 'Alex Brush', serif;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 0px;
}

h2 + h2 {
    margin-top: -30px;
}

h3 {
  font-size: 16px;
  margin: 25px 0 5px;
}

h4 {
  font-size: 16px;
  margin: 25px 0 5px;
}

.bgwhite h1, .bgwhite h2 {
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
}

.bgwhite h1, .bgwhite h2 {
  color: var(--bs-success);
}

p.ueberschrift-zweite-zeile strong {
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 0px;
    margin-left: 1px;
}

.bgwhite {
  padding-top: 60px;
  padding-bottom: 60px;
}
.bggreen {
    padding-bottom: 60px;
    padding-top: 60px;
}

.carousel-control-prev, .carousel-control-next {
    background-image: none;
}
.carousel-item {
    transition: transform 1.2s ease-in-out;
}
.slice-bg-gold {
    background: url('/assets/img/ebel_slice_gold_hg_1px-linie.png') center top / contain repeat-y;
    width: 100%;
}

p.spruchgruen {
    color: rgba(0, 100, 89, 1.0);
    font-weight: 500;
    padding-bottom: 30px;
}

p.spruchweiss {
    color: rgba(255, 255, 255, 1.0);
    font-weight: 500;
    padding-bottom: 30px;
}

.carousel {
    margin-bottom: 50px;
}

#carousel-1 {
    margin-bottom: 0px;
    background-color: #000;
}

/* Carousel Fade Fix */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
    transition: opacity 4s ease-in-out;
}

/* Formular *****/

label.control-label {
    font-weight: 500;
}

.radio {
    padding-bottom: 7px;
    padding-top: 4px;
}

.form-helper {
    margin-left: 10px;
}
.form-group {
    margin-top: 12px;
    margin-bottom: 12px;
}
textarea.form-control, input.form-control {
    border: solid rgba(0, 0, 0, .1) 1px;
    border-radius: 5px;
}
textarea.form-control:focus,
textarea:focus,
.form-control:focus,
input[type=text]:focus,
input.form-control:focus,
[type=text].form-control:focus {
    box-shadow: inset 0 -2px 0 rgba(0, 100, 89, 1);
    border-color: rgba(0, 100, 89, 1);
}


.btn-primary {
    --bs-btn-bg: rgba(0, 100, 89, 1);
    --bs-btn-border-color: rgba(0, 100, 89, 1);

    --bs-btn-hover-bg: rgba(0, 80, 70, 1);
    --bs-btn-hover-border-color: rgba(0, 80, 70, 1);

    --bs-btn-active-bg: rgba(0, 70, 60, 1);
    --bs-btn-active-border-color: rgba(0, 70, 60, 1);
}
.btn-primary:hover {
    background-color: rgba(0, 80, 70, 1) !important;
}

/* Accordion ****************/

.accordion {
    --bs-accordion-bg: transparent !important;
    --bs-accordion-border-width: 0px;
    /* Geschlossener Zustand = Pfeil nach unten */
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cccccc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    /* Geöffneter Zustand = Pfeil nach links */
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cccccc'%3e%3cpath fill-rule='evenodd' d='M10.354 1.646a.5.5 0 0 1 0 .708L4.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    /* Bootstrap-Rotation deaktivieren */
    --bs-accordion-btn-icon-transform: none;
}

.accordion-item {
    color: rgba(255, 255, 255, 1);
    background-color: transparent !important;
    border: none;
}

.accordion-button {
    color: rgba(255, 255, 255, 1);
    text-align: left;
    background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
    color: rgba(221, 221, 221, 1);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus
 {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}
.accordion-button::after {
    margin-left: 15px;
}
