* {
  box-sizing: border-box;
}

/* Style the body */
/*https://www.w3schools.com/css/css_font.asp*/
body {
  font-family: 'Trebuchet MS', Helvetica, sans-serif; /*'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;*/
  margin: 0;
}

/* Header/logo Title */
.header {
  padding: 10px 2px 12px 2px; /*top, right, bottom, left*/
  text-align: center;
  background: #3b8c97;
  color: rgb(255, 255, 255);
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 20px;
}


/* 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: 27%; /* IE10 */
  flex: 27%;
  background-color: #e8f4f5;
  padding: 10px;
}

/* Main column */
.main {   
  -ms-flex: 73%; /* IE10 */
  flex: 73%;
  background-color: white;
  padding: 10px;
}

/* Footer */
.footer {
  padding: 5px;
  text-align: center;
  background: #b3e0e6;
}

/* 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: #3b8c97;
  top: 0;
}

/* Style the navigation bar links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 2px 10px; /*2 items: 1st top&bottom; 2nd left&right*/
  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: 2px 10px; /*2 items: 1st top&bottom; 2nd left&right*/
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, 162, 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: 2px 10px; /*2 items: 1st top&bottom; 2nd left&right*/
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;
}
