#part1 .textblock {
	background-image: url("/img/contest_header_bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#part1 .imageblock {
	background-image: url("/img/gallery_header.jpg") !important;
}
#post-show {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	padding-bottom: env(safe-area-inset-bottom);
}
.post-visible {
	display: block !important;
}
#post-show-card {
	display: flex;
	max-height: 100vh;
	min-height: 100vh;
	max-width: 80vw;
	min-width: 80vw;
	margin: auto;
	height: auto;
	flex-flow: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
}
#post-show-image {
	flex: 0 0 auto;
	max-width: 80vw;
	aspect-ratio: 1 / 1;
	margin: 5rem auto;
}
#post-show-signature {
	flex: 0 0 auto;
	width: 80%;
	font-size: 4rem;
	font-weight: 700;
	color: white;
	margin: .5rem 0;
}
#post-show-age {
	flex: 0 0 auto;
	width: 80%;
	font-size: 2rem;
	text-align: left;
	margin: .5rem 0;
}
#post-show-text {
	flex: 1 1 auto;
	width: 100%;
	font-size: 3rem;
	color: white;
	margin: 0.5rem 0 1rem 0;
	overflow-y: scroll;
}
#rightside {
	flex: 1 1 auto;
	width: 100%;
}
#gallery {
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	width: 80%;
	justify-content: space-around;
	margin: auto;
	align-items: flex-start;
}
.gallery-card {
	margin: 20px;
}
.gallery-image {
	border-top: 14px;
	border-right: 15px;
	border-bottom: 14px;
	border-left: 15px;
	border-style: solid;
	padding: 19px 20px;
	background: white;
}
.like-from-smish {
	display: none;
	position: relative;
}
#icon-close {
	position: absolute;
	width: 6rem;
	top: 0;
	right: 0;
	margin: 4rem;
}
#arrows {
	text-align: center;
}
#arrow-left {
	position: absolute;
	width: 6rem;
	top: 40vh;
	left: 0;
	margin: 4rem;
}
#arrow-right {
	position: absolute;
	width: 6rem;
	top: 40vh;
	right: 0;
	margin: 4rem;
}
.gallery-signature {
	font-size: 18px;
	color: black;
}
.gallery-text {
	color: black;
}
@media (max-width: 700px) {
	#post-show-text {
		height: 30vh;
		max-height: 30vh;
	}
	#icon-close {
		position: relative;
		right: auto;
		margin: 1rem;
	}
	#arrow-left {
		position: relative;
		top: auto;
		left: auto;
		margin: 1rem 4rem;
	}
	#arrow-right {
		position: relative;
		top: auto;
		right: auto;
		margin: 1rem 4rem;
	} 
}
@media (orientation: landscape) {
	#post-show-card {
		flex-flow: row;
	}
	#post-show-image {
		max-width: 50vw;
		min-width: 30vw;
		margin: auto 10vw auto 0;
	}
	#rightside {
		display: flex;
		flex-flow: column nowrap;
		height: 80vh;
		width: 50vw;
	}
	#post-show-signature {
		flex: 0 0 auto;
	}
	#post-show-age {
		flex: 0 0 auto;
	}
	#post-show-text {
		flex: 1 1 auto;
		width: 100%;
	}
	#arrows {
		flex: 0 0 auto;
		position: relative;
		height: 10vh;
		width: auto;
	}
    #arrow-left {
		position: relative;
		height: 6rem;
		width: auto;
		top: auto;
		left: auto;
	}
	#arrow-right {
		position: relative;
		height: 6rem;
		width: auto;
		top: auto;
		left: auto;
	}
}
@media (min-width: 701px) {
	.gallery-card {
		width: 200px;
	}
}
@media (min-width: 900px) {
	.gallery-card {
		width: 230px;
	}
}
@media (max-width: 749px) {
}
@media (min-width: 1024px) {
	.gallery-card {
		width: 230px;
	}
}
@media (max-width: 1025px) {
}
@media (min-width: 1200px) {
}
@media (max-width: 1201px) {
}
@media (min-width: 1440px) {
}
@media (max-width: 1440px) {
	
}
@media (min-width: 1580px) {
}
@media (min-width: 1920px) {
}
@media (min-width: 2380px) {
}
