/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
	list-style-type: none;
	padding: 0;
	background-color: #C5C5C5;
	z-index: 1;
	width: 80%;
	display:none;
	position: absolute;
	right: 6%;
	top: 70px;
}

/* Float the list items side by side */
ul.topnav li {
	float: right;
	}

/* Style the links inside the list items */
ul.topnav li a {

	display:none;
  text-decoration: none;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.3em;
	font-style: italic;
	color: #9A2B08;
	line-height: 43px;
	background-color: #aaa;
	height: 2.2em;
	padding: 9px 0 0 10%;
	margin-top: 3px;
 
}

/* Change background color of links on hover */
ul.topnav li a:hover {
	color: #fff;
}

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


/* When the screen is less than 680 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
@media screen and (max-width:570px) {
 
   .icon  {
    display: block;
   position: absolute;
    right: 10%;
    top: 19px;
  z-index: 2;
/*  font:Arial, Helvetica, sans-serif;
*/     
  }
  .icon img {
	  width: 1em;
	  height: 1em;
  }
  .icon a {
    text-decoration: none;
    color:#9a2b08;
    font-size: 2em;
    font-weight: bold;  
	}
}



/* 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 */
@media screen and (max-width:570px) {
  ul.topnav.responsive {
    display: block;
    
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
    
  }
  ul.topnav.responsive li a {
    display: block;
   
  }
}