#sidebar {
    width: 260px;
    transition: all .3s;
}

#sidebar.collapsed {
    width: 80px;
}

#main-content {
    margin-left: 260px;
    transition: all .3s;
}

#main-content.expanded {
    margin-left: 80px;
}