body{
	/* top, right, bottom, left */
	margin: 50px 25% 50px 25%;
	background-color: white;
	color: lightgrey;
	text-align: center;
	font-family: Oswald, Geneva, sans-serif;
}

a{
	color: #008081;
}

img{
	/*border: groove 5px #cbd2e7;*/
}

p{
	color: black;
}

h1{
	color: #800020;
	width: 350px;
	/*padding: 5px;*/
	text-align: center;
	display: inline-block
}

h2{
	color: #800020;
	width: 250px;
	/*padding: 5px;*/
	text-align: center;
	display: inline-block
}

h3{
	color: white;
	width: 250px;
	/*padding: 5px;*/
	text-align: center;
	display: inline-block
}

h4{
	color: black;
	/*padding: 5px;*/
	text-align: center;
	display: inline-block
}

h5{
	color: #800020;
}

.grid-container{
	display: grid;
	grid-template-columns: auto auto;
	width: auto;
	margin: 0 auto;
	border: solid 1px green;
}

.grid-item{
	border: solid 1px blue;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 15px;
	text-align: center;
	margin: 0;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
 	float: left;
 	overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn{
 	font-size: 17px;
 	border: none;
 	outline: none;
 	color: white;
 	padding: 14px 16px;
 	background-color: inherit;
 	font-family: inherit;
 	margin: 0;
}

/* Style the dropdown content */
.dropdown-content{
 	display: none;
 	position: absolute;
 	background-color: black;
 	min-width: 160px;
 	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 	z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a{
 	float: none;
 	color: black;
 	padding: 12px 16px;
 	text-decoration: none;
 	display: block;
 	text-align: left;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover{
	background-color: #ddd;
	color: #800020;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content{
	display: block;
}

/* Colors the dropdown button black when hovered over */
.dropdown:hover{
	background-color: black;
}

/* The navigation menu */
.navbar {
	overflow: hidden;
	background-color: #800020;
	display: block;
}
/* Navigation links */
.navbar a {
 	float: left;
 	font-size: 16px;
 	color: white;
 	text-align: center;
 	padding: 16px 16px;
 	text-decoration: none;
 }
 /* Add a color to the active/current link */
.navbar a.active {
  background-color: black;
  /*color: #800020;*/
}

/* The subnavigation menu */
.subnav {
 	float: left;
 	overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
 	font-size: 16px;
 	border: none;
 	outline: none;
 	color: white;
 	padding: 16px 16px;
 	background-color: inherit;
 	font-family: inherit;
 	margin: 0;
}

/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
	background-color: black;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
	display: none;
	position: absolute;
	left: 0;
	background-color: black;
	max-width: 500px;
	width: 100%;
	z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
 	float: left;
 	color: white;
 	text-decoration: none;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
 	background-color: #eee;
 	color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
 	display: block;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.close {
   position: absolute;
   top: 15px;
   right: 35px;
   color: #f1f1f1;
   font-size: 40px;
   font-weight: bold;
   transition: 0.3s;
}
.close:hover,
.close:focus {
   color: #800020;
   cursor: pointer;
}

/*images are all slightly different dimensions, cropping must be fixed for consistency*/
.ImgThumbnail {
   border-radius: 5px;
   cursor: pointer;
   transition: 0.3s;
   /*height: 35%;
   width: 25%;*/
   max-height: 100%;
   max-width: auto;
   margin-bottom: 5px;
   transition: 0.3s;
}
.ImgThumbnail:nth-of-type(1) {
   margin-left: 0%;
   margin-top: 5%;
   /*margin-bottom: 5%;*/
}

.ImgThumbnail:hover {opacity: 0.7;}

.modal {
   display: none;
   position: fixed;
   z-index: 1;
   padding-top: 5%;
   /*padding-bottom: 100px;*/
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
    overflow: auto;
   background-color: rgb(0, 0, 0);
   background-color: rgba(0, 0, 0, 0.9);
}

.modalImage {
   margin: auto;
   display: block;
   /*width: 80%;
   height: 80%;
   max-width: 700px;
   max-height: 700px;*/
   max-height: auto;
   max-width: 80%;
   max-height: 80%;
   max-width: auto;
}

#caption {
   margin: auto;
   display: block;
   width: 80%;
   max-width: 700px;
   text-align: center;
   color: #ccc;
   padding: 10px 0;
   height: 150px;
}

.next,.prev {
	position:absolute;
	cursor: pointer;
  	top: 40%;
  	width: auto;
  	padding: 16px;
  	margin-top: -50px;
  	color: white;
  	z-index:1;
  	font-weight: bold;
  	font-size: 30px;
  	border-radius: 0 3px 3px 0;
  	user-select: none;
  	-webkit-user-select: none;
}
.next {
  right:0;
}
.prev{
	left:0;
}

.next:hover {
	color: #800020;
}

.prev:hover {
	color: #800020;
}

.row {
	display: flex;
	flex-wrap: wrap;
}

/* Create three equal columns that sits next to each other */
.column {
	flex: 25%;
	max-width: 33%;
	padding: 0 4px;
}

.column img {
	margin-top: 8px;
	vertical-align: middle;
	width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
	.column {
		flex: 33%;
		max-width: 33%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
	.column {
		flex: 100%;
		max-width: 100%;
	}
}
