.Unitmenu {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    text-align: left;
}

.Unitmenu .Unitmenuitem:first-child {
    border-top: 0px solid #cccccc;
}

.Unitmenu .Unitmenuitem {
    border-top: 1px solid #cccccc;
    overflow: hidden;
    /* background: var(--main-bg-color); */
    font-weight: 500;
    color: rgb(0, 0, 0);
}

.Unitmenu .Unitmenubtn {
    display: block;
    padding: 16px 20px;
    /* background: var(--main-bg-color); */
    color: rgb(0, 0, 0);
    position: relative;
    text-align: left;
}

.Unitmenubtn:hover {
    text-decoration: underline;
    text-decoration-color: var(--main-color);
    text-decoration-thickness: 2px;
}
.Unitmenubtn.active {
    text-decoration: underline;
    text-decoration-color: var(--main-color);
    text-decoration-thickness: 2px;
}
/*.Unitmenu .Unitmenubtn:before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;*/
    /* background: var(--main-bg-color); */
    /*left: 20px;
    bottom: -7px;
    transform: rotate(45deg);
}*/

.Unitmenu .Unitmenubtn i {
    margin-right: 10px;
    color: #000;
}

.Unitmenu .smenu {
    background: #e0e4e9;
   /* transition: 1s ease;*/
    display: none;
    /*animation-duration: 0.9s;*/
    animation-delay: 0.5s;
    animation-name: fadeInUp;
}

.Unitmenu .smenu a {
    color: rgb(0, 0, 0);
    display: block;
    padding: 14px 26px;
    font-size: 14px;
    margin: 0;
    position: relative;
}



    .Unitmenu .smenu a:before {
        content: "";
        width: 5px;
        height: 100%;
        position: absolute;
        background: #000;
        left: 0;
        top: 0;
        animation-delay: 1s;
        animation-name: revert-layer;
        opacity: 0;
    }

.Unitmenu .smenu a:hover::before {
    opacity: 1;
}
    .Unitmenu .smenu>a.active:before {
        opacity: 1;
    }
    /*#profile:hover .smenu {
    max-height: 100%;
}*/
    .Unitmenu .Unitmenuitem:target .smenu {
        max-height: 10em;
    }