/* Gallery styles */
.gallery img
{
	object-fit: cover;
	height: 300px;
	max-width: 100%;
	margin: 2px;
	transition: .25s;
}

	.gallery img:hover
	{
		filter: brightness(125%);
		transform: scale(1.1);
	}

/* Image details page styles */
.image-overview-block img
{
	max-height: 50vh;
	max-width: 100%;
	float: left;
	cursor: zoom-in;
}

.image-overview-block > div,
.image-overview-block > form
{
	display: inline-block;
	margin-left: 20px;
}

.image-overview-block h1
{
	margin-bottom: 0px;
}

/* Adaptive code */
@media only screen and (max-width: 700px)
{
	.gallery img
	{
		height: initial;
	}

		.gallery img:hover
		{
			transform: none;
		}
}

@media only screen and (max-width: 500px)
{
	.image-overview-block img
	{
		max-height: unset;
	}
}