
/* This is the class for all headers */
#header {
	background: #c40c23;
	padding: 0px 10px 10px 10px;
	margin: 0px 0px 0px 0px;
	overflow: auto;
	font-style: italic;
	font-weight: bold;
	text-align: center;
}

#header h1 {
	color: white;
	font-size: 2em;
}

/* This is for navigation bar with links that are identified as NAV */
#nav {
	background: #d95a19;
  overflow: auto;
	font-family: "Times New Roman", Times,serif;
	/* position: -webkit-sticky; */ /* Safari */
  /* position:  sticky; */ /* allows it to folow but we need to specify top or bottom  also
  it hides behind the map*/
  /*top: 0; */
  opacity: 0.9;
	z-index: 3 /* This ensures that the navigation bar goes on top of the map by ordering them */

}
#nav nav{
	margin: 0px 0px 0px 0px;
	padding: 0px;
}
#nav ul{
  overflow: hidden; /* Enable scrolling if the sidenav has too much content */
	margin: 0px 0px 0px 0px;
	padding: 0px;
}

#nav li {
	list-style-type: none;
  float: left;
  padding: 20px;
	border-right: 1px solid black;
	min-width: 100px;

}
#nav li:first-child{
	text-align: left;
	padding: 20px 80px 20px 0px;
}
#nav li:last-child{
	border-right: none;
	float:right;
}
#nav li a{ /* Style the a elements inside the list*/
	display: block;
	text-align: center;
	text-decoration: none;
	color: white;
	font-style: italic;
	font-weight: bold;
}
#nav li:hover {
  background: #eca013;
}
/* This is for the drop down menus in the navigation bar*/
#nav .dropdown{
    }

#nav .dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  margin: 10px 0px 0px -20px;

}
#nav .dropdown-content a{
	background: #d95a19;
  padding: 10px;
}
#nav .dropdown:hover, #nav .dropdown-content:hover .dropdown{
	background-color: #eca013;
	opacity: 1;
}

#nav .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;

}
#nav .dropdown-content a:hover {
	 background: #eca013;

}
/* A class for maps  */
#mapid {
	padding: 10px 10px 10px 50px;
	margin: 10px 10px 10px 10px;
	width: 900px;
	height: 600px;
	z-index: 1 /* This ensures that the navigation bar goes on top of the map by ordering them */
}
/* The style for the map control panel */
#cp {
	position: absolute;
    z-index: 2;
    background-color: #f1f1f1;
    border: 1px solid #636363;
    opacity: 0.9;
    padding: 10px;
    width: 250px;
    text-align: center;
    top: 12em;
    right: 1em;
}
/* the style for mpa legends */
.legend {
	background
	text-align: left;
	line-height: 18px;
	color: #555;
	padding: 10px;
	background-color: #f1f1f1;
}
.legend i {
	width: 18px;
	height: 18px;
	float: left;
	margin-right: 8px;
	opacity: 0.7;
}
/* Text styles for headers and paragraphs */
p{
	margin: 10px 15px 10px 10px;
	width: 90%;
	font-family: Tahoma, sans-serif;
}
h1{
font-family: "Times New Roman", Times, serif;	/* alternative for neat cursive: Vivaldi, cursive */
}
h2{
font-weight: bold;
margin: 15px 15px 15px 15px;
font-family: "Times New Roman", Times, serif;	/* alternative for neat cursive: Vivaldi, cursive */
}
/* Styles for Rmarkdown documents */
img {
  max-width:100%;
  height: auto;
}
.main-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.html-widget {
  margin-bottom: 20px;
}
/*styles for about us page */
#profile {
	width: 50%;
	text-align: justify;
}
#profile img{
		float: left;
		margin: 0px 15px 15px 10px;
}


/* For all CSS the last rule written will be implemented (cascading) Most properties are passed from parent ot child except certian proeprties like margin
Also the more specific a rule is (i.e. Id versus class versus all) then the more specific rule is applied*/
