@CHARSET "UTF-8";

#comic_image {
	max-width: 1200px;
	height: auto;
}

/* Global Site Stuff
----------------------------------------------------- */
html, body {
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-size: 14px;
}

ul, li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

body {
	margin: 0;
	background: #020d17 url(http://www.smackjeeves.com/templates/classic/images/bg2.jpg);
	color: #292e33;
}

.clear {
	clear: both;
}

.noselect {
	-webkit-user-select: none; /* webkit (safari, chrome) browsers */
	-moz-user-select: none; /* mozilla browsers */
	-khtml-user-select: none; /* webkit (konqueror) browsers */
	-ms-user-select: none; /* IE10+ */
}

a {
	text-decoration: none;
	font-weight: 600;
	outline: none;
	color: #036;
}

a:hover {
	color: #900;
	text-decoration: underline;
}

h1, h2 {
	font-size: 32px;
	padding: 0 0 2px;
	margin: 0;
	font-weight: normal;
	color: #363636;
}

h2 {
	font-size: 23px;
	font-weight: 600;
}

.subheader {
	font-size: 14px;
	font-style: italic;
	color: #737373;
}

svg {
	overflow: visible; /* firefox fix */
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}

#overall-wrapper, #inner-wrapper {
	min-width: 960px;
}

#overall-wrapper {
	min-height: 100%;
}

#inner-wrapper {
	min-height: 100%;
	width: 100%;
	position: absolute;
	display: flex;
	flex-direction: column;
}

#footer-placeholder {
	height: 92px;
}

#overall-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 90px;
	font-size: 12px;
	color: rgba(255,255,255,0.75);
	display: flex;
	justify-content: center;
	align-items: center;
}

#overall-footer a.sj {
	display: inline-block;
	padding: 4px 5px 4px 22px;
	background: url(http://www.smackjeeves.com/templates/classic/images/sj-icon.png) no-repeat 5px 50%;
	color: rgba(255,255,255,0.85);
}

#overall-footer a.sj:hover {
	color: #fff;
}

.subtle {
	display: none;
}

#page {
	display: table;
	border-spacing: 0;
	width: 960px;
	margin: 0 auto;
}

#main {
	padding: 20px 40px 36px;
	min-height: 280px;
	background: #fff;
	border-radius: 0 0 3px 3px;
}

/* Header & Menu
----------------------------------------------------- */
#header a {
	text-decoration: none;
}

#logo {
	padding: 20px;
	display: flex;
	justify-content: center;
}

#banner {
	flex-shrink: 0;
	flex-grow: 0;
	height: 136px;
	line-height: 160px;
	text-align: center;
	font-size: 39px;
	font-weight: 600;
	color: #40566d;
	display: flex;
}

#banner > * {
	flex-shrink: 0;
	flex-grow: 0;
}

#banner span {
	background: url(images/banner-bg.png);
	min-width: 500px;
	padding: 0 16px;
}

#banner:before, #banner:after {
	content: "";
	display: block;
	width: 134px;
	background: url(images/banner-side.png) no-repeat 0 0;
}

#banner:after {
	transform: scaleX(-1);
}

#nav-bar {
	display: flex;
	background: #3c5b7c;
	border-radius: 3px 3px 0 0;
}

#nav-bar > * {
	flex-grow: 1;
	flex-shrink: 0;
}

#social-links {
	display: flex;
	flex-grow: 0;
}

#nav-menu {
	display: flex;
	justify-content: space-around;
}

#nav-bar li {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

#nav-bar .spacer {
	width: 3%;
	min-width: 24px;
	flex-grow: 0;
	flex-shrink: 1;
}

#nav-bar a {
	display: block;
	padding: 1px 12px 0;
	min-width: 2.5em;
	text-align: center;
	white-space: nowrap;
	color: #e4edf6;
	font-size: 17px;
	line-height: 43px;
	font-weight: 600;
	transition: all 60ms;
	margin: 0 10px;
}

#nav-bar a:hover {
	color: #fff;
}

#nav-bar #social-links a {
    padding: 1px 6px 0;
    margin: 0 2px;
    min-width: auto;
    display: inline-flex;
    align-items: center;
}

#social-links svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

/* Home / News Page
----------------------------------------------------- */
#home-top {
	display: flex;
}

#home-top > * {
	padding: 20px;
	text-align: center;
}

#home-top .welcome {
	flex-basis: 66%;
}

#home-top .description {
	padding-top: .5em;
}

#home-top .latest-update {
	margin: 0 auto;
	text-align: center;
}

#home-top h3 {
	font-size: 16px;
	margin: 0 0 .5em;
}

#home-news {
	margin-top: 40px;
}

#home-news-header {
	text-align: center;
}

#home-news-header h2 {
	font-size: 23px;
	line-height: 23px;
	display: inline-block;
	background: #fff;
}

#home-news .news-body img, #home-news .news-body iframe {
	max-width: 922px;
}

.news .post {
	padding: 24px 22px 68px;
	position: relative;
	line-height: 1.75em;
	background: #fafafa;
	margin-top: 16px;
	border-radius: 3px;
	border: 1px solid #f5f5f5;
}

.news .post:last-child {
	border-bottom: none;
}

.news .comments-link {
	position: absolute;
	bottom: 14px;
	right: 20px;
	font-size: 13px;
	font-weight: 600;
}

.news .avatar {
	max-height: 64px;
	max-width: 64px;
	float: left;
	margin: 0 16px 2px 0;
}

.news .news-header {
	margin: 0 0 16px;
}

.news .post-title {
	display: inline-block;
	font-size: 24px;
	font-weight: 600;
	color: #404040;
}

.news .author {
	font-size: 14px;
	font-weight: normal;
	margin-left: 6px;
}

.news .date {
	font-size: 12px;
	color: #737373;
}

.older-news {
	margin-top: 10px;
	text-align: center;
}

.older-news a {
	margin: 12px 0;
	display: inline-flex;
	align-items: center;
	font-size: 18px;
	padding: 3px 6px;
}

.older-news a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	margin: 1px 0 0 6px;
}

/* News Archive
----------------------------------------------------- */
#archive-container {
	display: table;
	border-spacing: 0;
	width: 100%;
}

#archive-container > * {
	display: table-cell;
	vertical-align: top;
	padding-bottom: 20px;
}

#archive-right {
	width: 306px;
	min-width: 306px;
	max-width: 306px;
	padding: 0 4px 4px;
	border-left: 2px solid #eee;
}

.news-body {
	overflow-wrap: break-word;
}

#news-archive .news-body img, #news-archive .news-body iframe {
	max-width: 700px;
}

#news-archive .post {
	padding-top: 10px;
	padding-bottom: 26px;
	background: none;
	border: none;
}

#news-archive .comments {
	background: #fafafa;
	margin: 0;
	padding: 7px 8px 9px;
	border-top: 2px solid #eee;
	border-radius: 0 0 3px 3px;
}

#archive-list .header {
	font-size: 16px;
	font-weight: 600;
	padding: 18px 0 0;
	text-align: center;
}

ul.months {
	margin: 10px 10px 12px;
	padding: 0;
}

.months li {
	margin: 0;
	padding: 0;
	text-align: left;
	list-style-type: none;
}

.months a:link, .months a:visited {
	display: block;
	padding: 3px 4px;
	margin: 2px;
}

.months li.post-item a {
	margin: 5px;
	padding: 4px 4px 5px 25px;
	background-image: url("http://www.smackjeeves.com/images/icon-arrow-sm.gif");
	background-repeat: no-repeat;
	background-position:  8px 50%;
	border-radius: 3px;
}

.months li.post-item.selected a {
	background-color: #efefef;
}

/* Comic Page
----------------------------------------------------- */
#comic-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#comic-header {
	padding: 32px 0;
	text-align: center;
}

.comic-nav {
	display: flex;
	justify-content: center;
	padding: 24px 0;
	cursor: default;
}

.comic-nav a {
	display: inline-block;
	padding: 4px 6px;
	margin: 0 18px;
}

.comic-jumpbox {
	display: inline-block;
	padding: 0 32px;
	position: relative;
	top: 2px;
}

.comments {
	margin: 20px auto;
}

.comments-wrapper {
	padding: 8px 0;
}

.author .comments-wrapper {
	background: #fafafa;
}

.comments .body iframe, .comments .body img {
	max-width: 100%;
}

.comment-header {
    height: 54px;
    line-height: 54px;
    padding: 0 16px;
    position: relative;
}

#comic-page .comment-header {
    height: 48px;
    line-height: 48px;
    border-bottom: 2px solid #eee;
}

.comment-footer, .comic-comment-footer {
	position: relative;
	height: 32px;
	line-height: 20px;
}

.comic-comment-footer.no-comments {
	margin-top: 30px;
}

.comment-header .title {
	font-size: 20px;
	color: #363636;
	font-weight: 600;
}

.comment-header .post-comment, .comment-footer .post-comment {
	color: #364a7f;
	font-size: 15px;
	position: absolute;
	right: 16px;
	top: 0;
}

.comic-comment-footer {
	text-align: center;
}

.comic-comment-footer .post-comment {
	font-size: 17px;
}

.comments .comment {
	padding: 24px 22px 20px;
}

.comments .comment.reply {
	margin-left: 22px;
}

.comments .comment.reply:last-of-type, .comments .comment.reply:first-of-type {
	margin-left: 0;
}

.comments .comment.reply + .comment.reply:last-of-type {
	margin-left: 22px;
}

.comments .comment:last-of-type {
	padding-bottom: 18px;
	border-bottom: none;
	border-radius: 0 0 3px 3px;
	margin-bottom: 0;
}

.comments .comment .header {
	margin-top: -4px;
}

.comments .comment .header a {
	color: #8f99a3;
}

.comments .comment .header a:hover {
	text-decoration: underline;
}

.comments .comment .header .bullet {
	padding: 0 4px;
	color: #cdd1d6;
	position: relative;
	top: 1px;
}

.comments .comment .header a.reply {
	display: inline-flex;
	align-items: center;
}

.comments .comment .header a.reply svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	margin-left: 1px;
}

.comments .username {
	font-weight: 600;
	font-size: 15px;
	color: #394046;
}

.comments .date {
	display: inline-block;
	font-size: 13px;
	color: #8f99a3;
	font-style: italic;
}

.comments .comment .content {
	margin-left: 91px;
}

.comments .avatar {
	display: block;
	float: left;
	max-width: 75px;
	border-radius: 3px;
	margin-left: -91px;
	margin-right: 16px;
	margin-bottom: 2px;
}

.comments .comment .content:after {
	content: "";
	display: block;
	clear: both;
}

.comments .message {
	margin-top: 3px;
	overflow-wrap: break-word;
	line-height: 1.5em;
	font-size: 14px;
}

.comments .title {
	font-weight: 600;
	margin-right: .25em;
}

.comments .title:empty {
	display: none;
}

.comments .body {
	display: inline;
}

.comments .actions {
	margin-top: 3px;
	cursor: default;
}

.comments .actions a {
	font-weight: normal;
	text-decoration: none;
	font-size: 13px;
	color: #737f8c;
}

.comments .actions a:hover {
	color: #454c54;
}

.comments .actions .bullet {
	padding: 0 2px;
	color: #b9bfc6;
}

.comments .actions .bullet:last-of-type {
	display: none;
}