.sidebar-container { margin-top: 10px; height: 100%; display: -ms-flexbox; display: -webkit-box; display: -moz-box; display: -ms-box; display: box; -ms-flex-direction: row; -webkit-box-orient: horizontal; -moz-box-orient: horizontal; -ms-box-orient: horizontal; box-orient: horizontal; } .sidebar-content { padding-left: 10px; -ms-flex: 1; -webkit-box-flex: 1; -moz-box-flex: 1; -ms-box-flex: 1; box-flex: 1; } .sidebar { padding-right: 10px; border-right: 1px dotted #eee; font-size: 0.95em; max-width: 240px; width: 18%; -ms-flex: 0 100px; -webkit-box-flex: 0; -moz-box-flex: 0; -ms-box-flex: 0; box-flex: 0; } .sidebar a { text-decoration: none; } .sidebar li { list-style-type: none; line-height: 35px; border-bottom: 1px dotted #efefef; } .sidebar li:hover { border-left: 5px solid #555; padding-left: 8px; } .sidebar li.active { border-left: 5px solid #333; padding-left: 8px; } .sidebar li.active a { color: #333; font-weight: bold; } .sidebar li.active a:focus, .sidebar li.active a:hover { color: #555; }