/*
Theme Name: Dr. Blink 2.0
Description: New Dr. Blink theme
Author: Andrew Shell
Author URI: http://blog.andrewshell.org/
Version: 2.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: drblink
*/

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

/* =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: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 30px;
	color: #333333;
	background-color: #ffffff;
	background-image: url(images/wood-bg.jpg);
}

article,
aside,
footer,
header,
main,
nav,
section {
	display: block;
}

a {
	color: #0f70b5;
	text-decoration: none;
	background: transparent;
}

a:hover,
a:focus {
	color: #09446e;
	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;
}

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

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

table {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
}

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

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

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

h1, .h1,
h2, .h2,
h3, .h3 {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 30px;
	line-height: 30px;
	font-family: 'Patrick Hand SC', cursive;
	font-weight: 400;
	text-transform: uppercase;
}

h1, .h1 { font-size: 41px; }
h2, .h2 { font-size: 34px; }
h3, .h3 { font-size: 28px; }

p {
	margin: 0 0 30px;
}

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

.list-unstyled {
	padding-left: 0;
	list-style: none;
}

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

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

/* =Images / WordPress alignment
-------------------------------------------------------------- */
.img-responsive,
img.aligncenter {
	display: block;
	max-width: 100%;
	height: auto;
}

img.aligncenter {
	margin: auto;
}

.alignright {
	float: right !important;
}

.alignleft {
	float: left !important;
}

img.alignright {
	margin: 0 0 20px 20px;
}

img.alignleft {
	margin: 0 20px 20px 0;
}

.category-comics img.size-full {
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	margin: 20px auto;
}

/* =Embedded video
-------------------------------------------------------------- */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"],
.entry-content iframe[src*="vimeo.com"] {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

/* =Layout grid
-------------------------------------------------------------- */
.row {
	margin-left: -15px;
	margin-right: -15px;
}

.row::before,
.row::after,
.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
}

.row::after,
.clearfix::after {
	clear: both;
}

.col-sm-3,
.col-sm-4,
.col-sm-9 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 768px) {
	.col-sm-3,
	.col-sm-4,
	.col-sm-9 {
		float: left;
	}

	.col-sm-9 { width: 75%; }
	.col-sm-4 { width: 33.33333333%; }
	.col-sm-3 { width: 25%; }

	.col-sm-pull-9 { right: 75%; }
	.col-sm-push-3 { left: 25%; }
	.col-sm-offset-2 { margin-left: 16.66666667%; }
}

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

@media (min-width: 768px) and (max-width: 991px) {
	.hidden-sm {
		display: none !important;
	}
}

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

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

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

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

.btn-primary {
	color: #ffffff;
	background-color: #0f70b5;
	border-color: #0d619d;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	color: #ffffff;
	background-color: #0b5386;
	border-color: #083e65;
}

.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus {
	background-color: #0f70b5;
	border-color: #0d619d;
}

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

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

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

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

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

.btn-group-justified > .btn-group .btn {
	width: 100%;
}

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

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

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

.comic-nav {
	margin: 12px 0;
}

/* =Header
-------------------------------------------------------------- */
#header {
	background-image: url(images/bg-header.png);
	background-repeat: no-repeat;
	background-position: center 50px;
	padding-bottom: 5px;
	position: relative;
}

#branding {
	padding: 0;
	height: 190px;
	position: relative;
	margin: 0 auto;
	max-width: 940px;
}

#blog-title a {
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	display: block;
	position: absolute;
	width: 271px;
	height: 200px;
	left: -25px;
}

#blog-title span {
	display: none;
}

#blog-description {
	color: #666;
	font-size: 13px;
	font-style: italic;
}

#pen {
	background-image: url(images/pen.png);
	background-repeat: no-repeat;
	display: block;
	position: absolute;
	right: -65px;
	top: 90px;
	width: 480px;
	height: 73px;
}

/* =Content
-------------------------------------------------------------- */
#main-outer {
	clear: both;
	background-image: url(images/bg-main-outer.png);
	background-repeat: repeat-y;
	background-position: center top;
	margin: 0 auto;
	padding: 0 15px;
	max-width: 960px;
}

/* =Footer
-------------------------------------------------------------- */
#footer {
	background-image: url(images/bg-footer.png);
	background-repeat: no-repeat;
	background-position: center top;
	margin: 0 auto;
	max-width: 960px;
}

#siteinfo {
	color: #666;
	font-size: 11px;
	line-height: 18px;
	padding: 22px 0 44px 0;
}

#siteinfo a {
	color: #666;
}

#siteinfo a:active,
#siteinfo a:hover {
	color: #FF4B33;
}

/* =Print
-------------------------------------------------------------- */
@media print {
	a,
	a:visited {
		text-decoration: underline;
	}

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

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

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

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

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