/* base style */
body {
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif
}

#board_index_header {
	text-align: center;
}

#staff_dashboard_title, .title {
  text-align: center;
}

.pin {
	line-height: normal;
	vertical-align: middle;
	height: 16px;
	display: inline;
	margin-right: 0.1cm;
}

.title {
	margin-bottom: 0.5cm;
}

.title h4 {
	font-weight: normal;
}

.title * {
	margin: 0.2cm;
}

#staff_dashboard_title h4,
#staff_dashboard_title a {
  margin: 0;
}

.staff_dashboard fieldset {
	margin: auto;
	max-width: 20cm;

	font-size: 10pt;
}

#reply_disclaimer, #staff_disclaimer {
	margin: 0;
	font-size: 16px;
}

.post_form {
	max-width: fit-content;
	margin-left: auto;
	margin-right: auto;
	text-align: center;	
}

.thread_form {
	position: fixed;
	top: 1cm;
	left: 50%;
	transform: translate(-50%, 0%);

	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}

.post_form th {
	font-size: 10pt;
	padding-left: 0.2cm;
	padding-right: 0.2cm;
	border: 1px solid black;
}

.post_form textarea {
	height: 4cm;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	width: 12cm;
	box-sizing: border-box;
}

.post_form input {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.checkboxes {
	text-align: left;
	display: block !important;
}

.checkboxes label {
	margin-right: 0.2cm;
	font-size: 10pt;
}

.checkbox {
	text-align: left;
	width: auto !important;
}

#footer {
  text-align: center;
  font-size: 12px;
}

#footer p {
	margin: 0;
}

#posts {
	padding: 0.2cm;
}

.post {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.post .file_stats {
	font-size: 8pt;
	margin: 0;
}

.post .post_title {
	font-size: 10pt;
	font-weight: bold;
	margin: 0;
	margin-right: 0.2cm;
	display: inline-block;
}

.reply {
	width: fit-content;
	overflow-x: auto;
	padding: 0.2cm;
	margin: 0.2cm;
}

.greentext {
	color: #008332;
}

.orangetext {
	color: #da7c00;
}

.bluetext {
	color: #0062ff;
}

.glowtext {
	color: green;
	text-shadow: 0px 0px 2px lightgreen, 0px 0px 2px lightgreen;
}

.post blockquote {
	font-size: 10pt;
	text-wrap: wrap;
	margin: 0.2cm;
}

.post .post_id, .post .creation_time, .post .thread_view, .post .replies_last_5, .action_link {
	display: inline;
	font-size: 10pt;
	margin: 0;
	margin-right: 0.2cm !important;
	text-decoration: none;
}

.post .replies_last_5, .post .thread_view {
	font-size: 9pt;
	opacity: 0.75;
	font-style: italic;
}

.post .name_segment {
	font-size: 10pt;
}

.post_upper img {
	width: 10pt;
	height: 10pt;
	vertical-align: middle;
	margin-right: 0.05cm;
}

.post button {
	display: inline;
	padding: 0;
	border: 0;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
	background: transparent;
	color: currentColor;
	margin-right: 0.2cm;
	font-size: 10pt  
}

.post .your_post, .post .your_thread {
	margin: 0px;
	margin-right: 0.2cm;
	display: inline-block;
}

.post .name {
	display: inline-block;
	color: #117743;
	font-weight: bold;
	margin: 0;
	margin-right: 0.2cm;
}

.post .staff_name {
	font-weight: normal;
	background-color: purple;
	color: white;
	border-radius: 11px;
	padding: 0 5px 0 5px;
}

.post_form .file_upload_row {
	display: flex;
	flex-direction: row;
}

.chan_setup table {
	width: 30cm;
}

.chan_setup th {
	width: 5cm;
}

.chan_setup textarea {
	height: 5cm;
}

form .clear_file, form .file_upload {
	display: inline-block;
}

.post h4 {
	margin: 0;
}

.post .post_attachment {
	float: left;
}

.post .post_attachment, .post .post_attachment_expand {
	margin-right: 0.2cm;
	background: none;
}

.post .post_attachment_expand {
	display: block;
	max-height: 700px;
}

.post .post_attachment {
	max-height: 200px;
}


.report_attachment {
	filter: blur(20px);
}

.post .post_attachment_non_image {
	float: left;
	margin-right: 0.2cm;
	width: 100px;
	font-size: 10pt;
	text-align: center;
}

#topbar {
	width: 100%;
	height: fit-content;
}

@media (min-width: 500px) {
	#topbar {
		position: fixed;
		top: 0px;
	}
}

#content {
	margin-top: 1cm;
}

#topbar #theme_selector_section {
	box-sizing: border-box;
	height: 100%;
	float: right;
}

#topbar a, #topbar p {
	padding: 0;
	margin: 0;
	margin-right: 0.2cm;
	margin-left: 0.2cm;
	font-size: 10pt;
	display: inline-block;
	text-decoration: none;
}

#setup_page {
  padding: 1cm;
}

#setup_page h1 {
  margin: 0px;
  font-size: 20px;
}

#setup_page h2 {
  margin: 0px;
  font-size: 18px;
}

#setup_page .important {
  display: inline-block;
  color: red;
}

#setup_page p {
  font-size: 14px;
  margin: 0px;
}

#setup_page label {
  margin-bottom: 0.2cm;
  font-size: 14px;
  display: inline-block;
  width: 3cm;
}

#setup_page button {
  font-size: 14px;
}

.manage_table {
	text-align: center;
	font-size: 10pt;
	width: 30cm;
	margin: auto;
}

.manage_link {
	text-align: center;
	display: block;
}

.list {
	border: 1px solid black;
	max-width: 25cm;
	font-size: 10pt;
	margin: auto;
}

.list .list_title {
	margin: 0px;
	padding: 0.2cm;
}

.list .list_content {
	padding: 0.2cm;
	margin: 0.3cm;
}

.list .boards_table {
	width: 100%;
	border-collapse: collapse;
}

.list .boards_table .table_board_post_count {
	text-align: center;
}

.list_content p,
.list_content pre,
.list_content h1,
.list_content h2,
.list_content h3,
.list_content h4,
.list_content h5,
.list_content h6 {
	text-wrap: wrap;
	font-family: sans-serif;
	margin: 0;
	padding: 0;
}

.list_content ul {
	margin: 0;
}

.list .boards_table td {
	padding: 0.2cm;
}

#site_banner {
	max-width: fit-content;
	margin-left: auto;
	margin-right: auto;

	margin-bottom: 0.5cm;
}

#site_banner img {
	height: 100px;
}

.board_pages {
	display: inline-block;
	margin: 0.2cm;
	padding: 0.3cm;
	font-size: 10pt;
}

.board_pages a, .board_pages p {
	margin: 0.1cm;
}

.board_pages .selected_page {
	margin: 0.1cm;
	font-weight: bold;
}

.report_header {
	font-weight: bold;
	font-size: 10pt;
}

.stats {
	background-color: #eeeeff !important;
	color: #000066 !important;
	border: 1px solid #000066 !important;
}

.stats .list_title {
	background-color: #5599aa !important;
	color: white !important;
}

.recent_images {
	border: 1px solid #006600 !important;
	background-color: #eeffee !important;
}

.recent_images .list_title {
	color: #006600 !important;
	background-color: #99cc66 !important;
}

.setup_error {
	color: darkred;
}

.catalog_posts, .recent_images .list_content {
	margin: 0.5cm;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.catalog_post, .index_post {
	font-size: 10pt;
}

.catalog_post blockquote {
	margin: 0;
}

.recent_images .list_content {
	grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 700px) {
	.catalog_posts {
		grid-auto-rows: minmax(0px, auto);
	}
}

@media (min-width: 750px) {
	.catalog_posts { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
	.catalog_posts { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1200px) {
	.catalog_posts { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1400px) {
	.catalog_posts { grid-template-columns: repeat(7, 1fr); }
}


.catalog_post, .index_post {
	max-height: 5cm;
	padding: 0.5cm;
	text-align: center;
	overflow: hidden;
}

.catalog_post blockquote,
.index_post blockquote {
	display: block;
	font-size: 10pt;
	margin: 0;
	text-wrap: wrap;
}

.catalog_post .post_attachment, .index_post .post_attachment {
	min-height: 100px;
	max-height: 100px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
  	border: 2px solid rgba(153, 153, 153, 0);
}

.catalog_link {
	margin-left: 0.3cm
}

.nsfw {
	margin: 0;
	margin-left: 0.2cm;
	padding: 0;
	color: red;
	display: inline-block;
}

.poster_id {
	font-size: 10pt;
	color: white;
	margin-right: 0.2cm;
	border-radius: 6px;
	padding-left: 2px;
	padding-right: 2px;
}

.max_upload {
	margin: 0;
	font-size: 9pt;
	display: inline-block;
}

.no_js_warning {
	color: brown;
	font-size: 10pt;	
}

.ban {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr min-content;
}

.ban_image, img {
	text-align: center;
	max-height: 300px;
}

.thread_actions a {
	margin-right: 0.1cm;
	font-size: 11pt;
}

.rules_disclaimer {
	font-size: 10pt;
}

@media (max-width: 500px) {
	.post_attachment {
		max-height: 150px;
		max-width: 150px;		
	}

	.post_attachment_expand {
		max-width: 100%;
		max-height: 100%;
	}

	.reply {
		margin: 0;
		margin-top: 5px;
		width: 100%;
		box-sizing: border-box;
	}

	#posts {
		padding: 3px;
	}

	.post_form textarea {
		box-sizing: border-box;
		width: fit-content;
	}
}

.recent_images .list_content {
	padding: 0;
}

.motd {
	text-align: center;
}

.table_seperator th {
	width: 100%;
	clear: both;
}

.center
{
	text-align: center;
}

.form_button
{
	display: inline-block;
}

.link_button
{
	padding: 0.1cm;
	font-size: 11pt;
}

.post_form .link_button {
	margin-bottom: 0.5cm;
}

.post_form .form_topbar
{
	display: flex;
	padding-left: 0.2cm;
}

.post_form button
{
	margin-left: auto;
}

.post_form table {
	padding: 0.5cm;
	padding-bottom: 0;
}

.post_form .form_topbar b
{
	vertical-align: bottom;
	font-size: 12pt;
	margin: 0;
	padding: 0;
}

.js_only {
	display: none;
}

.post_form button[type=submit] {
	margin-bottom: 0.5cm;
}

body {
	background: #ffe url('/internal/styles/res/fade-yotsuba.png') repeat-x 50% 0%;
	color: #800000;
}

hr {
    border: none;
    background-color: #91222066;
    height: 1px;
}

.post .your_post {
	color: navy;
}

.reply, .catalog_post, .board_pages, .post_form {
	background: #f0e0d6;
  	border-top: 1px solid rgba(255, 255, 255, 0.5);
  	border-left: 1px solid rgba(255, 255, 255, 0.5);
  	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  	border-right: 1px solid rgba(0, 0, 0, 0.25);
}

#topbar {
  border-bottom: none;
}

.post_form th, .post_form .form_topbar {
	background: #eeaa88;
	border: 1px solid #912220;
}

a:link, a:visited {
  color: blue;
}

#staff_dashboard_content {
  background: white;
}

#reply_disclaimer {
	margin-left: 2px;
	margin-right: 3px;
	background: #40d9ff;
	color: black;
}

#staff_disclaimer {
	margin-left: 2px;
	margin-right: 3px;
	border: 1px solid black;
	background: #ff5a5a;
	color: black;
}

.manage_table th {
    border: 1px solid #912220;
	background-color: #eeaa88;
}

.manage_table td {
	background-color: white;
}

.list {
	background: white;
    border: 1px solid #912220;
}

.list .list_title {
	background-color: #eeaa88;
}

.post .your_post {
	color: brown;
}

.list .boards_table th {
	background-color: #eeaa88
}

.list .boards_table tr {
	background-color: #ffffff;
}

.list .boards_table tr:nth-of-type(odd) {
	background-color: #eeeeee;
}

.post_title {
	color: #d00;
}

.post_highlighted {
	background-color: #f0c0b0;
}

#topbar {
	background: #f0e0d6;
	box-shadow: 0 0 10px #00000044;
}
