/* CSS file used for sidebar page on awards.midlandacs.org */
/* this file changes the font and page colors for the site */
/* by Mark Jones in February 2022 */
/* last modified on 27 Februrary 2022 */

/* controls for the text used throughout the page */
 body {
  font-family: "Lato", sans-serif;
}

/* controls the look of the left side navigation panel */
.sidenav {
  height: 100%;
  width: 160px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #00008B;
  overflow-x: hidden;
  padding-top: 20px;
}

/* controls the look of the left side navigation panel text */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #FFFF00;
  display: block;
}

/* changes the color seen when hovering over a link in the navigation panel */
.sidenav a:hover {
  color: #f1f1f1;
}

/*  creates the space for the navigation panel on left of the page */
.main {
  margin-left: 160px; /* Same as the width of the sidenav */
  font-size: 22px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/* further page tweaks */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
