/* Gallery Start */
.gallery{
	float: left;
	width: 90%;
	margin-left: 5%;
	padding-bottom: 5rem;
}
.responsive {
	float: left;
	width: 20%;
	margin-left: 10%;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
div.img {
	background-color: rgba(255, 255, 255, 1);
	border: 0.3rem solid rgb(119, 119, 9);
}
div.img img {
	width: 96%;
	height: 20rem;
	margin-left: 2%;
	margin-top: 0.3rem;
	margin-right: 2%;
	cursor: pointer;
}
div.desc {
	padding-left: 0.5rem;
	padding-top: 1rem;
	padding-right: 0.5rem;
	padding-bottom: 1rem;
	color: black;
	font-size: 1.6rem;
	font-weight: 600;
	text-align: center;
}
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 1);
}
.close {
	position: absolute;
	width: 100%;
	left: 0;
	top: 5rem;
	color: #f1f1f1;
	font-size: 3rem;
	font-weight: bold;
	transition: 0.3s;
	text-align: center;
}
.close:hover, .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
#caption {
	margin: auto;
	display: block;
	width: 80%;
	margin-top: 10rem;
	margin-bottom: 1rem;
	color: #ccc;
	font-size: 2rem;
	text-align: center;
}
.modal-content, #caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}
.modal-content {
	margin: auto;
	display: block;
	height: 70%;
}

@-webkit-keyframes zoom {
	from {
		transform: scale(0)
	}
	to {
		transform: scale(1)
	}
}
@keyframes zoom {
	from {
		transform: scale(0.1)
	}
	to {
		transform: scale(1)
	}
}
.close {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 5%;
	color: #f1f1f1;
	font-size: 3rem;
	font-weight: bold;
	transition: 0.3s;
	text-align: center;
}
.close:hover, .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
/* Gallery finish */
@media screen and (max-width: 1080px){
	.middle_text_inner_gallery h3{
		width: 60%;
	}
	.responsive {
		width: 25%;
	    margin-left: 6.25%;
	}
	.modal-content {
		width: 95%;
		height: auto;
    }
}
@media screen and (max-width: 900px){
	.middle_text_inner_gallery h3{
		width: 70%;
	}
	.responsive {
		width: 40%;
	    margin-left: 6.6666666666666%;
	}
	
}
@media screen and (max-width: 767px){
	.middle_text_inner_gallery h3{
		width: 100%;
	}
	div.img img {
		height: auto;
	}
	.responsive {
		width: 80%;
	    margin-left: 10%;
	}
	.close {
		top: 1rem;
	}
	#caption {
		width: 90%;
	    margin-top: 6rem;
	    margin-bottom: 0.5rem;
	}
}
@media screen and (max-width: 400px){
	
}