/* CSS for advanced search panel from W3C (edited)! */ /* The sidepanel menu */ .sidepanel { width: 0; /* hidden @start, expanded with JS */ position: fixed; /* Stay in place */ z-index: 1; /* Stay on top */ top: 200px; /* shift down (under nav bar) */ left: 0; overflow-x: hidden; /* Disable horizontal scroll */ padding: 0; transition: 0.4s; /* 0.4 second slide transition*/ } /* Add padding to side panel */ .sidePanelWrapper { padding: 10px; background-color: #191919; color: #fff; } /* Put heading and close cross next to each other */ .sidepanel-header { display: flex; justify-content: space-between; } /* Cross Styling */ .sidepanel a { padding: 8px 8px 8px 32px; text-decoration: none; color: #E1E1E1; transition: 0.3s; } /* When you mouse over the navigation links, change their color */ .sidepanel a:hover { color: #ffaeae; } /* Position and style the close button (top right corner) */ .closebtn { top: 0; font-size: 36px; }