﻿ /* Add a black background color to the top navigation */
.topnav {
  	overflow: hidden;
	font-weight: bold;
	font-size: 14pt;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #000;
  padding: 20px 25px 22px;
  text-decoration: none;
  font-size: 14pt;
}

/* Add an active class to highlight the current page */
.active {
  color: #243c79;
}

/* 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 */
.dropdown {
  float: left;
  overflow: hidden;

}

/* DROPDOWN BUTTONS */
.dropdown .dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  color: white;
  padding: 4px 15px 4px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
font-weight: bold;
}

/* Style the dropdown content (hidden by default) ????????????????? */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #262262;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
	border-left: 1px solid #ed1c24;
	margin-left: -1px;
	border-bottom: 1px solid #ed1c24;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;	
	background-image: url(../images/line.png);
	background-repeat: no-repeat;
	font-size: inherit;
}

/* ON HOVER COLOR CHANGE */
.topnav a:hover, .dropdown:hover .dropbtn {
  color:#ed1c24;
	border-top: 5px solid #ed1c24;
}

/* DROPDOWN BOX LINK STYLING ON HOVER */
.dropdown-content a:hover {
  background-color: #ed1c24;
  color: #fff;
}

/* DROPDOWN BOX BACKGROUND STYLING */
.dropdown:hover .dropdown-content {
	background-color: #262262;
	color: #fff;	
  display: block;
}





/*HAMBURGER STYLING









/* HAMBURGER LINK STYLING 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: 800px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
	background-color: #262262;

	    
  }
  .topnav a.icon {
    float: right;
    display: block;
	  	/*background-image: url('../images/topnav.png');*/
	background-repeat: repeat-x;
	background-size: cover;
	  margin-right: 20px;
  }
}

/* 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: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
	background-image: none;


	  
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;	 
	background-color: #262262;
	  border-bottom: 1px solid #000;font-size: inherit;
	  /*padding-top: 20px;
	  padding-bottom: 20px;*/
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;border-bottom: 1px solid #000;font-size: inherit;	 /* padding-top: 20px;
	  padding-bottom: 22px;*/
	  
  }
} 