.photogrid {
	width: 120px;
	height: 120px;
	float: left;
	text-align: center;
	margin: 15px 0px 0px 18px;
}

.photogrid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.albumgrid {
	width: 120px;
	height: 150px;
	float: left;
	text-align: center;
	margin: 15px 0px 0px 18px;
}

.albumgrid img {
	width: 100%;
	height: 80%;
	object-fit: cover;
	margin-bottom: 5px;
}

.page-nav {
	list-style-type:none;
	margin:6px 0 10px 0;
	padding:0;
}
.page-nav li {
	display:inline;
	padding:0 1px 0 1px;
}
.page-nav li a {
	padding:5px;
	background:#eee;
	text-decoration:none;
}
.page-nav li a:hover {
	background:#ebebeb;
}
.page-nav li.selected a {
	background:#333;
	color:white;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.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.9); /* Black w/ opacity */
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: auto;
  max-width: 1200px;
}

/* The Close Button */
.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;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer
}

.center {
    text-align: center;
}	

.prevnext {
    display: inline-block;
}

.prevnext a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
	font-size: 35px;
  	font-weight: bold;
  	text-align:center;

}

.prevnext a:hover:a:focus {
  	color: #999;
  	text-decoration: none;
  	cursor: pointer;
}

img {
  margin-bottom: -4px;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}