/* ==[Main rules]========================================================================================== */

a {
	color: #0f73c8;
	text-decoration: none;
}

a:hover {
	color: #dd0000;
}

.abbrev, .omittedposts {
	color: #707070;
	margin-top: 6px;
}

#ban-table {
	border-collapse: collapse;
}

#ban-table > tbody > tr > td {
	padding: 1px 3px;
	border: 1px solid black;
}

#ban-table > tbody > tr > th {
	padding: 3px;
	background: #b0e0e6;
	border: 1px solid black;
}

body {
	margin: 0;
	text-align: center;
}

body, html {
	background: #eee;
	color: #34343f;
	font: 14px Helvetica, Arial, sans-serif;
}

.description {
	margin: 7px 0;
	clear: both;
	text-align: center;
	font-size: 2em;
	line-height: 1em;
	color: #71819f;
	width: 100%;
}

hr {
	margin: 10px 0;
	clear: both;
	border-top: 1px solid #8ab2ff;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

.footer {
	font: 12px serif;
	clear: both;
	text-align: center;
}

.login {
	text-align: center;
}

.managebutton {
	margin: 0.2em;
}

.manageinfo {
	background: #00B930;
	text-align: center;
	padding: 2px;
	color: #fff;
	width: 100%;
}

.userdelete {
	float: right;
	white-space: nowrap;
}

.wrapper {
	display: inline-block;
	width: calc(100% - 210px);
	max-width: 1224px;
	text-align: left;
}

/* ==[ Posts ]============================================================================================= */

.backlinks {
	font-size: 75%;
	font-style: italic;
}

body:not(.access-enabled) .button-manage {
	display: none;
}

.button-manage {
	margin-left: 4px;
}

.catalog-block {
	overflow: hidden;
	vertical-align: top;
	display: inline-block;
	max-width: 280px;
	width: 280px;
	max-height: 350px;
	height: 350px;
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
	margin: 3px;
	padding-top: 6px;
	background: #ddd;
	color: #34343f;
	border: 1px solid #ccc;
	border-radius: 8px;
}

code {
	color: #000;
	padding: 0.2em 0.4em;
	margin: 0;
	background-color: rgba(27,31,35,0.07);
	border-radius: 3px;
	font-size: 85%;
}

del {
	-moz-text-decoration-color: red;
	text-decoration-color: red;
}

#delform > table {
	margin-bottom: 3px;
}

.filesize {
	font-size: 80%;
}

.filetitle {
	background: inherit;
	font-size: 1.1em;
	color: #506a81;
	font-weight: bold;
}

.image-container {
	display: inline-block;
	vertical-align: top;
}

.image-container > .filesize {
	margin-left: 20px;
	display: block;
}

.message {
	margin: 1em 20px 5px 20px;
	line-height: 19px;
	word-break: break-word;
}

.oppost > .backlinks {
	margin: 10px 0 4px 20px;
}

.oppost > .filesize {
	margin-left: 20px;
	display: block;
}

.oppost .link-button, .reply .link-button {
	height: 14px;
	padding: 0 4px 2px 4px;
	vertical-align: 1px;
	margin-top: -1px;
}

.poster-country {
	height: 14px;
	vertical-align: -2px;
}

.postername {
	color: #438ad7;
	font: bold 13px Verdana, Arial, sans-serif;
}

.postername-admin {
	color: #ff5050;
}

.postername-mod {
	color: #a000a0;
}

.postertrip {
	color: #228854;
}

.posteruid {
	padding: 0 3px;
	border-radius: 7px;
	cursor: pointer;
}

pre {
	padding: 5px 5px 4px 5px;
	margin: 3px 0;
	overflow-x: auto;
	max-width: 1150px;
	border: 1px dotted grey;
	border-radius: 4px;
	background: rgba(255,255,255,0.4);
	font-size: 85%;
	line-height: 1.45;
	clear: both;
}

pre + br {
	display: none;
}

.reflink {
	display: inline-flex;
	font-weight: bold;
	font-size: 13px;
}

.reflink a {
	color: inherit;
}

.reflink a:hover {
	color: #dd0000;
}

.reflink > img, .reflink > .like-container {
	margin-left: 4px;
}

.reply {
	background: #ddd;
	color: #34343f;
	border: 1px solid #ccc;
	max-width: calc(100vw - 255px);
	padding: 3px;
	border-radius: 8px;
}

.highlighted { /* important to be after .reply */
	border: 1px solid #00f;
	background-color: #dde0ec;
}

.reply > .backlinks {
	margin-top: 10px;
	padding: 4px 8px 0 8px;
	border-top: 1px solid #80808052;
}

.reply > .filesize {
	margin-left: 20px;
}

.reply > .message {
	min-width: 325px;
}

.sage::after {
	content: " sage";
	font-weight: bold;
	color: black;
}

.spoiler {
	background: #bbb;
	color: #bbb;
}

.spoiler:hover {
	color: #333;
}

.thumb {
	border: none;
	float: left;
	margin: 4px 20px;
}

.thumb + .message:not(:empty) {
	min-width: 450px;
}

.thumb-video {
	border-left: 5px dashed #555;
	border-right: 5px dashed #555;
	background-color: inherit;
	max-width: 230px;
	max-height: 230px;
}

.thumbnailmsg {
	font-size: small;
	color: #800000;
}

.underline {
	text-decoration: underline;
}

.unkfunc {
	background: inherit;
	color: #789922;
}

/* ==[ Postform ]========================================================================================== */

#captchaimage {
	display: block;
	margin: 5px 64px 0 64px;
	cursor: pointer;
}

#markup-bold {
	font-weight: bold;
}

.markup-button {
	width: 28px;
	padding: 0 0;
	font-size: 12px;
	line-height: 13px;
}

#markup-italic {
	font-style: italic;
}

#markup-underline {
	text-decoration: underline;
}

#message {
	width: 98%;
	height: 200px;
}

.postarea {
	text-align: center;
}

.postblock {
	padding: 0;
}

#postform {
	display: inline-block;
}

.postform-table {
	border-spacing: 0 2px;
	margin: 0 auto;
	text-align: left;
}

.postform-input {
	width: 98%;
}

.rules {
	font: 10px sans-serif;
	padding-left: 5px;
}

.rules li {
	margin-left: 1em;
}

.rules ul {
	margin: 0;
	padding-left: 0;
}

/* ==[ Like post button ]================================================================================== */

.like-container {
	height: 16px;
	cursor: pointer;
}

.like-counter {
	vertical-align: top;
	color: #ff5b9c;
}

.like-disabled {
	color: #bac1c8;
}

.like-enabled {
	color: #ff8cb9;
}

.like-icon > svg {
	width: 12px;
	height: 12px;
	margin-top: 1px;
	fill: currentColor;
}

/* ==[ Links and buttons ]================================================================================= */

.link-button {
	display: inline-block;
	padding: 1px 4px 2px 4px;
	min-width: 8px;
	background-image: linear-gradient(to bottom, #c9d4e6, #577dae);
	color: #fff !important;
	border-radius: 3px;
	text-align: center;
	font-weight: bold;
	font-size: 13px;
}

.link-button:hover {
	background: #5f83bb;
}

.navigation {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-image: linear-gradient(to top, #c1d3fb, #375a88);
}

#navigation-bottom {
	margin-top: 8px;
}

.navigation-link {
	margin: -1px 0 0 -1px;
	padding: 2px 8px 4px 8px;
	border: 1px solid #c0ccd7;
	color: #fff !important;
	font-size: 13px;
	font-weight: bold;
}

.navigation-link:hover {
	background: #5d7aa8;
}

.navigation-separator {
	flex-grow: 1;
}

.panel {
	text-align: center;
	clear: both;
}

#panel-top, #panel-adminbar {
	margin: 10px 0;
}

/* ==[ Mobile devices ]==================================================================================== */

@media only screen and (max-width: 770px) {
	div[id^="thumbfile"] > a {
		display: inline-block;
	}
	.navigation-separator {
		flex-grow: 0;
	}
	.message {
		min-width: auto !important;
	}
	.reply {
		max-width: 96vw;
	}
	.wrapper {
		display: block;
		width: auto;
	}
}

/* ==[ Dollchan Extension ]================================================================================ */

#de-main > hr {
	display: none;
}
