/* Let viewtopic media use the full post column after the top action tools. */
.ct-topic-post .postbody > .content,
.ct-topic-post .postbody > .attachbox {
	clear: both;
}

.ct-topic-post .postbody > .attachbox {
	float: none;
	width: 100%;
	margin: 10px 0 0;
	box-sizing: border-box;
}

.ct-topic-post .postbody > .attachbox .attach-image {
	width: 100%;
	max-height: none;
	overflow: visible;
}

.ct-topic-post .postbody > .attachbox .attach-image img {
	max-width: 100%;
	height: auto;
}

/* Historical photo recovery card styling & link reset */
.ct-lost-photo {
	display: inline-block;
	max-width: 100%;
	vertical-align: top;
	margin: 4px 0;
}

.ct-lost-photo.is-lost {
	display: block;
	max-width: 540px;
}

.ct-lost-photo.is-lost > img,
.ct-lost-photo img[hidden] {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.ct-lost-photo-card,
.ct-lost-photo-card * {
	text-decoration: none !important;
}

.postlink.ct-lost-link,
.postlink.ct-lost-link:hover,
.postlink.ct-lost-link:active,
.postlink.ct-lost-link:focus,
a.ct-lost-link,
a.ct-lost-link:hover,
a.ct-lost-link:focus,
a.ct-lost-link:active,
a:has(> .ct-lost-photo),
a:has(> .ct-lost-photo):hover,
a:has(> .ct-lost-photo):focus,
a:has(> .ct-lost-photo):active {
	border: 0 !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	padding: 0 !important;
	padding-right: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	display: block;
	max-width: 540px;
}

