/*
---GALLERY---
*/
.gcon {
	width: 70%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: space-around;
	align-items: center;
	margin-bottom: 20px;
}

.tmbcon {
	max-width: 20%;
	align-self: center;
	margin: 5px;
	cursor: pointer;
}

.capt {
	text-align: center;
	font-style: italic;
}

.gthmb {
	display: block;
	margin: auto;
	max-width: 100%;
}
/*---MODAL---*/
.modfon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	cursor: default;
	line-height: 0;
	font-size: 0;
}

#lcon {
	z-index: 12;
	white-space: nowrap;
}

#largeImg {
	display: none;
	max-width: 700px;
	max-height: 700px;
	animation: 1s 1 normal imgAppear;
	border: 1px solid white;
}

.modclose {
	position: absolute;
	transform: translateX(-31px) translateY(1px);
	animation: 1s 1 normal imgAppear;
	cursor: pointer;
}

.garrow {
	position: absolute;
	height: 100px;
	cursor: pointer;
}

#leftArrow {
	left: calc(50% - 420px);
}

#rightArrow {
	right: calc(50% - 420px);
}

@keyframes imgAppear {
	from {opacity: 0;}
	to {opacity: 1;}
}

@media only screen and (max-width: 1024px) {
	.tmbcon {
		max-width: 40%;
	}

	#largeImg {
		width: 100%;
	}

	#lcon {
		display: inline;
		max-width: 80%;
		white-space: nowrap;
	}

	.garrow {
		display: none;
	}
}
