#mainnavigation{
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    /*font-family: 'Open Sans', sans-serif;*/
    font-size: 1em;
}
.menulistitem-ul{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
}
.menulistitem{
    position: relative;
}
.menulevel2{
    display: flex;
    flex: 1;
    background-color: #f5f5f5;
}
.menulevel2button{
    display: inline-block;
    border: none;
    margin: 0;
    background-color: #f5f5f5;
    color: #7d3f98;
    cursor: pointer;
    padding: 0.8em 0.8em;
    font-size: 1em;
    line-height: 1.1em;
    text-align: left;
    text-transform: none;
}
/*.menulevel2button:after{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 0;
    border-left: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    border-color: #7d3f98;
    transform: rotate(45deg);
    transition: transform .2s ease-out;
    content: "";
    margin-left: 8px;
    margin-right: 3px;
}
.open .menulevel2button:after{
    transform: rotate(-135deg);
    border-color: #ffffff;
}
*/

.menulevel2button:after{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 0;
    border-left: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    border-color: #7d3f98;
    transform: rotate(45deg) translateY(-4px);
    transition: transform .2s ease-out;
    content: "";
    margin-left: 3px;
    margin-right: 3px;
}

.open .menulevel2button:after{
    transform: rotate(-135deg) translateX(-3px) translateY(2px);
    border-color: #ffffff;
}
@media only screen and (max-width: 900px) {
    .menulevel2button:after{
        display: none;
    }
}
.menulevel2button:before{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 0;
    border-left: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    border-color: #7d3f98;
    transform: rotate(45deg) translateY(-4px);
    transition: transform .2s ease-out;
    content: "";
    margin-left: 8px;
    margin-right: 10px;
}
.open .menulevel2button:before{
    transform: rotate(-135deg) translateY(2px);
}
@media only screen and (min-width: 900px) {
    .menulevel2button:before{
        display: none;
    }
}
.menulevel2button:hover,.menulevel2button:focus,.menulevel2button:active{
    /*color: #ffffff;*/
    /*background-color: #bf2e1a;*/
    /*border-bottom: 5px solid red;*/
    text-decoration: underline;
}
.open .menulevel2button{
    color: #ffffff;
    background-color: #6c3484;
}

/*.open .menulevel2button:before{
    display: inline-block;
    transform: rotate(0deg);
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    bottom: 0;
    left: 0;
    border: none;
    margin: 0;
    padding: 0;
}*/



/* --------------------------------------------------------------------------------- */
.menulevel2button-linkonly{
    display: inline-block;
    border: none;
    margin: 0;
    background-color: #f5f5f5;
    color: #7d3f98;
    cursor: pointer;
    padding: 0.8em 0.8em 0.5em 0.8em;
    font-size: 1em;
    line-height: 1.1em;
    text-align: left;
    text-transform: none;
    text-decoration: none;
}
.menulevel2button-linkonly:hover,.menulevel2button-linkonly:focus,.menulevel2button-linkonly:active{
    /*color: #ffffff;
    background-color: #bf2e1a;*/
    /*border-bottom: 5px solid red;*/
    /*text-decoration: none;*/
    text-decoration: underline;
}
/* --------------------------------------------------------------------------------- */



.menulevel3{
    display: none;
}
li.open>.menulevel3 {
}
.menulevel3{
    position: absolute;
    width: 300px;
}
.menulevel3ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #7d3f98;

    border: 2px solid rgba(0,0,0,0.2);
    border-bottom: 10px solid rgba(0,0,0,0.2);
    border-radius: 0em 0em 0.2em 0.2em;
    overflow: hidden;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
}
.menulevel3li{
    font-size: 16px !important;
}
.menulevel3li a{
    color: #ffffff;
    display: block;
    font-size: 16px !important;
    line-height: 1em;
    padding: 0.6em 1em;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
}
.menulevel3li a:hover,.menulevel3li a:focus,.menulevel3li a:active{
    background-color: #000000;
}



@media only screen and (max-width: 900px) {
    .menulistitem-ul{
        display: block;
        width: 100%;
        position: relative;
    }
    .menulistitem{
        display: block;
        width: 100%;
        position: relative;
    }
    .menulevel2button{
        display: block;
        width: 100%;
        position: relative;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .open .menulevel2button{
        color: #ffffff;
        background-color: #6c3484;
        font-weight: 600;
    }
    .open .menulevel2button:before{
        border-color: #ffffff;
    }

    .menulevel2button-linkonly{
        display: block;
        width: 100%;
        position: relative;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .menulevel2button-linkonly:before{
        display: inline-block;
        width: 5px;
        height: 5px;
        border-top: 0;
        border-left: 0;
        border-bottom-width: 2px;
        border-right-width: 2px;
        border-style: solid;
        border-color: rgba(255,255,255,0);
        transform: rotate(45deg);
        transition: transform .2s ease-out;
        content: "";
        margin-left: 8px;
        margin-right: 10px;
    }
    .menulevel3{
        width: 100%;
        position: relative;
    }
    .menulevel3li a{
        padding-left: 3em;
    }
}




#menutoggle {
    margin: 0;
    border: none;
    font-size: 1em;
    display: none;
    width: 100%;
    padding: 0.5em;
    color: #d9d9d9;
    background-color: #172436;
    z-index: 10;
    position: relative;
}
#menutoggle:hover,#menutoggle:focus {
    display: block;
    width: 100%;
    color: #ffffff;
    background-color: #172436;
    cursor: pointer;
    text-decoration: underline;
}
@media only screen and (max-width: 900px) {
    #menutoggle {
        display: block;
    }
    .mainnavigation-list{
        display: block;
    }
}

@media only screen and (max-width: 900px) {
    #menulistitem-hideshow{
        display: none;
    }
}
