#mainNav.navbar {
    background-color: rgba(0,0,0,0.6);
	width: 100%;
	transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
	z-index: 999;
	position: absolute;
    
}
#mainNav.navbar-shrink {
    background-color: #000;
	width: 100%;
	transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
	z-index: 999;
	position: absolute;
}

.sticky-top {
  position: static;
}
@media (min-width: 992px) {
  .sticky-top {
    position: sticky;
  }
}
.nav-item a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 400ms ease-in-out;
}

.nav-item a:hover::before,
.nav-item a:active:before,
.nav-item a:focus:before,
.nav-item a.active::before {
    width: 100%;
}

.nav-item a {
    font: 400 22px "cairo", sans-serif;;
    color: #fff;
    letter-spacing: 0.20px;
    margin: 0 22px;
    transition: color 400ms ease-in-out;
    position: relative;
    display: inline-block;

}
@media (max-width: 900px) {
    .nav-item a {
    font: 400 20px "cairo", sans-serif;;
    margin: 0 0px;


    }}
.nav-item a:hover,
.nav-item a:active,
.nav-item a:focus,
.nav-item a.active {
    color: #fff;
    }

/* -------------------- Navbar Toggler BEGINN -------------------- */

.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  width: 30px;
  height: 30px;
  position: relative;
}
.line {
  position: absolute;
  left: 0px;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.45s;
}
.top {
  top: 18%;
}
.middle {
  top: 48%;
}
.bottom {
  top: 78%;
}
.navbar-toggler-icon.close .top {
  transform: rotate(45deg);
  top: 48%;
}
.navbar-toggler-icon.close .middle, .navbar-toggler-icon.close .bottom {
  transform: rotate(-45deg);
  top: 48%;
}

/* -------------------- Navbar Toggler ENDE -------------------- */



/* -------------------- Dropdown Animation Fade BEGINN -------------------- */

@media (min-width: 992px) {
.dropdown-menu-end {
    position: absolute;
    margin-top: 0rem;
    left: auto;
    right: 0;
}
    
.dropdown-menu-start {
    position: absolute;
    margin-top: 0rem;
    left: auto;
    right: 0;
} 
  }

@media (min-width: 1200px) {}
	
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0, 50px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0, 50px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* -------------------- Dropdown Animation Fade ENDE -------------------- */



/* -------------------- Dropdown BEGINN -------------------- */

.dropdown-menu {
  border: none;
  border-radius: 0px;
  background-image: none;
  box-shadow: inset 1px 1px rgb(255 255 255 / 20%), inset -1px -1px rgb(255 255 255 / 10%), 1px 3px 24px -1px rgb(0 0 0 / 15%);
  background-color: rgba(0, 0, 0, 0.80);
  min-width: 16rem;
  padding: 0;
}
.dropdown-menu a {
  color: #fff;
  font-size: 1.2rem;
  position: relative;
  padding: 1rem 2rem;
  font-weight: normal;
  text-align: left;
}
.dropdown-menu > li:not(:last-child) {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.50);
}
.dropdown-menu a:hover {
  color: #573822;
  background-image: url("../images/background/003--309670293.jpg");
  background-size: cover;
}
.navbar-nav > li .dropdown-menu a:before {
  font-family: "Font Awesome 5 Solid" !important;
  content: '\f0da';
  position: absolute;
  margin-left: -15px;
  transition: all 0.2s ease;
  opacity: 0;
}
.navbar-nav > li .dropdown-menu a .svg-inline--fa {
  opacity: 0;
  margin-right: 5px;
}
.navbar-nav > li .dropdown-menu a:hover .svg-inline--fa {
  /*Wird benötigt wenn das dropdown-menu Fenster rechtsbündig ist ansonsten auf 1 setzen*/
  opacity: 0;
}
/*Dropdown Hover muss im Media min 992px stehen, damit sich die Navigation auf mobil durch klicken wieder schließen lässt!*/
@media (min-width: 992px) {
  li.dropdown:hover .dropdown-menu {
    opacity: 1;
  }
  li.dropdown:hover .dropdown-menu:not(.megasubmenu) {
    display: block;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
}
#mainNav.fixed-top {
  animation: smoothScroll 1s forwards;
}
@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 900px){
    .dropdown-menu a {
  color: #fff;
  font-size: 1rem;
  position: relative;
  padding: 1rem 0.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
}
/* -------------------- Dropdown ENDE -------------------- */