#menu-sx-opened-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 300px;
    background-color: var(--colore-sfondo);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transform: translateX( calc( -100% - 300px ) );
    transition: 1s;
    z-index: 10;
}
.menu-sx-opened-show {
   transform: translateX(0px) !important;
}
.menu-sx-opened-hide {
   transform: translateX( calc( -100% - 300px ) );
}

#menu-sx-opened-close {
    display: flex;
    justify-content: flex-end;
    margin-right: 400px;
    margin-top: 30px;
}
#menu-sx-opened-close img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid var(--colore-secondario);
    border-radius: 100%;
    padding: 5px;
    transition: 1s;
}
#menu-sx-opened-close img:hover {
    transform: scale(1.2);
}
.menu-sx-opened {
    list-style-type: none;
}
.menu-sx-opened a {
    cursor: unset;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--colore-secondario);
}
.menu-sx-opened  .sub-menu {
    padding-left: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.menu-sx-openend-subvoice {
    list-style-type: none;
}    
.menu-sx-openend-subvoice a {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-transform: capitalize;
    font-weight: 400;
    color: var(--colore-principale);
    padding-left: 40px;
}
.menu-sx-openend-subvoice a::before {
    position: absolute;
    content: '';
    background-image: url(/wp-content/themes/dmg-theme/menu/img/left-arrow.svg);
    background-size: 30px 30px;
    height: 30px;
    width: 30px;
    left: 0px;
    cursor: pointer;
    transition: 1s;
    transform: rotate(0deg);
    transform-origin: center center;
}
.menu-sx-openend-subvoice a:hover::before {
    transform: rotate(180deg) !important;
}
.menu-sx-openend-subvoice a{
    transition: 0.5s;
}
.menu-sx-openend-subvoice a:hover{
    color: var(--colore-secondario);
    font-weight: 600;
}