/* Main Navigation - CSS Document */

/* Add a black background color to the top navigation */
.topnav {
	background: #003E7E;
    overflow: inherit;
	position: relative;
}

.topnav .container {
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
    padding-left: 40px;
	}

.topnav .container a .nav-logo {
    float: left;
    padding: 0;
    width: 35px;
    display: block;
}

/* Style the links inside the navigation bar */
.topnav a {
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .15px;
    color: #E4E4E4;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    padding: 20px 8px;
    display: block;
    line-height: 30px;
    text-align: center;
}
.topnav .navlog a  {
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .15px;
    color: #E4E4E4;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    padding: 5px 8px;
    display: block;
    line-height: 30px;
    text-align: center;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.topnav .dropdown {
  float: left;
  overflow: inherit;
}

/* Style the dropdown button to fit inside the topnav */
.topnav .dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.topnav .dropdown .dropbtn a {
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .15px;
    color: #E4E4E4;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    display: block;
    text-align: center;
    background-color: inherit;
    border: none;
    outline: none;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.topnav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.topnav .dropdown-content a {font-family: 'Roboto Condensed',sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: black;
    letter-spacing: .15px;
    text-decoration: none;
    text-transform: uppercase;
    float: none;
    padding: 6px 10px;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .topnav .dropdown:hover, .topnav .dropdown .dropbtn a:hover {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.topnav .dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.topnav .dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}