input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.material-icons-outlined{
	font-size: 24px;
	vertical-align: bottom;
}

/* Overrides of Tailwind CSS's max-width with custom width */
/* .max-w-screen-xl {
	max-width: 1440px;
} */


#tags::-webkit-scrollbar {
	width: 20px;
}

#tags::-webkit-scrollbar-thumb {
	background: rgb(209 213 219);
	border-right: 10px rgb(255, 255, 255) solid;
}

#tags::-webkit-scrollbar-thumb:hover {
	background: rgb(156 163 175);
}

.dark #tags::-webkit-scrollbar-thumb {
	background: rgb(55 65 81);
	border-right: 10px rgb(24, 26, 27) solid;
}

.dark #tags::-webkit-scrollbar-thumb:hover {
	background: rgb(75 85 99);
}


/* content */

.content {
	margin-bottom: 0em;
	text-align: justify;
}

.content p {
	padding-top: 0.6rem;
	padding-bottom: 0.4rem;
	font-size: 1.1em;
	letter-spacing: 0.03em;
}

.content img, video {
	margin-left: auto;
	margin-right: auto;
	max-width: 90%;
	max-height: 480px;
}

.content .gallery-container img {
	max-width: 100%;
	max-height: 480px;
}

.content img#thumbnail {
	max-width: 100%;
}

.content .spacer {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.content .spoiler {
	border: 1px solid;
	border-radius: 5px;
	padding: 0.5rem;
	margin-top: 0.5rem;
	font-size: 1.1em;
}

.content .spoiler summary{
	font-weight: bold;
}

.content li {
	font-size: 1.1em;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	text-indent: -1.5rem;
	padding-left: 1.5rem;
}

.content li li {
	margin-left: 0.8em;
	font-size: 0.9em;
}

.content a {
	color: #007bff;
}

.content a:hover {
	text-decoration: underline;
}

.content code {
	font-family: monospace;
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6 {
	margin: 1.25em 0 .25em;
}

.content h1 {
	font-size: 2.25rem;
}

.content h2 {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
	background-color: #f3f4f6;
	border-left: 4px solid #1d2021;
	font-weight: bold;
	font-size: 1.4em;
}

.dark .content h2 {
	background-color: #1d2021;
	border-left-color: #f3f4f6;
}

.content h3 {
	font-size: 1.5rem;
	padding-bottom: 0.25em;
	border-bottom: 2px solid #1d2021;
	font-weight: 700;
	text-align: center;
}

.dark .content h3 {
	border-bottom-color: #f3f4f6;
}

.content h4 {
	font-size: 1.25rem;
}

.content h5 {
	font-size: 1.125rem;
}

.content h6 {
	font-size: 1rem;
}

.content b {
	font-style: bold;
}

.content blockquote {
	background-color: #f6f6f6;
	font-family: Georgia, Times, 'Times New Roman', serif;
	padding: 0.5rem 1rem;
	border-left: 4px solid #1d2021;
}

.dark .content blockquote {
	background-color: #1d2021;
	border-left-color: #f3f4f6;
}

.content table {
	display: table;
	border-collapse: collapse;
	border-spacing: 2px;
	table-layout: auto;
}

.content th {
	padding: 0.5rem 1rem;
	display: table-cell;
	text-align: -internal-center;
}

.content td {
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	border: 1px solid #e2e8f0;
	display: table-cell;
	text-align: -internal-center;
}

.content tr {
	display: table-row;
}

.content thead {
	display: table-header-group;
}

.content .toc {
	max-width: 400px;
	min-width: auto;
	margin-top: 0.5em;
	padding: 0.25em;
	border-style: solid;
	border-width: 2px;
	background-color: #f3f4f6;
}

.dark .content .toc {
	background-color: #1d2021;
}

.content .toc ul {
	font-size: 90%;
	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	list-style-type: decimal;
}

.content .toc ul li ul {
	padding-left: 0em;
	padding-bottom: 0em;
}

.content .toc li {
	padding-top: 0px;
	padding-bottom: 0px;
}

.content .toc li ul li {
	padding-left: 0.75em;
}

.content .highlight {
	position: relative;
}

.copy-code-button {
	position: absolute;
	top: 0.5em;
	right: 0.5em;

	color: white;
	border: 2px solid;
	padding: 3px 8px;
	font-size: 0.8em;
}

.copy-code-button:hover {
	cursor: pointer;
}

.highlight pre {
	margin: 0;
}

.content p code, .content li code {
	background-color: #eff1f3;
	padding: 0.2em;
}

.dark .content p code, .dark .content li code {
	background-color: #343942;
}

.content pre {
	background-color: #eff1f3;
}

.dark .content pre {
	background-color: #343942;
}

/* Site */

pre {
	padding: 0.5rem;
	max-width: 64em;
	overflow: auto;
}

ol {
	margin-left: 1em;
	list-style-type: decimal;
}

.footnotes {
	margin-top: 1rem;
}

blockquote {
	margin: 0.8rem 0;
}

iframe {
	margin: 0.8rem 0;
}

.s_video_simple {
	margin: 0.8rem 0;
}

table {
	margin-bottom: 0.8rem;
}

.highlight {
	margin-bottom: 0.8rem;
}

ul {
	list-style: inside;
}