.navigation *{
    box-sizing: border-box;
}
.bg-dark,
.bg-dark .dropdown-menu {
    background-color: transparent!important;
    border-top: 1px solid #5691CD;
}
.sticky nav.navbar.navbar-expand-lg.fixed-top.navbar-dark.bg-dark {
    background: #5691CD!important;
    padding: 0 5px;
}
.navigation {
    position: fixed;
    top: 0px;
    height: 90px;
    right: 0px;
    width: auto;
    /*background: #2196f3;*/
    transition: 0.5s;
    z-index: 100000;
    overflow: hidden;
    width:50%;
    max-width:540px;
}

.navigation.show {
    height: 100vh!important;
}

.navigation.show {
    height: 100%;
    overflow: scroll;
}

.navigation .toggle {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    /*background: #2196f3;*/
    color: black;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    font-size: 20px;
    cursor: pointer;
}

.navigation .toggle:before {
    content: '';
    margin-right: 10px;
}

.navigation .toggle.show:before {
    content: 'Südtiroler Bildungszentrum';
    margin-right: 10px;
}

.navigation .toggle span {
    position: relative;
    width: 20px;
    height: 50px;
}

.navigation .toggle span::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
    transition: .5s;
}

.navigation .toggle span::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
    transition: .5s;
}

.navigation .toggle.show span::before {
    transform: rotate(225deg);
    top: 24px;
}
.navigation .toggle.show span::after {
    transform: rotate(135deg);
    bottom: 24px;
}





ul.menu {
    padding: 0;
    list-style: none;
    width: 450px;
    /* margin: 20px auto; */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    clear: both;
    display: table;
    margin-bottom: 100px;
    box-shadow: none!important;
}
ul.menu .list {
    font-size: 14px;
    /*border-bottom: 1px solid #324252;*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.15);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    vertical-align: sub;
    /*background: #3e5165;*/
    clear: both;
    border: none;
    box-shadow: none;

}

.navigation.show ul.menu .list {
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.15);
}

li.list a.dropdown-item.dropdown-hide:after {
    content: "+";
    font-family: FontAwesome;
    position: absolute;
    margin-left: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
}

ul.menu .list a.nav-link.dropdown-hide:after {
    content: "+";
    font-family: FontAwesome;
    position: absolute;
    margin-left: 20px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
}
ul.menu .list a {
    text-decoration: none;
    color: #fff;
    padding: 17px 0px 17px 25px;
    display: block;
    height: 100%;
    box-sizing: border-box;
}
ul.menu .list a:hover {
    background-color: #1b6ca8;
    transition: 300ms all;
    color: white;
}
ul.menu .list .items {
    height: 0px;
    overflow: hidden;
}
ul.menu .list .items a {
    padding: 17px;
}
ul.menu .list .items a:hover {
    background-color: #1b6ca8;
    color: #fff;
    transition: 300ms all;
}
ul.menu .list:last-child {
    border-bottom: none;
}

li.list.dropdown.active a.nav-link.dropdown-hide:after {
    content: "-";
    font-family: FontAwesome;
    position: absolute;
    margin-left: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
}

li.list.dropdown.active ul li.list.active a.dropdown-item.dropdown-hide:after {
    content: "-";
    font-family: FontAwesome;
    position: absolute;
    margin-left: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
}

/* ul.menu .active:after {
    content: "+";
    font-family: FontAwesome;
    position: absolute;
    right: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
} */
/* ul.menu .active:before {
    content: "-";
    font-family: FontAwesome;
    position: absolute;
    left: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #fff;
} */
ul.menu .active > .items {
    display: block;
    background: #3f5d79;
    padding: 0px;
    height: auto;
    color: #fff;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms;
    clear: both;
    float: left;
    width: 100%;
}
ul.menu .active > .items li {
    padding: 0px;
    /*border-bottom: 1px solid #324252;*/
    box-shadow: 0px 0px 1px rgba(255, 255, 255, 0.15);
    list-style: none;
}
ul.menu .active > .items li:last-child {
    border-color: transparent;
    padding-bottom: 0px;
}
ul.menu .active > .items .active > .items {
    background-color: #3f5d79;
}
ul.menu .active > a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}
ul.menu .active .list {
    background: #5691CD;
}
ul.menu .active .list a {
    padding: 17px 0px 17px 45px;
}
li.list.dropdown.active li.list.active > ul a{
    padding: 17px 0 17px 70px;
}
.navigation.show {
    background: #5691CD;
}

.toggle.show {
    color: white;
}

.navigation .toggle.show span::before, .navigation .toggle.show span::after {
    background:white;
}
.sticky .navigation {
    height: 70px;
}

.sticky a.navbar-brand img {
    /* width: 90%; */
    height: 65px;
    width: auto;
}

.sticky a.navbar-brand {
    padding: 2.5px 0;
    margin: 0;
}

.sticky .navigation .toggle {
    height: 70px;
}



.subpages {
    background: #5691CD!important;
    padding: 0 5px;
}

.subpages a.navbar-brand img {
    height: 65px;
    width: auto;
}

@media (max-width: 600px) {
    .navigation.show {
        top: auto;
        width: -webkit-fill-available;
        width: -moz-fit-content;
    }
}


/* Lang Menu */
ul.languages {
    margin-left:0;
    padding-left:inherit;
    width:85%;
}

ul.languages li {
    list-style: none;
}

ul.languages li a {
    color: white;
    font-size:14px;
}

ul.languages li a:hover{
    color: white;
    text-decoration:underline;
}

ul.languages .nav-link {
    padding: 0;
}

ul.languages li {
    padding: 2px 25px;
}