#oldnews {
	text-align: right;
}

@media screen and (max-width: 767px) {
	#gallery {
		margin: -5px auto 0px;
		width: 340px;
		height: 315px;
	}

	#gallery img {
		width: auto;
		max-width: 300px;
		max-height: 300px;
		object-fit: contain;
	}

	.title, .gallery-item {
		width: 340px;
		height: 265px;
		margin-right: 10px;
		padding-top: 10px;
		font-size: 14px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

@media screen and (min-width: 768px) {
	#gallery {
		margin: -5px auto 0;
		width: 720px;
		height: 490px;
	}

	#gallery img {
		max-width: 680px;
		max-height: 400px;
		object-fit: contain;
	}
	
	.title, .gallery-item {
		width: 720px;
		height: 450px;
		margin-right: 10px;
		padding-top: 10px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

@media screen and (max-width: 900px) {
	.flickity-button {
  		display: none;
	}
}

@media screen and (min-width: 901px) {
	/* smaller, dark, rounded square */
	.flickity-button {
		background: #333;
	}
	.flickity-button:hover {
		background: #F90;
	}

	.flickity-prev-next-button {
		width: 30px;
		height: 30px;
		border-radius: 5px;
	}
	/* icon color */
	.flickity-button-icon {
		fill: white;
	}
	/* position outside */
	.flickity-prev-next-button.previous {
		left: -40px;
	}
	.flickity-prev-next-button.next {
		right: -40px;
	}
}
