.mega-menu {
    display: none;
    position: absolute;
    background-color: white;
    padding: 24px 20px;
    z-index: 50000;
    font-size: 0em;
    left: -180px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.2);
    box-sizing: content-box;
    height: 540px;
}

.mega-menu.mega-open {
    display: inline-block;
}

.mega-menu .level {
    display: none;
    width: 400px;
    vertical-align: top;
    padding: 0px 24px;
    border-right: 1px solid black;
    height: 100%;
    font-size: 18px;
    line-height: 32px;
}

.mega-menu .level.mega-open {
    display: inline-block;
}

.mega-menu .main-level {
    font-size: 20px;
    line-height: 38px;
}

.mega-menu .level .level-heading {
    font-size: 35px;
    color: #00A050;
}

.mega-menu .level ul {
    list-style: none;
    padding-left: 0;
    cursor: default;
}

.mega-menu .level ul li {
    display: block;
    position: relative;
    width: 100%;
    padding-right: 1em;
}

.mega-menu .level ul li.mega-open,
.mega-menu .level ul li:hover {
    color: #00A050;
}

.mega-menu .level ul li span {
    position: absolute;
    right: 0;
}

.mega-menu .level hr {
    margin: 16px 8px;
}

.mega-menu .last-level {
    border-right: none;
	overflow-y: auto;
}

.mega-menu .last-level a {
    cursor: pointer;
}

.image-label {
    font-weight: bold;
}

.mega-menu-arrow {
    color: #EBEBEB;
}

.mega-menu-ul li .mega-menu-link.orange {
    color: #FA640A!important;
}

.mega-menu-ul li .mega-menu-link.orange:hover {
    color: #00A050!important;
}

.mega-menu-ul li:hover .mega-menu-arrow  {
    color: #00A050;
}

.custom-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

@media (min-width: 1200px) {
    .custom-toggle::after {
        display: none;
    }
}


/* --------------------------------------- */


/* --------------- MODAL ----------------- */


/* --------------------------------------- */

#modal-menu {
    text-align: center;
}

#modal-menu .modal-content {
    background-color: #ffffffee;
}

.nav-link.inline-link {
    display: inline-block;
}

.nav-link.inline-link {
    padding: .4rem;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.nav-link.inline-link[aria-expanded="true"] {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.modal ul {
    background-color: transparent;
}

#modal-menu ul {
    font-size: 1.875rem;
    font-weight: bold;
}

#modal-menu ul ul {
    font-size: 1.3rem;
    font-weight: normal;
}

#modal-menu ul ul ul {
    font-size: 1rem;
}

#modal-menu ul.navbar-nav button.nav-link {
    height: auto;
    padding: 0.1em;
    background: none;
    border: none;
    color: inherit;
}

#modal-menu .dropdown-item:focus,
#modal-menu .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: transparent;
}

#modal-menu ul li {
	text-align: center;
    border-bottom: 1px solid #c2c2c2;
}
#modal-menu ul li a{
	white-space: normal;
}

#modal-menu ul li:last-child {
    border-bottom: none;
}
/*
#modal-menu ul ul > li:first-child {
    border-top: 1px solid #c2c2c2;
}
*/
#modal-menu .dropdown-submenu {
    padding: 0;
}

#about-us-collapse > li.dropdown-item.dropdown-submenu #modal-menu .dropdown-item .nav-link {
    padding: 0.35em 0rem;
}

.modal-closer {
    padding-bottom: 1rem;
}

@media (max-width: 575.9px) {
    #modal-menu {
        height: 100%;
        /* aus den margins, paddings und der höhe der kopfzeile abgeguckt: */
        margin-top: calc(2.125rem + 2 * 0.875rem + 50px);
    }
    #modal-menu .modal-dialog {
        display: block;
        margin: 0px auto;
        height: 100%;
        max-width: none;
        border-radius: 0;
    }
    #modal-menu .modal-content {
        min-height: 100%;
        border: none;
        border-radius: 0;
    }
    .modal-backdrop.show {
        display: none;
    }
    .modal-closer {
        display: none;
    }
}