body {
	margin: 0;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
}
.button:hover {
    cursor: pointer;
}
.hidden {
	display: none;
}
body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
body > main, dialog {
	max-width: 800px;
	padding: 16px;
	border-radius: 8px;
	margin-left: auto;
	margin-right: auto;
}
body > main {
	margin-top: 50px;
}
@media only screen and (max-width: 810px){
	body > main {
		margin-top: 5px;
  	}
	body > main, dialog
	{
		margin-left: 5px;
		margin-right: 5px;
	}
}
label{
	display: inline-block;
	margin-bottom: 10px;
}
label *{
	vertical-align: middle;
}
label select, label input {
	margin-left: 5px;
}
label, span, p, input, select {
	font-size: 1rem;
	font-weight: 400;
}
button {
	border-radius: 5px;
}
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
	cursor: pointer;
  }
*, ::after, ::before {
	box-sizing: border-box;
}
button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}
.checkboxes > label {
	margin-bottom: 0px;
}
.checkboxes > span
{
	margin-left: 1rem;
}
ul {
	display: inline-block;
	list-style-type: none;
	margin:0px;
	padding:0px;
	width: 100%;
  }
li {
	float: left;
	margin-right: 10px;
	margin-top: 10px;
	background-color: #fff;
	padding: 2px 10px;
}
li.selected {
	background-color: rgb(98, 98, 98);
}
.thread_content span {
	margin: 0px;
}
footer{
	margin-top: 10px;
}
label, span {
	white-space: break-spaces;
}
#settings-button {
	float: right;
}
dialog {
	width: auto;
	border-style: none;
	-webkit-animation-duration: 0.4s;
	animation-name: fadeIn;
	animation-duration: 0.4s
}
dialog::backdrop
{
	background-color: rgba(0,0,0,0.4);
}
.close {
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	text-decoration: none;
	cursor: pointer;
}
dialog > header, dialog > main, dialog > footer {
	padding: 2px 16px;
}
dialog > main > textarea{
	margin-top: 5px;
	margin-bottom: 5px;
}

@-webkit-keyframes fadeIn {
	from {opacity: 0} 
	to {opacity: 1}
}
@keyframes fadeIn {
	from {opacity: 0} 
	to {opacity: 1}
}
textarea {
	width: 100%;
	height: auto;
	outline: none;
	resize: none;
}
.modal button {
	margin-right: 5px;
}
#theme {
	margin-top: 10px;
}