body {
	margin: 0;
	font-family: Arial;
	color: #ddd;
	background-color: #555;
	}

.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  /*width: 100%;*/
  min-width: 1800px;
  width: 100%;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background: #ddd;
  color: black;
}

.main {
  padding: 16px;
  margin-top: 30px;
  /*height: 1500px; /* Used in this example to enable scrolling */
}

#load_more {
	position: relative;
	color: #ddd;
	background-color: #444;
	padding: 20px;
	margin: auto;
	left: 50%;
	font-family: Arial;
	font-size: 20px;
	font-weight: bold;
	transform: translate(-50%, 0);
}

#load_more:hover {
	cursor: pointer;
	color: #d00;
	
}

.mini_img {
	transition: 0.3s;
	border-radius: 5px;
	border: 5px solid #ddd;
	cursor: pointer;
}

.mini_img:hover {
	opacity: 0.8;
	filter: brightness(180%);
	border: 5px solid #000;
}


/* 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 */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  /*#width: 80%;*/
  max-width: 690px;
  border: 5px solid #ddd;
  border-radius: 5px;
  padding: 0;
}

.prev_img {
	/*#display: none;
	#transition: 0.3s;*/
	position: absolute;
	background-color: rgba(0,0,0,0.5);
	padding:20px;
	top: 50%;
	margin: 5px;
	z-index: 3;
  transition: .5s ease;
  opacity: 0;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
	transform: translate(0, -50%);
}

.next_img {
	/*#display: none;
	#transition: 0.3s;*/
	position: absolute;
	background-color: rgba(0,0,0,0.5);
	padding:20px;
	top: 50%;
	margin: 5px;
	z-index: 3;
	right: 0px;
  transition: .5s ease;
  opacity: 0;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
	transform: translate(0, -50%);
}

#loading_circle {
	/*display: none;*/
	visibility: hidden;
	position: absolute;
	background-color: rgba(0,0,0,0.5);
	padding: 20px;
	z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  border: 1px solid #ddd;
}

.modal-content:hover ~ .prev_img {
	/*#display: block;
	#transition: 0s;*/
	opacity: 1;
  transition: .5s ease;
}

.modal-content:hover ~ .next_img {
	/*#display: block;
	#transition: 0s;*/
	opacity: 1;
  transition: .5s ease;
}

/*
#.prev_img:hover ~ .next_img {
#	opacity: 1;
#}
#
#.next_img:hover ~ .prev_img {
#	opacity: 1;
#}
*/

.prev_img:hover, .next_img:hover {
	background-color: rgba(0,0,0,1);
	display: block;
	opacity: 1;
	color: #d00;
}

.content_container {
	position: relative;
	max-width: 700px;
	margin: auto;
	transition: 0.3s;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}


@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}
/* Add Animation */
.modal-content, #caption, .content_container {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #d00;
  text-decoration: none;
  cursor: pointer;
}

a {
	color: #ccc;
	text-decoration: none;
}

a:hover {
	color: #d00;
}