/*
Theme Name: Dork Tower v2
Theme URI: https://github.com/andrewshell/dorktower-v2
Author: Andrew Shell
Author URI: http://blog.andrewshell.org/
Description: Responsive theme for Dork Tower website.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dorktower-v2
*/

/*
 * Hand-written replacement for the old Bootstrap 3 / LESS build.
 * Only the pieces the templates, widgets and post content actually use
 * are kept, with the same computed values as the previous compiled CSS.
 */

/* =Base
-------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-family: sans-serif;
	font-size: 10px;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 10px 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333333;
	background-color: #fff;
	background-image: url('img/wood-bg.jpg');
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

a {
	color: #337ab7;
	text-decoration: none;
	background-color: transparent;
}

a:hover,
a:focus {
	color: #23527c;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

a:active,
a:hover {
	outline: 0;
}

b,
strong {
	font-weight: bold;
}

small {
	font-size: 85%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

mark {
	background-color: #fcf8e3;
	color: #000;
	padding: .2em;
}

img {
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eeeeee;
}

/* =Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}

h1, h2, h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}

h4, h5, h6 {
	margin-top: 10px;
	margin-bottom: 10px;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
	font-weight: normal;
	line-height: 1;
	color: #777777;
}

h1 small, h2 small, h3 small { font-size: 65%; }
h4 small, h5 small, h6 small { font-size: 75%; }

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
	margin: 0 0 10px;
}

ul,
ol {
	margin-top: 0;
	margin-bottom: 10px;
}

ul ul,
ol ul,
ul ol,
ol ol {
	margin-bottom: 0;
}

dl {
	margin-top: 0;
	margin-bottom: 20px;
}

dt,
dd {
	line-height: 1.42857143;
}

dt { font-weight: bold; }
dd { margin-left: 0; }

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px;
	font-size: 17.5px;
	border-left: 5px solid #eeeeee;
}

blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
	margin-bottom: 0;
}

blockquote footer,
blockquote small {
	display: block;
	font-size: 80%;
	line-height: 1.42857143;
	color: #777777;
}

blockquote footer::before,
blockquote small::before {
	content: '\2014 \00A0';
}

address {
	margin-bottom: 20px;
	font-style: normal;
	line-height: 1.42857143;
}

code,
kbd,
pre,
samp {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 1em;
}

code {
	padding: 2px 4px;
	font-size: 90%;
	color: #c7254e;
	background-color: #f9f2f4;
	border-radius: 4px;
}

kbd {
	padding: 2px 4px;
	font-size: 90%;
	color: #fff;
	background-color: #333;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

pre {
	display: block;
	overflow: auto;
	padding: 9.5px;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.42857143;
	word-break: break-all;
	word-wrap: break-word;
	color: #333333;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 4px;
}

pre code {
	padding: 0;
	font-size: inherit;
	color: inherit;
	white-space: pre-wrap;
	background-color: transparent;
	border-radius: 0;
}

.text-center {
	text-align: center;
}

.page-header {
	padding-bottom: 9px;
	margin: 40px 0 20px;
	border-bottom: 1px solid #eeeeee;
}

.list-inline {
	padding-left: 0;
	list-style: none;
	margin-left: -5px;
}

.list-inline > li {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
}

/* Text meant only for screen readers. */
.sr-only,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.sr-only {
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0, 0, 0, 0);
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/* =Tables and forms
-------------------------------------------------------------- */
table {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
}

td,
th {
	padding: 0;
}

th {
	text-align: left;
}

caption {
	padding-top: 8px;
	padding-bottom: 8px;
	color: #777777;
	text-align: left;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

button {
	overflow: visible;
	-webkit-appearance: button;
	cursor: pointer;
}

button,
select {
	text-transform: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

fieldset {
	padding: 0;
	margin: 0;
	border: 0;
	min-width: 0;
}

legend {
	display: block;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	font-size: 21px;
	line-height: inherit;
	color: #333333;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
}

label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: bold;
}

.form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
	border-color: #66afe9;
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-control::placeholder {
	color: #999;
	opacity: 1;
}

textarea.form-control {
	height: auto;
}

/* Search form: input + button joined together. */
.input-group {
	position: relative;
	display: table;
	border-collapse: separate;
}

.input-group .form-control {
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
	display: table-cell;
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.input-group .form-control:focus {
	z-index: 3;
}

.input-group-btn {
	position: relative;
	display: table-cell;
	width: 1%;
	font-size: 0;
	white-space: nowrap;
	vertical-align: middle;
}

.input-group-btn > .btn {
	position: relative;
	z-index: 2;
	margin-left: -1px;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

/* =Buttons (comic navigation, search)
-------------------------------------------------------------- */
.btn {
	display: inline-block;
	margin-bottom: 0;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	user-select: none;
}

.btn:focus,
.btn:active:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.btn:hover,
.btn:focus {
	color: #333;
	text-decoration: none;
}

.btn:active {
	outline: 0;
	background-image: none;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn[disabled] {
	cursor: not-allowed;
	opacity: 0.65;
	box-shadow: none;
}

.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.btn-default:focus {
	color: #333;
	background-color: #e6e6e6;
	border-color: #8c8c8c;
}

.btn-default:hover,
.btn-default:active {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

.btn-default[disabled]:hover,
.btn-default[disabled]:focus {
	background-color: #fff;
	border-color: #ccc;
}

.btn-primary {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}

.btn-primary:focus {
	color: #fff;
	background-color: #286090;
	border-color: #122b40;
}

.btn-primary:hover,
.btn-primary:active {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}

.btn-primary:active:hover,
.btn-primary:active:focus {
	color: #fff;
	background-color: #204d74;
	border-color: #122b40;
}

.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus {
	background-color: #337ab7;
	border-color: #2e6da4;
}

.btn-group {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.btn-group > .btn {
	position: relative;
	float: left;
}

.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active {
	z-index: 2;
}

.btn-group .btn + .btn {
	margin-left: -1px;
}

.btn-group > .btn:not(:first-child):not(:last-child) {
	border-radius: 0;
}

.btn-group > .btn:first-child {
	margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child) {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child) {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.btn-group-justified {
	display: table;
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
}

.btn-group-justified > .btn {
	float: none;
	display: table-cell;
	width: 1%;
}

/* =Pager (older / newer posts)
-------------------------------------------------------------- */
.pager {
	padding-left: 0;
	margin: 20px 0;
	list-style: none;
	text-align: center;
}

.pager li {
	display: inline;
}

.pager li > a,
.pager li > span {
	display: inline-block;
	padding: 5px 14px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 15px;
}

.pager li > a:hover,
.pager li > a:focus {
	text-decoration: none;
	background-color: #eeeeee;
}

.pager .next > a,
.pager .next > span {
	float: right;
}

.pager .previous > a,
.pager .previous > span {
	float: left;
}

/* =Layout
-------------------------------------------------------------- */
.container {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	max-width: 970px;
}

.row {
	margin-left: -15px;
	margin-right: -15px;
}

.container::before,
.container::after,
.row::before,
.row::after,
.nav::before,
.nav::after,
.navbar::before,
.navbar::after,
.navbar-header::before,
.navbar-header::after,
.navbar-collapse::before,
.navbar-collapse::after,
.pager::before,
.pager::after {
	content: " ";
	display: table;
}

.container::after,
.row::after,
.nav::after,
.navbar::after,
.navbar-header::after,
.navbar-collapse::after,
.pager::after {
	clear: both;
}

.col-sm-2,
.col-sm-10,
.col-sm-12,
.col-comic,
.col-sidebar {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

.bg-white {
	background-color: #fff;
}

.shadow {
	box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.75);
}

.padding-bottom {
	padding-bottom: 15px;
}

.float-dice img {
	position: absolute;
	right: -65px;
	top: -52px;
	z-index: 100;
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.visible-xs-inline {
	display: none !important;
}

@media (max-width: 767px) {
	.visible-xs-inline {
		display: inline !important;
	}

	.hidden-xs {
		display: none !important;
	}

	.col-xm-padding {
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

@media (min-width: 768px) {
	.container {
		width: 750px;
	}

	.col-sm-2,
	.col-sm-10,
	.col-sm-12 {
		float: left;
	}

	.col-sm-12 { width: 100%; }
	.col-sm-10 { width: 83.33333333%; }
	.col-sm-2 { width: 16.66666667%; }
	.col-sm-pull-10 { right: 83.33333333%; }
	.col-sm-push-2 { left: 16.66666667%; }

	.col-comic {
		float: left;
		width: 480px;
		display: block;
	}

	.col-sidebar {
		float: left;
		width: 270px;
		display: block;
	}
}

@media (min-width: 992px) {
	.container {
		width: 970px;
	}

	.col-comic {
		display: block;
		margin-left: 80px;
	}

	.col-sidebar {
		float: left;
		width: 330px;
		display: block;
		margin-right: 80px;
	}
}

/* =Navbar
-------------------------------------------------------------- */
.nav {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}

.nav > li {
	position: relative;
	display: block;
}

.nav > li > a {
	position: relative;
	display: block;
	padding: 10px 15px;
}

.nav > li > a:hover,
.nav > li > a:focus {
	text-decoration: none;
	background-color: #eeeeee;
}

.nav > li > a > img {
	max-width: none;
}

.navbar {
	position: relative;
	min-height: 50px;
	margin-bottom: 0;
	border: 1px solid transparent;
}

.navbar-default {
	background-color: transparent;
	border-color: transparent;
}

.navbar-collapse {
	overflow-x: visible;
	padding: 0;
	border-top: 1px solid transparent;
	border-color: #e7e7e7;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	-webkit-overflow-scrolling: touch;
}

.navbar-collapse.in {
	overflow-y: auto;
}

.collapse {
	display: none;
}

.collapse.in {
	display: block;
}

.container > .navbar-header,
.container > .navbar-collapse {
	margin-right: -15px;
	margin-left: -15px;
}

.navbar-toggle {
	position: relative;
	float: right;
	margin-right: 15px;
	padding: 9px 10px;
	margin-top: 8px;
	margin-bottom: 8px;
	background-color: transparent;
	background-image: none;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.navbar-toggle:focus {
	outline: 0;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
	background-color: #ddd;
}

.navbar-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #888;
}

.navbar-toggle .icon-bar + .icon-bar {
	margin-top: 4px;
}

.navbar-nav {
	margin: 7.5px 0;
}

.navbar-nav > li > a {
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 20px;
	color: #777;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
	color: #333;
	background-color: transparent;
}

@media (min-width: 768px) {
	.navbar {
		border-radius: 4px;
	}

	.navbar-header {
		float: left;
	}

	.navbar-collapse {
		width: auto;
		border-top: 0;
		box-shadow: none;
	}

	.navbar-collapse.collapse {
		display: block !important;
		height: auto !important;
		padding-bottom: 0;
		overflow: visible !important;
	}

	.navbar-collapse.in {
		overflow-y: visible;
	}

	.container > .navbar-header,
	.container > .navbar-collapse {
		margin-right: 0;
		margin-left: 0;
	}

	.navbar-toggle {
		display: none;
	}

	.navbar-nav {
		float: left;
	}

	.navbar-nav > li {
		float: left;
	}

	.navbar-nav > li > a {
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

/* =Content
-------------------------------------------------------------- */
.textwidget img,
.entry-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

.aligncenter {
	margin: 0 auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.entry-content img.attachment-thumbnail {
	float: right;
}

.entry-footer {
	margin-top: 1em;
}

.entry-meta,
.entry-meta a,
.entry-footer .list-inline,
.entry-footer .list-inline a {
	font-size: 90%;
	color: #999;
}

.gallery-item {
	display: inline-block;
	padding: 10px;
	width: 33%;
}

.gallery-item .gallery-icon img {
	float: none;
}

.gallery-item .wp-caption-text {
	text-align: center;
	font-size: 80%;
	padding-top: 10px;
}

/* =Print
-------------------------------------------------------------- */
@media print {
	*,
	*::before,
	*::after {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}

	.navbar {
		display: none;
	}

	.btn {
		border: 1px solid #000;
	}
}
