/* navbar container */
.navbar {
  overflow: hidden;
}

/* links inside the navbar */
.navbar a {
  float: right;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* div class to position the dropdown */
.dropdown, .dropdown-two {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn, .dropdown-two .dropbtn-two {
  color: white;
  padding: 17.85px;
  font-size: inherit;
  border: none;
  outline: none;
  cursor: pointer; /* changes cursor into a hand on hover */
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* add a green background color to navbar links on hover */
/* TODO: change to same green as the hacker theme */
.navbar a:hover, .dropdown:hover, .dropbtn, .dropdown-two:hover, .dropbtn-two {
  background-color: #23b937;
}

/* dropdown content */
.posts-content, .other-content {
  display: none; /* hide by default */
  position: absolute;
  background-color: #f9f9f9;
  min-width: 180px; /* Increased width to accommodate Captain's Log */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0; /* Align dropdown with right edge of button */
}

/* links inside the dropdown */
.posts-content a, .other-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* add a grey background color to dropdown links on hover */
.posts-content a:hover, .other-content a:hover {background-color: #ddd;}

/* show the dropdown menu w/ js */
.show {display:block;}