body {
	background: #DCDCDC;
	margin-left: 1%;
	margin-right: 1%;
	font-family: Roboto, Arial, sans-serif;}

/* NAVIGATION BAR starts here */
nav{
  background-color: #064420;
  width: 100%;
  z-index: 2; /* Ensures the header stays on top */}
  
.menu-btn {
  font-size: 1.1rem;
  font-weight: regular;
  display: inline-block;
  text-align: center;
  background-color: #064420;
  color: snow;
  padding: 1px;
  border: none;
  width: 60%;}

.dropdown-menu {
  position: relative;
  display: inline-block;
  width: 15%;}

.menu-content {
  display: none;
  position: absolute;
  /* width: 100%; */
  background-color: #064420;
  min-width: 120px;
  z-index: 3;}
  
.logo,.links,.links-hidden {
  font-size: 1.1rem;
  font-weight: regular;
  display: inline-block;
  min-width: 120px;
  text-decoration: none;
  padding: 15px;
  } 

.links,.links-hidden {
  color: snow;}
  
.logo {
  color: #daa520;
  /* padding: 1px;
  /* border: none; */
  /* width: 60%; */
}

.links-hidden:hover,.links:hover {
  background-color: #064420;}
  
.dropdown-menu:hover .menu-btn {
  font-weight: bolder;
  color: white;
  display: block;}

.dropdown-menu:hover .menu-content {
	color: green;
  display: block;}
  
  .menu-btn:hover .menu-content {
  font-weight: bolder;
  font-size: 5rem;
  color: blue;
  display: block;}



#myInput {
 background-image: url('images/search.png');
 background-position: 5px 5px;
 background-repeat: no-repeat;
 width: 90%;
 text-align: left;
 text-indent: 30px;
 font-size: 1rem;
 padding: 8px 10px 8px 10px;
 margin-bottom: 12px;
}

.hamburger {
  color: #daa520;
  font-weight: bolder;
  display: none; }

nav.openNav div.dropdown-menu{
  display: block;
  width: 100%;}

/* END of NAVIGATION BAR */

/* Main Content starts here */
h1 {font-weight: bold;
  font-size: 1.3rem;
  color: black;
  text-align: center;}

#NGSL_table{ 
    width: 100%; 
    /* border-collapse: collapse; */}

th, td {font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 10px 20px 10px 20px;
  color: black;}

/* This is a sticky header for a table */
th {
  position: sticky;
  top: 0;
  font-weight: bold;
  background-color: #c8e6c8;
  text-align: left;}

/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #fffff0;}

tr:nth-of-type(even) { 
  background: #e6fff5;}

table tr:hover {
  background-color: #f1ece4;
}

/* FOOTER starts here */
footer {
  display: flex;
  margin-top: 8px;
  margin-bottom: 8px;
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #064420;
  color: white;
  padding: 0px;
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-right {
  flex: 1;
  text-align: right;
  margin-right: 20px;
}

footer .link a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}


/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media screen and (max-width: 880px) {

  nav a:not(:first-child) {
    display: none; }
  
  nav a.hamburger {
    float: right;
    display: block;
    padding: 15px;}

  .dropdown-menu {
    display: none;
	  float: center;
    padding: 10px 0px;
  }
  
  nav.openNav a.hamburger {
      position: relative;
  }
  nav.openNav a {
      float: none;
      display: block;
      text-align: center;
      /* padding: 10px 0px; */
  }

	/* Force table to not be like tables anymore */
	table, th, td, tr { 
		display: block; }
	
	/* Hide table headers (but not display: none;, for accessibility) */
	th { 
		position: absolute;
		top: -9999px;
		left: -9999px;}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 35%; }
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 15px;
		font-size: .75em;
		left: 3px;
		width: 40%; 
		padding-right: 10px; 
		white-space: nowrap;}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Rank"; }
	td:nth-of-type(2):before { content: "Word"; }
	td:nth-of-type(3):before { content: "Pronunciation"; }
	td:nth-of-type(4):before { content: "PoS"; }
	td:nth-of-type(5):before { content: "Definition"; }
}

