.sm-custom {
    background: transparent;
    border-radius: 4px;
    color: inherit;
}
.sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active {
    padding: 10px 20px;
    /* make room for the toggle button (sub indicator) */
    padding-right: 58px;
    background: inherit;
}
.sm-custom a.current {
    background: inherit;
}
.sm-custom a.disabled {
    color: lightgray;
}
.sm-custom a span.sub-arrow {
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: auto;
    right: 4px;
    width: 34px;
    height: 34px;
    overflow: hidden;
    font: bold 16px/34px monospace !important;
    text-align: center;
    text-shadow: none;
    background: inherit;
}
.sm-custom a.highlighted span.sub-arrow:before {
    display: block;
    content: '-';
}
.sm-custom > li:first-child > a, .sm-custom > li:first-child > :not(ul) a {


}
.sm-custom > li:last-child > a, .sm-custom > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {

}
.sm-custom > li:last-child > a.highlighted, .sm-custom > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {

}
.sm-custom ul {
    width: auto !important;
    min-width: 20em !important;
    max-width: 50em !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    background: rgba(32, 32, 32, 0.75); /*rgba(0, 0, 0, 0.5)*/
}
.sm-custom ul ul {
    background: inherit;
}
.sm-custom ul a, .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active {
    background: inherit;
    font-size: 16px;
    text-shadow: none;
    border-left: 8px solid transparent;
}
.sm-custom ul a.current {
    background: inherit;
}
.sm-custom ul a.disabled {
    color: lightgray;
}
.sm-custom ul ul a,
.sm-custom ul ul a:hover,
.sm-custom ul ul a:focus,
.sm-custom ul ul a:active {
    border-left: 16px solid transparent;
}
.sm-custom ul ul ul a,
.sm-custom ul ul ul a:hover,
.sm-custom ul ul ul a:focus,
.sm-custom ul ul ul a:active {
    border-left: 24px solid transparent;
}
.sm-custom ul ul ul ul a,
.sm-custom ul ul ul ul a:hover,
.sm-custom ul ul ul ul a:focus,
.sm-custom ul ul ul ul a:active {
    border-left: 32px solid transparent;
}
.sm-custom ul ul ul ul ul a,
.sm-custom ul ul ul ul ul a:hover,
.sm-custom ul ul ul ul ul a:focus,
.sm-custom ul ul ul ul ul a:active {
    border-left: 40px solid transparent;
}
.sm-custom ul li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-custom ul li:first-child {
    border-top: 0;
}

@media (min-width: 12em/*768px*/) {
    /* Switch to desktop layout
    -----------------------------------------------
       These transform the menu tree from
       collapsible to desktop (navbar + dropdowns)
    -----------------------------------------------*/
    /* start... (it's not recommended editing these rules) */
    .sm-custom ul {
        background: rgba(32, 32, 32, 0.75); /*rgba(0, 0, 0, 0.5);*/
        position: absolute;
    }

    .sm-custom li {
        float: left;
    }

    .sm-custom.sm-rtl li {
        float: right;
    }

    .sm-custom ul li, .sm-custom.sm-rtl ul li, .sm-custom.sm-vertical li {
        float: none;
    }

    .sm-custom a {
        white-space: nowrap;
    }

    .sm-custom ul a, .sm-custom.sm-vertical a {
        white-space: normal;
    }

    .sm-custom .sm-nowrap > li > a, .sm-custom .sm-nowrap > li > :not(ul) a {
        white-space: nowrap;
    }

    /* ...end */
    .sm-custom {
        background: transparent;

    }
    .sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
        padding: 13px 24px;
        background: inherit;
        color: white;
    }
    .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
        background: gray;
    }
    .sm-custom a.current {
        background: #555555;
        color: white;
    }
    .sm-custom a.disabled {
        background: inherit;
        color: lightgray;
    }
    .sm-custom a span.sub-arrow {
        top: auto;
        margin-top: 0;
        bottom: 2px;
        left: 50%;
        margin-left: -5px;
        right: auto;
        width: 0;
        height: 0;
        border-width: 5px;
        border-style: solid dashed dashed dashed;
        border-color: lightgray transparent transparent transparent;
        background: transparent;
    }
    .sm-custom a.highlighted span.sub-arrow:before {
        display: none;
    }
    .sm-custom > li:first-child > a, .sm-custom > li:first-child > :not(ul) a {

    }
    .sm-custom > li {
        border-left: 1px solid #555555;
    }
    .sm-custom > li:first-child {
        border-left: 0;
    }
    .sm-custom ul {
        /*border: 1px solid #a8a8a8;*/
        padding: 7px 0;
        width: auto;
        background: rgba(32, 32, 32, 0.75);/*rgba(0, 0, 0, 0.5);*/
    }
    .sm-custom ul ul {
        background: inherit;
    }
    .sm-custom ul a, .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active, .sm-custom ul a.highlighted {
        border: 0 !important;
        padding: 9px 23px;
        background: transparent;
        color: white;
    }
    .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active, .sm-custom ul a.highlighted {
        background: gray;
        color: white;
    }
    .sm-custom ul a.current {
        background: gray;
        color: white;
    }
    .sm-custom ul a.disabled {
        background: inherit;
        color: lightgray;
    }
    .sm-custom ul a span.sub-arrow {
        top: 50%;
        margin-top: -5px;
        bottom: auto;
        left: auto;
        margin-left: 0;
        right: 10px;
        border-style: dashed dashed dashed solid;
        border-color: transparent transparent transparent lightgray;
    }
    .sm-custom ul li {
        border: 0;
    }
    .sm-custom span.scroll-up,
    .sm-custom span.scroll-down {
        position: absolute;
        display: none;
        visibility: hidden;
        overflow: hidden;
        background: #555555;
        height: 20px;
    }
    .sm-custom span.scroll-up-arrow, .sm-custom span.scroll-down-arrow {
        position: absolute;
        top: -2px;
        left: 50%;
        margin-left: -8px;
        width: 0;
        height: 0;
        overflow: hidden;
        border-width: 8px;
        border-style: dashed dashed solid dashed;
        border-color: transparent transparent lightgray transparent;
    }
    .sm-custom span.scroll-down-arrow {
        top: 6px;
        border-style: solid dashed dashed dashed;
        border-color: white transparent transparent transparent;
    }
    .sm-custom.sm-rtl.sm-vertical a span.sub-arrow {
        right: auto;
        left: 10px;
        border-style: dashed solid dashed dashed;
        border-color: transparent lightgray transparent transparent;
    }
    .sm-custom.sm-rtl > li:first-child > a, .sm-custom.sm-rtl > li:first-child > :not(ul) a {

    }
    .sm-custom.sm-rtl > li:first-child {
        border-left: 1px solid gray;
    }
    .sm-custom.sm-rtl > li:last-child {
        border-left: 0;
    }
    .sm-custom.sm-rtl ul a span.sub-arrow {
        right: auto;
        left: 10px;
        border-style: dashed solid dashed dashed;
        border-color: transparent lightgray transparent transparent;
    }
    .sm-custom.sm-vertical {

    }
    .sm-custom.sm-vertical a {
        padding: 9px 23px;
    }
    .sm-custom.sm-vertical a span.sub-arrow {
        top: 50%;
        margin-top: -5px;
        bottom: auto;
        left: auto;
        margin-left: 0;
        right: 10px;
        border-style: dashed dashed dashed solid;
        border-color: transparent transparent transparent lightgray;
    }
    .sm-custom.sm-vertical > li:first-child > a, .sm-custom.sm-vertical > li:first-child > :not(ul) a {

    }
    .sm-custom.sm-vertical > li:last-child > a, .sm-custom.sm-vertical > li:last-child > :not(ul) a {

    }
    .sm-custom.sm-vertical > li {
        border-left: 0 !important;
    }
    .sm-custom.sm-vertical ul {

    }
    .sm-custom.sm-vertical ul a {
        padding: 9px 23px;
    }
}

/* HAMBURGER BUTTON CSS ANFANG */
.main-menu-btn {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    text-indent: 28px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #555555;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
.main-menu-btn-icon:before {
    content: '';
    top: -7px;
    left: 0;
}
.main-menu-btn-icon:after {
    content: '';
    top: 7px;
    left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
    height: 0;
    background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
    display: none;
}
#main-menu-state:checked ~ #main-menu {
    display: block;
}
@media (min-width: 12em/*768px*/) {
    /* hide the button in desktop view */
    .main-menu-btn {
        position: absolute;
        top: -99999px;
    }
    /* always show the menu in desktop view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: block;
    }
}
/* HAMBURGER BUTTON CSS ENDE */