* {
    box-sizing: border-box;
  }
  
  /* Style the body */
  body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
  }
  
  /* Header/logo Title */
  .header {
    padding: 1px;
    text-align: center;
    background: #d9d9da;
    color: rgb(46, 46, 46);
  }
  
  /* Increase the font size of the heading */
  .header h1 {
    font-size: 25px;
  }
  
  
  /* Column container */
  .row {  
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
  }
  
  /* Create two unequal columns that sits next to each other */
  /* Sidebar/left column */
  .side {
    /*-ms-flex: 37%; *//* IE10 */
    /*flex: 37%;*/
    flex: none; -ms-flex: none;
    background-color: #f1f1f1;
    padding: 20px;
    resize: horizontal; overflow: auto; min-width: 27%; max-width: 37%;
  }
  
  /* Main column */
  .main {   
    /*-ms-flex: 63%; *//* IE10 */
    /*flex: 63%;*/
    flex: 1; -ms-flex: 1;
    background-color: white;
    padding: 10px;
  }


  /* Footer */
  .footer {
    padding: 5px;
    text-align: center;
    background: #ddd;
  }
  
  /* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 700px) {
    .row {   
      flex-direction: column;
    }
  }


/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_dropdown_navbar

  /* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
  .navbar {
    overflow: hidden;
    background-color: #4b4d4e;
    top: 0;
  }
  
  /* Style the navigation bar links */
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
  }
  
  
  /* Right-aligned link */
  .navbar a.right {
    float: right;
  }
  
  /* Change color on hover */
  .navbar a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Active/current link */
  .navbar a.active {
    background-color: #666;
    color: white;
  }

  /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
  @media screen and (max-width: 400px) {
    .navbar a {
      float: none;
      width: 100%;
    }
  }

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: rgb(253, 252, 252);
  padding: 10px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: rgb(182, 182, 190);
}

.subnavbtn:hover {
  color: black;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  background-color: rgb(116, 137, 165);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #eee;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
}
