body { font-family: 'lato', sans-serif; } .container { max-width: 1000px; margin-left: auto; margin-right: auto; padding-left: 10px; padding-right: 10px; } h2 { font-size: 26px; margin: 20px 0; text-align: center; } li { border-radius: 3px; padding: 25px 30px; display: flex; justify-content: space-between; margin-bottom: 25px; } .table-header { background-color: #95A5A6; font-size: 14px; text-transform: uppercase; letter-spacing: 0.03em; } .table-row { background-color: #ffffff; box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1); } .col-1 { flex-basis: 85%; } .col-2 { flex-basis: 15%; } @media all and (max-width: 767px) { .table-header { display: none; } li { display: block; } .col { flex-basis: 100%; } .col { display: flex; padding: 10px 0; } } /* The sidebar menu */ .sidenav { height: 100%; /* Full-height: remove this if you want "auto" height */ width: 160px; /* Set the width of the sidebar */ position: fixed; /* Fixed Sidebar (stay in place on scroll) */ z-index: 1; /* Stay on top */ top: 0; /* Stay at the top */ left: 0; background-color: #111; /* Black */ overflow-x: hidden; /* Disable horizontal scroll */ padding-top: 20px; } /* The navigation menu links */ .sidenav input { padding: 6px 8px 6px 16px; text-decoration: none; font-size: 25px; color: #818181; display: block; } /* When you mouse over the navigation links, change their color */ .sidenav input:hover { color: #f1f1f1; } /* Style page content */ .main { margin-left: 160px; /* Same as the width of the sidebar */ padding: 0px 10px; } /* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */ @media screen and (max-height: 450px) { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} } /* Add a black background color to the top navigation */ .topnav { background-color: #333; overflow: hidden; } /* Style the links inside the navigation bar */ .topnav input { float: right; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } /* Change the color of links on hover */ .topnav input:hover { background-color: #ddd; color: black; } /* Add a color to the active/current link */ .topnav input.active { background-color: #04AA6D; color: white; }