html, body {
	margin: 0;
	padding: 0;
	font-family: 'Times New Roman', Times, serif;
}

body {
	width: 100%;
	background-image: url("../Images/Background3.JPG");
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow-y: scroll; 
}

#Main {
	width: 80%;
	margin: 20px auto;
	background-color: rgba(255, 255, 255, 0.6);
	border: 8px double black;
	box-shadow: 10px 10px 50px 5px black;
}

#Header {
	margin: auto;
	text-align: center;
}

#HeaderLeft {
	max-width: 10%;
	padding-top: 80px;
	padding-left: 80px;
	float: left;
}

#HeaderRight {
	max-width: 10%;
	padding-top: 80px;
	padding-right: 80px;
	float: right;
}

#Logo {
	max-width: 700px;
	width: 80%;
	padding-bottom: 10px;
}

#Nav {
	height: 20%;
	text-align: center;
	font-size: 2em;
	background-image: linear-gradient(rgb(255, 255, 255), rgb(152, 126, 113));
}

#Nav a {
	text-decoration: none;
	color: rgb(152, 126, 113);
	text-shadow: 1px 1px black;
	margin: 0px;
	padding: 0px 5px 0px 5px;
	height: 100%;
	border-left: 1px solid rgb(152, 126, 113);
	border-right: 1px solid rgb(152, 126, 113);
}

#Nav li:hover, #Nav a:hover {
	background-color: rgb(152, 126, 113);
	color: white;
	text-shadow: 1px 1px black;
}

#Content {
	display: block;
	width: 60%;
	margin: auto;
	padding: 20px;
	font-size: 1.25em;
}

h1 {
	text-align: center;
}

#HomeImgs, #CorvidImgs, #DovImgs, #GullImgs, #HareImgs, #PigeonImgs, #GannetImgs, #PetrelImgs, #SongImgs, #DucksImgs {
	text-align: center;
}

#HomeImg, #CorvidImg, #DovImg, #GullImg, #HareImg, #PigeonImg, #GannetImg, #PetrelImg, #SongImg, #WishlistImg, #DucksImg {
    max-width: 250px;
    max-height: 150px;
	border: 1px solid black;
	box-shadow: 5px 5px 10px black;
}

#SpeciesNotice {
	text-align: center;
}

#SpeciesListOne, #SpeciesListTwo, #SpeciesListThree, #DonateList {
	justify-content: center;
	display: flex;
	flex-wrap: nowrap;
	
}

#SpeciesListOne > div,  #SpeciesListTwo > div, #SpeciesListThree > div, #DonateList > div{
	text-align: center;
	margin:1px;
	text-shadow: 1px 1px black;
	background-color: rgba(152, 126, 113, 0.6);
	border: 1px solid black;
}

#SpeciesListOne a, #SpeciesListTwo a, #SpeciesListThree a, #DonateList a {
	padding: 4px 4px 4px 4px;
	color: White;
  	text-decoration: none;
}

#ThreeRsList, #UsefulLinksList, #DownloadsList {
	list-style-type: none;
}

#Profile img {
	width: 200px;
}

#Gallery img {
	max-width: 250px;
	max-height: 250px;
	border: 1px solid blue;
	padding: 5px;
	margin: 5px;
}

#Footer {
	margin: auto;
	text-align: center;
}

#UserLogin {
	position: fixed;
	bottom: 0;
	right: 10px;
	border: 5px double black;
	background-color: rgb(255, 255, 255);
	padding: 5px;
}

/* CSS for Modal windows for Gallery */
.modal {
    /*display: none; */ /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

#myModal p {
	font-size: 25px;
}
 
.modal-content {
	position: relative;
	margin: auto;
	padding: 0;
	width: 100%;
	max-width: 1600px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#Modal-Content img{
	max-width: 800px;
	max-height: 800px;
	border: 2px solid white;
	border-radius: 5px;
}
#mess-content table {
	width:80%;
}
#Modal-Content tr #mess-content tr{
	width: 1600px;
}

#Modal-Content td {
	width: 800px;
	padding: 0px;
}

#Modal-Content p, #Modal-Content h3 {
	margin: 0px;
	padding: 0px;
}

#mess-content td {
	padding: 10px;
}

#Modal-Content td:last-child {
	background-color: rgba(255, 255, 255, 0.6);
	border: 2px solid white;
	border-radius: 5px;
}

/* Screen size CSS */
#HamMenu {
	display: none;
}

@media (max-width: 1375px) {
	#HeaderLeft, #HeaderRight {
		display: none;
	}
}

@media (min-width: 540px) and (max-width: 780px) {
    .view {
        width: 600px;
    }
}

@media (max-width: 1200px) {
	body {
		font-size: 55%;
	}
	/*Display menu*/
	#HamMenu {
		display: inline;
	}
	/* Style the navigation menu */
	.topnav {
		overflow: hidden;
		background-color: #333;
		position: relative;
	}
	
	/* Hide the links inside the navigation menu (except for logo/home) */
	.topnav #myLinks {
		display: none;
	}
	
	/* Style navigation menu links */
	.topnav a {
		color: white;
		padding: 14px 16px;
		text-decoration: none;
		font-size: 17px;
		display: block;
	}
	
	/* Style the hamburger menu */
	.topnav a.icon {
		background: black;
		display: block;
		position: absolute;
		right: 0;
		top: 0;
	}
	
	/* Add a grey background color on mouse-over */
	.topnav a:hover {
		background-color: #ddd;
		color: black;
	}
	
	/* Style the active link (or home/logo) */
	.active {
		background-color: #04AA6D;
		color: white;
	}
}