* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Monda, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: #000;
    box-sizing: border-box;
}

body {
    background-color: #fff;
}

strong {
    font-weight: 700;
}

#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 15vw;
    padding-left: 3vh;
}

#sidebar ul#menu {
    position: absolute;
    top: 50vh;
    margin-top: -75px;
    list-style: none;
}

#sidebar ul#menu li h1 a {
    font-weight: 700;
}

#sidebar ul#menu li a {
    line-height: 30px;
    transition: all 2s;
    font-size: 14px;
    position: relative;
}

#sidebar ul#menu li a.selected:before {
    content: "";
    display: block;
    height: 1px;
    background-color: #555;
    width: 2vh;
    margin-left: -3vh;
    position: absolute;
    top: 12px;
}

#togglemenu {
    display: none;
}

#sarafrattini {
    display: none;
}

#content {
    width: 80vh;
    float: right;
    margin-top: 10vh;
    margin-right: 20vh;
    text-align: justify;
}

#maskTop,
#maskBottom {
    position: fixed;
    background-color: #fff;
    height: 10vh;
    width: 100vh;
    right: 0;
}

#maskTop {
    top: 0;
}

#maskBottom {
    bottom: 0;
}

@media only screen and (orientation: portrait) {
    body {
        padding-top: 13vw;
    }
    #sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 13vw;
        width: 100%;
        padding: 0 5vw;
        z-index: 1;
        background-color: #fff;
    }
    #sidebar ul#menu {
        left: 100vw;
        position: absolute;
        top: 7vw;
        margin-top: 0;
        list-style: none;
        right: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ccc;
        opacity: 0;
        transition: top .5s, opacity .5s;
    }
    #sidebar ul#menu.aperto {
        left: 0;
        opacity: 1;
        top: 13vw;
    }
    #sidebar ul#menu li {
        text-align: right;
        padding: 1% 5%;
        border-bottom: 1px solid #ccc;
    }
    #sidebar ul#menu li:first-child {
        display: none;
    }
    #sidebar ul#menu li a {
        display: block;
        color:#000 !important;
    }
    #sidebar ul#menu li a.selected:before {
        display: none;
    }
    #sarafrattini {
        display: block;
        position: absolute;
        top: 50%;
        left: 5%;
        z-index: 1;
        width: 50%;
    }
    #sarafrattini a {
        position: absolute;
        line-height: 30px;
        font-size: 14px;
        font-weight: 700;
        transform: translateY(-50%);
    }
    #togglemenu {
        display: block;
        position: absolute;
        top: 50%;
        right: 5%;
        z-index: 1;
        transform: translateY(-50%);
        font-size: 20px;
    }
    #content {
        width: 100%;
        float: none;
        padding: 0 5vw;
    }
    #maskTop {
        display: none;
    }
    #maskBottom {
        height: 5vw;
    }
}