
/* Top Centred Copyright */
#header p {
	text-align: center;
	color: white;
	font-size: 0.5em;
}

/*  ID of large modal image*/
#modalImg {
	max-width: 75%;
	max-height: 75%;
	/* These commands centre the image*/
	position: fixed;
	top: 50%;
	left: 50%;
	/* Centre is now top left need to move */
	transform: translate(-50%, -50%);

}

/* Next & previous buttons */
#previous,
#next {
	cursor: pointer;
	position: absolute;
	top: 40%;
	width: auto;
	margin-top: -50px;
	margin-left: 5px;
	color: white;
	font-weight: bold;
	/* font-size: 2em; */
	font-size: 1em;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
}

/* Position the "next button" to the right */
#next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* The Close Button */
#quitModal {
	position: absolute;
	top: 15px;
	right: 1px;
	color: #f1f1f1;
	/* font-size: 2em; */
	font-size: 1em;
	font-weight: bold;
	transition: 0.3s;
}


@media only screen and (max-width: 700px){
	#previous,
	#next,
	#quitModal {
		font-size: 20px;
	}
}

#quitModal:hover,
#quitModal:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}


/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
	position: absolute;
	bottom: 0.15vh;
	margin: auto;
	display: block;
	width: 100%;
	text-align: center;
	color: white;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.7em;
}


/* Add Animation - Zoom in the Modal */
/*
#caption {
	animation-name: zoom;
	animation-duration: 0.6s;
}
*/

@keyframes zoom {
	from {
		transform: scale(0)
	}
	to {
		transform: scale(1)
	}
}

#gallery {
        display: flex;
        flex-wrap: wrap;
				justify-content: center;
    }

.tn{
	margin: 5px;
	/* border: 1px solid maroon; */
	border: 1px solid grey;
	float: left;
	width: 360px;
}

@media only screen and (max-width: 700px){
	.tn {
		width: 250px;
	}
}


.tn:hover {
	border: 1px solid #777;
}

.tn {
	cursor: pointer;
}

@keyframes zoom {
	from {
		transform: scale(0)
	}
	to {
		transform: scale(1)
	}
}

#modalSection {
	display: none;
}

#modelessSection {
	display: block;
}
